VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 setCharacterHandItem (const std::string &s)
const std::string & characterHandItem () 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
void setUseRandomHandItemUponCreation (bool b)
bool useRandomHandItemUponCreation () const
void setRandomHandItems (const DtRwNLengthStringVector &items)
const DtRwNLengthStringVectorrandomHandItems () const
void setDiGuyEnabled (bool b)
bool diGuyEnabled () const

Protected Attributes

std::string myCharacterType
std::string myCharacterAppearance
std::string myCharacterHandItem
std::string myCharacterAnimation
bool myUseRandomAppearanceUponCreation
DtRwNLengthStringVector myRandomAppearances
bool myUseRandomHandItemUponCreation
DtRwNLengthStringVector myRandomHandItems
bool myDiGuyEnabled

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::setCharacterHandItem ( const std::string &  s)
inline
const std::string& DtDiGuyInformation::characterHandItem ( ) 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
void DtDiGuyInformation::setUseRandomHandItemUponCreation ( bool  b)
inline
bool DtDiGuyInformation::useRandomHandItemUponCreation ( ) const
inline
void DtDiGuyInformation::setRandomHandItems ( const DtRwNLengthStringVector items)
inline
const DtRwNLengthStringVector& DtDiGuyInformation::randomHandItems ( ) const
inline
void DtDiGuyInformation::setDiGuyEnabled ( bool  b)
inline
bool DtDiGuyInformation::diGuyEnabled ( ) const
inline

Member Data Documentation

std::string DtDiGuyInformation::myCharacterType
protected
std::string DtDiGuyInformation::myCharacterAppearance
protected
std::string DtDiGuyInformation::myCharacterHandItem
protected
std::string DtDiGuyInformation::myCharacterAnimation
protected
bool DtDiGuyInformation::myUseRandomAppearanceUponCreation
protected
DtRwNLengthStringVector DtDiGuyInformation::myRandomAppearances
protected
bool DtDiGuyInformation::myUseRandomHandItemUponCreation
protected
DtRwNLengthStringVector DtDiGuyInformation::myRandomHandItems
protected
bool DtDiGuyInformation::myDiGuyEnabled
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)