29 #ifndef __TERRALIB_GRAPH_INTERNAL_GRAPHCACHE_H
30 #define __TERRALIB_GRAPH_INTERNAL_GRAPHCACHE_H
33 #include "../Config.h"
43 class AbstractCachePolicy;
44 class AbstractGraphLoaderStrategy;
46 class GraphDataManager;
91 GraphData* getGraphDataByVertexId(
int id);
129 void removeGraphData(
int idx);
173 int getGraphDataId();
190 #endif // __TERRALIB_GRAPH_INTERNAL_GRAPHCACHE_H
#define TEGRAPHEXPORT
You can use this macro in order to export/import classes and functions from this module.
AbstractCachePolicy * m_policy
Cache policy to control the cache in memory.
GraphMetadata * m_metadata
Graph metadata information.
This class is used to set the main functions of a cache policy.
Class used to manager the graph data elements. This class uses a cache policy to control the elements...
This class define a important struct used to group a map of vertex and edges. A flag is used to indic...
std::map< int, GraphData * > m_graphDataMap
This map represents all data loaded in cache.
GraphDataManager * m_dataManager
Used to load and save GraphData information from a DataSource.
int m_graphDataCounter
Graph data identifier counter.