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

a class for accessing on-line SDD data files at the 140ft More...

#include <SDDOnLine.h>

List of all members.

Public Member Functions

 SDDOnLine ()
 SDDOnLine (const String &sddFileName)
 SDDOnLine (const SDDOnLine &other)
 ~SDDOnLine ()
void attach (const String &sddFileName)
 attach to two new files
const SDDIndexRepindex (uInt rownr) const
 the things we need from the SDDFile The index rep for a specific rownr
const SDDHeaderheader (uInt rownr) const
 The header for a specific rownr.
Bool getData (Array< Float > &data, uInt rownr) const
 The data array for a specific rownr.
Int timeStamp (uInt rownr) const
 The timeStamp for a particular row.
Int offStamp (uInt rownr) const
 the offStamp for a particular row
Bool needToSync () const
 This just sees if there is a need to sync.
Int sync ()
 sync with what is on disk, return the number of rows
uInt nrow ()

Private Member Functions

SDDOnLine operator= (const SDDOnLine &)
void init ()
void appendMaps (uInt startSDDEntry)

Private Attributes

Block< Int > timeStamp_p
SimpleOrderedMap< uInt, Int > offMap_p
String sddFileName_p
SDDFilesddFile_p
uInt nrow_p
Block< uInt > rowMap_p

Detailed Description

a class for accessing on-line SDD data files at the 140ft

Intended use:

Public interface

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

Etymology

Synopsis

Example

Motivation

Definition at line 70 of file SDDOnLine.h.


Constructor & Destructor Documentation

SDDOnLine::SDDOnLine ( const String sddFileName)
SDDOnLine::SDDOnLine ( const SDDOnLine other)

Member Function Documentation

void SDDOnLine::appendMaps ( uInt  startSDDEntry) [private]
void SDDOnLine::attach ( const String sddFileName)

attach to two new files

Bool SDDOnLine::getData ( Array< Float > &  data,
uInt  rownr 
) const

The data array for a specific rownr.

const SDDHeader& SDDOnLine::header ( uInt  rownr) const

The header for a specific rownr.

const SDDIndexRep& SDDOnLine::index ( uInt  rownr) const

the things we need from the SDDFile The index rep for a specific rownr

void SDDOnLine::init ( ) [private]
Bool SDDOnLine::needToSync ( ) const

This just sees if there is a need to sync.

uInt SDDOnLine::nrow ( ) [inline]

Definition at line 103 of file SDDOnLine.h.

References nrow_p.

Int SDDOnLine::offStamp ( uInt  rownr) const

the offStamp for a particular row

SDDOnLine SDDOnLine::operator= ( const SDDOnLine ) [private]
Int SDDOnLine::sync ( )

sync with what is on disk, return the number of rows

Int SDDOnLine::timeStamp ( uInt  rownr) const

The timeStamp for a particular row.


Member Data Documentation

uInt SDDOnLine::nrow_p [private]

Definition at line 114 of file SDDOnLine.h.

Referenced by nrow().

SimpleOrderedMap<uInt, Int> SDDOnLine::offMap_p [private]

Definition at line 109 of file SDDOnLine.h.

Block<uInt> SDDOnLine::rowMap_p [private]

Definition at line 116 of file SDDOnLine.h.

Definition at line 112 of file SDDOnLine.h.

Definition at line 111 of file SDDOnLine.h.

Block<Int> SDDOnLine::timeStamp_p [private]

Definition at line 108 of file SDDOnLine.h.


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