KaliVeda
1.12/06
Heavy-Ion Analysis Toolkit
|
Public Member Functions | |
Hexa_t () | |
Create hexa number. More... | |
Hexa_t (const Char_t *) | |
Create hexa number from string containing hexa value. More... | |
Hexa_t (const Hexa_t &other) | |
Hexa_t (const Long64_t) | |
Create hexa number corresponding to decimal value "val". More... | |
virtual | ~ Hexa_t () |
operator const char * () const | |
operator Double_t () const | |
operator Float_t () const | |
operator Int_t () const | |
convertors More... | |
operator Long64_t () const | |
Hexa_t | operator+ (const Char_t *c1) |
Addition of two Hexa numbers. More... | |
Hexa_t | operator+ (const Hexa_t &b1) |
Addition of two Hexa numbers. More... | |
Hexa_t | operator+ (const Long64_t l1) |
Hexa_t operator+(const Binary_t& b1);. More... | |
Hexa_t & | operator= (const Char_t *) |
Assign a Hexa value (as a string) to the Hexa number. More... | |
Hexa_t & | operator= (const Hexa_t &) |
Hexa_t& operator=(const Binary_t&);. More... | |
Hexa_t & | operator= (const Long64_t) |
Assign a decimal value to the Hexa number. More... | |
void | ResetBit (UChar_t) |
void | Set (const Char_t *) |
void | Set (const Long64_t) |
Set number corresponding to decimal value "val". More... | |
void | SetBit (UChar_t, Long64_t=-1) |
const Char_t * | String (UChar_t nbits=0) const |
Bool_t | TestBit (UChar_t) |
Long64_t | Value () const |
Get decimal value of number. More... | |
Static Public Member Functions | |
static const Char_t * | GetPrefix () |
static void | SetPrefix (const Char_t *pref) |
_________________________________________// More... | |
Private Attributes | |
Long64_t | fVal |
Static Private Attributes | |
static TString | fPrefix = "0x" |
the prefix used to represent hexadecimal numbers as strings More... | |
#include <Hexa_t.h>
Hexa_t::Hexa_t | ( | ) |
Create hexa number.
Definition at line 14 of file Hexa_t.cpp.
Hexa_t::Hexa_t | ( | const Long64_t | val | ) |
Create hexa number corresponding to decimal value "val".
Definition at line 25 of file Hexa_t.cpp.
Hexa_t::Hexa_t | ( | const Char_t * | val | ) |
Create hexa number from string containing hexa value.
Definition at line 36 of file Hexa_t.cpp.
Addition of two Hexa numbers.
Definition at line 185 of file Hexa_t.cpp.
Addition of two Hexa numbers.
Definition at line 157 of file Hexa_t.cpp.
Hexa_t operator+(const Binary_t& b1);.
Addition of two Hexa numbers.
Definition at line 174 of file Hexa_t.cpp.
Assign a Hexa value (as a string) to the Hexa number.
Definition at line 125 of file Hexa_t.cpp.
Hexa_t& operator=(const Binary_t&);.
Assign a hexadecimal value to the Hexa number.
Definition at line 144 of file Hexa_t.cpp.
Assign a decimal value to the Hexa number.
Definition at line 113 of file Hexa_t.cpp.
Set bit 'nbit' to 0 The least significant bit is numbered 0.
Definition at line 298 of file Hexa_t.cpp.
Set value from string containing hexa number Can be written in lower or upper case. Acceptable formats are "a0D4", "0xff21" and "$f5"
Definition at line 71 of file Hexa_t.cpp.
Set number corresponding to decimal value "val".
Definition at line 47 of file Hexa_t.cpp.
Set bit 'nbit' to 1 The least significant bit is numbered 0. If "val" is given, bit 'nbit' is set to the same value as the equivalent bit in 'val'
Definition at line 276 of file Hexa_t.cpp.
Return pointer to string containing hexadecimal representation of number This string should be copied immediately before further use. The prefix used to represent hexadecimal numbers is "0x" by default. This can be changed using SetPrefix. use Form's circular Char_t buffer to return pointer
Definition at line 97 of file Hexa_t.cpp.
Returns kTRUE if bit is equal to '1' The least significant bit is numbered 0.
Definition at line 312 of file Hexa_t.cpp.
Long64_t Hexa_t::Value | ( | ) | const |
Get decimal value of number.
Definition at line 58 of file Hexa_t.cpp.
|
staticprivate |