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 Types | Protected Attributes
trpgRangeTable Class Reference
Inheritance diagram for trpgRangeTable:
Inheritance graph
[legend]

Public Member Functions

 trpgRangeTable (void)
 
virtual ~trpgRangeTable (void) override
 
bool GetRange (int id, trpgRange &) const
 
int GetNumRanges ()
 
bool SetRange (int id, trpgRange &)
 
int AddRange (trpgRange &)
 
int FindAddRange (trpgRange &)
 
virtual bool Write (trpgWriteBuffer &) override
 
virtual bool Read (trpgReadBuffer &) override
 
virtual bool Print (trpgPrintBuffer &) const override
 
virtual void Reset (void) override
 
trpgRangeTableoperator= (const trpgRangeTable &)
 
- 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 Types

typedef std::map< int, trpgRangeRangeMapType
 

Protected Attributes

RangeMapType rangeMap
 
- Protected Attributes inherited from trpgReadWriteable
char errMess [512]
 
- Protected Attributes inherited from trpgCheckable
bool valid
 
TeAttrHdl handle
 
bool writeHandle
 

Member Typedef Documentation

typedef std::map<int,trpgRange> trpgRangeTable::RangeMapType
protected

Constructor & Destructor Documentation

trpgRangeTable::trpgRangeTable ( void  )
virtual trpgRangeTable::~trpgRangeTable ( void  )
overridevirtual

Member Function Documentation

bool trpgRangeTable::GetRange ( int  id,
trpgRange  
) const

Get the given range info.

int trpgRangeTable::GetNumRanges ( )
inline

Get the number of entries in the table.

References int().

bool trpgRangeTable::SetRange ( int  id,
trpgRange  
)

Set the range info for the given ID.

int trpgRangeTable::AddRange ( trpgRange )

Add a new range and return the ID.

int trpgRangeTable::FindAddRange ( trpgRange )

Find a matching range and return it or add a new one if needed.

virtual bool trpgRangeTable::Write ( trpgWriteBuffer )
overridevirtual

Writes this class to a write buffer.

Implements trpgReadWriteable.

virtual bool trpgRangeTable::Read ( trpgReadBuffer )
overridevirtual

Reads this class from a read buffer.

Reimplemented from trpgReadWriteable.

virtual bool trpgRangeTable::Print ( trpgPrintBuffer ) const
overridevirtual

Prints this class to a print buffer.

Reimplemented from trpgReadWriteable.

virtual void trpgRangeTable::Reset ( void  )
overridevirtual

Resets the contents back to empty.

Implements trpgReadWriteable.

trpgRangeTable& trpgRangeTable::operator= ( const trpgRangeTable )

Assignment operator.

Member Data Documentation

RangeMapType trpgRangeTable::rangeMap
protected

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

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)