ATLAS Offline Software
Loading...
Searching...
No Matches
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"
13
14namespace SG {
20 class IFolder : public virtual IAlgTool
21 {
22 public:
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
uint32_t CLID
The Class ID type.
defines a class representing a folder item (data object clid/key)
a run-time configurable list of data objects
Definition SGIFolder.h:21
virtual StatusCode add(const std::string &typeName, const std::string &skey)=0
add a data object identifier to the list
ItemList::const_iterator const_iterator
Definition SGIFolder.h:31
std::set< FolderItem > ItemList
the list we manage
Definition SGIFolder.h:27
virtual StatusCode add(const CLID &clid, const std::string &skey)=0
add a data object identifier to the list
virtual const_iterator end() const =0
DeclareInterfaceID(IFolder, 1, 0)
Interface ID.
virtual void clear()=0
clear the folder contents
virtual const_iterator begin() const =0
virtual void updateItemList(bool checkValidCLID)=0
update list of items
Forward declaration.