Go to the documentation of this file.
26 #ifndef __TERRALIB_GRAPH_INTERNAL_CONFIG_H
27 #define __TERRALIB_GRAPH_INTERNAL_CONFIG_H
30 #include "../Config.h"
32 #define TE_GRAPH_MODULE_NAME "te.graph"
44 #define TE_GRAPH_MODULE_IDENTIFIER "GRAPH"
51 #define TE_DEFAULT_GRAPH_TYPE TE_GRAPH_FACTORY_GRAPH_TYPE_GRAPH
58 #define TE_DEFAULT_CACHE_POLICY_TYPE TE_GRAPH_FACTORY_CACHEPOLICY_TYPE_FIFO
65 #define TE_DEFAULT_GRAPH_LOADER_STRATEGY_TYPE TE_GRAPH_FACTORY_LOADERSTRATEGY_TYPE_BOX
72 #define TE_GRAPH_DEFAULT_MAX_CACHE_SIZE 100000
79 #define TE_GRAPH_DEFAULT_MAX_VEC_CACHE_SIZE 5
86 #define TE_GRAPH_DEFAULT_BOX_STRATEGY_LOADER_SIZE 20
93 #define TE_GRAPH_STORAGE_MODE_BY_VERTEX "GRAPH_STORAGE_MODE_BY_VERTEX"
100 #define TE_GRAPH_STORAGE_MODE_BY_EDGE "GRAPH_STORAGE_MODE_BY_EDGE"
108 #define TE_GRAPH_FACTORY_GRAPH_TYPE_GRAPH "GRAPH"
109 #define TE_GRAPH_FACTORY_GRAPH_TYPE_BIDIRECTIONALGRAPH "BIDIRECTIONALGRAPH"
110 #define TE_GRAPH_FACTORY_GRAPH_TYPE_DIRECTEDGRAPH "DIRECTEDGRAPH"
111 #define TE_GRAPH_FACTORY_GRAPH_TYPE_UNDIRECTEDGRAPH "UNDIRECTEDGRAPH"
113 #define TE_GRAPH_FACTORY_CACHEPOLICY_TYPE_FIFO "FIFO"
114 #define TE_GRAPH_FACTORY_CACHEPOLICY_TYPE_LFU "LFU"
116 #define TE_GRAPH_FACTORY_LOADERSTRATEGY_TYPE_BOX "BOX_LOADER_STRATEGY"
117 #define TE_GRAPH_FACTORY_LOADERSTRATEGY_TYPE_SEQUENCE "SEQUENCE_LOADER_STRATEGY"
126 #define TE_GRAPH_GRAPH_TABLE_NAME "te_graph"
127 #define TE_GRAPH_GRAPH_TABLE_ATTR_ID "id"
128 #define TE_GRAPH_GRAPH_TABLE_ATTR_NAME "name"
129 #define TE_GRAPH_GRAPH_TABLE_ATTR_TYPE "type"
130 #define TE_GRAPH_GRAPH_TABLE_ATTR_TABLE_NAME "table_name"
131 #define TE_GRAPH_GRAPH_TABLE_ATTR_DESCRIPTION "description"
133 #define TE_GRAPH_GRAPH_ATTR_TABLE_NAME "te_graph_attr"
134 #define TE_GRAPH_GRAPH_ATTR_TABLE_ATTR_ID "id"
135 #define TE_GRAPH_GRAPH_ATTR_TABLE_ATTR_GRAPH_ID "graph_id"
136 #define TE_GRAPH_GRAPH_ATTR_TABLE_ATTR_TABLE "table_name"
137 #define TE_GRAPH_GRAPH_ATTR_TABLE_ATTR_COLUMN "column_name"
138 #define TE_GRAPH_GRAPH_ATTR_TABLE_ATTR_LINK "link_column"
139 #define TE_GRAPH_GRAPH_ATTR_TABLE_ATTR_TYPE "type"
141 #define TE_GRAPH_GRAPH_TABLE_ATTR_EDGE_SUFIX "_attr_model_edge"
142 #define TE_GRAPH_GRAPH_TABLE_EDGE_SUFIX "_model_edge"
143 #define TE_GRAPH_GRAPH_EDGE_MODEL_ID "edge_id"
144 #define TE_GRAPH_GRAPH_EDGE_MODEL_VFROM "vertex_from"
145 #define TE_GRAPH_GRAPH_EDGE_MODEL_VTO "vertex_to"
147 #define TE_GRAPH_GRAPH_TABLE_ATTR_VERTEX_SUFIX "_attr_model_vertex"
148 #define TE_GRAPH_GRAPH_TABLE_VERTEX_SUFIX "_model_vertex"
149 #define TE_GRAPH_GRAPH_VERTEX_MODEL_ID "vertex_id"
169 #pragma warning( disable : 4251 )
170 #pragma warning( disable : 4275 )
174 #define TEGRAPHEXPORT // Don't need to export/import... it is a static library
176 #define TEGRAPHEXPORT __declspec(dllexport) // export DLL information
178 #define TEGRAPHEXPORT __declspec(dllimport) // import DLL information
181 #define TEGRAPHEXPORT
186 #endif // __TERRALIB_GRAPH_INTERNAL_CONFIG_H