Go to the documentation of this file.
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>
Bool isNull() const
Test if it is a null object.
virtual Bool hasAttr(const String &attrName) const
Test if an attribute exists.
virtual uInt nrows() const
Get the number of rows in the group.
virtual DataType dataType(const String &attrName) const
Get the datatype of a attribute.
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.
virtual Vector< String > getUnit(const String &attrName)
Get the possible units of the values (stored as attrName_UNIT).
virtual Vector< String > getMeasInfo(const String &attrName)
Get the possible measure info as type,Ref (stored as attrName_MEASINFO).
bool empty() const
Is the record empty?
A class representing an HDF5 group.
void checkRows(const String &attrName, uInt rownr)
Check the rownr and add a row if needed.
virtual ValueHolder getData(const String &attrName, uInt rownr)
Get the data of the given attribute in the given row.
virtual Record getDataRow(uInt rownr)
Get the data of all attributes in a rows.
Attribute group for a HDF5 image.
virtual Vector< String > attrNames() const
Get all attribute names.
void flush(HDF5Group &image, const String &attrGroupName)
Flush the attibrutes if needed.
this file contains all the compiler specific defines
virtual ~ImageAttrGroupHDF5()
Abstract base class for an image attributes group.
ImageAttrGroupHDF5(Bool isWritable=False)
The default constructor creates a null object.
String: the storage and methods of handling collections of characters.
bool Bool
Define the standard types used by Casacore.
A holder for a value of any basic Casacore data type.
A hierarchical collection of named fields of various types.
A 1-D Specialization of the Array class.