|
| QtXmlRecord () |
|
| ~QtXmlRecord () |
|
bool | recordToElement (const casacore::Record *rec, QDomElement *parent, QDomDocument &doc) |
|
casacore::Bool | elementToRecord (QDomElement *ele, casacore::Record &rec, casacore::Bool useOptName=true) |
|
casacore::Bool | domToRecord (QDomDocument *doc, casacore::Record &rec) |
|
casacore::Bool | optsElemToRecord (QDomElement optsElem, casacore::Record &rec) |
|
bool | readDomFrom (QDomDocument &doc, QIODevice *device) |
|
bool | writeDomTo (QDomDocument *doc, QIODevice *device) |
|
bool | recordToDom (casacore::Record *rec, QDomDocument &doc) |
|
| Record () |
| Create a record with no fields. More...
|
|
| Record (RecordType type, CheckFieldFunction *=0, const void *checkArgument=0) |
| Create a record with no fields. More...
|
|
| Record (const RecordDesc &description, RecordType type=Fixed, CheckFieldFunction *=0, const void *checkArgument=0) |
| Create a record with the given description. More...
|
|
| Record (const Record &other) |
| Create a copy of other using copy semantics. More...
|
|
| Record (const RecordInterface &other) |
| Create a Record from another type of record using copy semantics. More...
|
|
Record & | operator= (const Record &other) |
| Copy the data in the other record to this record. More...
|
|
virtual | ~Record () |
| Release resources associated with this object. More...
|
|
virtual RecordInterface * | clone () const |
| Make a copy of this object. More...
|
|
virtual void | assign (const RecordInterface &that) |
| Assign that RecordInterface object to this one. More...
|
|
virtual const String & | comment (const RecordFieldId &) const |
| Get the comment for this field. More...
|
|
virtual void | setComment (const RecordFieldId &, const String &comment) |
| Set the comment for this field. More...
|
|
const RecordDesc & | description () const |
| Describes the current structure of this Record. More...
|
|
virtual void | restructure (const RecordDesc &newDescription, Bool recursive=True) |
| Change the structure of this Record to contain the fields in newDescription. More...
|
|
Bool | conform (const Record &other) const |
| Returns True if this and other have the same RecordDesc, other than different names for the fields. More...
|
|
virtual uInt | nfields () const |
| How many fields does this structure have? A convenient synonym for description().nfields() . More...
|
|
virtual Int | fieldNumber (const String &fieldName) const |
| Get the field number from the field name. More...
|
|
virtual DataType | type (Int whichField) const |
| Get the data type of this field. More...
|
|
void | removeField (const RecordFieldId &) |
| Remove a field from the record. More...
|
|
void | renameField (const String &newName, const RecordFieldId &) |
| Rename the given field. More...
|
|
void | defineRecord (const RecordFieldId &, const Record &value, RecordType type=Variable) |
| Define a value for the given field containing a subrecord. More...
|
|
virtual void | defineRecord (const RecordFieldId &, const RecordInterface &value, RecordType=Variable) |
|
const Record & | subRecord (const RecordFieldId &) const |
| Get the subrecord from the given field. More...
|
|
Record & | rwSubRecord (const RecordFieldId &) |
|
virtual const RecordInterface & | asRecord (const RecordFieldId &) const |
|
virtual RecordInterface & | asrwRecord (const RecordFieldId &) |
|
virtual ValueHolder | asValueHolder (const RecordFieldId &) const |
| Get or define the value as a ValueHolder. More...
|
|
virtual void | defineFromValueHolder (const RecordFieldId &, const ValueHolder &) |
|
void | mergeField (const Record &other, const RecordFieldId &, DuplicatesFlag=ThrowOnDuplicates) |
| Merge a field from another record into this record. More...
|
|
void | merge (const Record &other, DuplicatesFlag=ThrowOnDuplicates) |
| Merge all fields from the other record into this record. More...
|
|
void | putRecord (AipsIO &os) const |
| Write the Record to an output stream. More...
|
|
void | getRecord (AipsIO &os) |
| Read the Record from an input stream. More...
|
|
void | putData (AipsIO &os) const |
| Put the data of a record. More...
|
|
void | getData (AipsIO &os, uInt version) |
| Read the data of a record. More...
|
|
virtual void | makeUnique () |
| Make a unique record representation (to do copy-on-write in RecordFieldPtr). More...
|
|
virtual void | print (std::ostream &, Int maxNrValues=25, const String &indent="") const |
| Print the contents of the record. More...
|
|
| RecordInterface () |
| The default constructor creates an empty record with a variable structure. More...
|
|
| RecordInterface (RecordType type, CheckFieldFunction *funcPtr, const void *checkArgument) |
| Create a record with no fields. More...
|
|
| RecordInterface (const RecordInterface &other) |
| Copy constructor (copy semantics). More...
|
|
RecordInterface & | operator= (const RecordInterface &other) |
| Assignment (copy semantics). More...
|
|
virtual | ~RecordInterface () |
| Destruct the record. More...
|
|
Bool | isFixed () const |
| Is the Record structure fixed (i.e. More...
|
|
uInt | size () const |
|
bool | empty () const |
| Is the record empty? More...
|
|
Int | idToNumber (const RecordFieldId &) const |
| Get the field number for the given field id. More...
|
|
Bool | isDefined (const String &fieldName) const |
| Test if a field name exists. More...
|
|
DataType | dataType (const RecordFieldId &) const |
|
String | name (const RecordFieldId &) const |
| Get the name of this field. More...
|
|
IPosition | shape (const RecordFieldId &) const |
| Get the actual shape of this field. More...
|
|
RecordDesc | description () const |
| Get the description of this record. More...
|
|
void | define (const RecordFieldId &, Bool value) |
| Define a value for the given field. More...
|
|
void | define (const RecordFieldId &, uChar value) |
|
void | define (const RecordFieldId &, Short value) |
|
void | define (const RecordFieldId &, Int value) |
|
void | define (const RecordFieldId &, uInt value) |
|
void | define (const RecordFieldId &, Int64 value) |
|
void | define (const RecordFieldId &, Float value) |
|
void | define (const RecordFieldId &, Double value) |
|
void | define (const RecordFieldId &, const Complex &value) |
|
void | define (const RecordFieldId &, const DComplex &value) |
|
void | define (const RecordFieldId &, const Char *value) |
|
void | define (const RecordFieldId &, const String &value) |
|
void | define (const RecordFieldId &, const Array< Bool > &value, Bool FixedShape=False) |
|
void | define (const RecordFieldId &, const Array< uChar > &value, Bool FixedShape=False) |
|
void | define (const RecordFieldId &, const Array< Short > &value, Bool FixedShape=False) |
|
void | define (const RecordFieldId &, const Array< Int > &value, Bool FixedShape=False) |
|
void | define (const RecordFieldId &, const Array< uInt > &value, Bool FixedShape=False) |
|
void | define (const RecordFieldId &, const Array< Int64 > &value, Bool FixedShape=False) |
|
void | define (const RecordFieldId &, const Array< Float > &value, Bool FixedShape=False) |
|
void | define (const RecordFieldId &, const Array< Double > &value, Bool FixedShape=False) |
|
void | define (const RecordFieldId &, const Array< Complex > &value, Bool FixedShape=False) |
|
void | define (const RecordFieldId &, const Array< DComplex > &value, Bool FixedShape=False) |
|
void | define (const RecordFieldId &, const Array< String > &value, Bool FixedShape=False) |
|
void | get (const RecordFieldId &, Bool &value) const |
| Get the value of the given field. More...
|
|
void | get (const RecordFieldId &, uChar &value) const |
|
void | get (const RecordFieldId &, Short &value) const |
|
void | get (const RecordFieldId &, Int &value) const |
|
void | get (const RecordFieldId &, uInt &value) const |
|
void | get (const RecordFieldId &, Int64 &value) const |
|
void | get (const RecordFieldId &, Float &value) const |
|
void | get (const RecordFieldId &, Double &value) const |
|
void | get (const RecordFieldId &, Complex &value) const |
|
void | get (const RecordFieldId &, DComplex &value) const |
|
void | get (const RecordFieldId &, String &value) const |
|
void | get (const RecordFieldId &, Array< Bool > &value) const |
|
void | get (const RecordFieldId &, Array< uChar > &value) const |
|
void | get (const RecordFieldId &, Array< Short > &value) const |
|
void | get (const RecordFieldId &, Array< Int > &value) const |
|
void | get (const RecordFieldId &, Array< uInt > &value) const |
|
void | get (const RecordFieldId &, Array< Int64 > &value) const |
|
void | get (const RecordFieldId &, Array< Float > &value) const |
|
void | get (const RecordFieldId &, Array< Double > &value) const |
|
void | get (const RecordFieldId &, Array< Complex > &value) const |
|
void | get (const RecordFieldId &, Array< DComplex > &value) const |
|
void | get (const RecordFieldId &, Array< String > &value) const |
|
Bool | asBool (const RecordFieldId &) const |
| The following functions get the value based on field name or number. More...
|
|
uChar | asuChar (const RecordFieldId &) const |
|
Short | asShort (const RecordFieldId &) const |
|
Int | asInt (const RecordFieldId &) const |
|
uInt | asuInt (const RecordFieldId &) const |
|
Int64 | asInt64 (const RecordFieldId &) const |
|
Float | asFloat (const RecordFieldId &) const |
|
Double | asDouble (const RecordFieldId &) const |
|
Complex | asComplex (const RecordFieldId &) const |
|
DComplex | asDComplex (const RecordFieldId &) const |
|
const String & | asString (const RecordFieldId &) const |
|
const Array< Bool > & | asArrayBool (const RecordFieldId &) const |
|
const Array< uChar > & | asArrayuChar (const RecordFieldId &) const |
|
const Array< Short > & | asArrayShort (const RecordFieldId &) const |
|
const Array< Int > & | asArrayInt (const RecordFieldId &) const |
|
const Array< uInt > & | asArrayuInt (const RecordFieldId &) const |
|
const Array< Int64 > & | asArrayInt64 (const RecordFieldId &) const |
|
const Array< Float > & | asArrayFloat (const RecordFieldId &) const |
|
const Array< Double > & | asArrayDouble (const RecordFieldId &) const |
|
const Array< Complex > & | asArrayComplex (const RecordFieldId &) const |
|
const Array< DComplex > & | asArrayDComplex (const RecordFieldId &) const |
|
const Array< String > & | asArrayString (const RecordFieldId &) const |
|
Array< Bool > | toArrayBool (const RecordFieldId &) const |
| Get an array while promoting the data as needed. More...
|
|
Array< uChar > | toArrayuChar (const RecordFieldId &) const |
|
Array< Short > | toArrayShort (const RecordFieldId &) const |
|
Array< Int > | toArrayInt (const RecordFieldId &) const |
|
Array< uInt > | toArrayuInt (const RecordFieldId &) const |
|
Array< Int64 > | toArrayInt64 (const RecordFieldId &) const |
|
Array< Float > | toArrayFloat (const RecordFieldId &) const |
|
Array< Double > | toArrayDouble (const RecordFieldId &) const |
|
Array< Complex > | toArrayComplex (const RecordFieldId &) const |
|
Array< DComplex > | toArrayDComplex (const RecordFieldId &) const |
|
Array< String > | toArrayString (const RecordFieldId &) const |
|
void | toArray (const RecordFieldId &id, Array< Bool > &array) const |
|
void | toArray (const RecordFieldId &id, Array< uChar > &array) const |
|
void | toArray (const RecordFieldId &id, Array< Short > &array) const |
|
void | toArray (const RecordFieldId &id, Array< Int > &array) const |
|
void | toArray (const RecordFieldId &id, Array< uInt > &array) const |
|
void | toArray (const RecordFieldId &id, Array< Int64 > &array) const |
|
void | toArray (const RecordFieldId &id, Array< Float > &array) const |
|
void | toArray (const RecordFieldId &id, Array< Double > &array) const |
|
void | toArray (const RecordFieldId &id, Array< Complex > &array) const |
|
void | toArray (const RecordFieldId &id, Array< DComplex > &array) const |
|
void | toArray (const RecordFieldId &id, Array< String > &array) const |
|
Float | asfloat (const RecordFieldId &) const |
| Get value based on field name or number. More...
|
|
Double | asdouble (const RecordFieldId &) const |
|
const Array< Float > & | asArrayfloat (const RecordFieldId &) const |
|
const Array< Double > & | asArraydouble (const RecordFieldId &) const |
|
| NoticeSource () |
|
virtual | ~NoticeSource () |
|
void | notify (const Notice ¬e) |
| Sends the note to all NoticeTarget s in the target list. More...
|
|