DiaDes
0.1
DIAgnosis of Discrete-Event System
|
#include <GraphInt.hh>
Public Types | |
typedef Diades::Utils::Exception< GraphIterator > | Exception |
typedef GraphIterator< Any > | self |
typedef ptrdiff_t | difference_type |
typedef std::forward_iterator_tag | iterator_category |
typedef Any | value_type |
typedef Any * | pointer |
typedef Any & | reference |
typedef vector< value_type >::size_type | SizeType |
Public Member Functions | |
GraphIterator () | |
GraphIterator (vector< value_type > *pVect, SizeType index) | |
reference | operator* () const |
pointer | operator-> () const |
self & | operator++ () |
self | operator++ (int) |
bool | operator== (const self &it) const |
bool | operator!= (const self &it) const |
Static Public Member Functions | |
static string | typeName () |
Public Attributes | |
vector< value_type > * | _pVect |
SizeType | _index |
Define an iterator on the Graph (template for NodeIterator and EdgeIterator
Definition at line 24 of file GraphInt.hh.
typedef ptrdiff_t Diades::Graph::GraphIterator< Any >::difference_type |
Definition at line 34 of file GraphInt.hh.
typedef Diades::Utils::Exception<GraphIterator> Diades::Graph::GraphIterator< Any >::Exception |
Definition at line 29 of file GraphInt.hh.
typedef std::forward_iterator_tag Diades::Graph::GraphIterator< Any >::iterator_category |
Definition at line 35 of file GraphInt.hh.
typedef Any* Diades::Graph::GraphIterator< Any >::pointer |
Definition at line 37 of file GraphInt.hh.
typedef Any& Diades::Graph::GraphIterator< Any >::reference |
Definition at line 38 of file GraphInt.hh.
typedef GraphIterator<Any> Diades::Graph::GraphIterator< Any >::self |
Definition at line 33 of file GraphInt.hh.
typedef vector<value_type>::size_type Diades::Graph::GraphIterator< Any >::SizeType |
Definition at line 40 of file GraphInt.hh.
typedef Any Diades::Graph::GraphIterator< Any >::value_type |
Definition at line 36 of file GraphInt.hh.
|
inline |
Default constructor
Definition at line 48 of file GraphInt.hh.
|
inlineexplicit |
Constructor
pVect | pointer on a vector |
index | index in that vector |
Definition at line 56 of file GraphInt.hh.
|
inline |
it | an iterator |
Definition at line 130 of file GraphInt.hh.
|
inline |
Definition at line 72 of file GraphInt.hh.
|
inline |
Increment the iterator
Definition at line 90 of file GraphInt.hh.
Referenced by Diades::Graph::GraphIterator< Edge >::GraphIterator().
|
inline |
|
inline |
Definition at line 81 of file GraphInt.hh.
|
inline |
it | an iterator |
Definition at line 121 of file GraphInt.hh.
|
inlinestatic |
Definition at line 26 of file GraphInt.hh.
SizeType Diades::Graph::GraphIterator< Any >::_index |
Definition at line 43 of file GraphInt.hh.
Referenced by Diades::Graph::GraphIterator< Edge >::GraphIterator(), Diades::Graph::GraphIterator< Edge >::operator*(), Diades::Graph::GraphIterator< Edge >::operator++(), and Diades::Graph::GraphIterator< Edge >::operator->().
vector<value_type>* Diades::Graph::GraphIterator< Any >::_pVect |
Definition at line 42 of file GraphInt.hh.