![]() |
ATLAS Offline Software
|
Container is an implementation of the IContainer interface. More...
#include <Container.h>
Public Member Functions | |
| Container (FileDescriptor &fileDescriptor, long technology, const std::string &name) | |
| virtual | ~Container ()=default |
| destructor | |
| virtual const std::string & | name () const override final |
| Returns the name of this container. | |
| virtual long | technology () const override final |
| Returns the technology identifier for this container. | |
| virtual ITokenIterator * | tokens () override |
| Starts an iteration over the tokens in the container. | |
| virtual const ITechnologySpecificAttributes & | technologySpecificAttributes () const override final |
| Returns the object holding the technology specific attributes for a given technology domain. | |
| virtual ITechnologySpecificAttributes & | technologySpecificAttributes () override final |
| template<class T> | |
| T | attribute (const std::string &attributeName, const std::string &option="") |
| Templated method to retrieve an attribute. | |
| template<class T> | |
| bool | setAttribute (const std::string &attributeName, const T &atttibuteValue, const std::string &option="") |
| Templated method to set an attribute. | |
Protected Member Functions | |
| virtual bool | attributeOfType (const std::string &attributeName, void *data, const std::type_info &typeInfo, const std::string &option) override |
| The actual 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 actual 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. | |
| long | m_technology |
| The technology identifier. | |
Container is an implementation of the IContainer interface.
Definition at line 25 of file Container.h.
| pool::PersistencySvc::Container::Container | ( | FileDescriptor & | fileDescriptor, |
| long | technology, | ||
| const std::string & | name ) |
|
virtualdefault |
destructor
|
inlineinherited |
Templated method to retrieve an attribute.
Definition at line 25 of file ITechnologySpecificAttributes.h.
|
overrideprotectedvirtual |
The actual method returning the attribute data given a name.
Implements pool::ITechnologySpecificAttributes.
|
inlinefinaloverridevirtual |
Returns the name of this container.
Implements pool::IContainer.
Definition at line 36 of file Container.h.
|
inlineinherited |
Templated method to set an attribute.
Definition at line 41 of file ITechnologySpecificAttributes.h.
|
overrideprotectedvirtual |
The actual method setting the attribute data given a name.
Implements pool::ITechnologySpecificAttributes.
|
inlinefinaloverridevirtual |
Returns the technology identifier for this container.
Implements pool::IContainer.
Definition at line 39 of file Container.h.
|
inlinefinaloverridevirtual |
Returns the object holding the technology specific attributes for a given technology domain.
Implements pool::IContainer.
Definition at line 47 of file Container.h.
|
inlinefinaloverridevirtual |
|
overridevirtual |
Starts an iteration over the tokens in the container.
Returns a token iterator whose ownership is passed to the user.
Implements pool::IContainer.
|
private |
Reference to file descriptor of the parent database.
Definition at line 70 of file Container.h.
|
private |
The name of the container.
Definition at line 67 of file Container.h.
|
private |
The technology identifier.
Definition at line 73 of file Container.h.