VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties 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)
 
virtual void SetNumChild (int)
 
virtual int AddChild (void)
 
virtual bool GetNumChild (int &) const
 
virtual void SetID (int)
 
virtual bool GetID (int &) const
 
void SetName (const char *)
 
const charGetName (void) const
 
virtual bool isValid (void) const
 
virtual bool Write (trpgWriteBuffer &)
 
bool Read (trpgReadBuffer &)
 
bool Print (trpgPrintBuffer &) const
 
- Public Member Functions inherited from trpgReadWriteable
 trpgReadWriteable ()
 
const chargetErrMess () const
 
- Public Member Functions inherited from trpgCheckable
 trpgCheckable (void)
 
virtual ~trpgCheckable (void)
 
bool isValid (void) const
 
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 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 Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)