cloudy trunk
Loading...
Searching...
No Matches
pntr< T, lgBC > Class Template Reference

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

#include <container_classes.h>

Inheritance diagram for pntr< T, lgBC >:
Collaboration diagram for pntr< T, lgBC >:

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 140 of file container_classes.h.

Constructor & Destructor Documentation

◆ pntr() [1/3]

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

Definition at line 144 of file container_classes.h.

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

Referenced by operator+(), operator++(), operator++(), operator-(), operator-(), operator--(), and operator--().

Here is the call graph for this function:

◆ pntr() [2/3]

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

Definition at line 145 of file container_classes.h.

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

Here is the call graph for this function:

◆ pntr() [3/3]

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

Definition at line 146 of file container_classes.h.

Member Function Documentation

◆ operator+()

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

Definition at line 154 of file container_classes.h.

References pntr().

Here is the call graph for this function:

◆ operator++() [1/2]

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

Definition at line 149 of file container_classes.h.

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

Here is the call graph for this function:

◆ operator++() [2/2]

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

Definition at line 150 of file container_classes.h.

References pntr().

Here is the call graph for this function:

◆ operator-() [1/2]

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

Definition at line 156 of file container_classes.h.

References pntr().

Here is the call graph for this function:

◆ operator-() [2/2]

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

Definition at line 155 of file container_classes.h.

References pntr().

Here is the call graph for this function:

◆ operator--() [1/2]

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

Definition at line 151 of file container_classes.h.

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

Here is the call graph for this function:

◆ operator--() [2/2]

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

Definition at line 152 of file container_classes.h.

References pntr().

Here is the call graph for this function:

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