Cloudy
Spectral Synthesis Code for Astrophysics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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_pntroperator= (const basic_pntr &)=default
 
 basic_pntr (const basic_pntr &t)=default
 
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

Constructor & Destructor Documentation

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

Member Function Documentation

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

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
template<class T, bool lgBC>
const pntr pntr< T, lgBC >::operator- ( const ptrdiff_t  n) const
inline
template<class T, bool lgBC>
ptrdiff_t pntr< T, lgBC >::operator- ( const pntr< T, lgBC > &  t) const
inline
template<class T, bool lgBC>
pntr& pntr< T, lgBC >::operator-- ( )
inline

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

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