28 #ifndef IMAGES_IMAGEATTRGROUPHDF5_H
29 #define IMAGES_IMAGEATTRGROUPHDF5_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/images/Images/ImageAttrGroup.h>
34 #include <casacore/tables/Tables/TableProxy.h>
35 #include <casacore/casa/HDF5/HDF5Group.h>
virtual Vector< String > getUnit(const String &attrName)
Get the possible units of the values (stored as attrName_UNIT).
virtual uInt nrows() const
Get the number of rows in the group.
virtual Bool hasAttr(const String &attrName) const
Test if an attribute exists.
virtual Vector< String > getMeasInfo(const String &attrName)
Get the possible measure info as type,Ref (stored as attrName_MEASINFO).
ImageAttrGroupHDF5(const HDF5Group &image, const String &attrGroupName, Bool writable)
Construct the object for an attribute group in the image.
void flush(HDF5Group &image, const String &attrGroupName)
Flush the attibrutes if needed.
virtual void putData(const String &attrName, uInt rownr, const ValueHolder &data, const Vector< String > &units=Vector< String >(), const Vector< String > &measInfo=Vector< String >())
Put the data of the given attribute.
void checkRows(const String &attrName, uInt rownr)
Check the rownr and add a row if needed.
virtual ~ImageAttrGroupHDF5()
ImageAttrGroupHDF5(Bool isWritable=False)
The default constructor creates a null object.
virtual DataType dataType(const String &attrName) const
Get the datatype of a attribute.
Bool isNull() const
Test if it is a null object.
virtual Record getDataRow(uInt rownr)
Get the data of all attributes in a rows.
virtual ValueHolder getData(const String &attrName, uInt rownr)
Get the data of the given attribute in the given row.
virtual Vector< String > attrNames() const
Get all attribute names.
bool empty() const
Is the record empty?
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.