18 #ifndef __otbRCC8OutEdgeIterator_txx
19 #define __otbRCC8OutEdgeIterator_txx
26 template <
class TGraph>
30 m_Graph = GraphType::New();
31 tie(m_Iter, m_End) = out_edges(0, *m_Graph->GetGraph());
36 template <
class TGraph>
48 template <
class TGraph>
53 m_VertexIndex = vertex;
54 tie(m_Iter, m_End) = out_edges(vertex, *m_Graph->GetGraph());
60 template <
class TGraph>
66 return (*m_Graph->GetGraph())[*m_Iter]->GetValue();
72 template <
class TGraph>
78 return (*m_Graph->GetGraph())[target(*m_Iter, (*m_Graph->GetGraph()))];
84 template <
class TGraph>
86 ::VertexDescriptorType
90 IndexMapType index =
get(boost::vertex_index, (*m_Graph->GetGraph()));
91 return index[target(*m_Iter, (*m_Graph->GetGraph()))];
97 template <
class TGraph>
102 return (m_Iter == m_End);
107 template <
class TGraph>
112 tie(m_Iter, m_End) = out_edges(m_VertexIndex, *m_Graph->GetGraph());
117 template <
class TGraph>
129 template <
class TGraph>
141 template <
class TGraph>
153 template <
class TGraph>
165 template <
class TGraph>
170 return (m_Iter != iter.
m_Iter);
175 template <
class TGraph>
180 return (m_Iter == iter.
m_Iter);
185 template <
class TGraph>