dtHLAGM::AttributeType Class Reference

#include <attributetype.h>

Inheritance diagram for dtHLAGM::AttributeType:

dtUtil::Enumeration dtHLAGM::RPRAttributeType

List of all members.

Public Member Functions

unsigned int GetSupportedParameterCount () const
 
Returns:
The number of parameters this attribute type can translate .

size_t GetEncodedLength () const
 
Returns:
the max encoded length size for this type. This is used when allocating buffers.


Static Public Attributes

static const AttributeType UNKNOWN
 An unknown type.

Protected Member Functions

 AttributeType (const std::string &name, unsigned int supportedParameters, size_t encodedLength)
 AttributeType (const AttributeType &)
AttributeTypeoperator= (const AttributeType &)
virtual ~AttributeType ()

Protected Attributes

unsigned int mSupportedParameterCount
size_t mEncodedLength


Constructor & Destructor Documentation

dtHLAGM::AttributeType::AttributeType ( const std::string &  name,
unsigned int  supportedParameters,
size_t  encodedLength 
) [inline, protected]

dtHLAGM::AttributeType::AttributeType ( const AttributeType  )  [inline, protected]

virtual dtHLAGM::AttributeType::~AttributeType (  )  [inline, protected, virtual]


Member Function Documentation

unsigned int dtHLAGM::AttributeType::GetSupportedParameterCount (  )  const [inline]

Returns:
The number of parameters this attribute type can translate .

size_t dtHLAGM::AttributeType::GetEncodedLength (  )  const [inline]

Returns:
the max encoded length size for this type. This is used when allocating buffers.

AttributeType& dtHLAGM::AttributeType::operator= ( const AttributeType  )  [inline, protected]


Member Data Documentation

const AttributeType dtHLAGM::AttributeType::UNKNOWN [static]

An unknown type.

Used when mappings are not properly configured or a parameter translator does not recognize a type.

unsigned int dtHLAGM::AttributeType::mSupportedParameterCount [protected]

size_t dtHLAGM::AttributeType::mEncodedLength [protected]


http://www.delta3d.org
2.0.0 generated 14 Feb 2008