DataManAccessor.h

Classes

RODataManAccessor -- Base class for the Data Manager Accessor classes. (full description)

class RODataManAccessor

Interface

Protected Members
RODataManAccessor()
~RODataManAccessor()
RODataManAccessor (const RODataManAccessor& that)
RODataManAccessor& operator= (const RODataManAccessor& that)
DataManager* findDataManager (const Table& table, const String& dataManagerName) const

Description

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.

Member Description

RODataManAccessor()

Construct the object for the data manager in the table. An exception is thrown if the data manager type does not match the type of this IncrementalDataManAccessor object.

~RODataManAccessor()

RODataManAccessor (const RODataManAccessor& that)

Copy constructor (copy semantics).

RODataManAccessor& operator= (const RODataManAccessor& that)

Assignment (copy semantics).

DataManager* findDataManager (const Table& table, const String& dataManagerName) const

Get the data manager for the given data manager name.