ATLAS Offline Software
Loading...
Searching...
No Matches
Container.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef INCLUDE_PERSISTENCYSVC_CONTAINER_H
6#define INCLUDE_PERSISTENCYSVC_CONTAINER_H
7
8// includes
11
12namespace pool {
13
14 // forward declarations
15 class FileDescriptor;
16
17 namespace PersistencySvc {
18
24
25 class Container : virtual public IContainer,
26 virtual public ITechnologySpecificAttributes {
27 public:
28 Container( FileDescriptor& fileDescriptor,
29 long technology,
30 const std::string& name );
31
34
36 virtual long technology() const override;
37
41 virtual ITokenIterator* tokens() override;
42
46
47 protected:
49 virtual
50 bool attributeOfType( const std::string& attributeName,
51 void* data,
52 const std::type_info& typeInfo,
53 const std::string& option ) override;
54
56 virtual
57 bool setAttributeOfType( const std::string& attributeName,
58 const void* data,
59 const std::type_info& typeInfo,
60 const std::string& option ) override;
61
62 private:
65
68 };
69 }
70}
71
72#endif
char data[hepevt_bytes_allocation_ATLAS]
Definition HepEvt.cxx:11
IContainer(const std::string &name)
Constructor initializing its name.
const std::string & name() const
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.
Container(FileDescriptor &fileDescriptor, long technology, const std::string &name)
FileDescriptor & m_fileDescriptor
Reference to file descriptor of the parent database.
Definition Container.h:64
virtual long technology() const override
Returns the technology identifier for 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 actual method returning the attribute data given a name.
virtual ITechnologySpecificAttributes & technologySpecificAttributes() override
long m_technology
The technology identifier.
Definition Container.h:67
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.
virtual const ITechnologySpecificAttributes & technologySpecificAttributes() const override
Returns the object holding the technology specific attributes for a given technology domain.
A concrete implementation of the IPersistencySvc interface.
pool namespace
Definition libname.h:15