casacore
|
Read-Only access to an individual field from a Record. More...
#include <RecordField.h>
Public Member Functions | |
RORecordFieldPtr () | |
RORecordFieldPtr (const RecordInterface &record, Int whichField) | |
RORecordFieldPtr (const RecordInterface &record, const RecordFieldId &id) | |
RORecordFieldPtr (const RecordFieldPtr< T > &other) | |
RORecordFieldPtr (const RORecordFieldPtr< T > &other) | |
RORecordFieldPtr< T > & | operator= (const RORecordFieldPtr< T > &other) |
~RORecordFieldPtr () | |
void | attachToRecord (const RecordInterface &record, Int whichField) |
void | attachToRecord (const RecordInterface &record, const RecordFieldId &id) |
const T & | operator* () const |
const T & | get () const |
const String & | comment () const |
Int | fieldNumber () const |
void | detach () |
Bool | isAttached () const |
Private Attributes | |
RecordFieldPtr< T > | fieldPtr_p |
Read-Only access to an individual field from a Record.
Public interface
This class is entirely like RecordFieldPtr, except that it only allows Read-Only access to fields in a Record. The documentation for that class should be consulted.
Note that RecordFieldPtr is not inherited from RORecordFieldPtr, because that would give problems with the function attachToRecord. It would allow RecordFieldPtr to attach to a const RecordInterface object.
Definition at line 208 of file RecordField.h.
|
inline |
Definition at line 211 of file RecordField.h.
|
inline |
Definition at line 212 of file RecordField.h.
|
inline |
Definition at line 214 of file RecordField.h.
|
inline |
Definition at line 216 of file RecordField.h.
|
inline |
Definition at line 218 of file RecordField.h.
|
inline |
Definition at line 223 of file RecordField.h.
|
inline |
Definition at line 227 of file RecordField.h.
References casacore::RORecordFieldPtr< T >::fieldPtr_p.
|
inline |
Definition at line 225 of file RecordField.h.
References casacore::RORecordFieldPtr< T >::fieldPtr_p.
|
inline |
Definition at line 233 of file RecordField.h.
References casacore::RORecordFieldPtr< T >::fieldPtr_p.
|
inline |
Definition at line 238 of file RecordField.h.
References casacore::RORecordFieldPtr< T >::fieldPtr_p.
|
inline |
Definition at line 235 of file RecordField.h.
References casacore::RORecordFieldPtr< T >::fieldPtr_p.
|
inline |
Definition at line 231 of file RecordField.h.
References casacore::RORecordFieldPtr< T >::fieldPtr_p.
|
inline |
Definition at line 239 of file RecordField.h.
References casacore::RORecordFieldPtr< T >::fieldPtr_p.
|
inline |
Definition at line 230 of file RecordField.h.
References casacore::RORecordFieldPtr< T >::fieldPtr_p.
|
inline |
Definition at line 220 of file RecordField.h.
References casacore::RORecordFieldPtr< T >::fieldPtr_p.
|
private |
Definition at line 242 of file RecordField.h.
Referenced by casacore::RORecordFieldPtr< T >::attachToRecord(), casacore::RORecordFieldPtr< T >::attachToRecord(), casacore::RORecordFieldPtr< T >::comment(), casacore::RORecordFieldPtr< T >::detach(), casacore::RORecordFieldPtr< T >::fieldNumber(), casacore::RORecordFieldPtr< T >::get(), casacore::RORecordFieldPtr< T >::isAttached(), casacore::RORecordFieldPtr< T >::operator*(), and casacore::RORecordFieldPtr< T >::operator=().