ATLAS Offline Software
Loading...
Searching...
No Matches
pool::IContainer Class Referenceabstract

IContainer is the base class for container objects. More...

#include <PersistencySvc/IContainer.h>

Inheritance diagram for pool::IContainer:
Collaboration diagram for pool::IContainer:

Public Member Functions

virtual ~IContainer ()
 Empty destructor.
const std::string & name () const
 Returns the name of this container.
virtual const std::string & parentDatabaseName () const =0
 Returns the name (fid) of the parent database.
virtual long technology () const =0
 Returns the technology identifier for this container.
virtual ITokenIteratortokens ()=0
 Starts an iteration over the tokens in the container.
virtual const ITechnologySpecificAttributestechnologySpecificAttributes () const =0
 Returns the object holding the technology specific attributes for a given technology domain.
virtual ITechnologySpecificAttributestechnologySpecificAttributes ()=0

Protected Member Functions

 IContainer (const std::string &name)
 Constructor initializing its name.

Private Attributes

std::string m_name
 The name of the container.

Detailed Description

IContainer is the base class for container objects.

Definition at line 23 of file IContainer.h.

Constructor & Destructor Documentation

◆ ~IContainer()

virtual pool::IContainer::~IContainer ( )
inlinevirtual

Empty destructor.

Definition at line 26 of file IContainer.h.

26{}

◆ IContainer()

pool::IContainer::IContainer ( const std::string & name)
explicitprotected

Constructor initializing its name.

Member Function Documentation

◆ name()

const std::string & pool::IContainer::name ( ) const

Returns the name of this container.

◆ parentDatabaseName()

virtual const std::string & pool::IContainer::parentDatabaseName ( ) const
pure virtual

Returns the name (fid) of the parent database.

Implemented in pool::PersistencySvc::Container.

◆ technology()

virtual long pool::IContainer::technology ( ) const
pure virtual

Returns the technology identifier for this container.

Implemented in pool::PersistencySvc::Container.

◆ technologySpecificAttributes() [1/2]

virtual const ITechnologySpecificAttributes & pool::IContainer::technologySpecificAttributes ( ) const
pure virtual

Returns the object holding the technology specific attributes for a given technology domain.

Implemented in pool::PersistencySvc::Container.

◆ technologySpecificAttributes() [2/2]

virtual ITechnologySpecificAttributes & pool::IContainer::technologySpecificAttributes ( )
pure virtual

◆ tokens()

virtual ITokenIterator * pool::IContainer::tokens ( )
pure virtual

Starts an iteration over the tokens in the container.

Returns a token iterator whose ownership is passed to the user.

Implemented in pool::PersistencySvc::Container.

Member Data Documentation

◆ m_name

std::string pool::IContainer::m_name
private

The name of the container.

Definition at line 52 of file IContainer.h.


The documentation for this class was generated from the following file: