Local global pointer class.
More...
#include <gptr.h>
List of all members.
Detailed Description
template<class _Tp>
class ptr< _Tp >
This class is a specialization of the global pointer class
gptr, which points to a
local object.
Definition at line 80 of file gptr.h.
Constructor & Destructor Documentation
template<class _Tp>
ptr< _Tp >::ptr |
( |
_Tp & |
__p |
) |
[inline] |
This constructor initializes the ptr with a pointer to the local data structure
.
Definition at line 99 of file gptr.h.
template<class _Tp>
ptr< _Tp >::ptr |
( |
_Tp * |
__p |
) |
[inline] |
This constructor initializes the ptr with a pointer to the local data structure pointed at by
.
Definition at line 102 of file gptr.h.
Standard Copy Constructor
Definition at line 104 of file gptr.h.
Standard Destructor
Definition at line 107 of file gptr.h.
Member Function Documentation
template<class _Tp>
const_pointer ptr< _Tp >::get_local_copy |
( |
|
) |
const [inline] |
This method just returns the pointer to the local data structur since it need not perform any data retrieval.
Definition at line 124 of file gptr.h.
template<class _Tp>
pointer ptr< _Tp >::get_local_copy |
( |
|
) |
[inline] |
This method just returns the pointer to the local data structur since it need not perform any data retrieval.
Definition at line 121 of file gptr.h.
template<class _Tp>
const_reference ptr< _Tp >::operator* |
( |
|
) |
const [inline] |
This is the const dereferentiation operator.
Definition at line 112 of file gptr.h.
template<class _Tp>
reference ptr< _Tp >::operator* |
( |
|
) |
[inline] |
This is the dereferentiation operator.
Definition at line 110 of file gptr.h.
template<class _Tp>
const_pointer ptr< _Tp >::operator-> |
( |
|
) |
const [inline] |
This is the const pointer operator.
Definition at line 117 of file gptr.h.
template<class _Tp>
pointer ptr< _Tp >::operator-> |
( |
|
) |
[inline] |
This is the pointer operator.
Definition at line 115 of file gptr.h.
template<class _Tp>
_Self& ptr< _Tp >::operator= |
( |
_Tp & |
__p |
) |
[inline] |
This operator assigns a ptr object from a data structure __p
.
Definition at line 129 of file gptr.h.
Standard Assignment Operator
Definition at line 127 of file gptr.h.
The documentation for this class was generated from the following file: