ptr< _Tp > Class Template Reference
[Classes and types for basic data management]

Local global pointer class. More...

#include <gptr.h>

Inheritance diagram for ptr< _Tp >:

Inheritance graph
[legend]
Collaboration diagram for ptr< _Tp >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ptr (_Tp &__p)
 ptr (_Tp *__p)
 ptr (const _Self &__p)
 ~ptr ()
reference operator* ()
const_reference operator* () const
pointer operator-> ()
const_pointer operator-> () const
pointer get_local_copy ()
const_pointer get_local_copy () const
_Selfoperator= (const _Self &__p)
_Selfoperator= (_Tp &__p)


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.

template<class _Tp>
ptr< _Tp >::ptr ( const _Self __p  )  [inline]

Standard Copy Constructor

Definition at line 104 of file gptr.h.

template<class _Tp>
ptr< _Tp >::~ptr (  )  [inline]

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.

template<class _Tp>
_Self& ptr< _Tp >::operator= ( const _Self __p  )  [inline]

Standard Assignment Operator

Definition at line 127 of file gptr.h.


The documentation for this class was generated from the following file:

Generated on Tue Feb 9 14:47:21 2010 for COCONUT API by  doxygen 1.5.8