All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Config.h File Reference
#include "../Config.h"

Go to the source code of this file.

Macros

#define TE_GRAPH_MODULE_NAME   "te.graph"
 
Internationalization Defines

Flags for TerraLib code internationalization.

#define TE_GRAPH_TEXT_DOMAIN   "tegraph"
 It contains the name of the text domain used in the translation of messages in the TerraLib Graph module. More...
 
#define TE_GRAPH_TEXT_DOMAIN_DIR   "locale"
 It contains the translation catalog directory. More...
 
#define TR_GRAPH(message)   TR(message, TE_GRAPH_TEXT_DOMAIN)
 It marks a string in order to get translated. This is a special mark used in the Graph module of TerraLib. More...
 
#define TR_PLURAL_GRAPH(message1, message2, n)   TR_PLURAL(TE_GRAPH_TEXT_DOMAIN, message1, message2, n)
 This mark can be used when you have a plural phrase to be translated. This is a special mark used in the Graph module of TerraLib. More...
 
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 93 of file Config.h.

Referenced by te::graph::GraphCache::GraphCache(), and te::graph::AbstractCachePolicyFactory::make().

#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 100 of file Config.h.

Referenced by te::graph::AbstractGraphLoaderStrategyFactory::make().

#define TE_DEFAULT_GRAPH_TYPE   TE_GRAPH_FACTORY_GRAPH_TYPE_GRAPH

This definition is used to set the default graph type.

Definition at line 86 of file Config.h.

Referenced by te::graph::AbstractGraphFactory::make(), and te::graph::AbstractGraphFactory::open().

#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 121 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 107 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 114 of file Config.h.

#define TE_GRAPH_FACTORY_CACHEPOLICY_TYPE_FIFO   "FIFO"

Definition at line 148 of file Config.h.

#define TE_GRAPH_FACTORY_CACHEPOLICY_TYPE_LFU   "LFU"

Definition at line 149 of file Config.h.

#define TE_GRAPH_FACTORY_GRAPH_TYPE_BIDIRECTIONALGRAPH   "BIDIRECTIONALGRAPH"
#define TE_GRAPH_FACTORY_GRAPH_TYPE_DIRECTEDGRAPH   "DIRECTEDGRAPH"

Definition at line 145 of file Config.h.

#define TE_GRAPH_FACTORY_GRAPH_TYPE_GRAPH   "GRAPH"

Definition at line 143 of file Config.h.

#define TE_GRAPH_FACTORY_GRAPH_TYPE_UNDIRECTEDGRAPH   "UNDIRECTEDGRAPH"

Definition at line 146 of file Config.h.

#define TE_GRAPH_FACTORY_LOADERSTRATEGY_TYPE_BOX   "BOX_LOADER_STRATEGY"

Definition at line 151 of file Config.h.

#define TE_GRAPH_FACTORY_LOADERSTRATEGY_TYPE_SEQUENCE   "SEQUENCE_LOADER_STRATEGY"

Definition at line 152 of file Config.h.

#define TE_GRAPH_GRAPH_ATTR_TABLE_ATTR_COLUMN   "column_name"

Definition at line 172 of file Config.h.

#define TE_GRAPH_GRAPH_ATTR_TABLE_ATTR_GRAPH_ID   "graph_id"

Definition at line 170 of file Config.h.

#define TE_GRAPH_GRAPH_ATTR_TABLE_ATTR_ID   "id"

Definition at line 169 of file Config.h.

#define TE_GRAPH_GRAPH_ATTR_TABLE_ATTR_LINK   "link_column"

Definition at line 173 of file Config.h.

#define TE_GRAPH_GRAPH_ATTR_TABLE_ATTR_TABLE   "table_name"

Definition at line 171 of file Config.h.

#define TE_GRAPH_GRAPH_ATTR_TABLE_ATTR_TYPE   "type"

Definition at line 174 of file Config.h.

#define TE_GRAPH_GRAPH_ATTR_TABLE_NAME   "te_graph_attr"

Definition at line 168 of file Config.h.

#define TE_GRAPH_GRAPH_EDGE_MODEL_ID   "edge_id"

Definition at line 178 of file Config.h.

#define TE_GRAPH_GRAPH_EDGE_MODEL_VFROM   "vertex_from"

Definition at line 179 of file Config.h.

#define TE_GRAPH_GRAPH_EDGE_MODEL_VTO   "vertex_to"

Definition at line 180 of file Config.h.

#define TE_GRAPH_GRAPH_TABLE_ATTR_DESCRIPTION   "description"

Definition at line 166 of file Config.h.

#define TE_GRAPH_GRAPH_TABLE_ATTR_EDGE_SUFIX   "_attr_model_edge"

Definition at line 176 of file Config.h.

#define TE_GRAPH_GRAPH_TABLE_ATTR_ID   "id"

Definition at line 162 of file Config.h.

#define TE_GRAPH_GRAPH_TABLE_ATTR_NAME   "name"

Definition at line 163 of file Config.h.

#define TE_GRAPH_GRAPH_TABLE_ATTR_TABLE_NAME   "table_name"

Definition at line 165 of file Config.h.

#define TE_GRAPH_GRAPH_TABLE_ATTR_TYPE   "type"

Definition at line 164 of file Config.h.

#define TE_GRAPH_GRAPH_TABLE_ATTR_VERTEX_SUFIX   "_attr_model_vertex"

Definition at line 182 of file Config.h.

#define TE_GRAPH_GRAPH_TABLE_EDGE_SUFIX   "_model_edge"

Definition at line 177 of file Config.h.

#define TE_GRAPH_GRAPH_TABLE_NAME   "te_graph"

Definition at line 161 of file Config.h.

#define TE_GRAPH_GRAPH_TABLE_VERTEX_SUFIX   "_model_vertex"

Definition at line 183 of file Config.h.

#define TE_GRAPH_GRAPH_VERTEX_MODEL_ID   "vertex_id"

Definition at line 184 of file Config.h.

#define TE_GRAPH_MODULE_IDENTIFIER   "GRAPH"

This definition is the graph module identifier.

Definition at line 79 of file Config.h.

#define TE_GRAPH_MODULE_NAME   "te.graph"

Definition at line 32 of file Config.h.

Referenced by te::graph::Module::Module(), and te::graph::Module::~Module().

#define TE_GRAPH_STORAGE_MODE_BY_EDGE   "GRAPH_STORAGE_MODE_BY_EDGE"
#define TE_GRAPH_STORAGE_MODE_BY_VERTEX   "GRAPH_STORAGE_MODE_BY_VERTEX"
#define TE_GRAPH_TEXT_DOMAIN   "tegraph"

It contains the name of the text domain used in the translation of messages in the TerraLib Graph module.

Definition at line 44 of file Config.h.

Referenced by te::graph::Module::Module().

#define TE_GRAPH_TEXT_DOMAIN_DIR   "locale"

It contains the translation catalog directory.

Definition at line 51 of file Config.h.

Referenced by te::graph::Module::Module().

#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 216 of file Config.h.

#define TR_GRAPH (   message)    TR(message, TE_GRAPH_TEXT_DOMAIN)

It marks a string in order to get translated. This is a special mark used in the Graph module of TerraLib.

Definition at line 58 of file Config.h.

Referenced by te::graph::DatabaseGraphMetadata::addEdgeProperty(), te::graph::QueryGraphBuilder::build(), te::graph::LDDGraphBuilder::build(), te::graph::BidirectionalGraphFactory::create(), te::graph::DirectedGraphFactory::create(), te::graph::GraphFactory::create(), te::graph::UndirectedGraphFactory::create(), te::graph::DatabaseGraphMetadata::createEdgeAttrTable(), te::graph::DatabaseGraphMetadata::createGraphTableVertexModel(), te::graph::Module::finalize(), te::graph::AbstractIterator::getEdgeInteratorCount(), te::graph::SequenceIterator::getFirstEdge(), te::graph::QueryIterator::getFirstEdge(), te::graph::BoxIterator::getFirstEdge(), te::graph::AbstractGraph::getFirstEdge(), te::graph::SequenceIterator::getFirstVertex(), te::graph::QueryIterator::getFirstVertex(), te::graph::BoxIterator::getFirstVertex(), te::graph::AbstractGraph::getFirstVertex(), te::graph::AbstractIterator::getNextEdge(), te::graph::AbstractGraph::getNextEdge(), te::graph::AbstractIterator::getNextVertex(), te::graph::AbstractGraph::getNextVertex(), te::graph::AbstractIterator::getPreviousEdge(), te::graph::AbstractGraph::getPreviousEdge(), te::graph::AbstractIterator::getPreviousVertex(), te::graph::AbstractGraph::getPreviousVertex(), te::graph::AbstractIterator::getVertexInteratorCount(), te::graph::Module::initialize(), te::graph::BidirectionalGraphFactory::iOpen(), te::graph::DirectedGraphFactory::iOpen(), te::graph::GraphFactory::iOpen(), te::graph::UndirectedGraphFactory::iOpen(), te::graph::AbstractIterator::isEdgeIteratorAfterEnd(), te::graph::AbstractIterator::isVertexIteratorAfterEnd(), te::graph::DatabaseGraphMetadata::load(), te::graph::SequenceLoaderStrategy::loadDataByEdgeId(), te::graph::BoxLoaderStrategy::loadDataByEdgeId(), te::graph::SequenceLoaderStrategy::loadDataByVertexId(), te::graph::BoxLoaderStrategy::loadDataByVertexId(), te::graph::AbstractGraphLoaderStrategy::loadEdgeAttrs(), te::graph::AbstractGraphLoaderStrategy::loadVertex(), te::graph::AbstractGraphLoaderStrategyFactory::make(), te::graph::AbstractGraphFactory::make(), te::graph::AbstractGraphFactory::open(), te::graph::AbstractGraphLoaderStrategy::removeEdge(), te::graph::AbstractGraphLoaderStrategy::removeVertex(), te::graph::DatabaseGraphMetadata::save(), te::graph::AbstractGraphLoaderStrategy::saveData(), te::graph::AbstractGraphLoaderStrategy::saveEdgeAttributes(), te::graph::AbstractGraphLoaderStrategy::saveGraphVertexList(), and te::graph::DatabaseGraphMetadata::update().

#define TR_PLURAL_GRAPH (   message1,
  message2,
 
)    TR_PLURAL(TE_GRAPH_TEXT_DOMAIN, message1, message2, n)

This mark can be used when you have a plural phrase to be translated. This is a special mark used in the Graph module of TerraLib.

Definition at line 65 of file Config.h.