8#include <framework/datastore/SelectSubset.h>
10#include <framework/datastore/RelationArray.h>
static DataStore & Instance()
Instance of singleton Store.
static std::string relationName(const std::string &fromName, const std::string &toName, std::string const &namedRelation="")
Return storage name for a relation between two arrays of the given names.
void replaceData(const StoreAccessorBase &from, const StoreAccessorBase &to)
For two StoreAccessors of same type, move all data in 'from' into 'to', discarding previous contents ...
Low-level class to create/modify relations between StoreArrays.
std::vector< std::string > m_inheritFromArrays
array names we inherit relations from.
virtual StoreAccessorBase * getSubSet()=0
Get accessor for reduced set.
void swapSetsAndDestroyOriginal()
Swap set and subset (+relations), and keep only the reduced set.
virtual StoreAccessorBase * getSet()=0
Get accessor for original set.
std::vector< std::string > m_inheritToArrays
array names we inherit relations to.
Base class for StoreObjPtr and StoreArray for easier common treatment.
const std::string & getName() const
Return name under which the object is saved in the DataStore.
Abstract base class for different kinds of events.