28 #ifndef IMAGES_IMAGEATTRGROUP_H
29 #define IMAGES_IMAGEATTRGROUP_H
33 #include <casacore/casa/aips.h>
34 #include <casacore/casa/Containers/ValueHolder.h>
35 #include <casacore/casa/Arrays/Vector.h>
virtual DataType dataType(const String &attrName) const =0
Get the datatype of a attribute.
virtual Vector< String > getMeasInfo(const String &attrName)=0
Get the possible measure info as type and Ref.
virtual ValueHolder getData(const String &attrName, uInt rownr)=0
Get the data of the given attribute in the given row.
virtual Vector< String > attrNames() const =0
Get all attribute names.
virtual Bool hasAttr(const String &attrName) const =0
Test if an attribute exists.
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.
ImageAttrGroup()
Default constructor.
virtual uInt nrows() const =0
Get the number of rows in the group.
virtual Vector< String > getUnit(const String &attrName)=0
Get the possible units of the values.
virtual Record getDataRow(uInt rownr)=0
Get the data of all attributes in a rows.
virtual ~ImageAttrGroup()
String: the storage and methods of handling collections of characters.
this file contains all the compiler specific defines
bool Bool
Define the standard types used by Casacore.