21 #ifndef mia_core_datapool_hh 22 #define mia_core_datapool_hh 25 #include <boost/any.hpp> 56 void add(
const std::string& key, boost::any value);
61 boost::any
get(
const std::string& key)
const;
68 boost::any get_and_remove(
const std::string& key);
74 void remove(
const std::string& key);
81 bool has_key(
const std::string& key)
const;
91 bool has_unused_data()
const;
101 typedef std::map<std::string, boost::any> Anymap;
102 typedef Anymap::const_iterator const_iterator;
103 const_iterator get_iterator(
const std::string& key)
const;
105 typedef std::map<std::string,bool> Usagemap;
106 mutable Usagemap m_usage;
temporary data storage to avoid storing on disk
#define NS_MIA_BEGIN
conveniance define to start the mia namespace
std::recursive_mutex CRecursiveMutex
#define EXPORT_CORE
Macro to manage Visual C++ style dllimport/dllexport.
#define NS_MIA_END
conveniance define to end the mia namespace