1 #ifndef GAUDIKERNEL_REGISTRYENTRY_H 2 #define GAUDIKERNEL_REGISTRYENTRY_H 10 #include <string_view> 42 friend class ::DataSvc;
44 friend class ::TsDataSvc;
50 unsigned long m_refCount = 0;
52 bool m_isSoft =
false;
111 unsigned long release()
override;
113 unsigned long addRef()
override {
return ++m_refCount; }
158 long deleteElements();
163 #endif // GAUDIKERNEL_REGISTRYENTRY_H IDataProviderSvc * dataSvc() const override
Retrieve pointer to Transient Store.
unsigned long addRef() override
IInterface implementation: Dereference the object.
RegistryEntry * findLeaf(std::string_view path) const
Find identified leaf in this registry node.
std::vector< IRegistry * > Store
Definition of datastore type.
bool isEmpty() const
Simple check if the Container is empty.
IRegistry * find(const IRegistry *obj) const
Try to find an object identified by its pointer.
Data provider interface definition.
RegistryEntry * findLeaf(const DataObject *key) const
Find identified leaf in this registry node.
IRegistry * parent() const
Pointer to parent directory entry.
std::string m_fullpath
String containing full path of the object (volatile)
Iterator end() const
Return end elemtn if the container.
IRegistry * find(std::string_view path) const
Try to find an object identified by its relative name to the directory.
IOpaqueAddress * address() const override
Retrieve opaque storage address.
const std::string & name() const override
Retrieve name of the entry.
This class is used for returning status codes from appropriate routines.
const Store & leaves() const
Access the leaves of the object.
void setDataSvc(IDataProviderSvc *s)
Set the transient data store.
The IRegistry represents the entry door to the environment any data object residing in a transient da...
const std::string & identifier() const override
Full identifier (or key)
Store::const_iterator Iterator
Iterator definition.
Definition of an entry in the transient data store.
DataObject * object() const override
Retrive object behind the link.
Generic data agent interface.
RegistryEntry * parentEntry()
Pointer to parent registry entry.
Store m_store
Store of leaves.
int size() const
Return the size of the container(=number of objects)
std::string m_path
Path name.
bool isSoft() const
Is the link soft or hard.
Opaque address interface definition.
A DataObject is the base class of any identifiable object on any data store.
Iterator begin() const
Return starting point for container iteration.