VR-Forces 4.0.4 Class Documentation
Public Member Functions | Static Public Member Functions | Protected Attributes
DtSetSurrenderRequest Class Reference

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...

Inheritance diagram for DtSetSurrenderRequest:
Inheritance graph
[legend]

List of all members.

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 DtSetSurrenderRequestoperator= (const DtSetSurrenderRequest &orig)
 assignment operator
virtual ~DtSetSurrenderRequest ()
virtual int type () const
 Returns DtSetSurrenderRequestType.
virtual DtSetDataRequestclone (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 DtSetDataRequestcreator ()

Protected Attributes

DtRwBoolean mySurrender

Detailed Description

DtSetSurrenderRequest is used to set surrendered for an entity Check here for more information: https://intranet.mak.com/index.php/Prisoner_of_War_Modeling.


Constructor & Destructor Documentation

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


Member Function Documentation

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.


Member Data Documentation


The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)