#include <GraphContainer.h>
Public Member Functions | |
| EdgeRef (const EdgeRef &orig) | |
| copy constructor | |
| AnyType | getAttr (unsigned int attrid) const |
| returns the value of an attribute | |
| vertexid_t | getSource () const |
| returns the source vertex id | |
| vertexid_t | getTarget () const |
| returns the target vertex id | |
| EdgeRef & | operator= (const EdgeRef &orig) |
| assignment operator | |
| bool | valid () const |
| checks that the vertex is valid | |
| ~EdgeRef () | |
| destructor conditionally deletes the copied attribute blob chain | |
Protected Member Functions | |
| EdgeRef (const class GraphData *gd, unsigned int _srcvid, unsigned int _edgeidx, const AttributeEdgeTinyBlob &am) | |
| protected constructor for GraphContaineer::getEdge() with modified attribute chain | |
| EdgeRef (const class GraphData *gd, unsigned int _srcvid, unsigned int _edgeidx) | |
| protected constructor for GraphContaineer::getEdge() | |
Friends | |
| class | GraphContainer |
| access to the protected constructors | |
It provides methods to extract attribute data. The references are valid as long as the queried GraphData object is valid.
Definition at line 400 of file GraphContainer.h.
| VGServer::EdgeRef::EdgeRef | ( | const class GraphData * | gd, | |
| unsigned int | _srcvid, | |||
| unsigned int | _edgeidx | |||
| ) | [inline, protected] |
protected constructor for GraphContaineer::getEdge()
Definition at line 420 of file GraphContainer.h.
| VGServer::EdgeRef::EdgeRef | ( | const class GraphData * | gd, | |
| unsigned int | _srcvid, | |||
| unsigned int | _edgeidx, | |||
| const AttributeEdgeTinyBlob & | am | |||
| ) | [inline, protected] |
protected constructor for GraphContaineer::getEdge() with modified attribute chain
Definition at line 426 of file GraphContainer.h.
| VGServer::EdgeRef::EdgeRef | ( | const EdgeRef & | orig | ) | [inline] |
| VGServer::EdgeRef::~EdgeRef | ( | ) | [inline] |
destructor conditionally deletes the copied attribute blob chain
Definition at line 454 of file GraphContainer.h.
| AnyType VGServer::EdgeRef::getAttr | ( | unsigned int | attrid | ) | const [inline] |
returns the value of an attribute
Definition at line 476 of file GraphContainer.h.
References VGServer::GraphProperties::edgeattr, VGServer::GraphData::edges, VGServer::TpAttributeBlob< AllocPolicy >::getAttrChainValue(), and VGServer::GraphData::getProperties().
| vertexid_t VGServer::EdgeRef::getSource | ( | ) | const [inline] |
| vertexid_t VGServer::EdgeRef::getTarget | ( | ) | const [inline] |
returns the target vertex id
Definition at line 468 of file GraphContainer.h.
References VGServer::GraphData::edges.
assignment operator
Definition at line 443 of file GraphContainer.h.
References attrmodified, edgeidx, graphdata, and srcvid.
| bool VGServer::EdgeRef::valid | ( | ) | const [inline] |
friend class GraphContainer [friend] |
1.4.7