question about syntax

A

Arvind

Hi,

A standards document I am reading defines a packet format using some
object-based language (Java I think). 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
 
L

Lew

Arvind said:
Hi,

A standards document I am reading defines a packet format using some
object-based language (Java I think). 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

You are seeing C++ here. Strictly speaking, C++ is object-supporting, not
object-based.

- Lew
 

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,774
Messages
2,569,596
Members
45,144
Latest member
KetoBaseReviews
Top