Rosetta Utilities  2014.35
Classes | Namespaces | Functions | Variables
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

template<class Ty >
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...
 

Variables

static basic::Tracer basic::datacache::TR_hh ("basic.datacache.DataMap_hh")
 

Detailed Description

Author
Sarel Fleishman