Go to the documentation of this file.
28 #ifndef CASA_CONVERSION_H
29 #define CASA_CONVERSION_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/casa/string.h>
115 static size_t boolToBit (
void* to,
const void* from,
117 static void boolToBit (
void* to,
const void* from,
126 static size_t bitToBool (
void* to,
const void* from,
128 static void bitToBool (
void* to,
const void* from,
138 static size_t valueCopy (
void* to,
const void* from,
147 static size_t bitToBool_ (
void* to,
const void* from,
A class with general conversion definitions.
static size_t bitToBool_(void *to, const void *from, size_t nvalues)
Copy bits to Bool in an unoptimized way needed when 'to' is not aligned properly.
void * ByteFunction(void *to, const void *from, size_t nbytes)
Define the signature of a function converting from one format to another providing the number of byte...
static size_t bitToBool(void *to, const void *from, size_t nvalues)
Convert a stream of Bools to output format (as bits).
this file contains all the compiler specific defines
static size_t boolToBit(void *to, const void *from, size_t nvalues)
Convert a stream of Bools to output format (as bits).
size_t ValueFunction(void *to, const void *from, size_t nvalues)
Define the signature of a function converting nvalues values from internal to external format or vice...
static size_t valueCopy(void *to, const void *from, size_t nbytes)
Copy a value using memcpy.
static ByteFunction * getmemcpy()
Get a pointer to the memcpy function.