ATLAS Offline Software
|
a run-time configurable list of data objects More...
#include <SGFolder.h>
structors | |
typedef IFolder::ItemList | ItemList |
the list we manage More... | |
Folder (const std::string &type, const std::string &name, const IInterface *parent) | |
virtual | ~Folder () override |
access the ItemList | |
typedef IFolder::const_iterator | const_iterator |
virtual const_iterator | begin () const override |
virtual const_iterator | end () const override |
virtual StatusCode | add (const std::string &typeName, const std::string &skey) override |
add a data object identifier to the list. More... | |
virtual StatusCode | add (const CLID &clid, const std::string &skey) override |
add a data object identifier to the list. More... | |
virtual void | clear () override |
clear the folder contents More... | |
virtual void | updateItemList (bool checkValidCLID) override final |
update contents of the ItemList More... | |
AlgTool boilerplate | |
ServiceHandle< IClassIDSvc > | m_pCLIDSvc |
StringArrayProperty | m_itemList |
property: the list of items (data objects identified by a class name/key pair) More... | |
ItemList | m_list |
BooleanProperty | m_checkItems |
property: check if item types are known to ClassIDSvc More... | |
class | Folder_tester |
virtual StatusCode | initialize () override |
void | decodeItemList (Gaudi::Details::PropertyBase &) |
void | decodeItem (const std::string &item, bool checkValidCLID) |
StatusCode | add (const CLID &clid, const std::string &skey, bool checkValidCLID, bool exact) |
add a data object identifier to the list, optionally checking if the clid is known to ClassIDSvc. More... | |
a run-time configurable list of data objects
the ItemList property, used to initialize the folder, is a list of class name (or clid)/key pairs. One can use '*' as key value to add all objects of a given type to the Folder. Examples:
Normally, an object will be written as the type as which it was recorded in StoreGate, regardless of the type used to request it in the ItemList. But if the type name ends with a !, then the object will be written as the exact type which was requested in the ItemList.
Definition at line 42 of file SGFolder.h.
Definition at line 58 of file SGFolder.h.
the list we manage
Definition at line 54 of file SGFolder.h.
Definition at line 27 of file SGFolder.cxx.
|
overridevirtual |
Definition at line 42 of file SGFolder.cxx.
|
inlineoverridevirtual |
add a data object identifier to the list.
The clid is not checked against the ClassIDSvc registry
Definition at line 69 of file SGFolder.h.
|
private |
add a data object identifier to the list, optionally checking if the clid is known to ClassIDSvc.
Definition at line 101 of file SGFolder.cxx.
add a data object identifier to the list.
Notice that if the typename is not yet in the ClassIDSvc registry the entry will be ignored and and add will return StatusCode::FAILURE
Definition at line 79 of file SGFolder.cxx.
|
inlineoverridevirtual |
Definition at line 59 of file SGFolder.h.
|
inlineoverridevirtual |
|
private |
Definition at line 57 of file SGFolder.cxx.
|
inlineprivate |
Definition at line 91 of file SGFolder.h.
|
inlineoverridevirtual |
Definition at line 60 of file SGFolder.h.
|
overridevirtual |
Definition at line 46 of file SGFolder.cxx.
|
finaloverridevirtual |
|
friend |
Definition at line 96 of file SGFolder.h.
|
private |
property: check if item types are known to ClassIDSvc
Definition at line 104 of file SGFolder.h.
|
private |
property: the list of items (data objects identified by a class name/key pair)
Definition at line 90 of file SGFolder.h.
|
private |
Definition at line 102 of file SGFolder.h.
|
private |
Definition at line 88 of file SGFolder.h.