Collection implementation.
More...
#include <RootCollection.h>
Collection implementation.
- Suppoerts a single Token plus meta data attributes
Definition at line 37 of file RootCollection.h.
◆ OpenMode
Enumeration of the possible open modes of the collection.
| Enumerator |
|---|
| CREATE_AND_OVERWRITE | |
| READ | |
Definition at line 27 of file ICollection.h.
OpenMode
Enumeration of the possible open modes of the collection.
◆ RootCollection() [1/2]
Constructor.
- Parameters
-
| description | The description of the collection, including name and connection |
| mode | The open mode of the collection |
| session | If you want to access the referenced objects you have to provide an ISession |
◆ ~RootCollection()
| pool::RootCollection::~RootCollection |
( |
| ) |
|
◆ RootCollection() [2/2]
| pool::RootCollection::RootCollection |
( |
const RootCollection & | | ) |
|
|
privatedelete |
copying unimplemented in this class.
◆ close()
| virtual void pool::RootCollection::close |
( |
| ) |
|
|
finaloverridevirtual |
◆ commit()
| virtual void pool::RootCollection::commit |
( |
bool | restartTransaction = false | ) |
|
|
finaloverridevirtual |
◆ cursor()
◆ description()
Returns an object used to describe the collection properties.
Implements pool::ICollection.
◆ initMessaging()
| void AthMessaging::initMessaging |
( |
| ) |
const |
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 39 of file AthMessaging.cxx.
40{
42
43 if (
m_lvl == MSG::NIL) {
47 }
48}
std::string m_nm
Message source name.
std::atomic< IMessageSvc * > m_imsg
MessageSvc pointer.
std::atomic< MSG::Level > m_lvl
Current logging level.
IMessageSvc * getMessageSvc(bool quiet=false)
◆ initNewRow()
Initialize a new RowBuffer by adding all Attributes adn Tokens of this collection to it.
◆ insertRow()
◆ msg() [1/2]
| MsgStream & AthMessaging::msg |
( |
| ) |
const |
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 167 of file AthMessaging.h.
168{
170 if (!ms) {
174 }
175
178}
boost::thread_specific_ptr< MsgStream > m_msg_tls
MsgStream instance (a std::cout like with print-out levels).
void initMessaging() const
Initialize our message level and MessageSvc.
◆ msg() [2/2]
| MsgStream & AthMessaging::msg |
( |
const MSG::Level | lvl | ) |
const |
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 182 of file AthMessaging.h.
183{
return msg() << lvl; }
MsgStream & msg() const
The standard message stream.
◆ msgLvl()
| bool AthMessaging::msgLvl |
( |
const MSG::Level | lvl | ) |
const |
|
inlineinherited |
Test the output level.
- Parameters
-
| lvl | The message level to test against |
- Returns
- boolean Indicating if messages at given level will be printed
- Return values
-
| true | Messages at level "lvl" will be printed |
Definition at line 151 of file AthMessaging.h.
152{
153
154
156
159 return true;
160 } else {
161 return false;
162 }
163}
◆ open()
| virtual void pool::RootCollection::open |
( |
| ) |
|
|
finaloverridevirtual |
Explicitly re-opens the collection after it has been closed.
Implements pool::ICollection.
◆ operator=()
◆ setLevel()
| void AthMessaging::setLevel |
( |
MSG::Level | lvl | ) |
|
|
inherited |
◆ writeColumn()
| void pool::RootCollection::writeColumn |
( |
const std::string & | columnName, |
|
|
const void * | data, |
|
|
const std::type_info & | typeInfo ) |
|
private |
◆ ATLAS_THREAD_SAFE
| std::atomic_flag m_initialized AthMessaging::ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT |
|
mutableprivateinherited |
Messaging initialized (initMessaging).
Definition at line 141 of file AthMessaging.h.
◆ m_containerMap
◆ m_containerPrefix
| std::string pool::RootCollection::m_containerPrefix |
|
private |
The common prefix for branch container names for attributes.
Definition at line 83 of file RootCollection.h.
◆ m_description
◆ m_fileDescr
◆ m_fileName
| std::string pool::RootCollection::m_fileName |
|
private |
◆ m_imsg
| std::atomic<IMessageSvc*> AthMessaging::m_imsg { nullptr } |
|
mutableprivateinherited |
◆ m_lvl
| std::atomic<MSG::Level> AthMessaging::m_lvl { MSG::NIL } |
|
mutableprivateinherited |
◆ m_mode
◆ m_msg_tls
| boost::thread_specific_ptr<MsgStream> AthMessaging::m_msg_tls |
|
mutableprivateinherited |
MsgStream instance (a std::cout like with print-out levels).
Definition at line 132 of file AthMessaging.h.
◆ m_name
| std::string pool::RootCollection::m_name |
|
private |
◆ m_nm
| std::string AthMessaging::m_nm |
|
privateinherited |
◆ m_open
| bool pool::RootCollection::m_open |
|
private |
◆ m_storageSvc
| std::unique_ptr<IStorageSvc> pool::RootCollection::m_storageSvc |
|
private |
The documentation for this class was generated from the following file: