39 Key::Key(): fSignature(
"Default",
"",
Version(0,0)), fBuffer(0)
51 out <<
"[" <<
typeid((*this)).name()
virtual const BufferIO * GetRealBuffer() const
virtual Bool_t Link(const Char_t *from, UInt_t from_size)
Link an external buffer to this class.
BufferIO * fBuffer
the buffer that fills in/out the Key
virtual Bool_t Copy(const Char_t *, UInt_t)
Copy an external buffer to this key.
virtual UInt_t GetKeyLength() const
Unique number corresponding to a type of Key.
Base class for version numbers.
const Char_t * GetAddress() const
Pointer to the current underlying array of bytes.
virtual Bool_t Copy(const Char_t *from, UInt_t from_size)
copy an external buffer to this.
static BufferIO * New(BaseBuffer::EEndian e, UInt_t s=aByte)
return the right buffer taking Into account the endian argument compared to the underlying endian sys...
UShort_t GetMinor() const
Version GetVersion() const
virtual Bool_t Link(const Char_t *, UInt_t)
Link an external buffer to this key.
virtual void Print(std::ostream &out=std::cout) const
Print the content of the key.
virtual Bool_t IsAKey(const Key *akey) const
Compares two keys.
UShort_t GetMajor() const