Go to the documentation of this file.
11 #ifndef GAUDIKERNEL_INTUPLE_H
12 #define GAUDIKERNEL_INTUPLE_H
53 virtual const void*
buffer()
const = 0;
61 virtual long type()
const = 0;
67 virtual long ndim()
const = 0;
69 virtual long dim(
long i )
const = 0;
71 virtual long size()
const = 0;
virtual StatusCode remove(INTupleItem *item)=0
Remove an item row (identified by pointer) from the N tuple.
virtual long type() const =0
Type information of the item.
virtual void reset()=0
Reset column.
virtual const INTupleItem * indexItem() const =0
Pointer to index column (if present, 0 else) (CONST)
virtual const std::string & index() const =0
Access the index _Item.
virtual StatusCode readRecord()=0
Read record of the NTuple.
virtual long length() const =0
Access the buffer length.
virtual StatusCode save()=0
Save the NTuple.
virtual INTupleItem * i_find(const std::string &name) const =0
Internally used by abstract classes.
virtual StatusCode read()=0
Read record of the NTuple (Shortcut of readRecord)
virtual const ItemContainer & items() const =0
Access item container (CONST)
virtual ~INTupleItem()=default
destructor
virtual long ndim() const =0
Dimension.
virtual const std::type_info & typeID() const =0
Compiler type ID.
virtual const INTupleItem * find(const std::string &name) const =0
Find an item row of the Ntuple (CONST)
virtual const char * buffer() const =0
Access data buffer (CONST)
virtual char * setBuffer(char *buff)=0
Attach data buffer.
virtual INTuple * tuple()=0
NTuple the item belongs to.
virtual ItemContainer & items()=0
Access item container.
virtual bool hasIndex() const =0
Is the tuple have an index item?
virtual StatusCode attachSelector(ISelectStatement *sel)=0
Attach selector.
std::vector< INTupleItem * > ItemContainer
virtual StatusCode writeRecord()=0
Write record of the NTuple.
virtual char * buffer()=0
Access data buffer.
virtual StatusCode write()=0
Write record of the NTuple (Shortcut of writeRecord)
virtual const void * buffer() const =0
Access data buffer (CONST)
virtual std::string typeName() const =0
Proper type name of the object.
virtual long filled() const =0
Number of items filled.
virtual StatusCode remove(const std::string &name)=0
Remove an item row (identified by name) from the N tuple.
virtual StatusCode add(INTupleItem *item)=0
Add an item row to the N tuple.
virtual long dim(long i) const =0
Access individual dimensions.
virtual ISelectStatement * selector()=0
Access selector.
virtual ~INTuple()=default
virtual void setType(long typ)=0
Set the properties of the INTupleItem.
virtual long size() const =0
Size of entire object.
virtual const std::string & title() const =0
Object title.
virtual const std::string & name() const =0
Access _Item name.
virtual void reset()=0
Reset all entries to their default values.
virtual void release()=0
Destruct object.
virtual INTupleItem * find(const std::string &name)=0
Find an item row of the Ntuple.
virtual INTupleItem * indexItem()=0
Pointer to index column (if present, 0 else)