![]() |
VR-Forces 4.0.4 Class Documentation
|
Class template for DtAdminContent subclasses that contain no data. More...

Public Member Functions | |
| DtNoDataAdminContent () | |
| default constructor | |
| DtNoDataAdminContent (const DtNoDataAdminContent &orig) | |
| copy constructor | |
| const DtNoDataAdminContent & | operator= (const DtNoDataAdminContent &orig) |
| assignment operator; same as copy costructor. | |
| virtual | ~DtNoDataAdminContent () |
| destructor | |
| virtual bool | init () |
| Call after construction. | |
| virtual int | type () const |
| 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. | |
Static Public Member Functions | |
| static DtAdminContent * | create () |
| Creator function. Returns new instance of this class. | |
Class template for DtAdminContent subclasses that contain no data.
This template allows easy creation of DtAdminContent subclasses that have no data other than their type. Simply instantiate this template with the content type specified at the template argument. It is also recommended to create a template specialization for the stringRep() member, so that it returns a relevant string.
| DtNoDataAdminContent< T_contentType >::DtNoDataAdminContent | ( | ) |
default constructor
| DtNoDataAdminContent< T_contentType >::DtNoDataAdminContent | ( | const DtNoDataAdminContent< T_contentType > & | orig | ) |
copy constructor
| virtual DtNoDataAdminContent< T_contentType >::~DtNoDataAdminContent | ( | ) | [virtual] |
destructor
| const DtNoDataAdminContent& DtNoDataAdminContent< T_contentType >::operator= | ( | const DtNoDataAdminContent< T_contentType > & | orig | ) |
assignment operator; same as copy costructor.
| static DtAdminContent* DtNoDataAdminContent< T_contentType >::create | ( | ) | [static] |
Creator function. Returns new instance of this class.
| virtual bool DtNoDataAdminContent< T_contentType >::init | ( | ) | [virtual] |
Call after construction.
Reimplemented from DtAdminContent.
| virtual int DtNoDataAdminContent< T_contentType >::type | ( | ) | const [virtual] |
Implements DtAdminContent.
| virtual DtAdminContent* DtNoDataAdminContent< T_contentType >::clone | ( | ) | const [virtual] |
Make a copy of this content.
Returns a pointer to a newly created copy of this class.
Implements DtAdminContent.
| virtual DtString DtNoDataAdminContent< T_contentType >::stringRep | ( | ) | const [virtual] |
Get a readable string representation of this content.
Implements DtAdminContent.
| virtual int DtNoDataAdminContent< T_contentType >::netRepSize | ( | ) | const [virtual] |
Reimplemented from DtAdminContent.
| virtual bool DtNoDataAdminContent< T_contentType >::setFromNet | ( | const char * | contentBuffer, |
| unsigned | contentSize | ||
| ) | [virtual] |
Decodes content from buffer.
Reimplemented from DtAdminContent.
| virtual bool DtNoDataAdminContent< T_contentType >::setToNet | ( | ) | [virtual] |
Encodes content into buffer.
Reimplemented from DtAdminContent.