A class that encapsulates a type for a PhysicsShape.
More...
#include <omPhysicsShapeType.h>
A class that encapsulates a type for a PhysicsShape.
om::physics::shapes::ShapeType::ShapeType |
( |
const Type & |
newType | ) |
|
|
inline |
Create a ShapeType object with the specified internal type.
om::physics::shapes::ShapeType::ShapeType |
( |
const Char * |
string | ) |
|
|
inline |
Create a ShapeType object with the specified string type.
om::physics::shapes::ShapeType::ShapeType |
( |
const UTF8String & |
newTypeString | ) |
|
|
inline |
Create a ShapeType object with the specified string type.
template<typename T >
static const ShapeType& om::physics::shapes::ShapeType::of |
( |
| ) |
|
|
inlinestatic |
Return a ShapeType object for the specified type template parameter.
Bool om::physics::shapes::ShapeType::operator== |
( |
const ShapeType & |
other | ) |
const |
|
inline |
Return whether or not this shape type is equal to another.
Bool om::physics::shapes::ShapeType::operator!= |
( |
const ShapeType & |
other | ) |
const |
|
inline |
Return whether or not this shape type is not equal to another.
ShapeTypeID om::physics::shapes::ShapeType::getID |
( |
| ) |
const |
|
inline |
Return an integer identifying this shape type.
This ID is a 32-bit integer that is generated by hashing the string generated for a type template parameter. While the posibility of ID collisions is very low, duplicates are nonetheless a possibility.
Hash om::physics::shapes::ShapeType::getHashCode |
( |
| ) |
const |
|
inline |
Return a hash code for this shape type.
om::physics::shapes::ShapeType::operator const UTF8String & |
( |
| ) |
const |
|
inline |
Return a string representing the implementation-defined name of this type.
const UTF8String& om::physics::shapes::ShapeType::toString |
( |
| ) |
const |
|
inline |
Return a string representing the implementation-defined name of this type.
const UTF8String& om::physics::shapes::ShapeType::getName |
( |
| ) |
const |
|
inline |
Return a string representing the implementation-defined name of this type.
template<>
const ShapeType& om::physics::shapes::ShapeType::of |
( |
| ) |
|
|
inline |
Specialize the shape type template for this type.
template<>
const ShapeType& om::physics::shapes::ShapeType::of |
( |
| ) |
|
|
inline |
Specialize the shape type template for this type.
template<>
const ShapeType& om::physics::shapes::ShapeType::of |
( |
| ) |
|
|
inline |
Specialize the shape type template for this type.
template<>
const ShapeType& om::physics::shapes::ShapeType::of |
( |
| ) |
|
|
inline |
Specialize the shape type template for this type.
template<>
const ShapeType& om::physics::shapes::ShapeType::of |
( |
| ) |
|
|
inline |
Specialize the shape type template for this type.
template<>
const ShapeType& om::physics::shapes::ShapeType::of |
( |
| ) |
|
|
inline |
Specialize the shape type template for this type.
UInt32 om::physics::shapes::ShapeType::typeID |
A hash code for this shape type.
UTF8String om::physics::shapes::ShapeType::type |
A string object representing the internal type for this ShapeType.
The documentation for this class was generated from the following files: