Rosetta  2016.11
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Namespaces
ConstDataMap.hh File Reference

Class for holding constant owning pointers to data so that it can be safely shared between threads without the need for deep-copy semantics. More...

#include <platform/types.hh>
#include <sstream>
#include <map>
#include <utility/pointer/ReferenceCount.hh>
#include <utility/pointer/owning_ptr.hh>
#include <utility/excn/Exceptions.hh>
#include <string>
#include <basic/Tracer.hh>

Classes

class  basic::datacache::ConstDataMap
 general-purpose store for any kind of object with the particular copy semantics of copying by value. This is effectively a map of string pairs to (constant) pointers. The first string represents the category of the object, and the second being a name for that particular object. The guarantee with the ConstDataMap is that if an object is put into the map, it may be read from, but it will not be changed underneath you. Data stored in the ConstDataMap can safely be shared between threads. More...
 

Namespaces

 basic
 Tags used to tag messeges sent by MPI functions used to decide whether a slave is requesting a new job id or flagging as job as being a bad input.
 
 basic::datacache
 

Detailed Description

Class for holding constant owning pointers to data so that it can be safely shared between threads without the need for deep-copy semantics.

Author
Sarel Fleishman
Andrew Leaver-Fay (aleav.nosp@m.erfa.nosp@m.y@gma.nosp@m.il.c.nosp@m.om)