![]() |
ATLAS Offline Software
|
Container is an implementation of the IContainer interface. More...
#include <Container.h>
Public Member Functions | |
| Container (FileDescriptor &fileDescriptor, const std::string &name) | |
| virtual | ~Container ()=default |
| destructor | |
| virtual const std::string & | name () const override final |
| Returns the name of this container. | |
| virtual ITokenIterator * | tokens () override |
| Starts an iteration over the tokens in the container. | |
| virtual bool | attributeOfType (const std::string &attributeName, void *data, const std::type_info &typeInfo, const std::string &option) override |
| The method returning the attribute data given a name. | |
| virtual bool | setAttributeOfType (const std::string &attributeName, const void *data, const std::type_info &typeInfo, const std::string &option) override |
| The method setting the attribute data given a name. | |
Private Attributes | |
| std::string | m_name |
| The name of the container. | |
| FileDescriptor & | m_fileDescriptor |
| Reference to file descriptor of the parent database. | |
Container is an implementation of the IContainer interface.
Definition at line 22 of file Container.h.
| pool::Container::Container | ( | FileDescriptor & | fileDescriptor, |
| const std::string & | name ) |
Definition at line 14 of file Container.cxx.
|
virtualdefault |
destructor
|
overridevirtual |
The method returning the attribute data given a name.
Implements pool::IContainer.
Definition at line 26 of file Container.cxx.
|
inlinefinaloverridevirtual |
Returns the name of this container.
Implements pool::IContainer.
Definition at line 30 of file Container.h.
|
overridevirtual |
The method setting the attribute data given a name.
Implements pool::IContainer.
Definition at line 46 of file Container.cxx.
|
overridevirtual |
Starts an iteration over the tokens in the container.
Returns a token iterator whose ownership is passed to the user.
Implements pool::IContainer.
Definition at line 20 of file Container.cxx.
|
private |
Reference to file descriptor of the parent database.
Definition at line 56 of file Container.h.
|
private |
The name of the container.
Definition at line 53 of file Container.h.