A class that encapsulates a type for a PhysicsForce.
More...
#include <omPhysicsForceType.h>
A class that encapsulates a type for a PhysicsForce.
om::physics::forces::ForceType::ForceType |
( |
const Type & |
newType | ) |
|
|
inline |
Create a ForceType object with the specified internal type.
om::physics::forces::ForceType::ForceType |
( |
const Char * |
string | ) |
|
|
inline |
Create a ForceType object with the specified string type.
om::physics::forces::ForceType::ForceType |
( |
const UTF8String & |
newTypeString | ) |
|
|
inline |
Create a ForceType object with the specified string type.
template<typename T >
static const ForceType& om::physics::forces::ForceType::of |
( |
| ) |
|
|
inlinestatic |
Return a ForceType object for the specified type template parameter.
Bool om::physics::forces::ForceType::operator== |
( |
const ForceType & |
other | ) |
const |
|
inline |
Return whether or not this shape type is equal to another.
Bool om::physics::forces::ForceType::operator!= |
( |
const ForceType & |
other | ) |
const |
|
inline |
Return whether or not this shape type is not equal to another.
ForceTypeID om::physics::forces::ForceType::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::forces::ForceType::getHashCode |
( |
| ) |
const |
|
inline |
Return a hash code for this shape type.
om::physics::forces::ForceType::operator const UTF8String & |
( |
| ) |
const |
|
inline |
Get a string representing the implementation-defined name of this type.
const UTF8String& om::physics::forces::ForceType::toString |
( |
| ) |
const |
|
inline |
Get a string representing the implementation-defined name of this type.
const UTF8String& om::physics::forces::ForceType::getName |
( |
| ) |
const |
|
inline |
Get a string representing the implementation-defined name of this type.
template<>
const ForceType& om::physics::forces::ForceType::of |
( |
| ) |
|
|
inline |
Specialize the force type template for this type.
template<>
const ForceType& om::physics::forces::ForceType::of |
( |
| ) |
|
|
inline |
Specialize the force type template for this type.
template<>
const ForceType& om::physics::forces::ForceType::of |
( |
| ) |
|
|
inline |
Specialize the force type template for this type.
Hash om::physics::forces::ForceType::hashCode |
A hash code for this shape type.
UTF8String om::physics::forces::ForceType::type |
A string object representing the internal type for this ForceType.
The documentation for this class was generated from the following files: