StRoot
1
|
#include <StArchInfo.h>
Public Member Functions | |
StArchInfo () | |
Constructor, initialize variables. | |
~StArchInfo () | |
Destructore - NOOP. | |
Bool_t | isBigEndian () |
Returns true/false if endianess is/ins't Big. | |
Bool_t | isLittleEndian () |
Returns true/false if endianess is/ins't Little. | |
Int_t | Endian () |
Static Public Member Functions | |
template<typename T > | |
static long | align (const T &) |
Returns the number of bytes the type T has to be align to. | |
template<typename T > | |
static int | align () |
This is an overloaded member function, provided for convenience. More... | |
template<typename C , typename T > | |
static int | padding (const T &offset) |
Returns the number of bytes to be added to the offset of the T type to get the C type proper aligned. More... | |
template<typename T , typename C > | |
static int | padding (const T &offset, const C &) |
This is an overloaded member function, provided for convenience. More... | |
Singleton based class providing information on OS information
Definition at line 29 of file StArchInfo.h.
|
inlinestatic |
This is an overloaded member function, provided for convenience.
Returns the number of bytes the type T has to be align to
Definition at line 51 of file StArchInfo.h.
|
inlinestatic |
Returns the number of bytes to be added to the offset of the T type to get the C type proper aligned.
Definition at line 67 of file StArchInfo.h.
|
inlinestatic |
This is an overloaded member function, provided for convenience.
Returns the number of bytes to be added to the offset of the T type to get the C type proper aligned
Definition at line 80 of file StArchInfo.h.