 |
ATLAS Offline Software
|
Go to the documentation of this file.
7 #ifndef SGCOMPS_FOLDER_H
8 #define SGCOMPS_FOLDER_H 1
18 #include "GaudiKernel/IClassIDSvc.h"
19 #include "GaudiKernel/ServiceHandle.h"
42 class Folder :
public extends<AthAlgTool, IFolder>
48 const std::string&
name,
70 const bool DONTCHECKVALIDCLID(
false);
71 return add(clid, skey, DONTCHECKVALIDCLID,
false);
90 BooleanProperty
m_checkItems{
this,
"CheckItems",
false,
"check if item types are known to ClassIDSvc"};
93 "List of data objects identified by a class name (or clid)#key pairs. One can use '*' as key value to "
94 "add all objects of a given type to the Folder. If the type name ends with !, then write the object as "
95 "exactly that type (and not as any derived class)."};
98 const bool DONTCHECKVALIDCLID(
false);
106 bool checkValidCLID,
bool exact);
virtual ~Folder() override
friend class Folder_tester
virtual void updateItemList(bool checkValidCLID) override final
update contents of the ItemList
IFolder::const_iterator const_iterator
virtual void clear() override
clear the folder contents
ItemList::const_iterator const_iterator
ServiceHandle< IClassIDSvc > m_pCLIDSvc
StringArrayProperty m_itemList
IFolder::ItemList ItemList
the list we manage
virtual StatusCode add(const CLID &clid, const std::string &skey) override
add a data object identifier to the list.
Folder(const std::string &type, const std::string &name, const IInterface *parent)
::StatusCode StatusCode
StatusCode definition for legacy code.
void decodeItemList(Gaudi::Details::PropertyBase &)
virtual const_iterator begin() const override
uint32_t CLID
The Class ID type.
BooleanProperty m_checkItems
virtual StatusCode add(const std::string &typeName, const std::string &skey) override
add a data object identifier to the list.
std::set< FolderItem > ItemList
the list we manage
virtual StatusCode initialize() override
virtual const_iterator end() const override
void decodeItem(const std::string &item, bool checkValidCLID)
a run-time configurable list of data objects