TrueReality  v0.1.1912
trManager::EntityType Class Reference

A class that specifies what kind of entity an object is in the Entity System. More...

#include <EntityType.h>

Inheritance diagram for trManager::EntityType:
Collaboration diagram for trManager::EntityType:

Static Public Attributes

static const EntityType ACTOR
 
static const EntityType DIRECTOR
 
static const EntityType ACTOR_MODULE
 
static const EntityType INVALID
 

Protected Member Functions

 ~EntityType ()
 
- Protected Member Functions inherited from trUtil::EnumerationString
virtual int Compare (const std::string &nameString) const
 Virtual string compare method to used by the operators that take a string. More...
 
virtual ~EnumerationString ()
 Private virtual destructor to get rid of compile warning. More...
 
 EnumerationString (const std::string &name)
 Construct the EnumerationString. More...
 

Private Member Functions

 EntityType (const std::string &name)
 

Additional Inherited Members

- Public Member Functions inherited from trUtil::EnumerationString
const std::string & GetName () const
 Inlined because it's called frequently. More...
 
bool operator== (const EnumerationString &rhs) const
 Equality test for an EnumerationString. More...
 
bool operator!= (const EnumerationString &rhs) const
 Inequality test for an EnumerationString. More...
 
bool operator== (const std::string &rhs) const
 Overloaded string compare operator for the EnumerationString. More...
 
bool operator!= (const std::string &rhs) const
 Overloaded inequality test for this EnumerationString's string value. More...
 
bool operator< (const std::string &rhs) const
 Overloaded less than test for this EnumerationString's string value. More...
 
bool operator> (const std::string &rhs) const
 Overloaded greater than test for this EnumerationString's string value. More...
 
bool operator< (const EnumerationString &rhs) const
 Overloaded less than operator. More...
 

Detailed Description

A class that specifies what kind of entity an object is in the Entity System.

Definition at line 37 of file EntityType.h.

Constructor & Destructor Documentation

◆ ~EntityType()

trManager::EntityType::~EntityType ( )
inlineprotected

Definition at line 48 of file EntityType.h.

◆ EntityType()

trManager::EntityType::EntityType ( const std::string &  name)
inlineprivate

Definition at line 52 of file EntityType.h.

Member Data Documentation

◆ ACTOR

◆ ACTOR_MODULE

◆ DIRECTOR

◆ INVALID

const EntityType trManager::EntityType::INVALID
static

Definition at line 45 of file EntityType.h.

Referenced by trManager::EntityBase::EntityBase().


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