28 #ifndef IMAGES_IMAGEATTRGROUP_H
29 #define IMAGES_IMAGEATTRGROUP_H
A 1-D Specialization of the Array class.
virtual Record getDataRow(uInt rownr)=0
Get the data of all attributes in a rows.
virtual Vector< String > getUnit(const String &attrName)=0
Get the possible units of the values.
virtual ValueHolder getData(const String &attrName, uInt rownr)=0
Get the data of the given attribute in the given row.
virtual uInt nrows() const =0
Get the number of rows in the group.
Abstract base class for an image attributes group.
virtual ~ImageAttrGroup()
virtual void putData(const String &attrName, uInt rownr, const ValueHolder &data, const Vector< String > &units=Vector< String >(), const Vector< String > &measInfo=Vector< String >())=0
Put the data of the given attribute in the given row.
virtual Bool hasAttr(const String &attrName) const =0
Test if an attribute exists.
virtual Vector< String > getMeasInfo(const String &attrName)=0
Get the possible measure info as type and Ref.
A holder for a value of any basic Casacore data type.
A hierarchical collection of named fields of various types.
bool Bool
Define the standard types used by Casacore.
virtual Vector< String > attrNames() const =0
Get all attribute names.
virtual DataType dataType(const String &attrName) const =0
Get the datatype of a attribute.
String: the storage and methods of handling collections of characters.
ImageAttrGroup()
Default constructor.