src/terralib/graph/Globals.cpp
Go to the documentation of this file.
1 /* Copyright (C) 2008 National Institute For Space Research (INPE) - Brazil.
2 
3  This file is part of the TerraLib - a Framework for building GIS enabled applications.
4 
5  TerraLib is free software: you can redistribute it and/or modify
6  it under the terms of the GNU Lesser General Public License as published by
7  the Free Software Foundation, either version 3 of the License,
8  or (at your option) any later version.
9 
10  TerraLib is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU Lesser General Public License for more details.
14 
15  You should have received a copy of the GNU Lesser General Public License
16  along with TerraLib. See COPYING. If not, write to
17  TerraLib Team at <terralib-team@terralib.org>.
18  */
19 
20 /*!
21  \file terralib/graph/Globals.cpp
22 
23  \brief An static class with global definitions for the TerraLib Graph Module.
24 */
25 
26 // TerraLib
27 #include "Globals.h"
28 
30 
35 
38 
41 
45 
49 
52 
59 
67 
73 
static const std::string sm_moduleIdentifier
The GRAPH module identifier.
#define TE_GRAPH_GRAPH_VERTEX_MODEL_ID
#define TE_GRAPH_GRAPH_ATTR_TABLE_ATTR_GRAPH_ID
static const std::string sm_tableVertexModelAttrId
Attribute id.
static const std::string sm_factoryLoaderStrategyTypeBox
Box Loader Strategy Factory Name.
#define TE_GRAPH_GRAPH_TABLE_ATTR_TABLE_NAME
#define TE_GRAPH_GRAPH_TABLE_ATTR_ID
static const std::string sm_tableAttributeAttrId
Attribute Id.
#define TE_GRAPH_GRAPH_TABLE_VERTEX_SUFIX
An static class with global definitions for the TerraLib Graph Module.
#define TE_GRAPH_GRAPH_TABLE_ATTR_VERTEX_SUFIX
#define TE_DEFAULT_GRAPH_LOADER_STRATEGY_TYPE
This definition is used to set the default graph loader strategy.
#define TE_GRAPH_DEFAULT_BOX_STRATEGY_LOADER_SIZE
This definition is used to set the default box strategy loader box size.
#define TE_DEFAULT_GRAPH_TYPE
This definition is used to set the default graph type.
#define TE_DEFAULT_CACHE_POLICY_TYPE
This definition is used to set the default cache policy.
#define TE_GRAPH_GRAPH_EDGE_MODEL_ID
#define TE_GRAPH_FACTORY_GRAPH_TYPE_UNDIRECTEDGRAPH
#define TE_GRAPH_FACTORY_LOADERSTRATEGY_TYPE_BOX
#define TE_GRAPH_FACTORY_GRAPH_TYPE_GRAPH
#define TE_GRAPH_FACTORY_CACHEPOLICY_TYPE_LFU
static const std::string sm_tableGraphAttrName
Attribute Name.
static const std::string sm_graphFactoryDefaultObject
This definition is used to set the default graph type.
static const std::string sm_factoryGraphTypeUndirectedGraph
Undirected Graph Factory Name.
static const std::string sm_tableGraphName
Database Model Table Graph Name.
static const std::string sm_factoryGraphTypeGraph
Graph Factory Name.
#define TE_GRAPH_MODULE_IDENTIFIER
This definition is the graph module identifier.
#define TE_GRAPH_GRAPH_ATTR_TABLE_ATTR_TABLE
static const std::string sm_tableAttributeAttrGraphId
Attribute Graph Id.
static const std::string sm_factoryCachePolicyTypeLFU
LFU Cache Policy Factory Name.
static const std::string sm_cachePolicyFactoryDefaultObject
This definition is used to set the default cache policy.
#define TE_GRAPH_GRAPH_ATTR_TABLE_ATTR_ID
#define TE_GRAPH_FACTORY_CACHEPOLICY_TYPE_FIFO
#define TE_GRAPH_GRAPH_EDGE_MODEL_VFROM
#define TE_GRAPH_GRAPH_ATTR_TABLE_NAME
static const std::string sm_tableGraphAttrType
Attribute Type.
static const int sm_graphCacheDefaultMaxSize
This definition is used to set the max graph cache size.
#define TE_GRAPH_GRAPH_ATTR_TABLE_ATTR_COLUMN
static const std::string sm_tableEdgeModelAttrId
Attribute Id.
static const std::string sm_tableAttributeAttrColumn
Attribute Column.
static const std::string sm_tableGraphAttrTableName
Attribute Table Name.
#define TE_GRAPH_GRAPH_TABLE_ATTR_EDGE_SUFIX
static const std::string sm_tableGraphAttrId
Attribute Id.
#define TE_GRAPH_GRAPH_TABLE_ATTR_DESCRIPTION
#define TE_GRAPH_GRAPH_TABLE_ATTR_NAME
#define TE_GRAPH_FACTORY_LOADERSTRATEGY_TYPE_SEQUENCE
static const std::string sm_vertexStorageMode
This definition is used to set the vertex storage mode.
static const std::string sm_tableAttributeAttrLink
Attribute Link.
static const std::string sm_tableGraphAttrDesc
Attribute Description.
#define TE_GRAPH_GRAPH_ATTR_TABLE_ATTR_TYPE
#define TE_GRAPH_GRAPH_EDGE_MODEL_VTO
#define TE_GRAPH_GRAPH_TABLE_NAME
static const std::string sm_factoryGraphTypeDirectedGraph
Directed Graph Factory Name.
#define TE_GRAPH_FACTORY_GRAPH_TYPE_BIDIRECTIONALGRAPH
#define TE_GRAPH_DEFAULT_MAX_VEC_CACHE_SIZE
This definition is used to set the max graph cache vector size.
static const std::string sm_tableAttributeName
Database Model Table Attribute Name.
static const int sm_boxLoaderStrategyDefaultSize
This definition is used to set the default box strategy loader box size.
#define TE_GRAPH_GRAPH_TABLE_ATTR_TYPE
#define TE_GRAPH_STORAGE_MODE_BY_EDGE
This definition is used to set the edge storage mode.
#define TE_GRAPH_DEFAULT_MAX_CACHE_SIZE
This definition is used to set the max graph cache size.
static const std::string sm_factoryLoaderStrategyTypeSequence
Sequence Loader Strategy Factory Name.
static const std::string sm_factoryGraphTypeBidirectionalGraph
Bidirectional Graph Factory Name.
static const std::string sm_factoryCachePolicyTypeFIFO
FIFO Cache Policy Factory Name.
#define TE_GRAPH_GRAPH_TABLE_EDGE_SUFIX
#define TE_GRAPH_FACTORY_GRAPH_TYPE_DIRECTEDGRAPH
static const std::string sm_loaderStrategyFactoryDefaultObject
This definition is used to set the default graph loader strategy.
static const int sm_graphVecCacheDefaultMaxSize
This definition is used to set the max graph cache vector size.
static const std::string sm_tableEdgeAttributeModelSufixName
Database Model Edge Attribute Model Table Name.
static const std::string sm_tableEdgeModelAttrVFrom
Attribute Vertex From.
#define TE_GRAPH_STORAGE_MODE_BY_VERTEX
This definition is used to set the vertex storage mode.
#define TE_GRAPH_GRAPH_ATTR_TABLE_ATTR_LINK
static const std::string sm_tableVertexAttributeModelSufixName
Database Model Vertex Attribute Model Table Name.
static const std::string sm_tableEdgeModelAttrVTo
Attribute Vertex To.
static const std::string sm_tableAttributeAttrTable
Attribute Table.
static const std::string sm_tableEdgeModelSufixName
Database Model Edge Model Table Name.
static const std::string sm_edgeStorageMode
This definition is used to set the edge storage mode.
static const std::string sm_tableVertexModelSufixName
Database Model Vertex Model Table Name.
static const std::string sm_tableAttributeAttrType
Attribute Type.