question about syntax

A

Arvind

Hi,

A standards document I am reading defines a packet format using C++. I
would really appreciate it if any of you could tell me what the meaning
of the following syntax is?

class ContentDesc extends OCI_desc : bit(8) tag =ContentClassTag{
bit 32 YY;
bit 16 XX ;
}

In particular, what does the "bit(8) tag = ContentClassTag" part mean??


Arvind
 
V

Victor Bazarov

Arvind said:
A standards document I am reading defines a packet format using C++.

Says who?
I would really appreciate it if any of you could tell me what the
meaning of the following syntax is?

class ContentDesc extends OCI_desc : bit(8) tag =ContentClassTag{
bit 32 YY;
bit 16 XX ;
}

In particular, what does the "bit(8) tag = ContentClassTag" part
mean??

There is no such syntax in C++. You've been misled.

V
 
S

Salt_Peter

Arvind said:
Hi,

A standards document I am reading defines a packet format using C++. I
would really appreciate it if any of you could tell me what the meaning
of the following syntax is?

class ContentDesc extends OCI_desc : bit(8) tag =ContentClassTag{
bit 32 YY;
bit 16 XX ;
}

In particular, what does the "bit(8) tag = ContentClassTag" part mean??


Arvind

The above is not C++ in any shape or form. So whatever "standard" you
are reading perhaps involves generating a packet format *for* C++
(whatever that means). Perhaps consulting with the appropriate language
in question might help.
 
O

Oliver Bleckmann

Arvind said:
Hi,

A standards document I am reading defines a packet format using C++. I
would really appreciate it if any of you could tell me what the meaning
of the following syntax is?

class ContentDesc extends OCI_desc : bit(8) tag =ContentClassTag{
bit 32 YY;
bit 16 XX ;
}

In particular, what does the "bit(8) tag = ContentClassTag" part mean??


Arvind

looks like Java, PHP or Flash
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top