casacore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
casacore::SDHistoryHandler Class Reference

#include <SDHistoryHandler.h>

Public Member Functions

 SDHistoryHandler ()
 default ctor is not attached to a MS and hence is useless until attached More...
 
 SDHistoryHandler (MeasurementSet &ms, const Vector< Bool > &handledCols, const Record &row)
 attach this to a MS - no columns are explicitly handled here More...
 
 SDHistoryHandler (const SDHistoryHandler &other)
 copy ctor More...
 
 ~SDHistoryHandler ()
 
SDHistoryHandleroperator= (const SDHistoryHandler &other)
 assignment operator, uses copy semantics More...
 
void attach (MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row)
 attach to a MS More...
 
void resetRow (const Record &row)
 reset internals given indicated row, use the same MS More...
 
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 More...
 

Private Member Functions

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

Private Attributes

MSHistorymsHis_p
 
MSHistoryColumnsmsHisCols_p
 
RORecordFieldPtr< Stringtimesys_p
 TIMESYS field pointer when available. More...
 

Detailed Description

Intended use:

Internal or

Intended use:

Internal

Review Status

Date Reviewed:
yyyy/mm/dd

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

casacore::SDHistoryHandler::SDHistoryHandler ( )

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

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

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

casacore::SDHistoryHandler::SDHistoryHandler ( const SDHistoryHandler other)

copy ctor

casacore::SDHistoryHandler::~SDHistoryHandler ( )
inline

Definition at line 98 of file SDHistoryHandler.h.

References clearAll().

Member Function Documentation

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

attach to a MS

void casacore::SDHistoryHandler::clearAll ( )
private

cleanup everything

Referenced by ~SDHistoryHandler().

void casacore::SDHistoryHandler::clearRow ( )
private

clean up row-dependent stuff

void casacore::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 casacore::SDHistoryHandler::initAll ( MeasurementSet ms,
const Vector< Bool > &  handledCols,
const Record row 
)
private

initialize everything

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

initialize stuff which depends on the row

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

assignment operator, uses copy semantics

void casacore::SDHistoryHandler::resetRow ( const Record row)

reset internals given indicated row, use the same MS

Member Data Documentation

MSHistory* casacore::SDHistoryHandler::msHis_p
private

Definition at line 113 of file SDHistoryHandler.h.

MSHistoryColumns* casacore::SDHistoryHandler::msHisCols_p
private

Definition at line 114 of file SDHistoryHandler.h.

RORecordFieldPtr<String> casacore::SDHistoryHandler::timesys_p
private

TIMESYS field pointer when available.

Definition at line 117 of file SDHistoryHandler.h.


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