26 #ifndef __TERRALIB_GRAPH_INTERNAL_GRAPHMETADATA_H 27 #define __TERRALIB_GRAPH_INTERNAL_GRAPHMETADATA_H 30 #include "../Config.h" 40 namespace dt {
class Property; }
41 namespace gm {
class Envelope; }
73 virtual void load(
int id) { };
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);
329 #endif // __TERRALIB_GRAPH_INTERNAL_GRAPHMETADATA_H
te::da::DataSource * getDataSource(const std::string &src)
TerraLib include files.
This class is used to define a set of properties of a Vertex.
static te::dt::Date ds(2010, 01, 01)
An abstract class for data providers like a DBMS, Web Services or a regular file. ...
It models a property definition.
#define TEGRAPHEXPORT
You can use this macro in order to export/import classes and functions from this module.
An Envelope defines a 2D rectangular region.
static te::dt::TimeDuration dt(20, 30, 50, 11)
This class is used to define a set of properties of a Edge.