ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
SGTools
SGTools
SGIFolder.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef SGTOOLS_IFOLDER_H
6
#define SGTOOLS_IFOLDER_H
7
8
#include <set>
9
#include <string>
10
11
#include "GaudiKernel/IAlgTool.h"
12
#include "
SGTools/SGFolderItem.h
"
13
14
namespace
SG
{
20
class
IFolder
:
public
virtual
IAlgTool
21
{
22
public
:
24
DeclareInterfaceID
(
IFolder
, 1, 0 );
25
27
typedef
std::set<FolderItem>
ItemList
;
//FIXME would be nice to move to SG::Folder
28
30
31
typedef
ItemList::const_iterator
const_iterator
;
32
virtual
const_iterator
begin
()
const
= 0;
33
virtual
const_iterator
end
()
const
= 0;
35
36
virtual
StatusCode
add
(
const
std::string& typeName,
const
std::string& skey) = 0;
38
virtual
StatusCode
add
(
const
CLID
& clid,
const
std::string& skey) = 0;
39
41
virtual
void
clear
() = 0;
42
44
virtual
void
updateItemList
(
bool
checkValidCLID) = 0;
45
46
};
47
}
//ns SG
48
49
#endif
CLID
uint32_t CLID
The Class ID type.
Definition
Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
SGFolderItem.h
defines a class representing a folder item (data object clid/key)
SG::IFolder
a run-time configurable list of data objects
Definition
SGIFolder.h:21
SG::IFolder::add
virtual StatusCode add(const std::string &typeName, const std::string &skey)=0
add a data object identifier to the list
SG::IFolder::const_iterator
ItemList::const_iterator const_iterator
Definition
SGIFolder.h:31
SG::IFolder::ItemList
std::set< FolderItem > ItemList
the list we manage
Definition
SGIFolder.h:27
SG::IFolder::add
virtual StatusCode add(const CLID &clid, const std::string &skey)=0
add a data object identifier to the list
SG::IFolder::end
virtual const_iterator end() const =0
SG::IFolder::DeclareInterfaceID
DeclareInterfaceID(IFolder, 1, 0)
Interface ID.
SG::IFolder::clear
virtual void clear()=0
clear the folder contents
SG::IFolder::begin
virtual const_iterator begin() const =0
SG::IFolder::updateItemList
virtual void updateItemList(bool checkValidCLID)=0
update list of items
SG
Forward declaration.
Definition
CaloCellPacker_400_500.h:32
Generated on
for ATLAS Offline Software by
1.17.0