VR-Forces 4.2 Class Documentation
List of all members | Public Member Functions | Protected Attributes
DtDIGuyInformation Class Reference

Class that will keep track of all di-guy information. More...

Public Member Functions

 DtDIGuyInformation ()
 CTOR.
virtual ~DtDIGuyInformation ()
 DTOR.
 DtDIGuyInformation (const DtDIGuyInformation &)
 Copy constructor.
DtDIGuyInformationoperator= (const DtDIGuyInformation &)
bool operator== (const DtDIGuyInformation &) const
bool operator!= (const DtDIGuyInformation &rhs)
virtual void readFromEnvironment (const DtRwVariableBindings *)
 Seeds list from variable bindings. Will clear out all current information.
virtual void writeToEnvironment (DtRwVariableBindings *) const
 Writes all information to the variable bindings, removing all old information first.
void setCharacterType (const std::string &s)
const std::string & characterType () const
void setCharacterAppearance (const std::string &s)
const std::string & characterAppearance () const
void setCharacterAnimation (const std::string &s)
const std::string & characterAnimation () const
void setUseRandomAppearanceUponCreation (bool b)
bool useRandomAppearanceUponCreation () const
void setRandomAppearances (const DtRwNLengthStringVector &apps)
const DtRwNLengthStringVectorrandomAppearances () const

Protected Attributes

std::string myCharacterType
std::string myCharacterAppearance
std::string myCharacterAnimation
bool myUseRandomAppearanceUponCreation
DtRwNLengthStringVector myRandomAppearances

Detailed Description

Class that will keep track of all di-guy information.

Constructor & Destructor Documentation

DtDIGuyInformation::DtDIGuyInformation ( )

CTOR.

virtual DtDIGuyInformation::~DtDIGuyInformation ( )
virtual

DTOR.

DtDIGuyInformation::DtDIGuyInformation ( const DtDIGuyInformation )

Copy constructor.

Member Function Documentation

DtDIGuyInformation& DtDIGuyInformation::operator= ( const DtDIGuyInformation )
bool DtDIGuyInformation::operator== ( const DtDIGuyInformation ) const
bool DtDIGuyInformation::operator!= ( const DtDIGuyInformation rhs)
inline
virtual void DtDIGuyInformation::readFromEnvironment ( const DtRwVariableBindings )
virtual

Seeds list from variable bindings. Will clear out all current information.

virtual void DtDIGuyInformation::writeToEnvironment ( DtRwVariableBindings ) const
virtual

Writes all information to the variable bindings, removing all old information first.

void DtDIGuyInformation::setCharacterType ( const std::string &  s)
inline
const std::string& DtDIGuyInformation::characterType ( ) const
inline
void DtDIGuyInformation::setCharacterAppearance ( const std::string &  s)
inline
const std::string& DtDIGuyInformation::characterAppearance ( ) const
inline
void DtDIGuyInformation::setCharacterAnimation ( const std::string &  s)
inline
const std::string& DtDIGuyInformation::characterAnimation ( ) const
inline
void DtDIGuyInformation::setUseRandomAppearanceUponCreation ( bool  b)
inline
bool DtDIGuyInformation::useRandomAppearanceUponCreation ( ) const
inline
void DtDIGuyInformation::setRandomAppearances ( const DtRwNLengthStringVector apps)
inline
const DtRwNLengthStringVector& DtDIGuyInformation::randomAppearances ( ) const
inline

Member Data Documentation

std::string DtDIGuyInformation::myCharacterType
protected
std::string DtDIGuyInformation::myCharacterAppearance
protected
std::string DtDIGuyInformation::myCharacterAnimation
protected
bool DtDIGuyInformation::myUseRandomAppearanceUponCreation
protected
DtRwNLengthStringVector DtDIGuyInformation::myRandomAppearances
protected

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

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)