#include <cdat.h>
Public Member Functions | |
CDatT () | |
Default ctor. | |
~CDatT () | |
Default dtor. | |
CDatT (const CDatT &other) | |
Copy constructor for CDatT. | |
CDatT (T newval) | |
Copy constructor for int. | |
T | getValue () const |
returns value of CDatT | |
operator T () | |
convert to T | |
bool | operator< (const CDatT &x) const |
implementation of operator < | |
bool | operator== (const CDatT &x) const |
implementation of operator == | |
CDatT & | operator+= (const CDatT &x) |
implementation of operator += | |
CDatT & | operator-= (const CDatT &x) |
implementation of operator -= | |
CDatT & | operator *= (const CDatT &x) |
implementation of operator *= | |
CDatT & | operator/= (const CDatT &x) |
implementation of operator /= | |
CDatT & | operator%= (const CDatT &x) |
implementation of operator %= | |
CDatT & | operator|= (const CDatT &x) |
implementation of operator |= | |
CDatT & | operator &= (const CDatT &x) |
implementation of operator &= | |
CDatT & | operator^= (const CDatT &x) |
implementation of operator ^= | |
CDatT & | operator++ () |
implementation of operator ++ | |
CDatT & | operator-- () |
implementation of operator -- | |
Friends | |
std::ostream & | operator<< (std::ostream &stream, CDatT cdat) |
Shift/output operator for outputstream. | |
std::istream & | operator>> (std::istream &stream, CDatT &cdat) |
Shift/read operator for inputstream. |
Default ctor.
- |
bad_alloc |
Default dtor.
- |
none |
T CDatT< T >::getValue | ( | ) | const [inline] |
CDatT< T >::operator T | ( | ) | [inline] |
convert to T
- |
none |
implementation of operator <
x | reference to CDatT |
none |
implementation of operator ==
x | reference to CDatT |
none |
implementation of operator ++
- |
none |
implementation of operator --
- |
none |
std::ostream& operator<< | ( | std::ostream & | stream, | |
CDatT< T > | cdat | |||
) | [friend] |
Shift/output operator for outputstream.
stream | reference to outputstream | |
cdat | object which will be printed to stream |
none |
std::istream& operator>> | ( | std::istream & | stream, | |
CDatT< T > & | cdat | |||
) | [friend] |
Shift/read operator for inputstream.
stream | reference to inputstream | |
cdat | reference to object which will be read from stream |
none |