9#include <framework/datastore/StoreArray.h>
11#include <framework/datastore/RelationArray.h>
20 for (
const std::string& other_name : related_arrays) {
std::vector< std::string > getListOfRelatedArrays(const StoreAccessorBase &array) const
Returns a list of names of arrays which have registered relations that point to or from 'array'.
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.
Low-level class to create/modify relations between StoreArrays.
Base class for StoreObjPtr and StoreArray for easier common treatment.
DataStore::EDurability getDurability() const
Return durability with which the object is saved in the DataStore.
const std::string & getName() const
Return name under which the object is saved in the DataStore.
void clearRelations(const StoreAccessorBase &array)
clear all relations touching the given array.
Abstract base class for different kinds of events.