23 #ifndef ADF_CompositeFrame
24 #define ADF_CompositeFrame
96 virtual UInt_t
Scan();
100 Key *key = fCurrentKeys.At(which);
110 {
return fCurrentKeys.GetSize(); }
virtual const Key * GetSubKey(UInt_t which) const
to get one of the key composing the buffer. if out of range, return the main key
virtual void Reset()
Reset the current frame.
virtual Bool_t IsASubFrame(const Frame &)
to check if a subframe could be added to the composite frame
Key * fSubKeyConst
ConstKey remains unchanged (unlinked) to be sure the comparison IsAKey is always good.
virtual UInt_t Write()
It writes to the Frame the content of the dedicated structures.
virtual Bool_t AddSubFrame(const Frame &)
Add a subframe to that frame (only if composite)
header file for Frame.cpp
virtual void Reset()
copy the sub-frame #i to the Frame given in the second argument
Base class for a CompositeFrame.
virtual UInt_t Scan()
Scan this CompositeFrame. If it is a composite frame, it looks for the keys of sub-frames.
Key * NewSubKey()
to get a new subkey
virtual Bool_t LinkSubFrame(UInt_t, Frame *)
Attach the sub-frame corresponding to the given subkey to the Frame given in the second argument...
virtual Bool_t TransfertSubFrame(const Frame &from, UInt_t whichsub)
copy the sub-frame #i to the CompositeFrame given in the second argument
virtual ~CompositeFrame()
Key * fSubKey
Key used to scan the main frame (link to parts of the main frame)
virtual void FastReset()
FastReset the current frame, means the data part keep the previous values.
virtual void FastReset()
FastReset the current frame, means the data part keep the previous values.
virtual Bool_t IsComposite() const
tells if this frame is a composite frame i.e. if it is composed of sub-frames
virtual UInt_t GetNbSubFrame() const
Returns the number of sub-frames composing this frame. Scan have to be called first.
virtual UInt_t Read()
Reads from the CompositeFrame the content into dedicated structures.
Base class that described an item in a Factory.