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

#include <SDHistoryHandler.h>

List of all members.

Public Member Functions

 SDHistoryHandler ()
 default ctor is not attached to a MS and hence is useless until attached
 SDHistoryHandler (MeasurementSet &ms, const Vector< Bool > &handledCols, const Record &row)
 attach this to a MS - no columns are explicitly handled here
 SDHistoryHandler (const SDHistoryHandler &other)
 copy ctor
 ~SDHistoryHandler ()
SDHistoryHandleroperator= (const SDHistoryHandler &other)
 assignment operator, uses copy semantics
void attach (MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row)
 attach to a MS
void resetRow (const Record &row)
 reset internals given indicated row, use the same MS
void fill (const Record &row, Int observationId, const String &message, const String &priority)
 fill - a new row is added on each call, the message time stamp is the current time

Private Member Functions

void clearAll ()
 cleanup everything
void clearRow ()
 clean up row-dependent stuff
void initAll (MeasurementSet &ms, const Vector< Bool > &handledCols, const Record &row)
 initialize everything
void initRow (const Vector< Bool > &handledCols, const Record &row)
 initialize stuff which depends on the row

Private Attributes

MSHistorymsHis_p
MSHistoryColumnsmsHisCols_p
RORecordFieldPtr< Stringtimesys_p
 TIMESYS field pointer when available.

Detailed Description

Intended use:

Internal or

Intended use:

Internal

 <h3>Review Status</h3><dl><dt>Date Reviewed:<dd>yyyy/mm/dd</dl> 

Prerequisite

Etymology

Synopsis

Example

Motivation

Template Type Argument Requirements (T)

Thrown Exceptions

To Do

Definition at line 86 of file SDHistoryHandler.h.


Constructor & Destructor Documentation

default ctor is not attached to a MS and hence is useless until attached

casa::SDHistoryHandler::SDHistoryHandler ( MeasurementSet ms,
const Vector< Bool > &  handledCols,
const Record row 
)

attach this to a MS - no columns are explicitly handled here

copy ctor

Definition at line 98 of file SDHistoryHandler.h.

References clearAll().


Member Function Documentation

void casa::SDHistoryHandler::attach ( MeasurementSet ms,
Vector< Bool > &  handledCols,
const Record row 
)

attach to a MS

cleanup everything

Referenced by ~SDHistoryHandler().

clean up row-dependent stuff

void casa::SDHistoryHandler::fill ( const Record row,
Int  observationId,
const String message,
const String priority 
)

fill - a new row is added on each call, the message time stamp is the current time

void casa::SDHistoryHandler::initAll ( MeasurementSet ms,
const Vector< Bool > &  handledCols,
const Record row 
) [private]

initialize everything

void casa::SDHistoryHandler::initRow ( const Vector< Bool > &  handledCols,
const Record row 
) [private]

initialize stuff which depends on the row

SDHistoryHandler& casa::SDHistoryHandler::operator= ( const SDHistoryHandler other)

assignment operator, uses copy semantics

reset internals given indicated row, use the same MS


Member Data Documentation

Definition at line 113 of file SDHistoryHandler.h.

Definition at line 114 of file SDHistoryHandler.h.

TIMESYS field pointer when available.

Definition at line 117 of file SDHistoryHandler.h.


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