3 #include <dis6/utils/DataStream.h> 4 #include <dis6/opendis6_export.h> 41 virtual void marshal(
DataStream& dataStream)
const;
42 virtual void unmarshal(
DataStream& dataStream);
44 unsigned int getRecordID()
const;
45 void setRecordID(
unsigned int pX);
47 unsigned int getRecordSetSerialNumber()
const;
48 void setRecordSetSerialNumber(
unsigned int pX);
50 unsigned short getRecordLength()
const;
51 void setRecordLength(
unsigned short pX);
53 unsigned short getRecordCount()
const;
54 void setRecordCount(
unsigned short pX);
56 unsigned short getRecordValues()
const;
57 void setRecordValues(
unsigned short pX);
59 unsigned char getPad4()
const;
60 void setPad4(
unsigned char pX);
63 virtual int getMarshalledSize()
const;
65 bool operator ==(
const RecordSet& rhs)
const;
Symbolic names as defined in 5.1.4.
Definition: AcknowledgePdu.h:8
unsigned char _pad4
^^^This is wrong–variable sized padding
Definition: RecordSet.h:34
a class to support managing a network buffer.
Definition: DataStream.h:28
unsigned int _recordSetSerialNumber
record set serial number
Definition: RecordSet.h:22
Definition: RecordSet.h:15
unsigned short _recordCount
record count
Definition: RecordSet.h:28
unsigned short _recordLength
record length
Definition: RecordSet.h:25
unsigned int _recordID
record ID
Definition: RecordSet.h:19
unsigned short _recordValues
^^^This is wrong–variable sized data records
Definition: RecordSet.h:31