Clipper
|
Reflection data type objects. More...
#include <hkl_data.h>
Protected Member Functions | |
Datatype_base () | |
initialise to 'missing' | |
void | set_null () |
initialise to 'missing' (all elements are set to null) | |
void | friedel () |
apply Friedel transformation to the data | |
void | shift_phase (const ftype &dphi) |
apply phase shift to the data | |
bool | missing () const |
return true if data is missing | |
void | data_export (xtype array[]) const |
conversion to array (for I/O) | |
void | data_import (const xtype array[]) |
conversion from array (for I/O) | |
Static Protected Member Functions | |
static String | type () |
return the name of this data type | |
static int | data_size () |
return number of data elements in this type | |
static String | data_names () |
return names of data elements in this type |
Reflection data type objects.
A class from which data type objects are usually derived
To define a new type for use in an HKL_data structure, subclass this class and override the following methods: