|
casacore
|
LDOUBLE is 8 bytes on SUN, but 16 bytes canonical. More...
#include <CanonicalConversion.h>
Static Public Member Functions | |
| static size_t | toLocal (char &to, const void *from) |
| Convert one value from canonical format to local format. | |
| static size_t | toLocal (unsigned char &to, const void *from) |
| static size_t | toLocal (short &to, const void *from) |
| static size_t | toLocal (unsigned short &to, const void *from) |
| static size_t | toLocal (int &to, const void *from) |
| static size_t | toLocal (unsigned int &to, const void *from) |
| static size_t | toLocal (Int64 &to, const void *from) |
| static size_t | toLocal (uInt64 &to, const void *from) |
| static size_t | toLocal (float &to, const void *from) |
| static size_t | toLocal (double &to, const void *from) |
| static size_t | fromLocal (void *to, const char &from) |
| Convert one value from local format to canonical format. | |
| static size_t | fromLocal (void *to, const unsigned char &from) |
| static size_t | fromLocal (void *to, const short &from) |
| static size_t | fromLocal (void *to, const unsigned short &from) |
| static size_t | fromLocal (void *to, const int &from) |
| static size_t | fromLocal (void *to, const unsigned int &from) |
| static size_t | fromLocal (void *to, const Int64 &from) |
| static size_t | fromLocal (void *to, const uInt64 &from) |
| static size_t | fromLocal (void *to, const float &from) |
| static size_t | fromLocal (void *to, const double &from) |
| static size_t | toLocal (char *to, const void *from, size_t nr) |
| Convert nr values from canonical format to local format. | |
| static size_t | toLocal (unsigned char *to, const void *from, size_t nr) |
| static size_t | toLocal (short *to, const void *from, size_t nr) |
| static size_t | toLocal (unsigned short *to, const void *from, size_t nr) |
| static size_t | toLocal (int *to, const void *from, size_t nr) |
| static size_t | toLocal (unsigned int *to, const void *from, size_t nr) |
| static size_t | toLocal (Int64 *to, const void *from, size_t nr) |
| static size_t | toLocal (uInt64 *to, const void *from, size_t nr) |
| static size_t | toLocal (float *to, const void *from, size_t nr) |
| static size_t | toLocal (double *to, const void *from, size_t nr) |
| static size_t | fromLocal (void *to, const char *from, size_t nr) |
| Convert nr values from local format to canonical format. | |
| static size_t | fromLocal (void *to, const unsigned char *from, size_t nr) |
| static size_t | fromLocal (void *to, const short *from, size_t nr) |
| static size_t | fromLocal (void *to, const unsigned short *from, size_t nr) |
| static size_t | fromLocal (void *to, const int *from, size_t nr) |
| static size_t | fromLocal (void *to, const unsigned int *from, size_t nr) |
| static size_t | fromLocal (void *to, const Int64 *from, size_t nr) |
| static size_t | fromLocal (void *to, const uInt64 *from, size_t nr) |
| static size_t | fromLocal (void *to, const float *from, size_t nr) |
| static size_t | fromLocal (void *to, const double *from, size_t nr) |
| static size_t | toLocalChar (void *to, const void *from, size_t nr) |
| Convert nr values from canonical format to local format. | |
| static size_t | toLocalUChar (void *to, const void *from, size_t nr) |
| static size_t | toLocalShort (void *to, const void *from, size_t nr) |
| static size_t | toLocalUShort (void *to, const void *from, size_t nr) |
| static size_t | toLocalInt (void *to, const void *from, size_t nr) |
| static size_t | toLocalUInt (void *to, const void *from, size_t nr) |
| static size_t | toLocalInt64 (void *to, const void *from, size_t nr) |
| static size_t | toLocalUInt64 (void *to, const void *from, size_t nr) |
| static size_t | toLocalFloat (void *to, const void *from, size_t nr) |
| static size_t | toLocalDouble (void *to, const void *from, size_t nr) |
| static size_t | fromLocalChar (void *to, const void *from, size_t nr) |
| Convert nr values from local format to canonical format. | |
| static size_t | fromLocalUChar (void *to, const void *from, size_t nr) |
| static size_t | fromLocalShort (void *to, const void *from, size_t nr) |
| static size_t | fromLocalUShort (void *to, const void *from, size_t nr) |
| static size_t | fromLocalInt (void *to, const void *from, size_t nr) |
| static size_t | fromLocalUInt (void *to, const void *from, size_t nr) |
| static size_t | fromLocalInt64 (void *to, const void *from, size_t nr) |
| static size_t | fromLocalUInt64 (void *to, const void *from, size_t nr) |
| static size_t | fromLocalFloat (void *to, const void *from, size_t nr) |
| static size_t | fromLocalDouble (void *to, const void *from, size_t nr) |
| static void * | byteToLocalChar (void *to, const void *from, size_t nrbytes) |
| Convert values from canonical format to local format. | |
| static void * | byteToLocalUChar (void *to, const void *from, size_t nrbytes) |
| static void * | byteToLocalShort (void *to, const void *from, size_t nrbytes) |
| static void * | byteToLocalUShort (void *to, const void *from, size_t nrbytes) |
| static void * | byteToLocalInt (void *to, const void *from, size_t nrbytes) |
| static void * | byteToLocalUInt (void *to, const void *from, size_t nrbytes) |
| static void * | byteToLocalInt64 (void *to, const void *from, size_t nrbytes) |
| static void * | byteToLocalUInt64 (void *to, const void *from, size_t nrbytes) |
| static void * | byteToLocalFloat (void *to, const void *from, size_t nrbytes) |
| static void * | byteToLocalDouble (void *to, const void *from, size_t nrbytes) |
| static void * | byteFromLocalChar (void *to, const void *from, size_t nrbytes) |
| Convert values from local format to canonical format. | |
| static void * | byteFromLocalUChar (void *to, const void *from, size_t nrbytes) |
| static void * | byteFromLocalShort (void *to, const void *from, size_t nrbytes) |
| static void * | byteFromLocalUShort (void *to, const void *from, size_t nrbytes) |
| static void * | byteFromLocalInt (void *to, const void *from, size_t nrbytes) |
| static void * | byteFromLocalUInt (void *to, const void *from, size_t nrbytes) |
| static void * | byteFromLocalInt64 (void *to, const void *from, size_t nrbytes) |
| static void * | byteFromLocalUInt64 (void *to, const void *from, size_t nrbytes) |
| static void * | byteFromLocalFloat (void *to, const void *from, size_t nrbytes) |
| static void * | byteFromLocalDouble (void *to, const void *from, size_t nrbytes) |
| static Conversion::ValueFunction * | getToLocal (const char *) |
| Get the value conversion function for the given type. | |
| static Conversion::ValueFunction * | getToLocal (const unsigned char *) |
| static Conversion::ValueFunction * | getToLocal (const short *) |
| static Conversion::ValueFunction * | getToLocal (const unsigned short *) |
| static Conversion::ValueFunction * | getToLocal (const int *) |
| static Conversion::ValueFunction * | getToLocal (const unsigned int *) |
| static Conversion::ValueFunction * | getToLocal (const Int64 *) |
| static Conversion::ValueFunction * | getToLocal (const uInt64 *) |
| static Conversion::ValueFunction * | getToLocal (const float *) |
| static Conversion::ValueFunction * | getToLocal (const double *) |
| static Conversion::ValueFunction * | getFromLocal (const char *) |
| static Conversion::ValueFunction * | getFromLocal (const unsigned char *) |
| static Conversion::ValueFunction * | getFromLocal (const short *) |
| static Conversion::ValueFunction * | getFromLocal (const unsigned short *) |
| static Conversion::ValueFunction * | getFromLocal (const int *) |
| static Conversion::ValueFunction * | getFromLocal (const unsigned int *) |
| static Conversion::ValueFunction * | getFromLocal (const Int64 *) |
| static Conversion::ValueFunction * | getFromLocal (const uInt64 *) |
| static Conversion::ValueFunction * | getFromLocal (const float *) |
| static Conversion::ValueFunction * | getFromLocal (const double *) |
| static Conversion::ByteFunction * | getByteToLocal (const char *) |
| Get the byte conversion function for the given type. | |
| static Conversion::ByteFunction * | getByteToLocal (const unsigned char *) |
| static Conversion::ByteFunction * | getByteToLocal (const short *) |
| static Conversion::ByteFunction * | getByteToLocal (const unsigned short *) |
| static Conversion::ByteFunction * | getByteToLocal (const int *) |
| static Conversion::ByteFunction * | getByteToLocal (const unsigned int *) |
| static Conversion::ByteFunction * | getByteToLocal (const Int64 *) |
| static Conversion::ByteFunction * | getByteToLocal (const uInt64 *) |
| static Conversion::ByteFunction * | getByteToLocal (const float *) |
| static Conversion::ByteFunction * | getByteToLocal (const double *) |
| static Conversion::ByteFunction * | getByteFromLocal (const char *) |
| static Conversion::ByteFunction * | getByteFromLocal (const unsigned char *) |
| static Conversion::ByteFunction * | getByteFromLocal (const short *) |
| static Conversion::ByteFunction * | getByteFromLocal (const unsigned short *) |
| static Conversion::ByteFunction * | getByteFromLocal (const int *) |
| static Conversion::ByteFunction * | getByteFromLocal (const unsigned int *) |
| static Conversion::ByteFunction * | getByteFromLocal (const Int64 *) |
| static Conversion::ByteFunction * | getByteFromLocal (const uInt64 *) |
| static Conversion::ByteFunction * | getByteFromLocal (const float *) |
| static Conversion::ByteFunction * | getByteFromLocal (const double *) |
| static unsigned int | canonicalSize (const char *) |
| Return the canonical length for the various data types. | |
| static unsigned int | canonicalSize (const unsigned char *) |
| static unsigned int | canonicalSize (const short *) |
| static unsigned int | canonicalSize (const unsigned short *) |
| static unsigned int | canonicalSize (const int *) |
| static unsigned int | canonicalSize (const unsigned int *) |
| static unsigned int | canonicalSize (const Int64 *) |
| static unsigned int | canonicalSize (const uInt64 *) |
| static unsigned int | canonicalSize (const float *) |
| static unsigned int | canonicalSize (const double *) |
| static void | reverse2 (void *to, const void *from) |
| Reverse 2 bytes. | |
| static void | reverse4 (void *to, const void *from) |
| Reverse 4 bytes. | |
| static void | reverse8 (void *to, const void *from) |
| Reverse 8 bytes. | |
| static void | move2 (void *to, const void *from) |
| Move 2 bytes. | |
| static void | move4 (void *to, const void *from) |
| Move 4 bytes. | |
| static void | move8 (void *to, const void *from) |
| Move 8 bytes. | |
Private Member Functions | |
| CanonicalConversion () | |
| This class should not be constructed (so declare the constructor private). | |
LDOUBLE is 8 bytes on SUN, but 16 bytes canonical.
A class with static functions to convert canonical format
Public interface
This class consists of several static functions to convert data from local (=native) format to a canonical format. The canonical length of each data type is:
- Bool: 1 bit
- char: 1 byte
- short: 2 bytes
- int: 4 bytes
- Int64: 8 bytes
- float: 4 bytes
- double: 8 bytes
The canonical format is big-endian IEEE format, so on many machines the conversion is only a copy operation. On Alpha- or Intel-based machines, however, it involves a byte swap to convert from little endian to big endian.
The class also contains conversion functions making it possible to specify the number of bytes (in local format) instead of the number of values. These functions are included to make it possible to have the same signature as memcpy.
The current implementation of this class works on big- and little-endian machines using IEEE format. When using on other machines (e.g. VAX) the toLocal and fromLocal functions have to be changed.
Note that no functions are provided to handle Bools. Instead class Conversion provides functions to convert Bools to/from bits.
Casacore data will often be stored in a canonical format. To read these data conversion functions are needed. However, these functions do not use any other Casacore classes, so they can easily be used in any other software system.
Definition at line 154 of file CanonicalConversion.h.
|
private |
This class should not be constructed (so declare the constructor private).
|
static |
Convert values from local format to canonical format.
The from and to buffer should not overlap. The number of values involved is determined from the argument nrbytes, which gives the number of bytes in local format. The signature of this function is the same as memcpy, so that memcpy can directly be used if no conversion is needed.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Convert values from canonical format to local format.
The from and to buffer should not overlap. The number of values involved is determined from the argument nrbytes, which gives the number of bytes in local format. The signature of this function is the same as memcpy, so that memcpy can directly be used if no conversion is needed.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
inlinestatic |
Return the canonical length for the various data types.
Definition at line 734 of file CanonicalConversion.h.
References SIZE_CAN_CHAR.
|
inlinestatic |
Definition at line 749 of file CanonicalConversion.h.
References SIZE_CAN_DOUBLE.
|
inlinestatic |
Definition at line 748 of file CanonicalConversion.h.
References SIZE_CAN_FLOAT.
|
inlinestatic |
Definition at line 742 of file CanonicalConversion.h.
References SIZE_CAN_INT.
|
inlinestatic |
Definition at line 746 of file CanonicalConversion.h.
References SIZE_CAN_INT64.
|
inlinestatic |
Definition at line 738 of file CanonicalConversion.h.
References SIZE_CAN_SHORT.
|
inlinestatic |
Definition at line 747 of file CanonicalConversion.h.
References SIZE_CAN_UINT64.
|
inlinestatic |
Definition at line 735 of file CanonicalConversion.h.
References SIZE_CAN_UCHAR.
|
inlinestatic |
Definition at line 743 of file CanonicalConversion.h.
References SIZE_CAN_UINT.
|
inlinestatic |
Definition at line 739 of file CanonicalConversion.h.
References SIZE_CAN_USHORT.
|
inlinestatic |
Convert one value from local format to canonical format.
The from and to buffer should not overlap.
Definition at line 531 of file CanonicalConversion.h.
References SIZE_CAN_CHAR.
Referenced by casacore::IBMConversion::fromLocal(), casacore::IBMConversion::fromLocal(), casacore::IBMConversion::fromLocal(), casacore::IBMConversion::fromLocal(), casacore::IBMConversion::fromLocal(), casacore::IBMConversion::fromLocal(), casacore::IBMConversion::fromLocal(), casacore::IBMConversion::fromLocal(), casacore::IBMConversion::fromLocal(), casacore::IBMConversion::fromLocal(), casacore::ModcompConversion::fromLocal(), casacore::ModcompConversion::fromLocal(), casacore::ModcompConversion::fromLocal(), casacore::ModcompConversion::fromLocal(), casacore::ModcompConversion::fromLocal(), casacore::ModcompConversion::fromLocal(), casacore::ModcompConversion::fromLocal(), and casacore::ModcompConversion::fromLocal().
|
inlinestatic |
Convert nr values from local format to canonical format.
The from and to buffer should not overlap.
Definition at line 643 of file CanonicalConversion.h.
References fromLocalChar().
|
inlinestatic |
Definition at line 603 of file CanonicalConversion.h.
References move8(), reverse8(), and SIZE_CAN_FLOAT.
|
inlinestatic |
Definition at line 670 of file CanonicalConversion.h.
References fromLocalDouble().
|
inlinestatic |
Definition at line 594 of file CanonicalConversion.h.
References move4(), reverse4(), and SIZE_CAN_FLOAT.
|
inlinestatic |
Definition at line 667 of file CanonicalConversion.h.
References fromLocalFloat().
|
inlinestatic |
Definition at line 558 of file CanonicalConversion.h.
References move4(), reverse4(), and SIZE_CAN_INT.
|
inlinestatic |
Definition at line 655 of file CanonicalConversion.h.
References fromLocalInt().
|
inlinestatic |
Definition at line 576 of file CanonicalConversion.h.
References move8(), reverse8(), and SIZE_CAN_INT64.
|
inlinestatic |
Definition at line 661 of file CanonicalConversion.h.
References fromLocalInt64().
|
inlinestatic |
Definition at line 540 of file CanonicalConversion.h.
References move2(), reverse2(), and SIZE_CAN_SHORT.
|
inlinestatic |
Definition at line 649 of file CanonicalConversion.h.
References fromLocalShort().
|
inlinestatic |
Definition at line 585 of file CanonicalConversion.h.
References move8(), reverse8(), and SIZE_CAN_UINT64.
|
inlinestatic |
Definition at line 664 of file CanonicalConversion.h.
References fromLocalUInt64().
|
inlinestatic |
Definition at line 535 of file CanonicalConversion.h.
References SIZE_CAN_UCHAR.
|
inlinestatic |
Definition at line 646 of file CanonicalConversion.h.
References fromLocalUChar().
|
inlinestatic |
Definition at line 567 of file CanonicalConversion.h.
References move4(), reverse4(), and SIZE_CAN_UINT.
|
inlinestatic |
Definition at line 658 of file CanonicalConversion.h.
References fromLocalUInt().
|
inlinestatic |
Definition at line 549 of file CanonicalConversion.h.
References move2(), reverse2(), and SIZE_CAN_USHORT.
|
inlinestatic |
Definition at line 652 of file CanonicalConversion.h.
References fromLocalUShort().
|
static |
Convert nr values from local format to canonical format.
The from and to buffer should not overlap.
Referenced by fromLocal(), casacore::ModcompConversion::fromLocal(), and getFromLocal().
|
static |
Referenced by fromLocal(), and getFromLocal().
|
static |
Referenced by fromLocal(), and getFromLocal().
|
static |
Referenced by fromLocal(), casacore::ModcompConversion::fromLocal(), and getFromLocal().
|
static |
Referenced by fromLocal(), and getFromLocal().
|
static |
Referenced by fromLocal(), casacore::ModcompConversion::fromLocal(), and getFromLocal().
|
static |
Referenced by fromLocal(), casacore::ModcompConversion::fromLocal(), and getFromLocal().
|
static |
Referenced by fromLocal(), casacore::ModcompConversion::fromLocal(), and getFromLocal().
|
static |
Referenced by fromLocal(), and getFromLocal().
|
static |
Referenced by fromLocal(), casacore::ModcompConversion::fromLocal(), and getFromLocal().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Get the byte conversion function for the given type.
The function memcpy is returned when a conversion is not needed.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
inlinestatic |
Definition at line 703 of file CanonicalConversion.h.
References fromLocalChar().
|
inlinestatic |
Definition at line 730 of file CanonicalConversion.h.
References fromLocalDouble().
|
inlinestatic |
Definition at line 727 of file CanonicalConversion.h.
References fromLocalFloat().
|
inlinestatic |
Definition at line 715 of file CanonicalConversion.h.
References fromLocalInt().
|
inlinestatic |
Definition at line 721 of file CanonicalConversion.h.
References fromLocalInt64().
|
inlinestatic |
Definition at line 709 of file CanonicalConversion.h.
References fromLocalShort().
|
inlinestatic |
Definition at line 724 of file CanonicalConversion.h.
References fromLocalUInt64().
|
inlinestatic |
Definition at line 706 of file CanonicalConversion.h.
References fromLocalUChar().
|
inlinestatic |
Definition at line 718 of file CanonicalConversion.h.
References fromLocalUInt().
|
inlinestatic |
Definition at line 712 of file CanonicalConversion.h.
References fromLocalUShort().
|
inlinestatic |
Get the value conversion function for the given type.
Definition at line 674 of file CanonicalConversion.h.
References toLocalChar().
|
inlinestatic |
Definition at line 699 of file CanonicalConversion.h.
References toLocalDouble().
|
inlinestatic |
Definition at line 696 of file CanonicalConversion.h.
References toLocalFloat().
|
inlinestatic |
Definition at line 686 of file CanonicalConversion.h.
References toLocalInt().
|
inlinestatic |
Definition at line 690 of file CanonicalConversion.h.
References toLocalInt64().
|
inlinestatic |
Definition at line 680 of file CanonicalConversion.h.
References toLocalShort().
|
inlinestatic |
Definition at line 693 of file CanonicalConversion.h.
References toLocalUInt64().
|
inlinestatic |
Definition at line 677 of file CanonicalConversion.h.
References toLocalUChar().
|
inlinestatic |
Definition at line 687 of file CanonicalConversion.h.
References toLocalUInt().
|
inlinestatic |
Definition at line 683 of file CanonicalConversion.h.
References toLocalUShort().
|
inlinestatic |
Move 2 bytes.
Definition at line 406 of file CanonicalConversion.h.
Referenced by fromLocal(), fromLocal(), casacore::LittleEndianConversion::fromLocal(), casacore::LittleEndianConversion::fromLocal(), toLocal(), toLocal(), casacore::LittleEndianConversion::toLocal(), and casacore::LittleEndianConversion::toLocal().
|
inlinestatic |
Move 4 bytes.
Definition at line 408 of file CanonicalConversion.h.
Referenced by fromLocal(), fromLocal(), fromLocal(), casacore::IBMConversion::fromLocal(), casacore::IBMConversion::fromLocal(), casacore::LittleEndianConversion::fromLocal(), casacore::LittleEndianConversion::fromLocal(), casacore::LittleEndianConversion::fromLocal(), casacore::LittleEndianConversion::fromLocal(), casacore::LittleEndianConversion::fromLocal(), toLocal(), toLocal(), toLocal(), casacore::IBMConversion::toLocal(), casacore::IBMConversion::toLocal(), casacore::LittleEndianConversion::toLocal(), casacore::LittleEndianConversion::toLocal(), and casacore::LittleEndianConversion::toLocal().
|
inlinestatic |
Move 8 bytes.
Definition at line 410 of file CanonicalConversion.h.
Referenced by fromLocal(), fromLocal(), fromLocal(), casacore::LittleEndianConversion::fromLocal(), toLocal(), toLocal(), toLocal(), and casacore::LittleEndianConversion::toLocal().
|
inlinestatic |
Reverse 2 bytes.
Definition at line 375 of file CanonicalConversion.h.
Referenced by fromLocal(), fromLocal(), casacore::LittleEndianConversion::fromLocal(), casacore::LittleEndianConversion::fromLocal(), toLocal(), toLocal(), casacore::LittleEndianConversion::toLocal(), and casacore::LittleEndianConversion::toLocal().
|
inlinestatic |
Reverse 4 bytes.
Definition at line 382 of file CanonicalConversion.h.
Referenced by fromLocal(), fromLocal(), fromLocal(), casacore::IBMConversion::fromLocal(), casacore::IBMConversion::fromLocal(), casacore::LittleEndianConversion::fromLocal(), casacore::LittleEndianConversion::fromLocal(), casacore::LittleEndianConversion::fromLocal(), casacore::LittleEndianConversion::fromLocal(), casacore::LittleEndianConversion::fromLocal(), toLocal(), toLocal(), toLocal(), casacore::IBMConversion::toLocal(), casacore::IBMConversion::toLocal(), casacore::LittleEndianConversion::toLocal(), casacore::LittleEndianConversion::toLocal(), and casacore::LittleEndianConversion::toLocal().
|
inlinestatic |
Reverse 8 bytes.
Definition at line 393 of file CanonicalConversion.h.
Referenced by fromLocal(), fromLocal(), fromLocal(), casacore::LittleEndianConversion::fromLocal(), toLocal(), toLocal(), toLocal(), and casacore::LittleEndianConversion::toLocal().
|
inlinestatic |
Convert one value from canonical format to local format.
The from and to buffer should not overlap.
Definition at line 419 of file CanonicalConversion.h.
References SIZE_CAN_CHAR.
Referenced by casacore::IBMConversion::toLocal(), casacore::IBMConversion::toLocal(), casacore::IBMConversion::toLocal(), casacore::IBMConversion::toLocal(), casacore::IBMConversion::toLocal(), casacore::IBMConversion::toLocal(), casacore::IBMConversion::toLocal(), casacore::IBMConversion::toLocal(), casacore::IBMConversion::toLocal(), casacore::IBMConversion::toLocal(), casacore::ModcompConversion::toLocal(), casacore::ModcompConversion::toLocal(), casacore::ModcompConversion::toLocal(), casacore::ModcompConversion::toLocal(), casacore::ModcompConversion::toLocal(), and casacore::ModcompConversion::toLocal().
|
inlinestatic |
Convert nr values from canonical format to local format.
The from and to buffer should not overlap.
Definition at line 612 of file CanonicalConversion.h.
References toLocalChar().
|
inlinestatic |
Definition at line 522 of file CanonicalConversion.h.
References move8(), reverse8(), and SIZE_CAN_DOUBLE.
|
inlinestatic |
Definition at line 639 of file CanonicalConversion.h.
References toLocalDouble().
|
inlinestatic |
Definition at line 513 of file CanonicalConversion.h.
References move4(), reverse4(), and SIZE_CAN_FLOAT.
|
inlinestatic |
Definition at line 636 of file CanonicalConversion.h.
References toLocalFloat().
|
inlinestatic |
Definition at line 457 of file CanonicalConversion.h.
References move4(), reverse4(), and SIZE_CAN_INT.
|
inlinestatic |
Definition at line 624 of file CanonicalConversion.h.
References toLocalInt().
|
inlinestatic |
Definition at line 485 of file CanonicalConversion.h.
References move8(), reverse8(), and SIZE_CAN_INT64.
|
inlinestatic |
Definition at line 630 of file CanonicalConversion.h.
References toLocalInt64().
|
inlinestatic |
Definition at line 429 of file CanonicalConversion.h.
References move2(), reverse2(), and SIZE_CAN_SHORT.
|
inlinestatic |
Definition at line 618 of file CanonicalConversion.h.
References toLocalShort().
|
inlinestatic |
Definition at line 501 of file CanonicalConversion.h.
References move8(), reverse8(), and SIZE_CAN_UINT64.
|
inlinestatic |
Definition at line 633 of file CanonicalConversion.h.
References toLocalUInt64().
|
inlinestatic |
Definition at line 424 of file CanonicalConversion.h.
References SIZE_CAN_UCHAR.
|
inlinestatic |
Definition at line 615 of file CanonicalConversion.h.
References toLocalUChar().
|
inlinestatic |
Definition at line 473 of file CanonicalConversion.h.
References move4(), reverse4(), and SIZE_CAN_UINT.
|
inlinestatic |
Definition at line 627 of file CanonicalConversion.h.
References toLocalUInt().
|
inlinestatic |
Definition at line 445 of file CanonicalConversion.h.
References move2(), reverse2(), and SIZE_CAN_USHORT.
|
inlinestatic |
Definition at line 621 of file CanonicalConversion.h.
References toLocalUShort().
|
static |
Convert nr values from canonical format to local format.
The from and to buffer should not overlap.
Referenced by getToLocal(), toLocal(), and casacore::ModcompConversion::toLocal().
|
static |
Referenced by getToLocal(), and toLocal().
|
static |
Referenced by getToLocal(), and toLocal().
|
static |
Referenced by getToLocal(), toLocal(), and casacore::ModcompConversion::toLocal().
|
static |
Referenced by getToLocal(), and toLocal().
|
static |
Referenced by getToLocal(), toLocal(), and casacore::ModcompConversion::toLocal().
|
static |
Referenced by getToLocal(), toLocal(), and casacore::ModcompConversion::toLocal().
|
static |
Referenced by getToLocal(), toLocal(), and casacore::ModcompConversion::toLocal().
|
static |
Referenced by getToLocal(), and toLocal().
|
static |
Referenced by getToLocal(), toLocal(), and casacore::ModcompConversion::toLocal().