CCP4MTZ import/export type registry. More...
#include <ccp4_mtz_io.h>
Public Member Functions | |
CCP4MTZ_type_registry () | |
constructor: initialise the registry with some built-in types | |
Static Public Member Functions | |
static void | add_type (const String &name, const String &type, const ftype32 &scale) |
add a new type to the registry | |
static String | type (const String &name) |
return MTZ column type | |
static ftype32 | scale (const String &name) |
return MTZ column type |
CCP4MTZ import/export type registry.
This class acts as a registry of import/export data types, which provide a translation from a data element name to an MTZ column type.
The registry is instantiated statically as mtz_type_registry
and initialised with a list of built-in datatypes.