A template class for bit manipulations. More...
Static Public Member Functions | |
static void | copyMem (const T *src, T *dest, const unsigned long count) |
copies specified number of elements from source to destination | |
static void | setMem (T *dest, const T value, const unsigned long count) |
sets specified number of elements in destination memory to defined value | |
static void | zeroMem (T *dest, const unsigned long count) |
sets specified number of elements in destination memory to zero |
A template class for bit manipulations.
This class is used to perform platform independent operations on typed memory areas.
Definition at line 61 of file ofbmanip.h.
static void OFBitmanipTemplate< T >::copyMem | ( | const T * | src, | |
T * | dest, | |||
const unsigned long | count | |||
) | [inline, static] |
copies specified number of elements from source to destination
src | pointer to source memory | |
dest | pointer to destination memory | |
count | number of elements to be copied |
Definition at line 72 of file ofbmanip.h.
static void OFBitmanipTemplate< T >::setMem | ( | T * | dest, | |
const T | value, | |||
const unsigned long | count | |||
) | [inline, static] |
sets specified number of elements in destination memory to defined value
dest | pointer to destination memory | |
value | value to be set | |
count | number of elements to be set |
Definition at line 96 of file ofbmanip.h.
static void OFBitmanipTemplate< T >::zeroMem | ( | T * | dest, | |
const unsigned long | count | |||
) | [inline, static] |
sets specified number of elements in destination memory to zero
dest | pointer to destination memory | |
count | number of elements to be set to zero |
Definition at line 119 of file ofbmanip.h.