27 #ifndef __TERRALIB_GRAPH_INTERNAL_ABSTRACTGRAPH_H
28 #define __TERRALIB_GRAPH_INTERNAL_ABSTRACTGRAPH_H
31 #include "../Config.h"
38 namespace dt {
class Property; }
43 class AbstractIterator;
81 virtual void add(
Vertex* v) = 0;
92 virtual void update(
Vertex* v) = 0;
101 virtual void removeVertex(
int id) = 0;
155 virtual void removeVertexProperty(
int idx) = 0;
173 virtual int getVertexPropertySize() = 0;
191 virtual void add(
Edge* e) = 0;
202 virtual void update(
Edge* e) = 0;
211 virtual void removeEdge(
int id) = 0;
265 virtual void removeEdgeProperty(
int idx) = 0;
283 virtual int getEdgePropertySize() = 0;
302 virtual void flush() = 0;
328 #endif // __TERRALIB_GRAPH_INTERNAL_ABSTRACTGRAPH_H
Abstract class used to define the main functions of graph struct. All graph implementations must used...
Class used to define the edge struct of a graph. Its compose with a identifier, the vertex origin and...
#define TEGRAPHEXPORT
You can use this macro in order to export/import classes and functions from this module.
From the point of view of graph theory, vertices are treated as featureless and indivisible objects...
te::graph::AbstractIterator * m_iterator
Iterator attribute.
This class defines a commun interface to represents a graph iterator class. The main diferency to ano...
It models a property definition.
Class used to define the graph metadata informations.