casa
$Rev:20696$
|
a class for accessing on-line SDD data files at the 140ft More...
#include <SDDOnLine.h>
Public Member Functions | |
SDDOnLine () | |
SDDOnLine (const String &sddFileName) | |
SDDOnLine (const SDDOnLine &other) | |
~SDDOnLine () | |
void | attach (const String &sddFileName) |
attach to two new files | |
const SDDIndexRep & | index (uInt rownr) const |
the things we need from the SDDFile The index rep for a specific rownr | |
const SDDHeader & | header (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 |
SDDFile * | sddFile_p |
uInt | nrow_p |
Block< uInt > | rowMap_p |
a class for accessing on-line SDD data files at the 140ft
Public interface
Definition at line 70 of file SDDOnLine.h.
SDDOnLine::SDDOnLine | ( | const String & | sddFileName | ) |
SDDOnLine::SDDOnLine | ( | const SDDOnLine & | other | ) |
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
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.
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.
SDDFile* SDDOnLine::sddFile_p [private] |
Definition at line 112 of file SDDOnLine.h.
String SDDOnLine::sddFileName_p [private] |
Definition at line 111 of file SDDOnLine.h.
Block<Int> SDDOnLine::timeStamp_p [private] |
Definition at line 108 of file SDDOnLine.h.