Cloudy
Spectral Synthesis Code for Astrophysics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
const_pntr< T, lgBC > Class Template Reference

const_pntr - same as pntr, except that it replaces const pointers rather than normal pointers More...

#include <container_classes.h>

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

Public Member Functions

 const_pntr (T *p0)
 
 const_pntr (T *p0, T *p1, T *p2)
 
 const_pntr ()
 
 const_pntr (const pntr< T, lgBC > &t)
 
const_pntroperator++ ()
 
const const_pntr operator++ (int)
 
const_pntroperator-- ()
 
const const_pntr operator-- (int)
 
const_pntroperator+= (const ptrdiff_t n)
 
const_pntroperator-= (const ptrdiff_t n)
 
const T & operator* () const
 
const T * operator-> () const
 
const T & operator[] (const ptrdiff_t n) const
 
const const_pntr operator+ (const ptrdiff_t n) const
 
const const_pntr operator- (const ptrdiff_t n) const
 
ptrdiff_t operator- (const 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 const_pntr< T, lgBC >

const_pntr - same as pntr, except that it replaces const pointers rather than normal pointers

Constructor & Destructor Documentation

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

Member Function Documentation

template<class T, bool lgBC>
const T& const_pntr< T, lgBC >::operator* ( ) const
inline

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

Here is the call graph for this function:

template<class T, bool lgBC>
const const_pntr const_pntr< T, lgBC >::operator+ ( const ptrdiff_t  n) const
inline
template<class T, bool lgBC>
const_pntr& const_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 const_pntr const_pntr< T, lgBC >::operator++ ( int  )
inline
template<class T, bool lgBC>
const_pntr& const_pntr< T, lgBC >::operator+= ( const ptrdiff_t  n)
inline

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

Here is the call graph for this function:

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

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

Here is the call graph for this function:

template<class T, bool lgBC>
const T* const_pntr< T, lgBC >::operator-> ( ) const
inline

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

Here is the call graph for this function:

template<class T, bool lgBC>
const T& const_pntr< T, lgBC >::operator[] ( const ptrdiff_t  n) const
inline

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

Here is the call graph for this function:


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