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

Public Types

typedef std::map< int,
trpgLightAttr
LightMapType

Public Member Functions

 trpgLightTable (void)
 Default constructor.
 trpgLightTable (const trpgLightTable &)
 Copy constructor.
 ~trpgLightTable (void)
 Destructor.
int AddLightAttr (const trpgLightAttr &)
 Adds the given light attrib to the table and increments the total light attrib count.
int FindAddLightAttr (const trpgLightAttr &)
bool GetNumLightAttrs (int &) const
 Returns the number of light attrib in this table.
const trpgLightAttrGetLightAttrRef (int) const
 Returns a pointer to a light attrib from a given index.
bool isValid (void) const
 Validity check.
void Reset (void)
 Resets the contents back to empty.
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.
trpgLightTableoperator= (const trpgLightTable &)
 operator
LightMapTypegetLightMap ()
- 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

LightMapType lightMap
 Here we store the light attributes.
- Protected Attributes inherited from trpgReadWriteable
char errMess [512]
- Protected Attributes inherited from trpgCheckable
bool valid
TeAttrHdl handle
bool writeHandle

Member Typedef Documentation

Constructor & Destructor Documentation

trpgLightTable::trpgLightTable ( void  )

Default constructor.

trpgLightTable::trpgLightTable ( const trpgLightTable )

Copy constructor.

trpgLightTable::~trpgLightTable ( void  )

Destructor.

Member Function Documentation

int trpgLightTable::AddLightAttr ( const trpgLightAttr )

Adds the given light attrib to the table and increments the total light attrib count.

int trpgLightTable::FindAddLightAttr ( const trpgLightAttr )
bool trpgLightTable::GetNumLightAttrs ( int ) const

Returns the number of light attrib in this table.

const trpgLightAttr* trpgLightTable::GetLightAttrRef ( int  ) const

Returns a pointer to a light attrib from a given index.

bool trpgLightTable::isValid ( void  ) const

Validity check.

Reimplemented from trpgCheckable.

void trpgLightTable::Reset ( void  )
virtual

Resets the contents back to empty.

Implements trpgReadWriteable.

bool trpgLightTable::Write ( trpgWriteBuffer )
virtual

Writes this class to a write buffer.

Implements trpgReadWriteable.

bool trpgLightTable::Read ( trpgReadBuffer )
virtual

Reads this class from a read buffer.

Reimplemented from trpgReadWriteable.

bool trpgLightTable::Print ( trpgPrintBuffer ) const
virtual

Prints this class to a print buffer.

Reimplemented from trpgReadWriteable.

trpgLightTable& trpgLightTable::operator= ( const trpgLightTable )

operator

LightMapType* trpgLightTable::getLightMap ( )
inline

Member Data Documentation

LightMapType trpgLightTable::lightMap
protected

Here we store the light attributes.


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

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)