28 #ifndef IMAGES_IMAGEATTRGROUPCASA_H
29 #define IMAGES_IMAGEATTRGROUPCASA_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/images/Images/ImageAttrGroup.h>
34 #include <casacore/tables/Tables/TableProxy.h>
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 DataType dataType(const String &attrName) const
Get the datatype of a attribute.
Bool addNewColumn(const String &attrName, const ValueHolder &)
Add a new column for the given attribute for the data type in the value.
virtual Vector< String > getUnit(const String &attrName)
Get the possible units of the values.
Bool isNull() const
Test if it is a null object.
void flush()
Flush the attibrutes if needed.
ImageAttrGroupCasa()
The default constructor creates a null object.
virtual ~ImageAttrGroupCasa()
ImageAttrGroupCasa(const Table &image, const String &attrGroupName)
Construct the object for an attribute group in the image table.
virtual Bool hasAttr(const String &attrName) const
Test if an attribute exists.
virtual Vector< String > attrNames() const
Get all attribute names.
virtual uInt nrows() const
Get the number of rows in the group.
void checkRows(const String &attrName, uInt size)
Check if the size matches the number of rows.
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.
virtual Vector< String > getMeasInfo(const String &attrName)
Get the possible measure info as type and Ref.
String: the storage and methods of handling collections of characters.
Table & table()
Return the table object.
Bool isNull() const
Test if the object is null, i.e.
this file contains all the compiler specific defines
bool Bool
Define the standard types used by Casacore.