Flow123d  release_3.0.0-680-gbed5aba
Public Member Functions | List of all members
flow::FullIteratorId< T > Class Template Reference

#include <sys_vector.hh>

Inheritance diagram for flow::FullIteratorId< T >:
Inheritance graph
[legend]
Collaboration diagram for flow::FullIteratorId< T >:
Collaboration graph
[legend]

Public Member Functions

 FullIteratorId (VectorId< T > &cont)
 Constructor. Just call base class. More...
 
 FullIteratorId (const VectorId< T > &cont, typename std::vector< T >::iterator it)
 Constructor. Just call base class. More...
 
 FullIteratorId (VectorId< T > &cont, const typename VectorId< T >::Iter it)
 Constructor. Just call base class. More...
 
int id ()
 Returns id of the iterator. See VectorId documentation. More...
 
- Public Member Functions inherited from flow::FullIterator< VectorId< T > >
 FullIterator (VectorId< T > &cont_par)
 Constructor to make uninitialized FullIterator for a container. More...
 
 FullIterator (const VectorId< T > &cont_par, const typename VectorId< T >::iterator it)
 
 FullIterator (VectorId< T > &cont_par, const typename VectorId< T >::Iter it)
 Constructor to make FullIterator from container and Iter i.e. T*. More...
 
bool is_valid ()
 Check validity of FullIterator. More...
 
int index () const
 
VectorId< T > & container ()
 Get reference to the container of the FullIterator. More...
 
FullIteratoroperator= (const FullIterator &orig)
 Assign operator. In debugging version check that containers of both FullIterator match. More...
 
 operator typename VectorId< T >::Iter () const
 Type cast to Iter i.e. standard pointer. More...
 
VectorId< T >::ElementType & operator* () const
 
VectorId< T >::ElementType * operator-> () const
 -> dereference operator More...
 
FullIteratoroperator+= (const int shift)
 
FullIteratoroperator-= (const int shift)
 
bool operator== (const FullIterator &it) const
 Comparison of two FullIterator. More...
 
bool operator!= (const FullIterator &it) const
 
FullIteratoroperator++ ()
 Prefix. Advance operator. More...
 
FullIterator operator++ (int)
 Postfix. Should not be used since involves iterator copy. More...
 
FullIteratoroperator-- ()
 Prefix. Advance to previous operator. More...
 
FullIterator operator-- (int)
 Postfix. Should not be used since involves iterator copy. More...
 

Additional Inherited Members

- Protected Attributes inherited from flow::FullIterator< VectorId< T > >
const VectorId< T > & cont
 We have here reference to the container of the iterator. So, an instance of this class can not change the container. More...
 
VectorId< T >::iterator iter
 

Detailed Description

template<class T>
class flow::FullIteratorId< T >

Definition at line 157 of file sys_vector.hh.

Constructor & Destructor Documentation

template<class T >
flow::FullIteratorId< T >::FullIteratorId ( VectorId< T > &  cont)
inline

Constructor. Just call base class.

Definition at line 160 of file sys_vector.hh.

template<class T >
flow::FullIteratorId< T >::FullIteratorId ( const VectorId< T > &  cont,
typename std::vector< T >::iterator  it 
)
inline

Constructor. Just call base class.

Definition at line 163 of file sys_vector.hh.

template<class T >
flow::FullIteratorId< T >::FullIteratorId ( VectorId< T > &  cont,
const typename VectorId< T >::Iter  it 
)
inline

Constructor. Just call base class.

Definition at line 166 of file sys_vector.hh.

Member Function Documentation

template<class T >
int flow::FullIteratorId< T >::id ( )
inline

Returns id of the iterator. See VectorId documentation.

Definition at line 169 of file sys_vector.hh.


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