Rosetta  2015.38
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Namespaces | Functions
DataMap.hh File Reference
#include <platform/types.hh>
#include <sstream>
#include <map>
#include <utility/pointer/ReferenceCount.hh>
#include <utility/excn/Exceptions.hh>
#include <string>
#include <basic/Tracer.hh>

Classes

class  basic::datacache::DataMap
 general-purpose store for any reference-count derived object More...
 

Namespaces

 basic
 
 basic::datacache
 

Functions

static thread_local basic::Tracer basic::datacache::TR_hh ("basic.datacache.DataMap_hh")
 
template<class Ty >
utility::pointer::shared_ptr< Ty > basic::datacache::get_set_from_datamap (std::string const type, std::string const name, basic::datacache::DataMap &data)
 templated function for adding or getting an item from the datamap. Automatically checks whether an item of the requested type and name exists on the datamap. If so, returns the OP for that item, if not, instantiates that item on the datamap and returns the OP for it. More...
 

Detailed Description

Author
Sarel Fleishman