Numeric type template. More...
#include <NumericType.h>
Inherits NumericTypeIntOperators< T, X >.
Public Types | |
typedef T | raw_type |
Base builtin type. | |
typedef NumericType | self |
Self reference type. | |
Public Member Functions | |
NumericType () | |
NumericType (raw_type const t) | |
Construct from implementation type. | |
NumericType & | operator= (raw_type const t) |
Assignment from implementation type. | |
NumericType & | operator= (self const &that) |
Self assignment. | |
operator raw_type const & () const | |
User conversion to implementation type. | |
operator raw_type & () | |
User conversion to implementation type. | |
raw_type | raw () const |
Explicit conversion to host type. | |
self & | operator+= (self const &that) |
self & | operator-= (self const &that) |
self & | operator+= (raw_type t) |
self & | operator-= (raw_type t) |
self | operator+ (self const &that) |
self | operator- (self const &that) |
self | operator+ (raw_type t) |
self | operator- (raw_type t) |
self & | operator++ () |
self | operator++ (int) |
self & | operator-- () |
self | operator-- (int) |
Numeric type template.
Definition at line 99 of file NumericType.h.
typedef T ts::NumericType< T, X >::raw_type |
Base builtin type.
Definition at line 101 of file NumericType.h.
typedef NumericType ts::NumericType< T, X >::self |
Self reference type.
Definition at line 102 of file NumericType.h.
ts::NumericType< T, X >::NumericType | ( | ) |
Default constructor, uninitialized.
Definition at line 156 of file NumericType.h.
ts::NumericType< T, X >::NumericType | ( | raw_type const | t | ) |
Construct from implementation type.
t | Initialized value. |
Definition at line 157 of file NumericType.h.
ts::NumericType< T, X >::operator raw_type & | ( | ) | [inline] |
User conversion to implementation type.
Definition at line 129 of file NumericType.h.
ts::NumericType< T, X >::operator raw_type const & | ( | ) | const [inline] |
User conversion to implementation type.
Definition at line 127 of file NumericType.h.
NumericType< T, X > ts::NumericType< T, X >::operator+ | ( | self const & | that | ) |
Definition at line 163 of file NumericType.h.
NumericType< T, X > ts::NumericType< T, X >::operator+ | ( | raw_type | t | ) |
Definition at line 168 of file NumericType.h.
NumericType< T, X > ts::NumericType< T, X >::operator++ | ( | int | ) |
Definition at line 173 of file NumericType.h.
NumericType< T, X > & ts::NumericType< T, X >::operator++ | ( | ) |
Definition at line 171 of file NumericType.h.
NumericType< T, X > & ts::NumericType< T, X >::operator+= | ( | raw_type | t | ) |
Definition at line 166 of file NumericType.h.
NumericType< T, X > & ts::NumericType< T, X >::operator+= | ( | self const & | that | ) |
Definition at line 161 of file NumericType.h.
NumericType< T, X > ts::NumericType< T, X >::operator- | ( | self const & | that | ) |
Definition at line 164 of file NumericType.h.
NumericType< T, X > ts::NumericType< T, X >::operator- | ( | raw_type | t | ) |
Definition at line 169 of file NumericType.h.
NumericType< T, X > & ts::NumericType< T, X >::operator-- | ( | ) |
Definition at line 172 of file NumericType.h.
NumericType< T, X > ts::NumericType< T, X >::operator-- | ( | int | ) |
Definition at line 174 of file NumericType.h.
NumericType< T, X > & ts::NumericType< T, X >::operator-= | ( | raw_type | t | ) |
Definition at line 167 of file NumericType.h.
NumericType< T, X > & ts::NumericType< T, X >::operator-= | ( | self const & | that | ) |
Definition at line 162 of file NumericType.h.
NumericType< T, X > & ts::NumericType< T, X >::operator= | ( | raw_type const | t | ) |
Assignment from implementation type.
Definition at line 158 of file NumericType.h.
NumericType< T, X > & ts::NumericType< T, X >::operator= | ( | self const & | that | ) |
Self assignment.
Definition at line 159 of file NumericType.h.
raw_type ts::NumericType< T, X >::raw | ( | ) | const [inline] |
Explicit conversion to host type.
Definition at line 131 of file NumericType.h.
Referenced by ts::config::detail::ValueTable::make(), and ts::operator-().