30 #include "../../datatype/AbstractData.h" 
   31 #include "../../common/STLUtils.h" 
   36   m_vertexIdFrom(vFrom),
 
   45   m_edgeId = rhs->
getId();
 
   57     this->addAttribute(t, ad);
 
   73   return m_vertexIdFrom;
 
void setAttributeVecSize(int size)
This function is used to set the number of attributes associated with the edge elements. 
 
Class used to define the edge struct of a graph. Its compose with a identifier, the vertex origin and...
 
int getId()
It returns the edge identification. 
 
bool isDirty()
Used to verify the edge state. 
 
Class used to define the edge struct of a graph. Its compose with a identifier, the vertex origin and...
 
~Edge()
Default destructor. 
 
void removeAttribute(int idx)
Remove a attribute associated with this element. 
 
A base class for values that can be retrieved from the data access module. 
 
bool isNew()
Flag used to indicate that this element was a new one. 
 
int getIdFrom()
It returns the vertex origin identification. 
 
void setDirty(bool flag)
Flag used to indicate that this element was changed. 
 
Edge(int id, int vFrom, int vTo, bool isNew=true)
Constructor. 
 
void addAttribute(int idx, te::dt::AbstractData *ad)
Add a new attribute to this element. 
 
void FreeContents(boost::unordered_map< K, V * > &m)
This function can be applied to a map of pointers. It will delete each pointer in the map...
 
std::vector< te::dt::AbstractData * > & getAttributes()
It returns the vector of attributes associated with this element. 
 
int getIdTo()
It returns the vertex destiny identification.