![]() |
VR-Forces 4.0.4 Class Documentation
|
DtSetSurrenderRequest is used to set surrendered for an entity Check here for more information: https://intranet.mak.com/index.php/Prisoner_of_War_Modeling. More...

Public Member Functions | |
| DtSetSurrenderRequest () | |
| default constructor | |
| DtSetSurrenderRequest (const DtString &writeName, DtReaderWriterRegistry *parentRegistry=0) | |
| constructor If you have a request 'put' itself, the writeName will preface it. | |
| DtSetSurrenderRequest (const DtString &writeName, const DtSetSurrenderRequest &orig, DtReaderWriterRegistry *parentRegistry=0) | |
| copy constructor | |
| const DtSetSurrenderRequest & | operator= (const DtSetSurrenderRequest &orig) |
| assignment operator | |
| virtual | ~DtSetSurrenderRequest () |
| virtual int | type () const |
| Returns DtSetSurrenderRequestType. | |
| virtual DtSetDataRequest * | clone (const DtString &name, DtReaderWriterRegistry *parentRegistry=0) const |
| Creates a copy of the request. | |
| virtual DtString | stringRep () const |
| Get a readable string representation of this setDataRequest. | |
| virtual bool | surrender () const |
| virtual void | setSurrender (bool b) |
| virtual int | netRepSize () const |
| Returns the size of the full network representation (altitude included) padded to an 8-byte boundary. | |
| virtual bool | setFromNet (const char *contentBuffer, unsigned contentSize) |
| Fills in the request from the network buffer. | |
| virtual bool | setToNet () |
| Fills in the network buffer (created by base class setDataRequest) with the set data request contents. | |
Static Public Member Functions | |
| static DtSetDataRequest * | creator () |
Protected Attributes | |
| DtRwBoolean | mySurrender |
DtSetSurrenderRequest is used to set surrendered for an entity Check here for more information: https://intranet.mak.com/index.php/Prisoner_of_War_Modeling.
default constructor
| DtSetSurrenderRequest::DtSetSurrenderRequest | ( | const DtString & | writeName, |
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) |
constructor If you have a request 'put' itself, the writeName will preface it.
| DtSetSurrenderRequest::DtSetSurrenderRequest | ( | const DtString & | writeName, |
| const DtSetSurrenderRequest & | orig, | ||
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) |
copy constructor
| virtual DtSetSurrenderRequest::~DtSetSurrenderRequest | ( | ) | [virtual] |
| const DtSetSurrenderRequest& DtSetSurrenderRequest::operator= | ( | const DtSetSurrenderRequest & | orig | ) |
assignment operator
| virtual int DtSetSurrenderRequest::type | ( | ) | const [virtual] |
Returns DtSetSurrenderRequestType.
Implements DtSetDataRequest.
| virtual DtSetDataRequest* DtSetSurrenderRequest::clone | ( | const DtString & | name, |
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) | const [virtual] |
Creates a copy of the request.
Implements DtSetDataRequest.
| virtual DtString DtSetSurrenderRequest::stringRep | ( | ) | const [virtual] |
Get a readable string representation of this setDataRequest.
Implements DtSetDataRequest.
| virtual bool DtSetSurrenderRequest::surrender | ( | ) | const [virtual] |
| virtual void DtSetSurrenderRequest::setSurrender | ( | bool | b | ) | [virtual] |
| virtual int DtSetSurrenderRequest::netRepSize | ( | ) | const [virtual] |
Returns the size of the full network representation (altitude included) padded to an 8-byte boundary.
Reimplemented from DtSetDataRequest.
| virtual bool DtSetSurrenderRequest::setFromNet | ( | const char * | contentBuffer, |
| unsigned | contentSize | ||
| ) | [virtual] |
Fills in the request from the network buffer.
Reimplemented from DtSetDataRequest.
| virtual bool DtSetSurrenderRequest::setToNet | ( | ) | [virtual] |
Fills in the network buffer (created by base class setDataRequest) with the set data request contents.
Reimplemented from DtSetDataRequest.
| static DtSetDataRequest* DtSetSurrenderRequest::creator | ( | ) | [static] |
DtRwBoolean DtSetSurrenderRequest::mySurrender [protected] |