VR-Forces Development_Version 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, int > AttributeToStateMap
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 Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)