TMCConstPtr< T > Class Template Reference
[MCCore]
List of all members.
Detailed Description
template<class T>
class TMCConstPtr< T >
TMCConstPtr is simply a wrapper around a regular const pointer. The constructor initializes the pointer to NULL (so you'll never forget it). Several operators are overridden so that the wrapper becomes transparent while still providing asserts that verify as much as possible if the pointer is valid.
Constructor & Destructor Documentation
Member Function Documentation
template<class T >
TMCConstPtr< T >::operator const T * |
( |
|
) |
const [inline] |
template<class T >
const T* const* TMCConstPtr< T >::operator& |
( |
|
) |
const [inline] |
template<class T >
const T& TMCConstPtr< T >::operator* |
( |
|
) |
const [inline] |
template<class T >
const T* TMCConstPtr< T >::operator-> |
( |
|
) |
const [inline] |
template<class T >
const T* TMCConstPtr< T >::operator= |
( |
const T * |
ptr |
) |
[inline] |
Member Data Documentation
The documentation for this class was generated from the following file: