|
TrueReality
v0.1.1912
|
EnumerationString Pointer class holds a reference to a passed in Enumeration. More...
#include <EnumerationString.h>

Public Types | |
| using | element_type = T |
| Type of the element. More... | |
Public Member Functions | |
| EnumerationPointer () | |
| A constructor that creates and empty pointer. More... | |
| EnumerationPointer (T *ptr) | |
| A constructor that creates a pointer from a passed in EnumerationString. More... | |
| EnumerationPointer (const EnumerationPointer &rp) | |
| A constructor that creates a pointer from another EnumerationString Pointer. More... | |
| template<class Other > | |
| EnumerationPointer (const EnumerationPointer< Other > &rp) | |
| A templated pointer constructor that can create an EnumerationString pointer from an EnumerationString pointer of a different type. More... | |
| ~EnumerationPointer () | |
| Destructor. More... | |
| operator T* () const | |
| operator T & () const | |
| EnumerationPointer & | operator= (const EnumerationPointer &rp) |
| Assignment by reference operator. More... | |
| template<class Other > | |
| EnumerationPointer & | operator= (const EnumerationPointer< Other > &rp) |
| Assignment by reference operator. More... | |
| EnumerationPointer & | operator= (T *ptr) |
| Assignment from a pointer operator. More... | |
| EnumerationPointer & | operator= (T &enumRef) |
| Assignment from a reference operator. More... | |
| bool | operator== (const EnumerationPointer &rp) const |
| Comparison between two EnumerationPointers. More... | |
| bool | operator== (const T *ptr) const |
| Comparison between EnumerationPointers and a pointer. More... | |
| bool | operator!= (const EnumerationPointer &rp) const |
| Comparison between two EnumerationPointers. More... | |
| bool | operator!= (const T *ptr) const |
| Comparison between EnumerationPointers and a pointer. More... | |
| bool | operator< (const EnumerationPointer &rp) const |
| Overloaded less than test for this EnumerationString pointers's string value. More... | |
| bool | operator> (const EnumerationPointer &rp) const |
| Overloaded greater than test for this EnumerationString pointers's string value. More... | |
| T & | operator* () const |
| Pointer operator that returns a reference. More... | |
| T * | operator-> () const |
| Pointer method access operator. More... | |
| T * | get () const |
| Pointer access operator. More... | |
| bool | operator! () const |
| The NOT operator. More... | |
| bool | valid () const |
| Returns FALSE if the pointer is nullptr. More... | |
| void | swap (EnumerationPointer &rp) |
| Swaps the internal object with the passed in. More... | |
Private Attributes | |
| T * | mEnum |
| The enum. More... | |
Friends | |
| bool | operator== (const T *ptr, const EnumerationPointer &rp) |
| Comparison between EnumerationPointer and a pointer. More... | |
| bool | operator!= (const T *ptr, const EnumerationPointer &rp) |
| Comparison between EnumerationPointer and a pointer. More... | |
EnumerationString Pointer class holds a reference to a passed in Enumeration.
This is a container class for TR Enumerations.
Definition at line 313 of file EnumerationString.h.
| using trUtil::EnumerationPointer< T >::element_type = T |
Type of the element.
Definition at line 317 of file EnumerationString.h.
|
inline |
A constructor that creates and empty pointer.
Definition at line 324 of file EnumerationString.h.
|
inline |
A constructor that creates a pointer from a passed in EnumerationString.
| [in,out] | ptr | If non-null, the pointer. |
Definition at line 335 of file EnumerationString.h.
|
inline |
A constructor that creates a pointer from another EnumerationString Pointer.
| rp | The rp. |
Definition at line 346 of file EnumerationString.h.
|
inline |
A templated pointer constructor that can create an EnumerationString pointer from an EnumerationString pointer of a different type.
| Other | Type of the other. |
| rp | The rp. |
Definition at line 359 of file EnumerationString.h.
|
inline |
Destructor.
Definition at line 368 of file EnumerationString.h.
|
inline |
Pointer access operator.
Definition at line 607 of file EnumerationString.h.
|
inline |
Definition at line 392 of file EnumerationString.h.
|
inline |
Definition at line 380 of file EnumerationString.h.
|
inline |
The NOT operator.
Definition at line 619 of file EnumerationString.h.
|
inline |
Comparison between two EnumerationPointers.
| rp | The rp. |
Definition at line 514 of file EnumerationString.h.
|
inline |
Comparison between EnumerationPointers and a pointer.
| ptr | The pointer. |
Definition at line 528 of file EnumerationString.h.
|
inline |
Pointer operator that returns a reference.
Definition at line 583 of file EnumerationString.h.
|
inline |
Pointer method access operator.
Definition at line 595 of file EnumerationString.h.
|
inline |
Overloaded less than test for this EnumerationString pointers's string value.
| rp | The rp. |
Definition at line 557 of file EnumerationString.h.
|
inline |
Assignment by reference operator.
| rp | The rp. |
Definition at line 406 of file EnumerationString.h.
|
inline |
Assignment by reference operator.
| Other | Type of the other. |
| rp | The rp. |
this.
Definition at line 422 of file EnumerationString.h.
|
inline |
Assignment from a pointer operator.
| [in,out] | ptr | If non-null, the pointer. |
Definition at line 439 of file EnumerationString.h.
|
inline |
Assignment from a reference operator.
| [in,out] | enumRef | The enum reference. |
Definition at line 455 of file EnumerationString.h.
|
inline |
Comparison between two EnumerationPointers.
| rp | The rp. |
Definition at line 471 of file EnumerationString.h.
|
inline |
Comparison between EnumerationPointers and a pointer.
| ptr | The pointer. |
Definition at line 485 of file EnumerationString.h.
|
inline |
Overloaded greater than test for this EnumerationString pointers's string value.
| rp | The rp. |
Definition at line 571 of file EnumerationString.h.
|
inline |
Swaps the internal object with the passed in.
| [in,out] | rp | The rp. |
Definition at line 643 of file EnumerationString.h.
|
inline |
Returns FALSE if the pointer is nullptr.
Definition at line 631 of file EnumerationString.h.
|
friend |
Comparison between EnumerationPointer and a pointer.
| ptr | The first instance to compare. |
| rp | The second instance to compare. |
Definition at line 543 of file EnumerationString.h.
|
friend |
Comparison between EnumerationPointer and a pointer.
| ptr | The first instance to compare. |
| rp | The second instance to compare. |
Definition at line 500 of file EnumerationString.h.
|
private |
The enum.
Definition at line 651 of file EnumerationString.h.
Referenced by trUtil::EnumerationPointer< const trManager::EntityType >::operator!=(), trUtil::EnumerationPointer< const trManager::EntityType >::operator<(), trUtil::EnumerationPointer< const trManager::EntityType >::operator=(), trUtil::EnumerationPointer< const trManager::EntityType >::operator==(), trUtil::EnumerationPointer< const trManager::EntityType >::operator>(), and trUtil::EnumerationPointer< const trManager::EntityType >::swap().