27 #include "../../common/STLUtils.h" 
   28 #include "../../common/Translator.h" 
   29 #include "../Exception.h" 
   42     throw Exception(
TR_DATAACCESS(
"There is already a function catalog resgistered for the data source type!"));
 
   44   m_fcatalogMap.insert(std::map<std::string, FunctionCatalog*>::value_type(dsType, fcatalog));
 
void FreeContents(boost::unordered_map< K, V * > &m)
This function can be applied to a map of pointers. It will delete each pointer in the map...
 
A FunctionCatalogManager is a singleton that can be used to manage function catalogs of data source i...
 
std::map< std::string, FunctionCatalog * > m_fcatalogMap
Function map: datasource-type -> FunctionCatalog*. 
 
A FunctionCatalog can be used to keep track of registered functions. 
 
void insert(const std::string &dsType, FunctionCatalog *fcatalog)
It inserts the function catalog associated to the given data source type. 
 
FunctionCatalog * find(const std::string &dsType)
It finds the function catalog with the given data source type. 
 
#define TR_DATAACCESS(message)
It marks a string in order to get translated. This is a special mark used in the DataAccess module of...
 
The definition of a function that can be used in a query object. 
 
~FunctionCatalogManager()
Destructor. 
 
A FunctionCatalog can be used to keep track of registered functions. 
 
V * GetPValue(const std::map< K, V * > &m, const K &k)
It finds for a given key in the map and returns a pointer if something is found or NULL otherwise...