Config.h File Reference

Go to the source code of this file.

Macros

#define TE_GRAPH_MODULE_NAME   "te.graph"
 
Graph Module Main Defines

Defines for graph module

#define TE_GRAPH_MODULE_IDENTIFIER   "GRAPH"
 This definition is the graph module identifier. More...
 
#define TE_DEFAULT_GRAPH_TYPE   TE_GRAPH_FACTORY_GRAPH_TYPE_GRAPH
 This definition is used to set the default graph type. More...
 
#define TE_DEFAULT_CACHE_POLICY_TYPE   TE_GRAPH_FACTORY_CACHEPOLICY_TYPE_FIFO
 This definition is used to set the default cache policy. More...
 
#define TE_DEFAULT_GRAPH_LOADER_STRATEGY_TYPE   TE_GRAPH_FACTORY_LOADERSTRATEGY_TYPE_BOX
 This definition is used to set the default graph loader strategy. More...
 
#define TE_GRAPH_DEFAULT_MAX_CACHE_SIZE   100000
 This definition is used to set the max graph cache size. More...
 
#define TE_GRAPH_DEFAULT_MAX_VEC_CACHE_SIZE   5
 This definition is used to set the max graph cache vector size. More...
 
#define TE_GRAPH_DEFAULT_BOX_STRATEGY_LOADER_SIZE   20
 This definition is used to set the default box strategy loader box size. More...
 
#define TE_GRAPH_STORAGE_MODE_BY_VERTEX   "GRAPH_STORAGE_MODE_BY_VERTEX"
 This definition is used to set the vertex storage mode. More...
 
#define TE_GRAPH_STORAGE_MODE_BY_EDGE   "GRAPH_STORAGE_MODE_BY_EDGE"
 This definition is used to set the edge storage mode. More...
 
Graph Module Factories Names

Defines the all graph module factories names

#define TE_GRAPH_FACTORY_GRAPH_TYPE_GRAPH   "GRAPH"
 
#define TE_GRAPH_FACTORY_GRAPH_TYPE_BIDIRECTIONALGRAPH   "BIDIRECTIONALGRAPH"
 
#define TE_GRAPH_FACTORY_GRAPH_TYPE_DIRECTEDGRAPH   "DIRECTEDGRAPH"
 
#define TE_GRAPH_FACTORY_GRAPH_TYPE_UNDIRECTEDGRAPH   "UNDIRECTEDGRAPH"
 
#define TE_GRAPH_FACTORY_CACHEPOLICY_TYPE_FIFO   "FIFO"
 
#define TE_GRAPH_FACTORY_CACHEPOLICY_TYPE_LFU   "LFU"
 
#define TE_GRAPH_FACTORY_LOADERSTRATEGY_TYPE_BOX   "BOX_LOADER_STRATEGY"
 
#define TE_GRAPH_FACTORY_LOADERSTRATEGY_TYPE_SEQUENCE   "SEQUENCE_LOADER_STRATEGY"
 
Database Metadata Module

Defines for graph database tables

#define TE_GRAPH_GRAPH_TABLE_NAME   "te_graph"
 
#define TE_GRAPH_GRAPH_TABLE_ATTR_ID   "id"
 
#define TE_GRAPH_GRAPH_TABLE_ATTR_NAME   "name"
 
#define TE_GRAPH_GRAPH_TABLE_ATTR_TYPE   "type"
 
#define TE_GRAPH_GRAPH_TABLE_ATTR_TABLE_NAME   "table_name"
 
#define TE_GRAPH_GRAPH_TABLE_ATTR_DESCRIPTION   "description"
 
#define TE_GRAPH_GRAPH_ATTR_TABLE_NAME   "te_graph_attr"
 
#define TE_GRAPH_GRAPH_ATTR_TABLE_ATTR_ID   "id"
 
#define TE_GRAPH_GRAPH_ATTR_TABLE_ATTR_GRAPH_ID   "graph_id"
 
#define TE_GRAPH_GRAPH_ATTR_TABLE_ATTR_TABLE   "table_name"
 
#define TE_GRAPH_GRAPH_ATTR_TABLE_ATTR_COLUMN   "column_name"
 
#define TE_GRAPH_GRAPH_ATTR_TABLE_ATTR_LINK   "link_column"
 
#define TE_GRAPH_GRAPH_ATTR_TABLE_ATTR_TYPE   "type"
 
#define TE_GRAPH_GRAPH_TABLE_ATTR_EDGE_SUFIX   "_attr_model_edge"
 
#define TE_GRAPH_GRAPH_TABLE_EDGE_SUFIX   "_model_edge"
 
#define TE_GRAPH_GRAPH_EDGE_MODEL_ID   "edge_id"
 
#define TE_GRAPH_GRAPH_EDGE_MODEL_VFROM   "vertex_from"
 
#define TE_GRAPH_GRAPH_EDGE_MODEL_VTO   "vertex_to"
 
#define TE_GRAPH_GRAPH_TABLE_ATTR_VERTEX_SUFIX   "_attr_model_vertex"
 
#define TE_GRAPH_GRAPH_TABLE_VERTEX_SUFIX   "_model_vertex"
 
#define TE_GRAPH_GRAPH_VERTEX_MODEL_ID   "vertex_id"
 
DLL/LIB Module

Flags for building TerraLib as a DLL or as a Static Library

#define TEGRAPHEXPORT
 You can use this macro in order to export/import classes and functions from this module. More...
 

Macro Definition Documentation

#define TE_DEFAULT_CACHE_POLICY_TYPE   TE_GRAPH_FACTORY_CACHEPOLICY_TYPE_FIFO

This definition is used to set the default cache policy.

Definition at line 55 of file Config.h.

#define TE_DEFAULT_GRAPH_LOADER_STRATEGY_TYPE   TE_GRAPH_FACTORY_LOADERSTRATEGY_TYPE_BOX

This definition is used to set the default graph loader strategy.

Definition at line 62 of file Config.h.

#define TE_DEFAULT_GRAPH_TYPE   TE_GRAPH_FACTORY_GRAPH_TYPE_GRAPH

This definition is used to set the default graph type.

Definition at line 48 of file Config.h.

#define TE_GRAPH_DEFAULT_BOX_STRATEGY_LOADER_SIZE   20

This definition is used to set the default box strategy loader box size.

Definition at line 83 of file Config.h.

#define TE_GRAPH_DEFAULT_MAX_CACHE_SIZE   100000

This definition is used to set the max graph cache size.

Definition at line 69 of file Config.h.

#define TE_GRAPH_DEFAULT_MAX_VEC_CACHE_SIZE   5

This definition is used to set the max graph cache vector size.

Definition at line 76 of file Config.h.

#define TE_GRAPH_FACTORY_CACHEPOLICY_TYPE_FIFO   "FIFO"

Definition at line 110 of file Config.h.

#define TE_GRAPH_FACTORY_CACHEPOLICY_TYPE_LFU   "LFU"

Definition at line 111 of file Config.h.

#define TE_GRAPH_FACTORY_GRAPH_TYPE_BIDIRECTIONALGRAPH   "BIDIRECTIONALGRAPH"

Definition at line 106 of file Config.h.

#define TE_GRAPH_FACTORY_GRAPH_TYPE_DIRECTEDGRAPH   "DIRECTEDGRAPH"

Definition at line 107 of file Config.h.

#define TE_GRAPH_FACTORY_GRAPH_TYPE_GRAPH   "GRAPH"

Definition at line 105 of file Config.h.

#define TE_GRAPH_FACTORY_GRAPH_TYPE_UNDIRECTEDGRAPH   "UNDIRECTEDGRAPH"

Definition at line 108 of file Config.h.

#define TE_GRAPH_FACTORY_LOADERSTRATEGY_TYPE_BOX   "BOX_LOADER_STRATEGY"

Definition at line 113 of file Config.h.

#define TE_GRAPH_FACTORY_LOADERSTRATEGY_TYPE_SEQUENCE   "SEQUENCE_LOADER_STRATEGY"

Definition at line 114 of file Config.h.

#define TE_GRAPH_GRAPH_ATTR_TABLE_ATTR_COLUMN   "column_name"

Definition at line 134 of file Config.h.

#define TE_GRAPH_GRAPH_ATTR_TABLE_ATTR_GRAPH_ID   "graph_id"

Definition at line 132 of file Config.h.

#define TE_GRAPH_GRAPH_ATTR_TABLE_ATTR_ID   "id"

Definition at line 131 of file Config.h.

#define TE_GRAPH_GRAPH_ATTR_TABLE_ATTR_LINK   "link_column"

Definition at line 135 of file Config.h.

#define TE_GRAPH_GRAPH_ATTR_TABLE_ATTR_TABLE   "table_name"

Definition at line 133 of file Config.h.

#define TE_GRAPH_GRAPH_ATTR_TABLE_ATTR_TYPE   "type"

Definition at line 136 of file Config.h.

#define TE_GRAPH_GRAPH_ATTR_TABLE_NAME   "te_graph_attr"

Definition at line 130 of file Config.h.

#define TE_GRAPH_GRAPH_EDGE_MODEL_ID   "edge_id"

Definition at line 140 of file Config.h.

#define TE_GRAPH_GRAPH_EDGE_MODEL_VFROM   "vertex_from"

Definition at line 141 of file Config.h.

#define TE_GRAPH_GRAPH_EDGE_MODEL_VTO   "vertex_to"

Definition at line 142 of file Config.h.

#define TE_GRAPH_GRAPH_TABLE_ATTR_DESCRIPTION   "description"

Definition at line 128 of file Config.h.

#define TE_GRAPH_GRAPH_TABLE_ATTR_EDGE_SUFIX   "_attr_model_edge"

Definition at line 138 of file Config.h.

#define TE_GRAPH_GRAPH_TABLE_ATTR_ID   "id"

Definition at line 124 of file Config.h.

#define TE_GRAPH_GRAPH_TABLE_ATTR_NAME   "name"

Definition at line 125 of file Config.h.

#define TE_GRAPH_GRAPH_TABLE_ATTR_TABLE_NAME   "table_name"

Definition at line 127 of file Config.h.

#define TE_GRAPH_GRAPH_TABLE_ATTR_TYPE   "type"

Definition at line 126 of file Config.h.

#define TE_GRAPH_GRAPH_TABLE_ATTR_VERTEX_SUFIX   "_attr_model_vertex"

Definition at line 144 of file Config.h.

#define TE_GRAPH_GRAPH_TABLE_EDGE_SUFIX   "_model_edge"

Definition at line 139 of file Config.h.

#define TE_GRAPH_GRAPH_TABLE_NAME   "te_graph"

Definition at line 123 of file Config.h.

#define TE_GRAPH_GRAPH_TABLE_VERTEX_SUFIX   "_model_vertex"

Definition at line 145 of file Config.h.

#define TE_GRAPH_GRAPH_VERTEX_MODEL_ID   "vertex_id"

Definition at line 146 of file Config.h.

#define TE_GRAPH_MODULE_IDENTIFIER   "GRAPH"

This definition is the graph module identifier.

Definition at line 41 of file Config.h.

#define TE_GRAPH_MODULE_NAME   "te.graph"

Definition at line 29 of file Config.h.

#define TE_GRAPH_STORAGE_MODE_BY_EDGE   "GRAPH_STORAGE_MODE_BY_EDGE"

This definition is used to set the edge storage mode.

Definition at line 97 of file Config.h.

#define TE_GRAPH_STORAGE_MODE_BY_VERTEX   "GRAPH_STORAGE_MODE_BY_VERTEX"

This definition is used to set the vertex storage mode.

Definition at line 90 of file Config.h.

#define TEGRAPHEXPORT

You can use this macro in order to export/import classes and functions from this module.

Note
If you want to compile TerraLib as DLL in Windows, remember to insert TEGRAPHDLL into the project's list of defines.
If you want to compile TerraLib as an Static Library under Windows, remember to insert the TEGRAPHSTATIC flag into the project list of defines.

Definition at line 178 of file Config.h.