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