All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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.
Definition: Globals.h:49
#define TE_GRAPH_MODULE_IDENTIFIER
This definition is the graph module identifier.
Definition: Config.h:44
#define TE_DEFAULT_GRAPH_LOADER_STRATEGY_TYPE
This definition is used to set the default graph loader strategy.
Definition: Config.h:65
#define TE_GRAPH_GRAPH_ATTR_TABLE_ATTR_ID
Definition: Config.h:134
static const std::string sm_tableVertexModelAttrId
Attribute id.
Definition: Globals.h:97
static const std::string sm_factoryLoaderStrategyTypeBox
Box Loader Strategy Factory Name.
Definition: Globals.h:60
#define TE_GRAPH_FACTORY_GRAPH_TYPE_GRAPH
Definition: Config.h:108
#define TE_GRAPH_GRAPH_ATTR_TABLE_ATTR_COLUMN
Definition: Config.h:137
#define TE_GRAPH_DEFAULT_MAX_CACHE_SIZE
This definition is used to set the max graph cache size.
Definition: Config.h:72
#define TE_GRAPH_FACTORY_CACHEPOLICY_TYPE_LFU
Definition: Config.h:114
static const std::string sm_tableAttributeAttrId
Attribute Id.
Definition: Globals.h:82
#define TE_GRAPH_GRAPH_TABLE_ATTR_TYPE
Definition: Config.h:129
#define TE_GRAPH_GRAPH_TABLE_ATTR_TABLE_NAME
Definition: Config.h:130
#define TE_GRAPH_DEFAULT_BOX_STRATEGY_LOADER_SIZE
This definition is used to set the default box strategy loader box size.
Definition: Config.h:86
#define TE_GRAPH_DEFAULT_MAX_VEC_CACHE_SIZE
This definition is used to set the max graph cache vector size.
Definition: Config.h:79
#define TE_GRAPH_GRAPH_TABLE_ATTR_NAME
Definition: Config.h:128
static const std::string sm_tableGraphAttrName
Attribute Name.
Definition: Globals.h:76
static const std::string sm_graphFactoryDefaultObject
This definition is used to set the default graph type.
Definition: Globals.h:63
#define TE_GRAPH_GRAPH_TABLE_ATTR_ID
Definition: Config.h:127
static const std::string sm_factoryGraphTypeUndirectedGraph
Undirected Graph Factory Name.
Definition: Globals.h:55
#define TE_GRAPH_GRAPH_TABLE_VERTEX_SUFIX
Definition: Config.h:148
static const std::string sm_tableGraphName
Database Model Table Graph Name.
Definition: Globals.h:74
static const std::string sm_factoryGraphTypeGraph
Graph Factory Name.
Definition: Globals.h:52
#define TE_GRAPH_GRAPH_TABLE_NAME
Definition: Config.h:126
#define TE_GRAPH_GRAPH_VERTEX_MODEL_ID
Definition: Config.h:149
static const std::string sm_tableAttributeAttrGraphId
Attribute Graph Id.
Definition: Globals.h:83
static const std::string sm_factoryCachePolicyTypeLFU
LFU Cache Policy Factory Name.
Definition: Globals.h:58
static const std::string sm_cachePolicyFactoryDefaultObject
This definition is used to set the default cache policy.
Definition: Globals.h:64
#define TE_GRAPH_GRAPH_TABLE_ATTR_DESCRIPTION
Definition: Config.h:131
#define TE_GRAPH_GRAPH_TABLE_EDGE_SUFIX
Definition: Config.h:142
static const std::string sm_tableGraphAttrType
Attribute Type.
Definition: Globals.h:77
static const int sm_graphCacheDefaultMaxSize
This definition is used to set the max graph cache size.
Definition: Globals.h:67
#define TE_GRAPH_GRAPH_EDGE_MODEL_ID
Definition: Config.h:143
static const std::string sm_tableEdgeModelAttrId
Attribute Id.
Definition: Globals.h:91
static const std::string sm_tableAttributeAttrColumn
Attribute Column.
Definition: Globals.h:85
#define TE_GRAPH_FACTORY_LOADERSTRATEGY_TYPE_SEQUENCE
Definition: Config.h:117
static const std::string sm_tableGraphAttrTableName
Attribute Table Name.
Definition: Globals.h:78
#define TE_GRAPH_FACTORY_LOADERSTRATEGY_TYPE_BOX
Definition: Config.h:116
static const std::string sm_tableGraphAttrId
Attribute Id.
Definition: Globals.h:75
#define TE_GRAPH_GRAPH_ATTR_TABLE_ATTR_TYPE
Definition: Config.h:139
#define TE_GRAPH_FACTORY_CACHEPOLICY_TYPE_FIFO
Definition: Config.h:113
#define TE_DEFAULT_GRAPH_TYPE
This definition is used to set the default graph type.
Definition: Config.h:51
static const std::string sm_vertexStorageMode
This definition is used to set the vertex storage mode.
Definition: Globals.h:71
static const std::string sm_tableAttributeAttrLink
Attribute Link.
Definition: Globals.h:86
static const std::string sm_tableGraphAttrDesc
Attribute Description.
Definition: Globals.h:79
#define TE_GRAPH_GRAPH_TABLE_ATTR_EDGE_SUFIX
Definition: Config.h:141
static const std::string sm_factoryGraphTypeDirectedGraph
Directed Graph Factory Name.
Definition: Globals.h:54
#define TE_DEFAULT_CACHE_POLICY_TYPE
This definition is used to set the default cache policy.
Definition: Config.h:58
#define TE_GRAPH_STORAGE_MODE_BY_EDGE
This definition is used to set the edge storage mode.
Definition: Config.h:100
static const std::string sm_tableAttributeName
Database Model Table Attribute Name.
Definition: Globals.h:81
static const int sm_boxLoaderStrategyDefaultSize
This definition is used to set the default box strategy loader box 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_factoryGraphTypeBidirectionalGraph
Bidirectional Graph Factory Name.
Definition: Globals.h:53
#define TE_GRAPH_FACTORY_GRAPH_TYPE_UNDIRECTEDGRAPH
Definition: Config.h:111
#define TE_GRAPH_GRAPH_ATTR_TABLE_NAME
Definition: Config.h:133
#define TE_GRAPH_GRAPH_ATTR_TABLE_ATTR_TABLE
Definition: Config.h:136
#define TE_GRAPH_GRAPH_ATTR_TABLE_ATTR_GRAPH_ID
Definition: Config.h:135
static const std::string sm_factoryCachePolicyTypeFIFO
FIFO Cache Policy Factory Name.
Definition: Globals.h:57
static const std::string sm_loaderStrategyFactoryDefaultObject
This definition is used to set the default graph loader strategy.
Definition: Globals.h:65
static const int sm_graphVecCacheDefaultMaxSize
This definition is used to set the max graph cache vector size.
Definition: Globals.h:68
static const std::string sm_tableEdgeAttributeModelSufixName
Database Model Edge Attribute Model Table Name.
Definition: Globals.h:90
#define TE_GRAPH_GRAPH_ATTR_TABLE_ATTR_LINK
Definition: Config.h:138
#define TE_GRAPH_FACTORY_GRAPH_TYPE_DIRECTEDGRAPH
Definition: Config.h:110
static const std::string sm_tableEdgeModelAttrVFrom
Attribute Vertex From.
Definition: Globals.h:92
An static class with global definitions for the TerraLib Graph Module.
static const std::string sm_tableVertexAttributeModelSufixName
Database Model Vertex Attribute Model Table Name.
Definition: Globals.h:96
#define TE_GRAPH_STORAGE_MODE_BY_VERTEX
This definition is used to set the vertex storage mode.
Definition: Config.h:93
#define TE_GRAPH_FACTORY_GRAPH_TYPE_BIDIRECTIONALGRAPH
Definition: Config.h:109
static const std::string sm_tableEdgeModelAttrVTo
Attribute Vertex To.
Definition: Globals.h:93
static const std::string sm_tableAttributeAttrTable
Attribute Table.
Definition: Globals.h:84
static const std::string sm_tableEdgeModelSufixName
Database Model Edge Model Table Name.
Definition: Globals.h:89
#define TE_GRAPH_GRAPH_EDGE_MODEL_VTO
Definition: Config.h:145
static const std::string sm_edgeStorageMode
This definition is used to set the edge storage mode.
Definition: Globals.h:72
#define TE_GRAPH_GRAPH_EDGE_MODEL_VFROM
Definition: Config.h:144
#define TE_GRAPH_GRAPH_TABLE_ATTR_VERTEX_SUFIX
Definition: Config.h:147
static const std::string sm_tableVertexModelSufixName
Database Model Vertex Model Table Name.
Definition: Globals.h:95
static const std::string sm_tableAttributeAttrType
Attribute Type.
Definition: Globals.h:87