Base class for a buffer. More...
#include <BaseBuffer.h>
Public Types | |
enum | EEndian { kLittle = 0, kBig = 1 } |
enum | EStatus { kGood, kFail, kCorrupt } |
Status for this buffer. More... | |
Public Member Functions | |
BaseBuffer () | |
virtual | ~BaseBuffer () |
Static Public Member Functions | |
static void | Copy (const void *from, void *to, Int_t size) |
copy the content from -> to More... | |
static void | Copy (const void *from, void *to, UInt_t size) |
static void | Delete (Char_t *p) |
static void | Delete (Short_t *p) |
static void | Delete (Int_t *p) |
static void | Delete (UChar_t *p) |
static void | Delete (UShort_t *p) |
static void | Delete (UInt_t *p) |
static void | Delete (Float_t *p) |
static void | Delete (Double_t *p) |
static bool | IsSysEndian (BaseBuffer::EEndian e) |
check out the endian type of the running system More... | |
static Char_t * | New (Char_t *p, Int_t nb=32 *aKByte) |
static Short_t * | New (Short_t *p, Int_t nb=32 *aKByte) |
static Int_t * | New (Int_t *p, Int_t nb=32 *aKByte) |
static UChar_t * | New (UChar_t *p, Int_t nb=32 *aKByte) |
static UShort_t * | New (UShort_t *p, Int_t nb=32 *aKByte) |
static UInt_t * | New (UInt_t *p, Int_t nb=32 *aKByte) |
static Float_t * | New (Float_t *p, Int_t nb=32 *aKByte) |
static Double_t * | New (Double_t *p, Int_t nb=32 *aKByte) |
static Char_t * | New (Char_t *p, UInt_t nb) |
static Short_t * | New (Short_t *p, UInt_t nb) |
static Int_t * | New (Int_t *p, UInt_t nb) |
static UChar_t * | New (UChar_t *p, UInt_t nb) |
static UShort_t * | New (UShort_t *p, UInt_t nb) |
static UInt_t * | New (UInt_t *p, UInt_t nb) |
static Float_t * | New (Float_t *p, UInt_t nb) |
static Double_t * | New (Double_t *p, UInt_t nb) |
static void | Swap (Short_t, Char_t *) |
the Swap members More... | |
static void | Swap (UShort_t, Char_t *) |
static void | Swap (Int_t, Char_t *) |
static void | Swap (UInt_t, Char_t *) |
static void | Swap (Float_t, Char_t *) |
static void | Swap (Double_t, Char_t *) |
static void | Swap (Long64_t, Char_t *) |
static void | Swap (ULong64_t, Char_t *) |
static void | Swap (Long_t, Char_t *) |
static void | Swap (ULong_t, Char_t *) |
static void | Swap (const Char_t *, Short_t &) |
static void | Swap (const Char_t *, UShort_t &) |
static void | Swap (const Char_t *, Int_t &) |
static void | Swap (const Char_t *, UInt_t &) |
static void | Swap (const Char_t *, Float_t &) |
static void | Swap (const Char_t *, Double_t &) |
static void | Swap (const Char_t *, Long64_t &) |
static void | Swap (const Char_t *, ULong64_t &) |
static void | Swap (const Char_t *, Long_t &) |
static void | Swap (const Char_t *, ULong_t &) |
static EEndian | SysEndian () |
static void | Zero (Char_t *p, Int_t nb) |
static void | Zero (Short_t *p, Int_t nb) |
static void | Zero (Int_t *p, Int_t nb) |
static void | Zero (UChar_t *p, Int_t nb) |
static void | Zero (UShort_t *p, Int_t nb) |
static void | Zero (UInt_t *p, Int_t nb) |
static void | Zero (Float_t *p, Int_t nb) |
static void | Zero (Double_t *p, Int_t nb) |
static void | Zero (Char_t *p, UInt_t nb) |
static void | Zero (Short_t *p, UInt_t nb) |
static void | Zero (Int_t *p, UInt_t nb) |
static void | Zero (UChar_t *p, UInt_t nb) |
static void | Zero (UShort_t *p, UInt_t nb) |
static void | Zero (UInt_t *p, UInt_t nb) |
static void | Zero (Float_t *p, UInt_t nb) |
static void | Zero (Double_t *p, UInt_t nb) |
Base class for a buffer.
It defines a set of useful functions to deal with buffers of basic types. It also determined the endian type of the system you are working with. This class is used by Buffer and EndianBuffer to get buffers that can be read whatever their origin as soon as the endian type of the source of data is known.
Definition at line 48 of file BaseBuffer.h.