#include <Graph_Interface.hh>
Public Member Functions | |
virtual EdgeDescriptor * | clone () const =0 |
EdgeDescriptor () | |
Default Construction. More... | |
EdgeDescriptor (const Graph_Interface::IndexType &from, const Graph_Interface::IndexType &to) | |
virtual const std::string & | getEdgeLabel (void) const =0 |
const Graph_Interface::IndexType & | getFromIndex (void) const |
const Graph_Interface::IndexType & | getToIndex (void) const |
virtual bool | operator!= (const EdgeDescriptor &ed) const =0 |
virtual EdgeDescriptor & | operator++ ()=0 |
virtual bool | operator== (const EdgeDescriptor &ed) const |
virtual | ~EdgeDescriptor () |
Destruction. More... | |
Protected Attributes | |
Graph_Interface::IndexType | from |
the source of the edge described More... | |
Graph_Interface::IndexType | to |
the target of the edge described More... | |
Friends | |
class | Edge_iterator |
class | OutEdge_iterator |
Container that stores the global edge information, i.e. from, to, and the label of the edge.
Definition at line 30 of file Graph_Interface.hh.
sgm::Graph_Interface::EdgeDescriptor::EdgeDescriptor | ( | ) |
sgm::Graph_Interface::EdgeDescriptor::EdgeDescriptor | ( | const Graph_Interface::IndexType & | from, |
const Graph_Interface::IndexType & | to | ||
) |
Construction
from | the source of the edge |
to | the target of the edge |
|
virtual |
|
pure virtual |
Create a heap copy of this object. NOTE: this has to be removed by the calling function.
Implemented in sgm::Graph_boostV_p< GRAPH, NODE_LABEL_PROPERTY, EDGE_LABEL_PROPERTY, NODE_INDEX_PROPERTY >::EdgeDescriptor, sgm::Graph_boost< GRAPH, NODE_LABEL_PROPERTY, EDGE_LABEL_PROPERTY, NODE_INDEX_PROPERTY >::EdgeDescriptor, and sgm::SubGraph::EdgeDescriptor.
|
pure virtual |
Access to the label of the edge.
Implemented in sgm::Graph_boostV_p< GRAPH, NODE_LABEL_PROPERTY, EDGE_LABEL_PROPERTY, NODE_INDEX_PROPERTY >::EdgeDescriptor, sgm::Graph_boost< GRAPH, NODE_LABEL_PROPERTY, EDGE_LABEL_PROPERTY, NODE_INDEX_PROPERTY >::EdgeDescriptor, and sgm::SubGraph::EdgeDescriptor.
const Graph_Interface::IndexType& sgm::Graph_Interface::EdgeDescriptor::getFromIndex | ( | void | ) | const |
Access to the source of the edge.
const Graph_Interface::IndexType& sgm::Graph_Interface::EdgeDescriptor::getToIndex | ( | void | ) | const |
Access to the target of the edge.
|
pure virtual |
Inequality comparison
ed | the edge to compare to |
Implemented in sgm::Graph_boostV_p< GRAPH, NODE_LABEL_PROPERTY, EDGE_LABEL_PROPERTY, NODE_INDEX_PROPERTY >::EdgeDescriptor, sgm::Graph_boost< GRAPH, NODE_LABEL_PROPERTY, EDGE_LABEL_PROPERTY, NODE_INDEX_PROPERTY >::EdgeDescriptor, and sgm::SubGraph::EdgeDescriptor.
|
pure virtual |
Iterator support
Implemented in sgm::Graph_boostV_p< GRAPH, NODE_LABEL_PROPERTY, EDGE_LABEL_PROPERTY, NODE_INDEX_PROPERTY >::EdgeDescriptor, sgm::Graph_boost< GRAPH, NODE_LABEL_PROPERTY, EDGE_LABEL_PROPERTY, NODE_INDEX_PROPERTY >::EdgeDescriptor, and sgm::SubGraph::EdgeDescriptor.
|
virtual |
Equality comparison
ed | the edge to compare to |
|
friend |
Definition at line 48 of file Graph_Interface.hh.
|
friend |
Definition at line 50 of file Graph_Interface.hh.
|
protected |
Definition at line 53 of file Graph_Interface.hh.
|
protected |
Definition at line 55 of file Graph_Interface.hh.