VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Classes | Public Types | Public Member Functions | Protected Attributes
makVrv::DtEntityAppearanceMapper Class Reference

Decoder for converting a particular entity type's appearance bits into generic enumerated values. More...

Classes

struct  StateInfo

Public Types

typedef std::map< int, intAttributeToStateMap
typedef std::map< int, StateInfoAttributeToStateInfoMap

Public Member Functions

 DtEntityAppearanceMapper (const DtEntityType &type, const AttributeToStateMap &appearanceMap)
 CTOR.
virtual ~DtEntityAppearanceMapper ()
 DTOR.
bool mapAttributeToState (const DtAppearAttribute attr, const DtAppearAttrVal val, int &state, int &stateVal) const
 Virtual map function.
const AttributeToStateInfoMapattributes () const
const DtEntityType & entityType () const

Protected Attributes

DtEntityType myEntityType
AttributeToStateInfoMap myAttributesToStateMap

Detailed Description

Decoder for converting a particular entity type's appearance bits into generic enumerated values.

Member Typedef Documentation

Constructor & Destructor Documentation

makVrv::DtEntityAppearanceMapper::DtEntityAppearanceMapper ( const DtEntityType &  type,
const AttributeToStateMap appearanceMap 
)

CTOR.

virtual makVrv::DtEntityAppearanceMapper::~DtEntityAppearanceMapper ( )
virtual

DTOR.

Member Function Documentation

bool makVrv::DtEntityAppearanceMapper::mapAttributeToState ( const DtAppearAttribute  attr,
const DtAppearAttrVal  val,
int state,
int stateVal 
) const

Virtual map function.

const AttributeToStateInfoMap& makVrv::DtEntityAppearanceMapper::attributes ( ) const
inline
const DtEntityType& makVrv::DtEntityAppearanceMapper::entityType ( ) const
inline

Member Data Documentation

DtEntityType makVrv::DtEntityAppearanceMapper::myEntityType
protected
AttributeToStateInfoMap makVrv::DtEntityAppearanceMapper::myAttributesToStateMap
protected

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)