![]() |
The Gaudi Framework
master (ff829712)
|
Definition of the IAIDATupleSvc interface class. More...
#include <GaudiKernel/IAIDATupleSvc.h>
Public Member Functions | |
DeclareInterfaceID (IAIDATupleSvc, 3, 0) | |
InterfaceID. | |
virtual AIDA::ITuple * | book (const std::string &fullPath, const std::string &title, const std::string &columns)=0 |
virtual StatusCode | registerObject (const std::string &dirPath, const std::string &objPath, AIDA::ITuple *tObj)=0 |
virtual StatusCode | registerObject (DataObject *pParent, const std::string &objPath, AIDA::ITuple *tObj)=0 |
virtual StatusCode | unregisterObject (AIDA::ITuple *tObj)=0 |
virtual StatusCode | unregisterObject (AIDA::ITuple *tObj, const std::string &objectPath)=0 |
virtual StatusCode | retrieveObject (const std::string &fullPath, AIDA::ITuple *&tObj)=0 |
virtual StatusCode | retrieveObject (const std::string &parentPath, const std::string &objPath, AIDA::ITuple *&tObj)=0 |
virtual StatusCode | retrieveObject (DataObject *parentObj, const std::string &objPath, AIDA::ITuple *&tObj)=0 |
virtual StatusCode | findObject (const std::string &fullPath, AIDA::ITuple *&tObj)=0 |
virtual StatusCode | findObject (IRegistry *pDirectory, const std::string &path, AIDA::ITuple *&tObj)=0 |
virtual StatusCode | findObject (const std::string &parentPath, const std::string &objPath, AIDA::ITuple *&tObj)=0 |
virtual StatusCode | findObject (DataObject *parentObj, const std::string &objPath, AIDA::ITuple *&tObj)=0 |
virtual void | setCriteria (AIDA::ITuple *&tObj, const std::string &criteria)=0 |
Set criteria for reading, filtering the input. | |
virtual DataObject * | createPath (const std::string &newPath)=0 |
virtual DataObject * | createDirectory (const std::string &parentDir, const std::string &subDir)=0 |
virtual StatusCode | myTest ()=0 |
StatusCode | registerObject (std::string_view fullPath, DataObject *pObject) |
Register object with the data store. | |
virtual StatusCode | registerObject (std::string_view parentPath, std::string_view objectPath, DataObject *pObject)=0 |
Register object with the data store. | |
StatusCode | registerObject (std::string_view parentPath, int item, DataObject *pObject) |
Register object with the data store. | |
virtual StatusCode | registerObject (DataObject *parentObj, std::string_view objectPath, DataObject *pObject)=0 |
Register object with the data store. | |
StatusCode | registerObject (DataObject *parentObj, int item, DataObject *pObject) |
Register object with the data store. | |
virtual StatusCode | unregisterObject (std::string_view fullPath)=0 |
Unregister object from the data store. | |
StatusCode | unregisterObject (std::string_view parentPath, std::string_view objPath) |
Unregister object from the data store. | |
StatusCode | unregisterObject (std::string_view parentPath, int item) |
Unregister object from the data store. | |
virtual StatusCode | unregisterObject (DataObject *pObject)=0 |
Unregister object from the data store. | |
virtual StatusCode | unregisterObject (DataObject *pParent, std::string_view objPath)=0 |
Unregister object from the data store. | |
StatusCode | unregisterObject (DataObject *pParent, int item) |
Unregister object from the data store. | |
virtual StatusCode | retrieveObject (IRegistry *pDirectory, std::string_view path, DataObject *&pObject)=0 |
Retrieve object identified by its directory entry. | |
StatusCode | retrieveObject (std::string_view fullPath, DataObject *&pObject) |
Retrieve object identified by its full path from the data store. | |
StatusCode | retrieveObject (std::string_view parentPath, std::string_view objectPath, DataObject *&pObject) |
Retrieve object from data store. | |
StatusCode | retrieveObject (std::string_view parentPath, int item, DataObject *&pObject) |
Retrieve object from data store. | |
StatusCode | retrieveObject (DataObject *parentObj, std::string_view objectPath, DataObject *&pObject) |
Retrieve object from data store. | |
StatusCode | retrieveObject (DataObject *parentObj, int item, DataObject *&pObject) |
Retrieve object from data store. | |
virtual StatusCode | findObject (IRegistry *pDirectory, std::string_view path, DataObject *&pObject)=0 |
Find object identified by its directory entry. | |
virtual StatusCode | findObject (std::string_view fullPath, DataObject *&pObject)=0 |
Find object identified by its full path in the data store. | |
StatusCode | findObject (std::string_view parentPath, std::string_view objectPath, DataObject *&pObject) |
Find object identified by its parent object and the path to the object relative to the parent. | |
StatusCode | findObject (std::string_view parentPath, int item, DataObject *&pObject) |
Find object identified by its parent object and an integer identifier in the data store. | |
StatusCode | findObject (DataObject *parentObj, std::string_view objectPath, DataObject *&pObject) |
Find object identified by its parent object and the path to the object relative to the parent. | |
StatusCode | findObject (DataObject *parentObj, int item, DataObject *&pObject) |
Find object identified by its parent object and an integer identifier in the data store. | |
![]() | |
DeclareInterfaceID (IDataProviderSvc, 4, 0) | |
InterfaceID. | |
StatusCode | registerObject (std::string_view fullPath, DataObject *pObject) |
Register object with the data store. | |
StatusCode | registerObject (std::string_view parentPath, int item, DataObject *pObject) |
Register object with the data store. | |
StatusCode | registerObject (DataObject *parentObj, int item, DataObject *pObject) |
Register object with the data store. | |
StatusCode | unregisterObject (std::string_view parentPath, std::string_view objPath) |
Unregister object from the data store. | |
StatusCode | unregisterObject (std::string_view parentPath, int item) |
Unregister object from the data store. | |
StatusCode | unregisterObject (DataObject *pParent, int item) |
Unregister object from the data store. | |
StatusCode | retrieveObject (std::string_view fullPath, DataObject *&pObject) |
Retrieve object identified by its full path from the data store. | |
StatusCode | retrieveObject (std::string_view parentPath, std::string_view objectPath, DataObject *&pObject) |
Retrieve object from data store. | |
StatusCode | retrieveObject (std::string_view parentPath, int item, DataObject *&pObject) |
Retrieve object from data store. | |
StatusCode | retrieveObject (DataObject *parentObj, std::string_view objectPath, DataObject *&pObject) |
Retrieve object from data store. | |
StatusCode | retrieveObject (DataObject *parentObj, int item, DataObject *&pObject) |
Retrieve object from data store. | |
StatusCode | findObject (std::string_view parentPath, std::string_view objectPath, DataObject *&pObject) |
Find object identified by its parent object and the path to the object relative to the parent. | |
StatusCode | findObject (std::string_view parentPath, int item, DataObject *&pObject) |
Find object identified by its parent object and an integer identifier in the data store. | |
StatusCode | findObject (DataObject *parentObj, std::string_view objectPath, DataObject *&pObject) |
Find object identified by its parent object and the path to the object relative to the parent. | |
StatusCode | findObject (DataObject *parentObj, int item, DataObject *&pObject) |
Find object identified by its parent object and an integer identifier in the data store. | |
virtual StatusCode | updateObject (IRegistry *pDirectory)=0 |
Update object identified by its directory entry. | |
StatusCode | updateObject (std::string_view fullPath) |
Update object identified by its full path in the data store. | |
virtual StatusCode | updateObject (DataObject *toUpdate)=0 |
Update object identified by its pointer. | |
StatusCode | updateObject (std::string_view parentPath, std::string_view updatePath) |
Update object identified by its parent's path and the path relative to the parent. | |
StatusCode | updateObject (DataObject *pParent, std::string_view updatePath) |
Update object identified by its parent's pointer and the path relative to the parent. | |
virtual StatusCode | addPreLoadItem (const DataStoreItem &item)=0 |
Add an item to the preload list. | |
StatusCode | addPreLoadItem (std::string itemPath) |
Add an item to the preload list. | |
virtual StatusCode | removePreLoadItem (const DataStoreItem &item)=0 |
Remove an item from the preload list. | |
StatusCode | removePreLoadItem (std::string itemPath) |
Remove an item from the preload list. | |
virtual StatusCode | resetPreLoad ()=0 |
Clear the preload list. | |
virtual StatusCode | preLoad ()=0 |
Load all preload items of the list. | |
virtual StatusCode | linkObject (IRegistry *from, std::string_view objPath, DataObject *toObj)=0 |
Add a link to another object. | |
StatusCode | linkObject (std::string_view fromPath, std::string_view objPath, DataObject *toObj) |
Add a link to another object. | |
StatusCode | linkObject (DataObject *fromObj, std::string_view objPath, DataObject *toObj) |
Add a link to another object. | |
virtual StatusCode | linkObject (std::string_view fullPath, DataObject *toObj)=0 |
Add a link to another object. | |
virtual StatusCode | unlinkObject (IRegistry *from, std::string_view objPath)=0 |
Remove a link to another object. | |
StatusCode | unlinkObject (std::string_view fromPath, std::string_view objPath) |
Remove a link to another object. | |
virtual StatusCode | unlinkObject (DataObject *fromObj, std::string_view objPath)=0 |
Remove a link to another object. | |
virtual StatusCode | unlinkObject (std::string_view fullPath)=0 |
Remove a link to another object. | |
![]() | |
template<Gaudi::IsInterface TARGET> | |
TARGET * | cast () |
template<Gaudi::IsInterface TARGET> | |
TARGET const * | cast () const |
template<typename TARGET> requires ( !Gaudi::IsInterface<TARGET> ) | |
TARGET * | cast () |
template<typename TARGET> requires ( !Gaudi::IsInterface<TARGET> ) | |
TARGET const * | cast () const |
virtual std::vector< std::string > | getInterfaceNames () const =0 |
Returns a vector of strings containing the names of all the implemented interfaces. | |
virtual unsigned long | addRef () const =0 |
Increment the reference count of Interface instance. | |
virtual unsigned long | release () const =0 |
Release Interface instance. | |
virtual unsigned long | refCount () const =0 |
Current reference count. | |
virtual StatusCode | queryInterface (const InterfaceID &ti, void **pp)=0 |
Set the void** to the pointer to the requested interface of the instance. | |
virtual | ~IInterface ()=default |
Virtual destructor. | |
virtual void const * | i_cast (const InterfaceID &) const =0 |
void * | i_cast (const InterfaceID &iid) |
Additional Inherited Members | |
![]() | |
enum | { SEPARATOR = '/' } |
enum class | Status : StatusCode::code_t { IDataProviderSvc_NO_ERROR = 1 , DOUBL_OBJ_PATH , INVALID_OBJ_PATH , INVALID_ROOT , INVALID_OBJECT , INVALID_PARENT , OBJ_NOT_LOADED , NO_DATA_LOADER , INVALID_OBJ_ADDR , DIR_NOT_EMPTY , NO_MORE_LEVELS , NO_ACCESS , LAST } |
Status code definitions. More... | |
![]() | |
enum class | Status : StatusCode::code_t { FAILURE = 0 , SUCCESS = 1 , NO_INTERFACE , VERSMISMATCH , LAST_ERROR } |
Return status. More... | |
using | iid = Gaudi::InterfaceId<IInterface, 0, 0> |
Interface ID. | |
using | ext_iids = Gaudi::interface_list<iid> |
Extra interfaces. | |
![]() | |
static const InterfaceID & | interfaceID () |
Return an instance of InterfaceID identifying the interface. | |
![]() | |
virtual unsigned long | decRef () const =0 |
Decrement reference count and return the new reference count. | |
Definition of the IAIDATupleSvc interface class.
Definition at line 35 of file IAIDATupleSvc.h.
|
pure virtual |
|
pure virtual |
|
pure virtual |
IAIDATupleSvc::DeclareInterfaceID | ( | IAIDATupleSvc | , |
3 | , | ||
0 | ) |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
inline |
Find object identified by its parent object and an integer identifier in the data store.
In case the object is not present the pointer will be set to NULL.
parentObj | Pointer to parent node of the object. |
item | Item identifier. |
pObject | Reference to the pointer of the object to be returned. |
Definition at line 368 of file IDataProviderSvc.h.
|
inline |
Find object identified by its parent object and the path to the object relative to the parent.
The result will be returned in the second argument. In case the object is not present the pointer will be set to NULL.
parentObj | Pointer to parent node of the object. |
objectPath | Relative path name of the object. |
pObject | Reference to the pointer of the object to be returned. |
Definition at line 356 of file IDataProviderSvc.h.
|
pure virtual |
|
virtual |
Find object identified by its directory entry.
The result will be returned in the second argument. In case the object is not present the pointer will be set to NULL. ** FASTEST ACCESS TO THE DATA STORE **
pDirectory | Pointer to the object. |
path | String with relative path to directory. Ideally ""! |
pObject | Reference to the pointer of the object to be returned. |
Implements IDataProviderSvc.
|
virtual |
Find object identified by its full path in the data store.
The result will be returned in the second argument. In case the object is not present the pointer will be set to NULL.
fullPath | Path name of the object. |
pObject | Pointer to the object to be connected. |
Implements IDataProviderSvc.
|
inline |
Find object identified by its parent object and an integer identifier in the data store.
In case the object is not present the pointer will be set to NULL.
parentPath | Path to parent node of the object. |
item | Item identifier. |
pObject | Reference to the pointer of the object to be returned. |
Definition at line 343 of file IDataProviderSvc.h.
|
inline |
Find object identified by its parent object and the path to the object relative to the parent.
The result will be returned in the second argument. In case the object is not present the pointer will be set to NULL.
parentPath | Path to parent node of the object. |
objectPath | Relative path name of the object. |
pObject | Reference to the pointer of the object to be returned. |
Definition at line 329 of file IDataProviderSvc.h.
|
pure virtual |
|
pure virtual |
|
inline |
Register object with the data store.
Connect the object identified by its pointer to the node object identified by its pointer.
parentObj | Pointer to parent object. |
item | item number of the object linked to the parent |
pObject | Pointer to the object to be connected. |
Definition at line 112 of file IDataProviderSvc.h.
|
virtual |
Register object with the data store.
Connect the object identified by its pointer to the parent object and the relative path of the object with respect to the parent.
parentObj | Pointer to parent object. |
objectPath | Path of the object relative to the parent node |
pObject | Pointer to the object to be connected. |
Implements IDataProviderSvc.
|
pure virtual |
|
inline |
Register object with the data store.
Connect the object identified by its pointer to the node object identified by its path.
fullPath | Path to parent node of the object. |
pObject | Pointer to the object to be registered. |
Definition at line 67 of file IDataProviderSvc.h.
|
inline |
Register object with the data store.
Connect the object identified by its pointer to the parent object and an integer identifier.
parentPath | Path to parent node of the object. |
item | item number of the object linked to the parent |
pObject | Pointer to the object to be registered. |
Definition at line 90 of file IDataProviderSvc.h.
|
virtual |
Register object with the data store.
Connect the object identified by the path to the parent object and the path of the object itself relative to the specified parent.
parentPath | Path to parent node of the object. |
objectPath | Path of the object relative to the parent node |
pObject | Pointer to the object to be registered. |
Implements IDataProviderSvc.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
inline |
Retrieve object from data store.
The object to be retrieved is identified by the pointer to the parent object and an integer identifier. In case the object is not present it will be loaded and converted if possible.
parentObj | Pointer to parent node of the object. |
item | Item identifier. |
pObject | Reference to the pointer of the object to be returned. |
Definition at line 296 of file IDataProviderSvc.h.
|
inline |
Retrieve object from data store.
The object to be retrieved is identified by the pointer to the parent object and the relative path with respect to the node. In case the object is not present it will be loaded and converted if possible.
parentObj | Pointer to parent node of the object. |
objectPath | Path of the object relative to the parent. |
pObject | Reference to the pointer of the object to be returned. |
Definition at line 282 of file IDataProviderSvc.h.
|
virtual |
Retrieve object identified by its directory entry.
The result will be returned in the second argument. In case the object is not present it will be loaded and converted if possible. ** FASTEST ACCESS TO THE DATA STORE **
pDirectory | Pointer to the object. |
path | String with relative path to directory. Ideally ""! |
pObject | Reference to the pointer of the object to be returned. |
Implements IDataProviderSvc.
|
inline |
Retrieve object identified by its full path from the data store.
The result will be returned in the second argument. In case the object is not present it will be loaded and converted if possible.
fullPath | Path name of the object. |
pObject | Reference to the pointer of the object to be returned. |
Definition at line 238 of file IDataProviderSvc.h.
|
inline |
Retrieve object from data store.
The object to be retrieved is identified by the path to the parent object and an integer identifier. In case the object is not present it will be loaded and converted if possible.
parentPath | Path to parent node of the object. |
item | Item identifier. |
pObject | Reference to the pointer of the object to be returned. |
Definition at line 268 of file IDataProviderSvc.h.
|
inline |
Retrieve object from data store.
The object to be retrieved is identified by the path of the parent object and the relative path with respect to the node. In case the object is not present it will be loaded and converted if possible.
parentPath | Path to parent node of the object. |
objectPath | Path of the object relative to the parent. |
pObject | Reference to the pointer of the object to be returned. |
Definition at line 252 of file IDataProviderSvc.h.
|
pure virtual |
Set criteria for reading, filtering the input.
|
pure virtual |
|
pure virtual |
|
virtual |
Unregister object from the data store.
On registration the client gives up ownership of the object and may no longer delete the object. unregistering the object is the opposite: ownership is claimed back by the user. But note:
The object is identified by its pointer. The object must previously have been registered with the data store.
pObject | Pointer to the object. |
Implements IDataProviderSvc.
|
inline |
Unregister object from the data store.
On registration the client gives up ownership of the object and may no longer delete the object. unregistering the object is the opposite: ownership is claimed back by the user. But note:
The object is identified by parent object and an integer identifier of the object itself.
pParent | Pointer to parent object. |
item | Integer identifier of the object item. |
Definition at line 214 of file IDataProviderSvc.h.
|
virtual |
Unregister object from the data store.
On registration the client gives up ownership of the object and may no longer delete the object. unregistering the object is the opposite: ownership is claimed back by the user. But note:
The object is identified by parent object and the path of the object relative to the parent.
pParent | Pointer to parent object. |
objPath | Path name of the object relative to the parent. |
Implements IDataProviderSvc.
|
virtual |
Unregister object from the data store.
On registration the client gives up ownership of the object and may no longer delete the object. unregistering the object is the opposite: ownership is claimed back by the user. But note:
The object is identified by full path name.
fullPath | Path name of the object. |
Implements IDataProviderSvc.
|
inline |
Unregister object from the data store.
On registration the client gives up ownership of the object and may no longer delete the object. unregistering the object is the opposite: ownership is claimed back by the user. But note:
The object is identified by parent path name and an integer identifier of the object itself.
parentPath | Path name of the parent object. |
item | Integer identifier of the object item. |
Definition at line 165 of file IDataProviderSvc.h.
|
inline |
Unregister object from the data store.
On registration the client gives up ownership of the object and may no longer delete the object. unregistering the object is the opposite: ownership is claimed back by the user. But note:
The object is identified by parent path name and the path of the object relative to the parent.
parentPath | Path name of the parent object. |
objPath | Path name of the object relative to the parent. |
Definition at line 145 of file IDataProviderSvc.h.