18 #ifndef __otbRCC8VertexIterator_txx
19 #define __otbRCC8VertexIterator_txx
28 template <
class TGraph>
32 m_Graph = GraphType::New();
33 tie(m_Iter, m_End) = vertices(*(m_Graph->GetGraph()));
38 template <
class TGraph>
49 template <
class TGraph>
54 tie(m_Iter, m_End) = vertices(*(m_Graph->GetGraph()));
60 template <
class TGraph>
66 return (*(m_Graph->GetGraph()))[*m_Iter];
72 template <
class TGraph>
77 (*(m_Graph->GetGraph()))[*m_Iter] = vertex;
83 template <
class TGraph>
85 ::VertexDescriptorType
89 IndexMapType index =
get(boost::vertex_index, (*m_Graph->GetGraph()));
90 return index[*m_Iter];
96 template <
class TGraph>
101 return (m_Iter == m_End);
106 template <
class TGraph>
111 tie(m_Iter, m_End) = vertices(*(m_Graph->GetGraph()));
116 template <
class TGraph>
128 template <
class TGraph>
140 template <
class TGraph>
152 template <
class TGraph>
164 template <
class TGraph>
169 return (m_Iter != iter.
m_Iter);
174 template <
class TGraph>
179 return (m_Iter == iter.
m_Iter);
184 template <
class TGraph>