![]() |
VR-Forces Developer's Guide
|
Stores the quantity of a single supply type.
Public Member Functions | |
| DtSupplyStruct () | |
| ~DtSupplyStruct () | |
| DtSupplyStruct (const DtSupplyStruct &orig) | |
| DtSupplyStruct & | operator= (const DtSupplyStruct &orig) |
| virtual void | setSupplyType (const DtEntityType &val) |
| virtual const DtEntityType & | supplyType () const |
| virtual void | setStorageLocation (DtStorageLocation val) |
| virtual DtStorageLocation | storageLocation () const |
| virtual void | setQuantity (DtFloat32 val) |
| virtual DtFloat32 | quantity () const |
| bool | operator== (const DtSupplyStruct &other) const |
| bool | operator!= (const DtSupplyStruct &other) const |
| void | writeToBuffer (char *buffer) const |
| void | fillFromBuffer (const char *buffer, int bufferSize, int offset) |
| virtual void | printData () const |
| virtual void | printDataToStream (std::ostream &) const |
Static Public Member Functions | |
| static int | netSize () |
| static int | octetBoundary () |
| static unsigned int | getPaddingSize (unsigned long long byteOffset, unsigned int boundary) |
Protected Attributes | |
| DtEntityType | mySupplyType |
| DtStorageLocation | myStorageLocation |
| DtFloat32 | myQuantity |
| DtSupplyStruct::DtSupplyStruct | ( | ) |
| DtSupplyStruct::~DtSupplyStruct | ( | ) |
| DtSupplyStruct::DtSupplyStruct | ( | const DtSupplyStruct & | orig | ) |
| DtSupplyStruct& DtSupplyStruct::operator= | ( | const DtSupplyStruct & | orig | ) |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
| bool DtSupplyStruct::operator== | ( | const DtSupplyStruct & | other | ) | const |
| bool DtSupplyStruct::operator!= | ( | const DtSupplyStruct & | other | ) | const |
|
static |
|
static |
|
static |
| void DtSupplyStruct::writeToBuffer | ( | char * | buffer | ) | const |
|
virtual |
|
virtual |
|
protected |
|
protected |
|
protected |