![]() |
VR-Forces 4.0.4 Class Documentation
|
Admin content which contains the list of weapon systems on an entity. More...

Public Member Functions | |
| DtWeaponListResponseAdmin () | |
| default constructor | |
| DtWeaponListResponseAdmin (const DtWeaponListResponseAdmin &orig) | |
| copy constructor | |
| const DtWeaponListResponseAdmin & | operator= (const DtWeaponListResponseAdmin &orig) |
| assignment operator; same as copy costructor. | |
| virtual | ~DtWeaponListResponseAdmin () |
| destructor | |
| virtual bool | init () |
| Call after construction. | |
| virtual int | type () const |
| virtual void | addWeaponSystem (const DtString &modeName) |
| Add an additional weapon system name to the end of the current weapon system list. | |
| virtual void | clearWeaponSystems () |
| Clear the current formation list. | |
| virtual DtAdminContent * | clone () const |
| Make a copy of this content. | |
| virtual DtString | stringRep () const |
| Get a readable string representation of this content. | |
| virtual int | netRepSize () const |
| virtual bool | setFromNet (const char *contentBuffer, unsigned contentSize) |
| Decodes content from buffer. | |
| virtual bool | setToNet () |
| Encodes content into buffer. | |
| virtual const std::list < DtString > & | weaponSystems () const |
| Direct access to the list of weapon systems. | |
| virtual std::list< DtString > & | weaponSystems () |
| Direct access to the list of weapon systems. | |
Static Public Member Functions | |
| static DtAdminContent * | create () |
| Creator function. Returns new instance of this class. | |
Protected Attributes | |
| std::list< DtString > | myWeaponSystems |
| The list of weapon system names. | |
Admin content which contains the list of weapon systems on an entity.
This is the response to the DtRequestWeaponlistAdmin message.
default constructor
copy constructor
| virtual DtWeaponListResponseAdmin::~DtWeaponListResponseAdmin | ( | ) | [virtual] |
destructor
| const DtWeaponListResponseAdmin& DtWeaponListResponseAdmin::operator= | ( | const DtWeaponListResponseAdmin & | orig | ) |
assignment operator; same as copy costructor.
| static DtAdminContent* DtWeaponListResponseAdmin::create | ( | ) | [static] |
Creator function. Returns new instance of this class.
| virtual bool DtWeaponListResponseAdmin::init | ( | ) | [virtual] |
Call after construction.
Reimplemented from DtAdminContent.
| virtual int DtWeaponListResponseAdmin::type | ( | ) | const [virtual] |
Implements DtAdminContent.
| virtual const std::list<DtString>& DtWeaponListResponseAdmin::weaponSystems | ( | ) | const [virtual] |
Direct access to the list of weapon systems.
| virtual std::list<DtString>& DtWeaponListResponseAdmin::weaponSystems | ( | ) | [virtual] |
Direct access to the list of weapon systems.
| virtual void DtWeaponListResponseAdmin::addWeaponSystem | ( | const DtString & | modeName | ) | [virtual] |
Add an additional weapon system name to the end of the current weapon system list.
| virtual void DtWeaponListResponseAdmin::clearWeaponSystems | ( | ) | [virtual] |
Clear the current formation list.
| virtual DtAdminContent* DtWeaponListResponseAdmin::clone | ( | ) | const [virtual] |
Make a copy of this content.
Returns a pointer to a newly created copy of this class.
Implements DtAdminContent.
| virtual DtString DtWeaponListResponseAdmin::stringRep | ( | ) | const [virtual] |
Get a readable string representation of this content.
Implements DtAdminContent.
| virtual int DtWeaponListResponseAdmin::netRepSize | ( | ) | const [virtual] |
Reimplemented from DtAdminContent.
| virtual bool DtWeaponListResponseAdmin::setFromNet | ( | const char * | contentBuffer, |
| unsigned | contentSize | ||
| ) | [virtual] |
Decodes content from buffer.
Reimplemented from DtAdminContent.
| virtual bool DtWeaponListResponseAdmin::setToNet | ( | ) | [virtual] |
Encodes content into buffer.
Reimplemented from DtAdminContent.
std::list<DtString> DtWeaponListResponseAdmin::myWeaponSystems [protected] |
The list of weapon system names.