VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
trpgGroup Class Reference
Inheritance diagram for trpgGroup:
Inheritance graph
[legend]

Public Member Functions

 trpgGroup (void)
virtual ~trpgGroup (void)
virtual void Reset (void)
 Resets the contents back to empty.
virtual void SetNumChild (int)
virtual int AddChild (void)
 Starting from 0, increments the number of children.
virtual bool GetNumChild (int &) const
virtual void SetID (int)
virtual bool GetID (int &) const
 Returns the group ID.
void SetName (const char *)
const charGetName (void) const
 Returns the group name.
virtual bool isValid (void) const
 Validity check.
virtual bool Write (trpgWriteBuffer &)
 Writes this class to a write buffer.
bool Read (trpgReadBuffer &)
 Reads this class from a read buffer.
bool Print (trpgPrintBuffer &) const
 Prints this class to a print buffer.
- Public Member Functions inherited from trpgReadWriteable
 trpgReadWriteable ()
const chargetErrMess () const
- Public Member Functions inherited from trpgCheckable
 trpgCheckable (void)
virtual ~trpgCheckable (void)
virtual TeAttrHdl GetHandle () const
virtual void SetHandle (TeAttrHdl hdl)

Protected Attributes

int id
int numChild
charname
- Protected Attributes inherited from trpgReadWriteable
char errMess [512]
- Protected Attributes inherited from trpgCheckable
bool valid
TeAttrHdl handle
bool writeHandle

Constructor & Destructor Documentation

trpgGroup::trpgGroup ( void  )
virtual trpgGroup::~trpgGroup ( void  )
virtual

Member Function Documentation

virtual void trpgGroup::Reset ( void  )
virtual

Resets the contents back to empty.

Implements trpgReadWriteable.

Reimplemented in trpgTransform, trpgLayer, trpgBillboard, and trpgAttach.

virtual void trpgGroup::SetNumChild ( int  )
virtual
virtual int trpgGroup::AddChild ( void  )
virtual

Starting from 0, increments the number of children.

virtual bool trpgGroup::GetNumChild ( int &  ) const
virtual
virtual void trpgGroup::SetID ( int  )
virtual
virtual bool trpgGroup::GetID ( int &  ) const
virtual

Returns the group ID.

void trpgGroup::SetName ( const char )
const char* trpgGroup::GetName ( void  ) const

Returns the group name.

virtual bool trpgGroup::isValid ( void  ) const
virtual

Validity check.

Reimplemented from trpgCheckable.

Reimplemented in trpgAttach.

virtual bool trpgGroup::Write ( trpgWriteBuffer )
virtual

Writes this class to a write buffer.

Implements trpgReadWriteable.

Reimplemented in trpgTransform, trpgLayer, trpgBillboard, and trpgAttach.

bool trpgGroup::Read ( trpgReadBuffer )
virtual

Reads this class from a read buffer.

Reimplemented from trpgReadWriteable.

Reimplemented in trpgTransform, trpgLayer, trpgBillboard, and trpgAttach.

bool trpgGroup::Print ( trpgPrintBuffer ) const
virtual

Prints this class to a print buffer.

Reimplemented from trpgReadWriteable.

Reimplemented in trpgTransform, trpgLayer, trpgBillboard, and trpgAttach.

Member Data Documentation

int trpgGroup::id
protected
int trpgGroup::numChild
protected
char* trpgGroup::name
protected

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

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)