Value pointed by the iterator. More...
#include <graph.hpp>
Public Member Functions | |
edge () | |
Constructor. | |
const edge_type & | label () const |
Gets edge's label. | |
const vertex_type & | source () const |
Gets edge's source. | |
const vertex_type & | target () const |
Gets edge's target. | |
Private Member Functions | |
void | set (const edge_type &l, const vertex_type &s, const vertex_type &t) |
Sets label, source and taget. | |
Private Attributes | |
edge_type const * | m_label |
vertex_type const * | m_source |
vertex_type const * | m_target |
Friends | |
class | graph_edge_iterator |
Value pointed by the iterator.
Definition at line 151 of file graph.hpp.
claw::graph< S, A, Comp >::graph_edge_iterator::edge::edge | ( | ) | [inline] |
const claw::graph< S, A, Comp >::edge_type & claw::graph< S, A, Comp >::graph_edge_iterator::edge::label | ( | ) | const [inline] |
Gets edge's label.
Definition at line 224 of file graph.tpp.
References claw::graph< S, A, Comp >::graph_edge_iterator::edge::m_label.
void claw::graph< S, A, Comp >::graph_edge_iterator::edge::set | ( | const edge_type & | l, | |
const vertex_type & | s, | |||
const vertex_type & | t | |||
) | [inline, private] |
Sets label, source and taget.
Definition at line 260 of file graph.tpp.
References claw::graph< S, A, Comp >::graph_edge_iterator::edge::m_label, claw::graph< S, A, Comp >::graph_edge_iterator::edge::m_source, and claw::graph< S, A, Comp >::graph_edge_iterator::edge::m_target.
Referenced by claw::graph< S, A, Comp >::graph_edge_iterator::graph_edge_iterator(), claw::graph< S, A, Comp >::graph_edge_iterator::operator++(), and claw::graph< S, A, Comp >::graph_edge_iterator::operator--().
const claw::graph< S, A, Comp >::vertex_type & claw::graph< S, A, Comp >::graph_edge_iterator::edge::source | ( | ) | const [inline] |
Gets edge's source.
Definition at line 236 of file graph.tpp.
References claw::graph< S, A, Comp >::graph_edge_iterator::edge::m_source.
const claw::graph< S, A, Comp >::vertex_type & claw::graph< S, A, Comp >::graph_edge_iterator::edge::target | ( | ) | const [inline] |
Gets edge's target.
Definition at line 248 of file graph.tpp.
References claw::graph< S, A, Comp >::graph_edge_iterator::edge::m_target.
friend class graph_edge_iterator [friend] |
edge_type const* claw::graph< S, A, Comp >::graph_edge_iterator::edge::m_label [private] |
Definition at line 166 of file graph.hpp.
Referenced by claw::graph< S, A, Comp >::graph_edge_iterator::edge::label(), and claw::graph< S, A, Comp >::graph_edge_iterator::edge::set().
vertex_type const* claw::graph< S, A, Comp >::graph_edge_iterator::edge::m_source [private] |
Definition at line 167 of file graph.hpp.
Referenced by claw::graph< S, A, Comp >::graph_edge_iterator::edge::set(), and claw::graph< S, A, Comp >::graph_edge_iterator::edge::source().
vertex_type const* claw::graph< S, A, Comp >::graph_edge_iterator::edge::m_target [private] |
Definition at line 168 of file graph.hpp.
Referenced by claw::graph< S, A, Comp >::graph_edge_iterator::edge::set(), and claw::graph< S, A, Comp >::graph_edge_iterator::edge::target().