27 #include "../../core/translator/Translator.h" 28 #include "../../common/StringUtils.h" 29 #include "../core/AbstractGraph.h" 30 #include "../iterator/AbstractIterator.h" 31 #include "../Config.h" 32 #include "../Exception.h" 33 #include "../Globals.h" 38 m_listIsolatedVertex(true)
te::graph::AbstractGraph * m_graph
Pointer to a abstract graph used to access the elements.
static const std::string sm_tableVertexModelAttrId
Attribute id.
Base exception class for plugin module.
virtual te::graph::Edge * getEdge(int id)=0
It returns the edge element if it's exist.
std::unique_ptr< te::da::DataSet > m_vertexQuery
Attribute used to keep the vertex iterator.
virtual te::graph::Edge * getNextEdge()
It returns a pointer to the next edge element of a graph.
#define TE_TR(message)
It marks a string in order to get translated.
void listIsolatedVertex(bool flag)
Used to set that the isolated vertex must be listed.
virtual ~AbstractIterator()
Virtual destructor.
bool m_listIsolatedVertex
Flag used to indicated that the isolated vertex will be listed.
From the point of view of graph theory, vertices are treated as featureless and indivisible objects...
Class used to define the edge struct of a graph. Its compose with a identifier, the vertex origin and...
static const std::string sm_tableEdgeModelAttrId
Attribute Id.
virtual te::graph::Vertex * getPreviousVertex()
It returns a pointer to the previous vertex element of a graph.
Abstract class used to define the main functions of graph struct. All graph implementations must used...
virtual size_t getEdgeInteratorCount()
It returns the number of elements of this iterator.
virtual te::graph::Vertex * getNextVertex()
It returns a pointer to the next vertex element of a graph.
std::unique_ptr< te::da::DataSet > m_edgeQuery
Attribute used to keep the edge iterator.
virtual size_t getVertexInteratorCount()
It returns the number of elements of this iterator.
AbstractIterator(te::graph::AbstractGraph *g)
Default constructor.
virtual te::graph::Vertex * getVertex(int id)=0
It returns the vertex element if it's exist.
virtual te::graph::Edge * getPreviousEdge()
It returns a pointer to the previous edge element of a graph.
virtual bool isVertexIteratorAfterEnd()
Used to check the iterator position.
virtual bool isEdgeIteratorAfterEnd()
Used to check the iterator position.