27#ifndef CASA_RECORDFIELD_H
28#define CASA_RECORDFIELD_H
31#include <casacore/casa/aips.h>
32#include <casacore/casa/Containers/Record.h>
247#ifndef CASACORE_NO_AUTO_TEMPLATES
248#include <casacore/casa/Containers/RecordField.tcc>
RORecordFieldPtr(const RecordInterface &record, const RecordFieldId &id)
const String & comment() const
const T & operator*() const
void attachToRecord(const RecordInterface &record, const RecordFieldId &id)
RORecordFieldPtr(const RORecordFieldPtr< T > &other)
RORecordFieldPtr(const RecordInterface &record, Int whichField)
RecordFieldPtr< T > fieldPtr_p
RORecordFieldPtr< T > & operator=(const RORecordFieldPtr< T > &other)
RORecordFieldPtr(const RecordFieldPtr< T > &other)
void attachToRecord(const RecordInterface &record, Int whichField)
String: the storage and methods of handling collections of characters.
this file contains all the compiler specific defines
void setComment(const RecordFieldId &, const String &comment) override
Set the comment for this field.
Int fieldNumber() const
Return the fieldnumber of this field.
Int fieldNumber(const String &fieldName) const override
Get the field number from the field name.
String name() const
Return the name of the field.
void detach()
Point to no field in any Record.
const String & comment(const RecordFieldId &) const override
Get the comment for this field.
void attachToRecord(RecordInterface &record, Int whichField)
Change our pointer to the supplied field.
T & operator*()
Provide access to the field's value.
void define(const T &value)
Store a value in the field using redefinition.
RecordInterface()
The default constructor creates an empty record with a variable structure.
bool Bool
Define the standard types used by Casacore.
static const T * get_typed_ptr(RecordInterface *record, Int fieldNumber)
NewDelAllocator< T > NewDelAllocator< T >::value
Bool isAttached() const
Is this field pointer attached to a valid record?
const String & comment() const
Get the comment of this field.
RecordRep * parent_p
The parent Record.