28 #ifndef IMAGES_IMAGEATTRGROUPCASA_H
29 #define IMAGES_IMAGEATTRGROUPCASA_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.
Bool isNull() const
Test if it is a null object.
virtual ~ImageAttrGroupCasa()
A 1-D Specialization of the Array class.
virtual uInt nrows() const
Get the number of rows in the group.
Main interface class to a read/write table.
Table & table()
Return the table object.
virtual Vector< String > attrNames() const
Get all attribute names.
virtual Vector< String > getMeasInfo(const String &attrName)
Get the possible measure info as type and Ref.
Abstract base class for an image attributes group.
High-level interface to tables.
Attribute group for a CASA image.
virtual Record getDataRow(uInt rownr)
Get the data of all attributes in a rows.
ABSTRACT CLASSES Deliberately vague to be general enough to allow for many different types of data
void checkRows(const String &attrName, uInt size)
Check if the size matches the number of rows.
virtual DataType dataType(const String &attrName) const
Get the datatype of a attribute.
A holder for a value of any basic Casacore data type.
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.
void flush()
Flush the attibrutes if needed.
A hierarchical collection of named fields of various types.
bool Bool
Define the standard types used by Casacore.
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 the object is null, i.e.
ImageAttrGroupCasa()
The default constructor creates a null object.
String: the storage and methods of handling collections of characters.
virtual Vector< String > getUnit(const String &attrName)
Get the possible units of the values.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.