25 #define ADF_KEY_H ADF_Key
31 #ifndef ADF_FactoryItem
92 void SetDataLength(Int_t)
94 void SetDataLength(Short_t)
116 {
return fSignature; }
149 virtual Bool_t
Link(
const Char_t *, UInt_t);
164 virtual Bool_t
Copy(
const Char_t *, UInt_t);
179 virtual Bool_t
Copy(
const Key *);
237 virtual void Print(std::ostream &out = std::cout)
const;
virtual const BufferIO * GetRealBuffer() const
void SetStatus(BufferIO::EStatus s=BaseBuffer::kGood)
BufferIO::EStatus GetStatus() const
header file for FactoryItem.cpp
BufferIO * fBuffer
the buffer that fills in/out the Key
const FactoryItem & GetSignature() const
virtual Bool_t IsLinked() const
virtual BufferIO * RealBuffer()
Used by specific methods.
virtual Bool_t Copy(const Char_t *, UInt_t)
Copy an external buffer to this key.
virtual UInt_t GetDataLength() const
virtual Bool_t IsLinked()
check if this is linked or not
virtual Char_t * Unlink()
Unlink the external buffer to this class.
virtual BaseBuffer::EStatus GetKeyStatus() const
virtual BaseBuffer::EEndian GetEndian() const
UInt_t Size() const
it returns the maximum number of bytes in this buffer
virtual UInt_t GetKeyLength() const
Unique number corresponding to a type of Key.
Base class for version numbers.
header file for BufferIO.cpp
const Char_t * GetAddress() const
Pointer to the current underlying array of bytes.
virtual const Char_t * GetAddress() const
virtual void ClearKeyStatus()
virtual Bool_t Export(BufferIO &buf) const
to copy the content of the key to an external buffer
Version GetVersion() const
virtual Bool_t Link(const Char_t *, UInt_t)
Link an external buffer to this key.
Version GetVersion() const
virtual Bool_t Convert(const Key *akey)
convert a key to another key ... not an easy task ... use it carefully
BaseBuffer::EEndian GetEndian() const
virtual void Unlink()
Unlink the buffer attached to this key.
virtual void SetDataLength(UShort_t)
virtual void SetDataLength(UInt_t)
UInt_t Import(const Char_t *from, UInt_t size_ext_buf)
Import the given array in this buffer.
virtual void Print(std::ostream &out=std::cout) const
Print the content of the key.
EStatus
Status for this buffer.
virtual Bool_t IsAKey(const Key *akey) const
Compares two keys.
virtual UInt_t GetFrameLength() const
Base class that described an item in a Factory.