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 bool has_key(
const std::string& key)
const;
84 bool has_unused_data()
const;
94 typedef std::map<std::string, boost::any> Anymap;
95 typedef Anymap::const_iterator const_iterator;
96 const_iterator get_iterator(
const std::string& key)
const;
98 typedef std::map<std::string,bool> Usagemap;
99 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