Om
1.0.0
A universal framework for multimedia simulation
|
A class that encapsulates a type for a Shape. More...
#include <omGraphicsShapeType.h>
Public Member Functions | |
ShapeType (const Type &newType) | |
Create a ShapeType object with the specified internal type. More... | |
ShapeType (const Char *string) | |
Create a ShapeType object with the specified string type. More... | |
ShapeType (const UTF8String &newTypeString) | |
Create a ShapeType object with the specified string type. More... | |
Bool | operator== (const ShapeType &other) const |
Return whether or not this shape type is equal to another. More... | |
Bool | operator!= (const ShapeType &other) const |
Return whether or not this shape type is not equal to another. More... | |
ShapeTypeID | getID () const |
Return an integer identifying this shape type. 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 ShapeType & | of () |
Specialize the shape type template for this type. More... | |
template<> | |
const ShapeType & | of () |
Specialize the shape type template for this type. More... | |
template<> | |
const ShapeType & | of () |
Specialize the shape type template for this type. More... | |
template<> | |
const ShapeType & | of () |
Specialize the shape type template for this type. More... | |
template<> | |
const ShapeType & | of () |
Specialize the shape type template for this type. More... | |
template<> | |
const ShapeType & | of () |
Specialize the shape type template for this type. More... | |
template<> | |
const ShapeType & | of () |
Specialize the shape type template for this type. More... | |
template<> | |
const ShapeType & | of () |
Specialize the shape type template for this type. More... | |
template<> | |
const ShapeType & | of () |
Specialize the shape type template for this type. More... | |
template<> | |
const ShapeType & | of () |
Specialize the shape type template for this type. More... | |
template<> | |
const ShapeType & | of () |
Specialize the shape type template for this type. More... | |
template<> | |
const ShapeType & | of () |
Specialize the shape type template for this type. More... | |
Static Public Member Functions | |
template<typename T > | |
static const ShapeType & | of () |
Return a ShapeType 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 ShapeType. More... | |
A class that encapsulates a type for a Shape.
|
inline |
Create a ShapeType object with the specified internal type.
|
inline |
Create a ShapeType object with the specified string type.
|
inline |
Create a ShapeType object with the specified string type.
|
inlinestatic |
Return a ShapeType object for the specified type template parameter.
Return whether or not this shape type is equal to another.
Return whether or not this shape type is not equal to another.
|
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.
|
inline |
Return a hash code for this shape type.
|
inline |
Get a string representing the implementation-defined name of this type.
|
inline |
Get a string representing the implementation-defined name of this type.
|
inline |
Get a string representing the implementation-defined name of this type.
|
inline |
Specialize the shape type template for this type.
|
inline |
Specialize the shape type template for this type.
|
inline |
Specialize the shape type template for this type.
|
inline |
Specialize the shape type template for this type.
|
inline |
Specialize the shape type template for this type.
|
inline |
Specialize the shape type template for this type.
|
inline |
Specialize the shape type template for this type.
|
inline |
Specialize the shape type template for this type.
|
inline |
Specialize the shape type template for this type.
|
inline |
Specialize the shape type template for this type.
|
inline |
Specialize the shape type template for this type.
|
inline |
Specialize the shape type template for this type.
Hash om::graphics::shapes::ShapeType::hashCode |
A hash code for this shape type.
UTF8String om::graphics::shapes::ShapeType::type |
A string object representing the internal type for this ShapeType.