26 #ifndef __TERRALIB_GRAPH_INTERNAL_GRAPHMETADATA_H 
   27 #define __TERRALIB_GRAPH_INTERNAL_GRAPHMETADATA_H 
   30 #include "../Config.h" 
   39   namespace da { 
class DataSource; }
 
   40   namespace dt { 
class Property; }
 
   41   namespace gm { 
class Envelope; }
 
   73         virtual void load(
int id) = 0;
 
   79         virtual void save() = 0;
 
   86         virtual void update() = 0;
 
  101         void setName(std::string name);
 
  108         std::string getName();
 
  116         void setDescription(std::string desc);
 
  123         std::string getDescription();
 
  131         void setType(std::string graphType);
 
  138         std::string getType();
 
  182         std::string getVertexTableName();
 
  189         std::string getEdgeTableName();
 
  207         virtual void removeVertexProperty(
int idx);
 
  225         virtual int getVertexPropertySize();
 
  243         virtual void removeEdgeProperty(
int idx);
 
  261         virtual int getEdgePropertySize();
 
  268         virtual int getSRID();
 
  275         virtual void setSRID(
int srid);
 
  327 #endif // __TERRALIB_GRAPH_INTERNAL_GRAPHMETADATA_H 
int m_srid
Attribute used to define the graph projection. 
 
std::string m_type
Enum attribute used to defines the graph type. 
 
#define TEGRAPHEXPORT
You can use this macro in order to export/import classes and functions from this module. 
 
te::da::DataSource * m_ds
Data source attribute, has to be database information. 
 
int m_id
Attribute graph unique identifier. 
 
te::graph::GraphStorageMode m_mode
Enum attribute used to defines the storage mode. 
 
EdgeProperty * m_edgeProp
Attribute that defines the edge properties. 
 
This class is used to define a set of properties of a Edge. 
 
size_t m_maxVecCacheSize
Attribute used to set the max vector cache size. 
 
te::gm::Envelope * m_extent
Attribute used to define the graph extent. 
 
An abstract class for data providers like a DBMS, Web Services or a regular file. ...
 
std::string m_description
Attribute used to describe a graph. 
 
te::graph::GraphClass m_class
Enum attribute used to defines the graph class. 
 
It models a property definition. 
 
double m_boxPercentSize
Attribute used to box percent size used in loader strategy. 
 
Class used to define the graph metadata informations. 
 
This class is used to define a set of properties of a Vertex. 
 
An Envelope defines a 2D rectangular region. 
 
size_t m_maxCacheSize
Attribute used to set the max cache size. 
 
VertexProperty * m_vertexProp
Attribute that defines the vertex properties. 
 
std::string m_name
Attribute name.