#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... | |
#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 |
#define TE_GRAPH_DEFAULT_MAX_CACHE_SIZE 100000 |
#define TE_GRAPH_DEFAULT_MAX_VEC_CACHE_SIZE 5 |
#define TE_GRAPH_FACTORY_GRAPH_TYPE_BIDIRECTIONALGRAPH "BIDIRECTIONALGRAPH" |
Definition at line 144 of file Config.h.
Referenced by te::graph::SequenceLoaderStrategy::loadDataByVertexId(), and te::graph::BoxLoaderStrategy::loadDataByVertexId().
#define TE_GRAPH_FACTORY_GRAPH_TYPE_DIRECTEDGRAPH "DIRECTEDGRAPH" |
#define TE_GRAPH_FACTORY_GRAPH_TYPE_UNDIRECTEDGRAPH "UNDIRECTEDGRAPH" |
#define TE_GRAPH_FACTORY_LOADERSTRATEGY_TYPE_BOX "BOX_LOADER_STRATEGY" |
#define TE_GRAPH_FACTORY_LOADERSTRATEGY_TYPE_SEQUENCE "SEQUENCE_LOADER_STRATEGY" |
#define TE_GRAPH_GRAPH_ATTR_TABLE_ATTR_COLUMN "column_name" |
#define TE_GRAPH_GRAPH_TABLE_ATTR_DESCRIPTION "description" |
#define TE_GRAPH_GRAPH_TABLE_ATTR_EDGE_SUFIX "_attr_model_edge" |
#define TE_GRAPH_GRAPH_TABLE_ATTR_VERTEX_SUFIX "_attr_model_vertex" |
#define TE_GRAPH_MODULE_IDENTIFIER "GRAPH" |
#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" |
This definition is used to set the edge storage mode.
Definition at line 135 of file Config.h.
Referenced by te::graph::BidirectionalGraphFactory::create(), te::graph::UndirectedGraphFactory::create(), te::graph::GraphFactory::create(), and te::graph::DirectedGraphFactory::create().
#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 128 of file Config.h.
Referenced by te::graph::BidirectionalGraphFactory::create(), te::graph::UndirectedGraphFactory::create(), te::graph::GraphFactory::create(), and te::graph::DirectedGraphFactory::create().
#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.
#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, | |||
n | |||
) | TR_PLURAL(TE_GRAPH_TEXT_DOMAIN, message1, message2, n) |