Binary WossDb for TimeArr.
More...
#include <res-time-arr-bin-db.h>
|
|
static void | setSpaceSampling (double value) |
| |
|
static double | getSpaceSampling () |
| |
|
static void | setSpaceSampling (double value) |
| |
|
static double | getSpaceSampling () |
| |
|
|
typedef ::std::map< time_t, TimeArr > | TimeMap |
| |
|
typedef TimeMap::iterator | TMIter |
| |
|
typedef TimeMap::const_iterator | TMCIter |
| |
|
typedef TimeMap::reverse_iterator | TMRIter |
| |
|
typedef ::std::map< PDouble, TimeMap > | FreqMap |
| |
|
typedef FreqMap::iterator | FMIter |
| |
|
typedef FreqMap::const_iterator | FMCIter |
| |
|
typedef FreqMap::reverse_iterator | FMRIter |
| |
|
typedef ::std::map< CoordZ, FreqMap, CoordComparator< ResTimeArrTxtDb, CoordZ > > | RxMap |
| |
|
typedef RxMap::iterator | RxMIter |
| |
|
typedef RxMap::const_iterator | RxMCIter |
| |
|
typedef RxMap::reverse_iterator | RxMRIter |
| |
| typedef ::std::map< CoordZ, RxMap, CoordComparator< ResTimeArrTxtDb, CoordZ > > | ArrMatrix |
| |
|
typedef ArrMatrix::iterator | AMXIter |
| |
|
typedef ArrMatrix::const_iterator | AMXCIter |
| |
|
typedef ArrMatrix::reverse_iterator | AMXRIter |
| |
|
typedef ArrMatrix::const_reverse_iterator | AMXCRIter |
| |
| ArrMatrix | arrivals_map |
| |
| int | initial_arrmap_size |
| |
|
bool | has_been_modified |
| |
| ::std::fstream | textual_db |
| |
| ::std::string | db_name |
| |
| bool | debug |
| |
|
static double | space_sampling = 0.0 |
| |
Binary WossDb for TimeArr.
ResTimeArrBinDb implements WossTextualDb and WossResTimeArrDb for storing calculated TimeArr into a binary file
◆ ResTimeArrBinDb()
| woss::ResTimeArrBinDb::ResTimeArrBinDb |
( |
const ::std::string & |
name | ) |
|
|
inline |
◆ importMap()
| bool ResTimeArrBinDb::importMap |
( |
| ) |
|
|
protectedvirtual |
Imports the binary file into arrivals_map. The format is the following:
tx latitude, tx longitude, tx depth, rx latitude, rx longitude, rx depth, frequency, total channel taps, delay-i-th real pressure-i-th, imag pressure-i-th
- Returns
- true if operation succeeds, false otherwise
Reimplemented from woss::ResTimeArrTxtDb.
References woss::ResTimeArrTxtDb::arrivals_map, woss::WossDb::db_name, woss::WossDb::debug, woss::ResTimeArrTxtDb::initial_arrmap_size, woss::TimeArr::insertValue(), woss::ResTimeArrTxtDb::printScreenMap(), and woss::WossTextualDb::textual_db.
◆ writeMap()
| bool ResTimeArrBinDb::writeMap |
( |
| ) |
|
|
protectedvirtual |
Writes arrivals_map into the binary file. The format is the following:
tx latitude, tx longitude, tx depth, rx latitude, rx longitude, rx depth, frequency, total channel taps, delay-i-th real pressure-i-th, imag pressure-i-th
- Returns
- true if operation succeeds, false otherwise
Reimplemented from woss::ResTimeArrTxtDb.
References woss::ResTimeArrTxtDb::arrivals_map, woss::TimeArr::begin(), woss::WossDb::db_name, woss::TimeArr::end(), woss::TimeArr::size(), and woss::WossTextualDb::textual_db.
The documentation for this class was generated from the following files: