ATLAS Offline Software
Loading...
Searching...
No Matches
IContainer.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef INCLUDE_PERSISTENCYSVC_ICONTAINER_H
6#define INCLUDE_PERSISTENCYSVC_ICONTAINER_H
7
8// includes
9#include <string>
10
11namespace pool {
12
13 // forward declarations
14 class ITokenIterator;
16
22
23 class IContainer {
24 public:
26 virtual const std::string& name() const = 0;
27
29 virtual long technology() const = 0;
30
34 virtual ITokenIterator* tokens() = 0;
35
39
41 virtual ~IContainer() = default;
42 };
43}
44
45#endif
IContainer is the base class for container objects.
Definition IContainer.h:23
virtual ITechnologySpecificAttributes & technologySpecificAttributes()=0
virtual ~IContainer()=default
Virtual destructor for the interface.
virtual long technology() const =0
Returns the technology identifier for this container.
virtual const ITechnologySpecificAttributes & technologySpecificAttributes() const =0
Returns the object holding the technology specific attributes for a given technology domain.
virtual ITokenIterator * tokens()=0
Starts an iteration over the tokens in the container.
virtual const std::string & name() const =0
Returns the name of this container.
ITechnologySpecificAttributes is the interface for an object holding technology-specific attributes.
ITokenIterator is the interface class for iterators of tokens.
Framework include files.
Definition libname.h:15