26 #ifndef __TERRALIB_GRAPH_INTERNAL_ABSTRACTCACHEPOLICYFACTORY_H 
   27 #define __TERRALIB_GRAPH_INTERNAL_ABSTRACTCACHEPOLICYFACTORY_H 
   30 #include "../../common/AbstractFactory.h" 
   31 #include "../graphs/Graph.h" 
   32 #include "../Config.h" 
   40     class AbstractCachePolicy;
 
   78         virtual const std::string& 
getType() 
const = 0;
 
This class defines the interface of abstract factories without initializing parameters.
 
This is the abstract factory for cache policy.
 
static AbstractCachePolicy * make(const std::string &cpType)
It creates a cache policy with the proper type.
 
virtual ~AbstractCachePolicyFactory()
Destructor.
 
AbstractCachePolicyFactory(const std::string &factoryKey)
Constructor.
 
static AbstractCachePolicy * make()
It creates and returns default cache policy.
 
virtual const std::string & getType() const =0
Returns the type (name) of this factory.
 
This class is used to set the main functions of a cache policy.
 
#define TEGRAPHEXPORT
You can use this macro in order to export/import classes and functions from this module.