Copies data from buffer to variables in a typesafe manner. More...
#include <RegisterSetHelper.h>
Static Public Member Functions | |
static size_t | CopyData (void *pvDestination, size_t nbyDestSize, const void *pvSource, size_t nbySourceSize) |
memcpy firing exceptions | |
template<typename T > | |
static size_t | CopyFromBuffer (T *d, const void *pvDestination, size_t nbyDestSize) |
Typesafe copy from buffer to variable. | |
template<typename T > | |
static size_t | CopyToBuffer (void *pvDestination, size_t nbyDestSize, T *d) |
Typesafe copy from variable to buffer. |
Copies data from buffer to variables in a typesafe manner.
Definition at line 41 of file RegisterSetHelper.h.
static size_t GENAPI_NAMESPACE::CRegisterSetHelper::CopyData | ( | void * | pvDestination, |
size_t | nbyDestSize, | ||
const void * | pvSource, | ||
size_t | nbySourceSize | ||
) | [inline, static] |
memcpy firing exceptions
Definition at line 45 of file RegisterSetHelper.h.
static size_t GENAPI_NAMESPACE::CRegisterSetHelper::CopyFromBuffer | ( | T * | d, |
const void * | pvDestination, | ||
size_t | nbyDestSize | ||
) | [inline, static] |
Typesafe copy from buffer to variable.
Definition at line 76 of file RegisterSetHelper.h.
static size_t GENAPI_NAMESPACE::CRegisterSetHelper::CopyToBuffer | ( | void * | pvDestination, |
size_t | nbyDestSize, | ||
T * | d | ||
) | [inline, static] |
Typesafe copy from variable to buffer.
Definition at line 67 of file RegisterSetHelper.h.