40#ifndef WOSS_RES_PRESSURE_TXT_DB_H
41#define WOSS_RES_PRESSURE_TXT_DB_H
112 static void setSpaceSampling(
double value ) { space_sampling = value; }
114 static double getSpaceSampling() {
return space_sampling; }
120 typedef ::std::map< time_t, ::std::complex< double > > TimeMap;
121 typedef TimeMap::iterator TMIter;
122 typedef TimeMap::const_iterator TMCIter;
123 typedef TimeMap::reverse_iterator TMRIter;
125 typedef ::std::map< PDouble, TimeMap > FreqMap;
126 typedef FreqMap::iterator FMIter;
127 typedef FreqMap::reverse_iterator FMRIter;
129 typedef ::std::map< CoordZ, FreqMap, CoordComparator< ResPressureTxtDb, CoordZ > > RxMap;
130 typedef RxMap::iterator RxMIter;
131 typedef RxMap::reverse_iterator RxMRIter;
137 typedef ::std::map< CoordZ, RxMap, CoordComparator< ResPressureTxtDb, CoordZ > >
PressureMatrix;
138 typedef PressureMatrix::iterator PMIter;
139 typedef PressureMatrix::const_iterator PMCIter;
140 typedef PressureMatrix::reverse_iterator PMRIter;
141 typedef PressureMatrix::const_reverse_iterator PMCRIter;
144 static double space_sampling;
157 bool has_been_modified;
190 ::std::complex<double>
readMap(
const CoordZ& tx,
const CoordZ& rx,
const double frequency,
const Time& time_value )
const;
3D-Coordinates (lat, long, depth) class definitions and functions library
Definition coordinates-definitions.h:403
Complex attenuated pressure class.
Definition pressure-definitions.h:59
Textual WossDb for Pressure.
Definition res-pressure-txt-db.h:59
virtual bool insertValue(const CoordZ &coord_tx, const CoordZ &coord_rx, const double frequency, const Time &time_value, const Pressure &pressure)
Definition res-pressure-txt-db.cpp:338
int initial_pressmap_size
Definition res-pressure-txt-db.h:155
::std::complex< double > readMap(const CoordZ &tx, const CoordZ &rx, const double frequency, const Time &time_value) const
Definition res-pressure-txt-db.cpp:125
void printScreenMap()
Definition res-pressure-txt-db.cpp:238
virtual bool closeConnection()
Definition res-pressure-txt-db.cpp:322
virtual Pressure * getValue(const CoordZ &coord_tx, const CoordZ &coord_rx, const double frequency, const Time &time_value) const
Definition res-pressure-txt-db.cpp:330
::std::map< CoordZ, RxMap, CoordComparator< ResPressureTxtDb, CoordZ > > PressureMatrix
Definition res-pressure-txt-db.h:137
virtual bool finalizeConnection()
Definition res-pressure-txt-db.cpp:316
virtual bool writeMap()
Definition res-pressure-txt-db.cpp:154
virtual bool importMap()
Definition res-pressure-txt-db.cpp:70
PressureMatrix pressure_map
Definition res-pressure-txt-db.h:150
a class for time date manipulation
Definition time-definitions.h:95
Data behaviour class for storing calculated Pressure.
Definition woss-db.h:458
Textual implementation of WossDb.
Definition woss-db.h:245
Provides the interface for the woss::PDouble class.
Provides the interface for woss::WossDb class.