29 #ifndef SCIMATH_SERIALHELPER_H
30 #define SCIMATH_SERIALHELPER_H
40 void getArrayVal(V &val,
int type,
const Record& gr,
41 const String& name,
uInt index=0);
44 void getArray(Array<V> &val,
int type,
const Record& gr,
145 void get(
Int &val,
const String& name,
uInt index = 0)
const;
std::complex< Float > Complex
static const String gtype[]
SerialHelper(const Record &record)
void checkFuncType(const String &ftype) const
ensure that the Function type stored in the given record, gr, matches ftype.
SerialHelper(const SerialHelper &other)
SerialHelper & operator=(const SerialHelper &other)
Bool exists(const String &name) const
return True if a field with the given name exists
std::complex< Double > DComplex
A hierarchical collection of named fields of various types.
bool Bool
Define the standard types used by Casacore.
Bool isDefined(const String &fieldName) const
Test if a field name exists.
void getArrayVal(V &val, int type, const Record &gr, const String &name, uInt index=0)
static const String FUNCTYPE
String: the storage and methods of handling collections of characters.
void getArray(Array< V > &val, int type, const Record &gr, const String &name)
Bool getFuncType(String &ftype) const
load the function type name as given in the record's "functype" field into the given String ftype...