Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.atnf.csiro.au/computing/software/casacore/casacore-1.2.0/doc/html/classcasa_1_1RORecordFieldPtr.html
Дата изменения: Unknown
Дата индексирования: Mon Feb 14 22:49:15 2011
Кодировка:
casacore: casa::RORecordFieldPtr< T > Class Template Reference
Public Member Functions | Private Attributes

casa::RORecordFieldPtr< T > Class Template Reference
[Containers_module]

Read-Only access to an individual field from a Record. More...

#include <RecordField.h>

List of all members.

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 Stringcomment () const
Int fieldNumber () const
void detach ()
Bool isAttached () const

Private Attributes

RecordFieldPtr< T > fieldPtr_p

Detailed Description

template<class T>
class casa::RORecordFieldPtr< T >

Read-Only access to an individual field from a Record.

Intended use:

Public interface

Review Status

Reviewed By:
Mark Wieringa
Date Reviewed:
1996/04/15
Test programs:
tRecord

Prerequisite

Synopsis

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 226 of file RecordField.h.


Constructor & Destructor Documentation

template<class T>
casa::RORecordFieldPtr< T >::RORecordFieldPtr (  )  [inline]

Definition at line 229 of file RecordField.h.

template<class T>
casa::RORecordFieldPtr< T >::RORecordFieldPtr ( const RecordInterface record,
Int  whichField 
) [inline]

Definition at line 230 of file RecordField.h.

template<class T>
casa::RORecordFieldPtr< T >::RORecordFieldPtr ( const RecordInterface record,
const RecordFieldId id 
) [inline]

Definition at line 232 of file RecordField.h.

template<class T>
casa::RORecordFieldPtr< T >::RORecordFieldPtr ( const RecordFieldPtr< T > &  other  )  [inline]

Definition at line 234 of file RecordField.h.

template<class T>
casa::RORecordFieldPtr< T >::RORecordFieldPtr ( const RORecordFieldPtr< T > &  other  )  [inline]

Definition at line 236 of file RecordField.h.

template<class T>
casa::RORecordFieldPtr< T >::~RORecordFieldPtr (  )  [inline]

Definition at line 241 of file RecordField.h.


Member Function Documentation

template<class T>
void casa::RORecordFieldPtr< T >::attachToRecord ( const RecordInterface record,
Int  whichField 
) [inline]

Definition at line 243 of file RecordField.h.

template<class T>
void casa::RORecordFieldPtr< T >::attachToRecord ( const RecordInterface record,
const RecordFieldId id 
) [inline]

Definition at line 245 of file RecordField.h.

template<class T>
const String& casa::RORecordFieldPtr< T >::comment (  )  const [inline]

Definition at line 251 of file RecordField.h.

template<class T>
void casa::RORecordFieldPtr< T >::detach (  )  [inline]

Definition at line 256 of file RecordField.h.

template<class T>
Int casa::RORecordFieldPtr< T >::fieldNumber (  )  const [inline]

Definition at line 253 of file RecordField.h.

template<class T>
const T& casa::RORecordFieldPtr< T >::get (  )  const [inline]

Definition at line 249 of file RecordField.h.

template<class T>
Bool casa::RORecordFieldPtr< T >::isAttached (  )  const [inline]

Definition at line 257 of file RecordField.h.

template<class T>
const T& casa::RORecordFieldPtr< T >::operator* (  )  const [inline]

Definition at line 248 of file RecordField.h.

template<class T>
RORecordFieldPtr<T>& casa::RORecordFieldPtr< T >::operator= ( const RORecordFieldPtr< T > &  other  )  [inline]

Definition at line 238 of file RecordField.h.


Member Data Documentation

template<class T>
RecordFieldPtr<T> casa::RORecordFieldPtr< T >::fieldPtr_p [private]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines