Go to the documentation of this file.
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 DataType dataType(const String &attrName) const
Get the datatype of a attribute.
virtual ValueHolder getData(const String &attrName, uInt rownr)
Get the data of the given attribute.
virtual Record getDataRow(uInt rownr)
Get the data of all attributes in a rows.
Bool isNull() const
Test if it is a null object.
virtual ~ImageAttrGroupCasa()
ImageAttrGroupCasa()
The default constructor creates a null object.
virtual Vector< String > attrNames() const
Get all attribute names.
virtual uInt nrows() const
Get the number of rows in the group.
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.
virtual Vector< String > getMeasInfo(const String &attrName)
Get the possible measure info as type and Ref.
void checkRows(const String &attrName, uInt size)
Check if the size matches the number of rows.
virtual Bool hasAttr(const String &attrName) const
Test if an attribute exists.
this file contains all the compiler specific defines
Bool isNull() const
Test if the object is null, i.e.
void flush()
Flush the attibrutes if needed.
String: the storage and methods of handling collections of characters.
ImageAttrGroupCasa(const Table &image, const String &attrGroupName)
Construct the object for an attribute group in the image table.
bool Bool
Define the standard types used by Casacore.
Table & table()
Return the table object.
Bool addNewColumn(const String &attrName, const ValueHolder &)
Add a new column for the given attribute for the data type in the value.