All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Globals.cpp
Go to the documentation of this file.
1 /* Copyright (C) 2011-2011 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 
42 
46 
47 
51 
52 
55 
56 
63 
71 
77 
#define TE_GRAPH_GRAPH_TABLE_ATTR_NAME
Definition: Config.h:163
static const int sm_graphVecCacheDefaultMaxSize
This definition is used to set the max graph cache vector size.
Definition: Globals.h:70
static const std::string sm_tableAttributeAttrLink
Attribute Link.
Definition: Globals.h:90
#define TE_GRAPH_GRAPH_TABLE_VERTEX_SUFIX
Definition: Config.h:183
#define TE_GRAPH_FACTORY_LOADERSTRATEGY_TYPE_SEQUENCE
Definition: Config.h:152
static const std::string sm_factoryLoaderStrategyTypeBox
Box Loader Strategy Factory Name.
Definition: Globals.h:60
#define TE_GRAPH_GRAPH_EDGE_MODEL_VFROM
Definition: Config.h:179
static const std::string sm_factoryCachePolicyTypeLFU
LFU Cache Policy Factory Name.
Definition: Globals.h:58
static const std::string sm_tableAttributeAttrTable
Attribute Table.
Definition: Globals.h:88
static const std::string sm_factoryGraphTypeGraph
Graph Factory Name.
Definition: Globals.h:52
#define TE_GRAPH_FACTORY_GRAPH_TYPE_GRAPH
Definition: Config.h:143
static const std::string sm_tableAttributeAttrType
Attribute Type.
Definition: Globals.h:91
#define TE_GRAPH_GRAPH_ATTR_TABLE_ATTR_LINK
Definition: Config.h:173
#define TE_GRAPH_STORAGE_MODE_BY_VERTEX
This definition is used to set the vertex storage mode.
Definition: Config.h:128
static const std::string sm_tableGraphAttrId
Attribute Id.
Definition: Globals.h:79
static const std::string sm_graphFactoryDefaultObject
This definition is used to set the default graph type.
Definition: Globals.h:64
#define TE_GRAPH_GRAPH_ATTR_TABLE_ATTR_COLUMN
Definition: Config.h:172
#define TE_GRAPH_DEFAULT_BOX_STRATEGY_LOADER_SIZE
This definition is used to set the default box strategy loader box size.
Definition: Config.h:121
#define TE_GRAPH_GRAPH_TABLE_ATTR_EDGE_SUFIX
Definition: Config.h:176
static const std::string sm_tableVertexModelSufixName
Database Model Vertex Model Table Name.
Definition: Globals.h:99
#define TE_GRAPH_GRAPH_ATTR_TABLE_ATTR_ID
Definition: Config.h:169
#define TE_GRAPH_DEFAULT_MAX_CACHE_SIZE
This definition is used to set the max graph cache size.
Definition: Config.h:107
static const std::string sm_vertexStorageMode
This definition is used to set the vertex storage mode.
Definition: Globals.h:74
#define TE_GRAPH_GRAPH_TABLE_ATTR_TYPE
Definition: Config.h:164
static const std::string sm_moduleIdentifier
The GRAPH module identifier.
Definition: Globals.h:49
static const std::string sm_tableAttributeAttrColumn
Attribute Column.
Definition: Globals.h:89
#define TE_GRAPH_GRAPH_TABLE_ATTR_TABLE_NAME
Definition: Config.h:165
#define TE_GRAPH_FACTORY_GRAPH_TYPE_BIDIRECTIONALGRAPH
Definition: Config.h:144
static const int sm_boxLoaderStrategyDefaultSize
This definition is used to set the default box strategy loader box size.
Definition: Globals.h:71
static const std::string sm_factoryGraphTypeUndirectedGraph
Undirected Graph Factory Name.
Definition: Globals.h:55
static const std::string sm_tableGraphAttrTableName
Attribute Table Name.
Definition: Globals.h:82
#define TE_GRAPH_FACTORY_LOADERSTRATEGY_TYPE_BOX
Definition: Config.h:151
#define TE_DEFAULT_GRAPH_TYPE
This definition is used to set the default graph type.
Definition: Config.h:86
#define TE_GRAPH_FACTORY_GRAPH_TYPE_UNDIRECTEDGRAPH
Definition: Config.h:146
static const std::string sm_tableEdgeModelAttrVFrom
Attribute Vertex From.
Definition: Globals.h:96
An static class with global definitions for the TerraLib Graph Module.
#define TE_GRAPH_GRAPH_EDGE_MODEL_ID
Definition: Config.h:178
#define TE_GRAPH_GRAPH_TABLE_EDGE_SUFIX
Definition: Config.h:177
static const std::string sm_factoryGraphTypeDirectedGraph
Directed Graph Factory Name.
Definition: Globals.h:54
static const std::string sm_tableVertexModelAttrId
Attribute id.
Definition: Globals.h:101
#define TE_GRAPH_STORAGE_MODE_BY_EDGE
This definition is used to set the edge storage mode.
Definition: Config.h:135
static const std::string sm_tableEdgeModelSufixName
Database Model Edge Model Table Name.
Definition: Globals.h:93
static const std::string sm_edgeStorageMode
This definition is used to set the edge storage mode.
Definition: Globals.h:75
static const std::string sm_tableAttributeAttrGraphId
Attribute Graph Id.
Definition: Globals.h:87
static const std::string sm_factoryCachePolicyTypeFIFO
FIFO Cache Policy Factory Name.
Definition: Globals.h:57
#define TE_GRAPH_FACTORY_CACHEPOLICY_TYPE_LFU
Definition: Config.h:149
#define TE_GRAPH_FACTORY_CACHEPOLICY_TYPE_FIFO
Definition: Config.h:148
static const std::string sm_factoryGraphTypeBidirectionalGraph
Bidirectional Graph Factory Name.
Definition: Globals.h:53
#define TE_DEFAULT_GRAPH_LOADER_STRATEGY_TYPE
This definition is used to set the default graph loader strategy.
Definition: Config.h:100
static const std::string sm_loaderStrategyFactoryDefaultObject
This definition is used to set the default graph loader strategy.
Definition: Globals.h:66
static const std::string sm_tableEdgeAttributeModelSufixName
Database Model Edge Attribute Model Table Name.
Definition: Globals.h:94
#define TE_GRAPH_GRAPH_ATTR_TABLE_ATTR_TYPE
Definition: Config.h:174
static const std::string sm_cachePolicyFactoryDefaultObject
This definition is used to set the default cache policy.
Definition: Globals.h:65
#define TE_GRAPH_MODULE_IDENTIFIER
This definition is the graph module identifier.
Definition: Config.h:79
static const std::string sm_tableGraphAttrType
Attribute Type.
Definition: Globals.h:81
#define TE_GRAPH_DEFAULT_MAX_VEC_CACHE_SIZE
This definition is used to set the max graph cache vector size.
Definition: Config.h:114
static const std::string sm_tableGraphName
Database Model Table Graph Name.
Definition: Globals.h:78
static const std::string sm_tableVertexAttributeModelSufixName
Database Model Vertex Attribute Model Table Name.
Definition: Globals.h:100
static const std::string sm_tableEdgeModelAttrId
Attribute Id.
Definition: Globals.h:95
#define TE_GRAPH_GRAPH_ATTR_TABLE_NAME
Definition: Config.h:168
static const std::string sm_tableGraphAttrName
Attribute Name.
Definition: Globals.h:80
#define TE_GRAPH_GRAPH_ATTR_TABLE_ATTR_TABLE
Definition: Config.h:171
#define TE_GRAPH_GRAPH_VERTEX_MODEL_ID
Definition: Config.h:184
#define TE_GRAPH_GRAPH_TABLE_ATTR_DESCRIPTION
Definition: Config.h:166
static const std::string sm_tableGraphAttrDesc
Attribute Description.
Definition: Globals.h:83
static const int sm_graphCacheDefaultMaxSize
This definition is used to set the max graph cache size.
Definition: Globals.h:69
static const std::string sm_factoryLoaderStrategyTypeSequence
Sequence Loader Strategy Factory Name.
Definition: Globals.h:61
static const std::string sm_tableEdgeModelAttrVTo
Attribute Vertex To.
Definition: Globals.h:97
static const std::string sm_tableAttributeName
Database Model Table Attribute Name.
Definition: Globals.h:85
#define TE_GRAPH_GRAPH_EDGE_MODEL_VTO
Definition: Config.h:180
#define TE_DEFAULT_CACHE_POLICY_TYPE
This definition is used to set the default cache policy.
Definition: Config.h:93
#define TE_GRAPH_GRAPH_ATTR_TABLE_ATTR_GRAPH_ID
Definition: Config.h:170
#define TE_GRAPH_GRAPH_TABLE_ATTR_ID
Definition: Config.h:162
#define TE_GRAPH_GRAPH_TABLE_ATTR_VERTEX_SUFIX
Definition: Config.h:182
static const std::string sm_tableAttributeAttrId
Attribute Id.
Definition: Globals.h:86
#define TE_GRAPH_GRAPH_TABLE_NAME
Definition: Config.h:161
#define TE_GRAPH_FACTORY_GRAPH_TYPE_DIRECTEDGRAPH
Definition: Config.h:145