29 #ifndef __TERRALIB_GRAPH_INTERNAL_EDGE_H 
   30 #define __TERRALIB_GRAPH_INTERNAL_EDGE_H 
   33 #include "../Config.h" 
   42   namespace dt { 
class AbstractData; }
 
   74         Edge(
int id, 
int vFrom, 
int vTo, 
bool isNew = 
true);
 
  108         std::vector<te::dt::AbstractData*>& getAttributes();
 
  119         void setAttributeVecSize(
int size);
 
  137         void removeAttribute(
int idx);
 
  144         void setDirty(
bool flag);
 
  177 #endif // __TERRALIB_GRAPH_INTERNAL_EDGE_H 
#define TEGRAPHEXPORT
You can use this macro in order to export/import classes and functions from this module. 
 
int m_vertexIdFrom
Origin vertex identifier from this edge. 
 
bool m_dirty
Flag used to indicate that edge was changed. 
 
std::vector< te::dt::AbstractData * > m_attrs
This is the list of all edge attributes. 
 
Class used to define the edge struct of a graph. Its compose with a identifier, the vertex origin and...
 
A base class for values that can be retrieved from the data access module. 
 
int m_vertexIdTo
Destiny vertex identifier from this edge. 
 
int m_edgeId
This is the edge unique identifier. 
 
bool m_new
Flag used to indicate if this element is a new one.