Go to the documentation of this file.
24 #define GAUDI_NTUPLEIMP_CPP 1
40 for (
auto& i :
m_items ) i->release();
54 for (
auto& i :
m_items ) i->reset();
60 [&]( ItemContainer::const_reference
j ) {
return j->name() ==
name; } );
std::unique_ptr< char[]> m_buffer
Buffer.
virtual StatusCode readRecord(NTuple::Tuple *tuple)=0
Read single record from N tuple.
const std::string & name() const
Retreive DataObject name. It is the name when registered in the store.
StatusCode attachSelector(ISelectStatement *sel) override
Attach selector.
TupleImp(const TupleImp &)=delete
Standard Copy Constructor.
virtual StatusCode save(const std::string &fullPath)=0
Save N tuple to disk.
StatusCode remove(INTupleItem *item) override
Remove an item row (identified by pointer) from the N tuple.
StatusCode add(INTupleItem *item) override
Add an item row to the N tuple.
StatusCode item(const std::string &name, Item< TYPE > &result)
Locate a scalar Item of data to the N tuple type safe.
ISelectStatement * selector() override
Access selector.
INTupleSvc * m_ntupleSvc
Reference to N-tuple service used.
virtual StatusCode writeRecord(NTuple::Tuple *tuple)=0
Write single record to N tuple.
StatusCode write() override
Write record of the NTuple (Shortcut of writeRecord)
~TupleImp() override
Standard Destructor.
StatusCode save() override
Save the NTuple.
StatusCode read() override
Read record of the NTuple (Shortcut of readRecord)
virtual char * setBuffer(std::unique_ptr< char[]> &&buff)
Set N tuple data buffer.
SmartIF< ISelectStatement > m_pSelector
Possibly hanging selector.
StatusCode readRecord() override
Read record of the NTuple.
constexpr static const auto SUCCESS
TYPE * get() const
Get interface pointer.
StatusCode writeRecord() override
Write record of the NTuple.
void reset() override
Reset all entries to their default values.
constexpr static const auto FAILURE
ItemContainer m_items
Container with N tuple _Columns.
INTupleItem * i_find(const std::string &name) const override
Internally used by abstract classes.