Pandora
Pandora source code navigator
Loading...
Searching...
No Matches
InputObjectManager.h
Go to the documentation of this file.
1
8#ifndef PANDORA_INPUT_OBJECT_MANAGER
9#define PANDORA_INPUT_OBJECT_MANAGER 1
10
11#include "Managers/Manager.h"
12
13namespace pandora
14{
15
19template<typename T>
20class InputObjectManager : public Manager<T>
21{
22public:
28 InputObjectManager(const Pandora *const pPandora);
29
33 virtual ~InputObjectManager();
34
35protected:
37
42
44
52 virtual StatusCode CreateTemporaryListAndSetCurrent(const Algorithm *const pAlgorithm, const ObjectList &objectList,
53 std::string &temporaryListName);
54
61 virtual StatusCode SaveList(const std::string &listName, const ObjectList &objectList);
62
69 virtual StatusCode AddObjectsToList(const std::string &listName, const ObjectList &objectList);
70
77 virtual StatusCode RemoveObjectsFromList(const std::string &listName, const ObjectList &objectList);
78
85 virtual StatusCode RenameList(const std::string &oldListName, const std::string &newListName);
86
91
96
97 const std::string m_inputListName;
98};
99
100} // namespace pandora
101
102#endif // #ifndef PANDORA_INPUT_OBJECT_MANAGER
Header file for the manager class.
Algorithm class. Algorithm addresses are held only by the algorithm manager. They have a fully define...
Definition Algorithm.h:21
InputObjectManager class.
Manager< T >::ObjectList ObjectList
virtual StatusCode CreateTemporaryListAndSetCurrent(const Algorithm *const pAlgorithm, const ObjectList &objectList, std::string &temporaryListName)
Change the current list to a specified temporary list.
virtual StatusCode AddObjectsToList(const std::string &listName, const ObjectList &objectList)
Add objects to a saved list with a specified name.
virtual StatusCode RemoveObjectsFromList(const std::string &listName, const ObjectList &objectList)
Remove objects from a saved list.
virtual StatusCode CreateInitialLists()
Create initial lists.
virtual StatusCode RenameList(const std::string &oldListName, const std::string &newListName)
Rename a saved list, altering its saved name from a specified old list name to a specified new list n...
virtual StatusCode SaveList(const std::string &listName, const ObjectList &objectList)
Save a list of objects in a list with a specified name; create new list if required.
virtual StatusCode CreateInputList()
Create the input list (accessible to algorithms), using objects created by client application.
virtual StatusCode EraseAllContent()
Erase all manager content.
const std::string m_inputListName
The name of the input list.
virtual ~InputObjectManager()
Destructor.
Manager class.
Definition Manager.h:27
MANAGED_CONTAINER< const T * > ObjectList
Definition Manager.h:42
Pandora class.
Definition Pandora.h:40
StatusCode
The StatusCode enum.