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