26#ifndef IMAGES_IMAGEATTRGROUPCASA_H
27#define IMAGES_IMAGEATTRGROUPCASA_H
30#include <casacore/casa/aips.h>
31#include <casacore/images/Images/ImageAttrGroup.h>
32#include <casacore/tables/Tables/TableProxy.h>
70 {
return itsTable.table().isNull(); }
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 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.
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()
virtual Vector< String > attrNames() const
Get all attribute names.
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 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.
ImageAttrGroup()
Default constructor.
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.