cloudy  trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions
pntr< T, lgBC > Class Template Reference

pntr - interface class to replace normal pointers More...

#include <container_classes.h>

Inheritance diagram for pntr< T, lgBC >:
Inheritance graph
[legend]
Collaboration diagram for pntr< T, lgBC >:
Collaboration graph
[legend]

Public Member Functions

 pntr (T *p0)
 
 pntr (T *p0, T *p1, T *p2)
 
 pntr ()
 
pntroperator++ ()
 
const pntr operator++ (int)
 
pntroperator-- ()
 
const pntr operator-- (int)
 
const pntr operator+ (const ptrdiff_t n) const
 
const pntr operator- (const ptrdiff_t n) const
 
ptrdiff_t operator- (const pntr &t) const
 
- Public Member Functions inherited from basic_pntr< T, lgBC >
 basic_pntr (T *p0, T *p1, T *p2)
 
 basic_pntr (T *p0)
 
 basic_pntr ()
 
 basic_pntr (const basic_pntr &t)
 
basic_pntroperator++ ()
 
basic_pntroperator-- ()
 
basic_pntroperator+= (const ptrdiff_t n)
 
basic_pntroperator-= (const ptrdiff_t n)
 
T & operator* () const
 
T * operator-> () const
 
T & operator[] (const ptrdiff_t n) const
 
bool operator== (const basic_pntr &t) const
 
bool operator!= (const basic_pntr &t) const
 
bool operator< (const basic_pntr &t) const
 
bool operator<= (const basic_pntr &t) const
 
bool operator> (const basic_pntr &t) const
 
bool operator>= (const basic_pntr &t) const
 

Additional Inherited Members

- Public Types inherited from basic_pntr< T, lgBC >
typedef random_access_iterator_tag iterator_category
 
typedef T value_type
 
typedef T & reference
 
typedef const T & const_reference
 
typedef T * pointer
 
typedef const T * const_pointer
 
typedef size_t size_type
 
typedef ptrdiff_t difference_type
 
- Protected Member Functions inherited from basic_pntr< T, lgBC >
 ~basic_pntr ()
 

Detailed Description

template<class T, bool lgBC>
class pntr< T, lgBC >

pntr - interface class to replace normal pointers

Definition at line 134 of file container_classes.h.

Constructor & Destructor Documentation

template<class T, bool lgBC>
pntr< T, lgBC >::pntr ( T *  p0)
inline

Definition at line 138 of file container_classes.h.

template<class T, bool lgBC>
pntr< T, lgBC >::pntr ( T *  p0,
T *  p1,
T *  p2 
)
inline

Definition at line 139 of file container_classes.h.

template<class T, bool lgBC>
pntr< T, lgBC >::pntr ( )
inline

Definition at line 140 of file container_classes.h.

Member Function Documentation

template<class T, bool lgBC>
const pntr pntr< T, lgBC >::operator+ ( const ptrdiff_t  n) const
inline

Definition at line 148 of file container_classes.h.

template<class T, bool lgBC>
pntr& pntr< T, lgBC >::operator++ ( )
inline

Definition at line 143 of file container_classes.h.

References basic_pntr< T, lgBC >::operator++().

Here is the call graph for this function:

template<class T, bool lgBC>
const pntr pntr< T, lgBC >::operator++ ( int  )
inline

Definition at line 144 of file container_classes.h.

template<class T, bool lgBC>
const pntr pntr< T, lgBC >::operator- ( const ptrdiff_t  n) const
inline

Definition at line 149 of file container_classes.h.

template<class T, bool lgBC>
ptrdiff_t pntr< T, lgBC >::operator- ( const pntr< T, lgBC > &  t) const
inline

Definition at line 150 of file container_classes.h.

template<class T, bool lgBC>
pntr& pntr< T, lgBC >::operator-- ( )
inline

Definition at line 145 of file container_classes.h.

References basic_pntr< T, lgBC >::operator--().

Here is the call graph for this function:

template<class T, bool lgBC>
const pntr pntr< T, lgBC >::operator-- ( int  )
inline

Definition at line 146 of file container_classes.h.


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