casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Member Functions | Private Attributes
casa::RODataManAccessor Class Reference

Base class for the Data Manager Accessor classes. More...

#include <DataManAccessor.h>

Inheritance diagram for casa::RODataManAccessor:
casa::ROIncrementalStManAccessor casa::ROStandardStManAccessor casa::ROTiledStManAccessor casa::TiledDataStManAccessor

List of all members.

Public Member Functions

 RODataManAccessor ()
 Construct an empty object.
 RODataManAccessor (const Table &table, const String &name, Bool byColumn)
 Construct the accessor object for a data manager in the table.
virtual ~RODataManAccessor ()
void setProperties (const Record &) const
 Set data manager properties using the fields in the record.
Record getProperties () const
 Get data manager properties as a record.
String dataManagerType () const
 Get the data manager type.
String dataManagerName () const
 Get the data manager name.
uInt dataManagerSeqNr () const
 Get the data manager sequence nr.
void showCacheStatistics (ostream &os) const
 Show IO statistics.

Protected Member Functions

DataManagerbaseDataManager () const
 Get the data manager for the given data manager or column name.

Private Attributes

DataManageritsDataManager

Detailed Description

Base class for the Data Manager Accessor classes.

Intended use:

Internal

Review Status

Reviewed By:
UNKNOWN
Date Reviewed:
before2004/08/25

Prerequisite

Synopsis

The Table system has one or more data managers underneath. Once a table is constructed, these data managers are invisible and there is no way to get access to them. However, sometimes limited access to them is needed (e.g. to set the size of an internal cache).

This class should be used as the base class for specialized Data Manager Accessor classes (e.g. class

ROIncrementalStManAccessor . This base class provides the functionality to get the DataManager object for a given column.

Motivation

This base class makes it possible that every derived class can get the data manager, because RODataManAccessor is a friend of class Table. Otherwise all accessor classes needed to be friend of Table.

Definition at line 77 of file DataManAccessor.h.


Constructor & Destructor Documentation

Construct an empty object.

Definition at line 81 of file DataManAccessor.h.

casa::RODataManAccessor::RODataManAccessor ( const Table table,
const String name,
Bool  byColumn 
)

Construct the accessor object for a data manager in the table.

An exception is thrown if the name of the data manager or column is unknown.


Member Function Documentation

DataManager* casa::RODataManAccessor::baseDataManager ( ) const [inline, protected]

Get the data manager for the given data manager or column name.

Definition at line 118 of file DataManAccessor.h.

References itsDataManager.

Get the data manager name.

Definition at line 105 of file DataManAccessor.h.

References casa::DataManager::dataManagerName(), and itsDataManager.

Get the data manager sequence nr.

Definition at line 109 of file DataManAccessor.h.

References itsDataManager, and casa::DataManager::sequenceNr().

Get the data manager type.

Definition at line 101 of file DataManAccessor.h.

References casa::DataManager::dataManagerType(), and itsDataManager.

Get data manager properties as a record.

Set data manager properties using the fields in the record.

Each data manager has its specific set of properties.

void casa::RODataManAccessor::showCacheStatistics ( ostream &  os) const [inline]

Show IO statistics.

Definition at line 113 of file DataManAccessor.h.

References itsDataManager, and casa::DataManager::showCacheStatistics().


Member Data Documentation


The documentation for this class was generated from the following file: