1 #ifndef GAUDIKERNEL_REGISTRYENTRY_H 2 #define GAUDIKERNEL_REGISTRYENTRY_H 11 #include <boost/utility/string_ref.hpp> 44 friend class ::DataSvc;
46 friend class ::TsDataSvc;
52 unsigned long m_refCount = 0;
54 bool m_isSoft =
false;
113 unsigned long release()
override;
115 unsigned long addRef()
override {
return ++m_refCount; }
131 const Store&
leaves()
const {
return m_store; }
139 Iterator
end()
const {
return m_store.
end(); }
160 long deleteElements();
165 #endif // GAUDIKERNEL_REGISTRYENTRY_H
RegistryEntry * findLeaf(boost::string_ref path) const
Find identified leaf in this registry node.
DataObject * object() const override
Retrive object behind the link.
const std::string & name() const override
Retrieve name of the entry.
Iterator end() const
Return end elemtn if the container.
unsigned long addRef() override
IInterface implementation: Dereference the object.
RegistryEntry * findLeaf(const DataObject *key) const
Find identified leaf in this registry node.
std::vector< IRegistry * > Store
Definition of datastore type.
const Store & leaves() const
Access the leaves of the object.
bool isSoft() const
Is the link soft or hard.
Data provider interface definition.
IRegistry * find(boost::string_ref path) const
Try to find an object identified by its relative name to the directory.
std::string m_fullpath
String containing full path of the object (volatile)
IDataProviderSvc * dataSvc() const override
Retrieve pointer to Transient Store.
This class is used for returning status codes from appropriate routines.
IRegistry * parent() const
Pointer to parent directory entry.
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...
Store::const_iterator Iterator
Iterator definition.
IOpaqueAddress * address() const override
Retrieve opaque storage address.
Definition of an entry in the transient data store.
Generic data agent interface.
RegistryEntry * parentEntry()
Pointer to parent registry entry.
Store m_store
Store of leaves.
IRegistry * find(const IRegistry *obj) const
Try to find an object identified by its pointer.
std::string m_path
Path name.
const std::string & identifier() const override
Full identifier (or key)
bool isEmpty() const
Simple check if the Container is empty.
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.
int size() const
Return the size of the container(=number of objects)