#include <EncapsulatedInteger.hpp>
Public Types | |
typedef EncapsulatedInteger< T > | type |
Alias for the instantiated class type. | |
typedef T | pod |
Alias for the encapsulated Plain-Old-Data type. | |
Public Member Functions | |
EncapsulatedInteger (void) | |
Null constructor. | |
EncapsulatedInteger (const type &rhs) | |
Copy constructor. | |
EncapsulatedInteger (const T &rhs) | |
Copy constructor. | |
type & | operator= (const type &rhs) |
Assignment operator (from encapsulated type). | |
type & | operator= (const T &rhs) |
Assignment operator. | |
bool | operator== (const type &rhs) const |
Equality operator (against encapsulated type). | |
bool | operator== (const T &rhs) const |
Equality operator. | |
operator const T & (void) const | |
Constant cast operator. | |
operator T & (void) | |
Non-constant cast operator. | |
bool | isUndefined (void) const |
Static Public Member Functions | |
static pod | undefined (void) |
Protected Attributes | |
T | m |
Encapsulated integer. |
Definition at line 26 of file EncapsulatedInteger.hpp.
typedef EncapsulatedInteger<T> torc::common::EncapsulatedInteger< T >::type |
typedef T torc::common::EncapsulatedInteger< T >::pod |
Alias for the encapsulated Plain-Old-Data type.
Definition at line 33 of file EncapsulatedInteger.hpp.
torc::common::EncapsulatedInteger< T >::EncapsulatedInteger | ( | void | ) | [inline] |
torc::common::EncapsulatedInteger< T >::EncapsulatedInteger | ( | const type & | rhs | ) | [inline] |
torc::common::EncapsulatedInteger< T >::EncapsulatedInteger | ( | const T & | rhs | ) | [inline] |
type& torc::common::EncapsulatedInteger< T >::operator= | ( | const type & | rhs | ) | [inline] |
Assignment operator (from encapsulated type).
Definition at line 43 of file EncapsulatedInteger.hpp.
type& torc::common::EncapsulatedInteger< T >::operator= | ( | const T & | rhs | ) | [inline] |
bool torc::common::EncapsulatedInteger< T >::operator== | ( | const type & | rhs | ) | const [inline] |
Equality operator (against encapsulated type).
Definition at line 47 of file EncapsulatedInteger.hpp.
bool torc::common::EncapsulatedInteger< T >::operator== | ( | const T & | rhs | ) | const [inline] |
torc::common::EncapsulatedInteger< T >::operator const T & | ( | void | ) | const [inline] |
torc::common::EncapsulatedInteger< T >::operator T & | ( | void | ) | [inline] |
T torc::common::EncapsulatedInteger< T >::m [protected] |