Om  1.0.0
A universal framework for multimedia simulation
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
om::physics::objects::PhysicsObjectType Class Reference

A class that encapsulates a type for a PhysicsPhysicsObject. More...

#include <omPhysicsObjectType.h>

Public Member Functions

 PhysicsObjectType (const Type &newType)
 Create a PhysicsObjectType object with the specified internal type. More...
 
 PhysicsObjectType (const Char *string)
 Create a PhysicsObjectType object with the specified string type. More...
 
 PhysicsObjectType (const UTF8String &newTypeString)
 Create a PhysicsObjectType object with the specified string type. More...
 
Bool operator== (const PhysicsObjectType &other) const
 Return whether or not this shape type is equal to another. More...
 
Bool operator!= (const PhysicsObjectType &other) const
 Return whether or not this shape type is not equal to another. More...
 
Hash getHashCode () const
 Return a hash code for this shape type. More...
 
 operator const UTF8String & () const
 Get a string representing the implementation-defined name of this type. More...
 
const UTF8String & toString () const
 Get a string representing the implementation-defined name of this type. More...
 
const UTF8String & getName () const
 Get a string representing the implementation-defined name of this type. More...
 
template<>
const PhysicsObjectTypeof ()
 
template<>
const PhysicsObjectTypeof ()
 

Static Public Member Functions

template<typename T >
static const PhysicsObjectTypeof ()
 Return a PhysicsObjectType object for the specified type template parameter. More...
 

Public Attributes

Hash hashCode
 A hash code for this shape type. More...
 
UTF8String type
 A string object representing the internal type for this PhysicsObjectType. More...
 

Detailed Description

A class that encapsulates a type for a PhysicsPhysicsObject.

Constructor & Destructor Documentation

om::physics::objects::PhysicsObjectType::PhysicsObjectType ( const Type newType)
inline

Create a PhysicsObjectType object with the specified internal type.

om::physics::objects::PhysicsObjectType::PhysicsObjectType ( const Char string)
inline

Create a PhysicsObjectType object with the specified string type.

om::physics::objects::PhysicsObjectType::PhysicsObjectType ( const UTF8String &  newTypeString)
inline

Create a PhysicsObjectType object with the specified string type.

Member Function Documentation

template<typename T >
static const PhysicsObjectType& om::physics::objects::PhysicsObjectType::of ( )
inlinestatic

Return a PhysicsObjectType object for the specified type template parameter.

Bool om::physics::objects::PhysicsObjectType::operator== ( const PhysicsObjectType other) const
inline

Return whether or not this shape type is equal to another.

Bool om::physics::objects::PhysicsObjectType::operator!= ( const PhysicsObjectType other) const
inline

Return whether or not this shape type is not equal to another.

Hash om::physics::objects::PhysicsObjectType::getHashCode ( ) const
inline

Return a hash code for this shape type.

om::physics::objects::PhysicsObjectType::operator const UTF8String & ( ) const
inline

Get a string representing the implementation-defined name of this type.

const UTF8String& om::physics::objects::PhysicsObjectType::toString ( ) const
inline

Get a string representing the implementation-defined name of this type.

const UTF8String& om::physics::objects::PhysicsObjectType::getName ( ) const
inline

Get a string representing the implementation-defined name of this type.

template<>
const PhysicsObjectType& om::physics::objects::PhysicsObjectType::of ( )
inline
template<>
const PhysicsObjectType& om::physics::objects::PhysicsObjectType::of ( )
inline

Member Data Documentation

Hash om::physics::objects::PhysicsObjectType::hashCode

A hash code for this shape type.

UTF8String om::physics::objects::PhysicsObjectType::type

A string object representing the internal type for this PhysicsObjectType.


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