General interface for a AgataDataFrame. More...
#include <AgataDataFrame.h>
Public Member Functions | |
virtual Bool_t | AddSubFrame (const Frame &) |
Add a subframe to that frame (only if composite) More... | |
virtual void | ClearFrameStatus () |
To clear to kGood the current status of this frame. More... | |
virtual Bool_t | Configure (const char *name, const char *option) |
configuration from/to a file More... | |
virtual Bool_t | Configure (ConfigurationFrame *, const char *option) |
to reconfigure the interface for that frame More... | |
virtual Bool_t | Copy (const Char_t *buf, UInt_t size, const char opt= 'b') |
copy a buffer to this Frame More... | |
virtual Bool_t | Copy (const Frame *) |
copy the content of a Frame into this one More... | |
virtual Data_T * | Data () |
virtual void | DataReset ()=0 |
to reset the data content More... | |
virtual void | Dump (const Char_t *filename, Bool_t anew=false) const |
Dump the content of the frame in a file (for debugging) More... | |
virtual Bool_t | Dump (FILE *) const |
virtual Bool_t | Export (BufferIO &buf) const |
Export the content of the frame in a buffer. More... | |
virtual Bool_t | ExportData (BufferIO &buf) const |
Export the content of the frame (data part only) in a buffer. More... | |
virtual void | FastReset () |
FastReset the current frame, means the data part keep the previous values. More... | |
virtual Short_t | GetCheckLevel () const |
virtual const Data_T * | GetData () const |
virtual BaseBuffer::EStatus | GetFrameStatus () const |
To get the current status of this frame. More... | |
virtual Key * | GetKey () |
To get the Key associated to this frame. More... | |
virtual const Key * | GetKey () const |
To get the Key associated to this frame. More... | |
virtual UInt_t | GetLength () const |
total length for that frame More... | |
virtual UInt_t | GetNbSubFrame () const |
Returns the number of sub-frames composing this frame. Scan have to be called first. More... | |
virtual const BufferIO * | GetRealBuffer () const |
give access to the underlying buffer of the data part More... | |
const FactoryItem & | GetSignature () const |
Signature of that frame. More... | |
virtual const Key * | GetSubKey (UInt_t) const |
Returns one of the sub-key in case this is a composite frame. More... | |
virtual Bool_t | IsASubFrame (const Frame &) |
to check if a subframe could be added to the composite frame More... | |
virtual Bool_t | IsComposite () const |
tells if this frame is a composite frame i.e. if it is composed of sub-frames More... | |
virtual Bool_t | IsLinked () const |
true if the underlying buffers have been linked. More... | |
virtual Bool_t | Link (const BufferIO &, UInt_t, const char= 'b')=0 |
Link a buffer to this Frame. More... | |
virtual Bool_t | Link (const Char_t *buf, UInt_t size, const char opt= 'b') |
Link a buffer to this Frame. More... | |
virtual Bool_t | Link (const BufferIO &buf, UInt_t pos, const Char_t opt= 'b') |
copy a buffer to this Frame More... | |
virtual Bool_t | Link (const Frame *) |
Link a frame into this one. They have to have the same prototype. More... | |
virtual Bool_t | LinkSubFrame (UInt_t, Frame *) |
Attach the sub-frame corresponding to the given subkey to the Frame given in the second argument. More... | |
virtual Bool_t | Load (FILE *) |
load a Frame from a C file (for debugging) - return the number of bytes read More... | |
virtual BufferIO & | RawBuffer () |
This method gives access in reading/writing mode to the underlying data buffer. More... | |
virtual UInt_t | Read () |
It just returns the current size of the buffer. More... | |
virtual void | Reset () |
copy the sub-frame #i to the Frame given in the second argument More... | |
virtual UInt_t | Scan () |
Scan this Frame. If it is a composite frame, it looks for the keys of sub-frames. More... | |
virtual void | SetCheckLevel (Short_t checklevel) |
The number of tests (and the speed !) once writing/reading in Frame increase with this level. More... | |
virtual void | Stallion (UInt_t repetition=4u) |
Fill the frame with a given pattern (used for debugging) More... | |
virtual Bool_t | TransfertSubFrame (const Frame &, UInt_t) |
copy the sub-frame #i to the Frame given in the second argument More... | |
virtual void | Unlink () |
Copy a buffer to this Frame. More... | |
virtual UInt_t | Write () |
It just set the size of the frame from the current position in the buffer. More... | |
virtual | ~AgataDataFrame () |
Protected Member Functions | |
AgataDataFrame (Key *key) | |
virtual Bool_t | CopyFrame (const Char_t *buf, UInt_t size) |
virtual Bool_t | CopyKey (const Char_t *buf, UInt_t size) |
virtual Bool_t | DoConfigure (std::istream &) |
configure this from an input stream More... | |
virtual Bool_t | DoConfigure (std::ostream &) |
write the configuration in an output stream More... | |
virtual Bool_t | LinkFrame (const Char_t *buf, UInt_t size) |
virtual Bool_t | LinkKey (const Char_t *buf, UInt_t size) |
virtual UInt_t | ReadImp ()=0 |
to get from the frame the data content More... | |
virtual BufferIO * | RealBuffer () |
void | SetSignature (FactoryItem item) |
to change the signature of that frame More... | |
virtual UInt_t | WriteImp ()=0 |
to set from the frame the data content More... | |
Protected Attributes | |
BufferIO * | fBuffer |
Key * | fKey |
Friends | |
class | AgataFrameFactory |
General interface for a AgataDataFrame.
Definition at line 39 of file AgataDataFrame.h.