#include <Container.h>
Container is an implementation of the IContainer interface
Definition at line 26 of file Container.h.
◆ Container()
◆ ~Container()
pool::PersistencySvc::Container::~Container |
( |
| ) |
|
◆ attribute()
template<class T >
T pool::ITechnologySpecificAttributes::attribute |
( |
const std::string & |
attributeName, |
|
|
const std::string & |
option = "" |
|
) |
| |
|
inlineinherited |
Templated method to retrieve an attribute.
Definition at line 37 of file ITechnologySpecificAttributes.h.
40 const std::type_info& typeInfo =
typeid(
T);
42 static_cast< void*
>( &
data ),
45 std::ostringstream
error;
46 error <<
"Failed to retrieve attribute " << attributeName <<
" of type " << typeInfo.name();
47 throw Exception(
error.str() );
◆ attributeOfType()
virtual bool pool::PersistencySvc::Container::attributeOfType |
( |
const std::string & |
attributeName, |
|
|
void * |
data, |
|
|
const std::type_info & |
typeInfo, |
|
|
const std::string & |
option |
|
) |
| |
|
overrideprotectedvirtual |
◆ name()
const std::string& pool::IContainer::name |
( |
| ) |
const |
|
inherited |
Returns the name of this container.
◆ parentDatabaseName()
virtual const std::string& pool::PersistencySvc::Container::parentDatabaseName |
( |
| ) |
const |
|
overridevirtual |
◆ setAttribute()
template<class T >
bool pool::ITechnologySpecificAttributes::setAttribute |
( |
const std::string & |
attributeName, |
|
|
const T & |
atttibuteValue, |
|
|
const std::string & |
option = "" |
|
) |
| |
|
inlineinherited |
◆ setAttributeOfType()
virtual bool pool::PersistencySvc::Container::setAttributeOfType |
( |
const std::string & |
attributeName, |
|
|
const void * |
data, |
|
|
const std::type_info & |
typeInfo, |
|
|
const std::string & |
option |
|
) |
| |
|
overrideprotectedvirtual |
◆ technology()
virtual long pool::PersistencySvc::Container::technology |
( |
| ) |
const |
|
overridevirtual |
Returns the technology identifier for this container.
Implements pool::IContainer.
◆ technologySpecificAttributes() [1/2]
Returns the object holding the technology specific attributes for a given technology domain.
Implements pool::IContainer.
◆ technologySpecificAttributes() [2/2]
◆ tokens()
virtual ITokenIterator* pool::PersistencySvc::Container::tokens |
( |
const std::string & |
selection | ) |
|
|
overridevirtual |
Starts an iteration over the tokens in the container.
Returns a token iterator whose ownership is passed to the user.
Implements pool::IContainer.
◆ m_fileDescriptor
Reference to file descriptor of the parent database.
Definition at line 69 of file Container.h.
◆ m_name
std::string pool::IContainer::m_name |
|
privateinherited |
The name of the container.
Definition at line 52 of file IContainer.h.
◆ m_storageExplorer
Reference to the storage explorer.
Definition at line 72 of file Container.h.
◆ m_technology
long pool::PersistencySvc::Container::m_technology |
|
private |
The technology identifier.
Definition at line 75 of file Container.h.
The documentation for this class was generated from the following file:
virtual bool setAttributeOfType(const std::string &attributeName, const void *data, const std::type_info &typeInfo, const std::string &option)=0
The actual method setting the attribute data given a name.
virtual bool attributeOfType(const std::string &attributeName, void *data, const std::type_info &typeInfo, const std::string &option)=0
The actual method returning the attribute data given a name.