General Purpose Geodetic Library
|
#include <SgExternalWeights.h>
Public Member Functions | |
SgExternalWeights () | |
SgExternalWeights (const QString &sessionName) | |
~SgExternalWeights () | |
const QString & | getFileName () const |
const QString & | getSessionName () const |
bool | isOk () const |
void | setSessionName (const QString &) |
bool | readFile (const QString &) |
void | setupExternalWeights (BaselinesByName &) |
Static Public Member Functions | |
static const QString | className () |
Private Attributes | |
QString | fileName_ |
QString | sessionName_ |
QMap< QString, SgBaselineExternalWeight * > | weights_ |
bool | isOk_ |
====================================================================================================
Definition at line 130 of file SgExternalWeights.h.
|
inline |
A constructor. Creates a default object.
Definition at line 334 of file SgExternalWeights.h.
References isOk_.
|
inline |
A constructor. The same but with a sessionName
Definition at line 345 of file SgExternalWeights.h.
References isOk_.
|
inline |
A destructor. Frees allocated memory.
Definition at line 356 of file SgExternalWeights.h.
References weights_.
|
static |
Returns name of the class (for debug output).
Definition at line 117 of file SgExternalWeights.cpp.
Referenced by readFile(), and setupExternalWeights().
|
inline |
Returns a name of the file with external weights.
Definition at line 370 of file SgExternalWeights.h.
References fileName_.
Referenced by SgVlbiSession::lookupExternalWeights().
|
inline |
Returns a name of the baseline.
Definition at line 378 of file SgExternalWeights.h.
References sessionName_.
|
inline |
Returns an OKness status.
Definition at line 386 of file SgExternalWeights.h.
References isOk_.
Referenced by SgVlbiSession::process().
bool SgExternalWeights::readFile | ( | const QString & | fileName | ) |
Reads model's values from an external file.
Definition at line 125 of file SgExternalWeights.cpp.
References className(), SgLogger::DBG, fileName_, SgBaselineExternalWeight::getBaselineName(), SgBaselineExternalWeight::getDbhVersionNumber(), SgBaselineExternalWeight::getDelayWeight(), SgBaselineExternalWeight::getRateWeight(), SgLogger::IO_TXT, isOk_, logger, SgBaselineExternalWeight::parseString(), sessionName_, SgBaselineExternalWeight::setDbhVersionNumber(), SgBaselineExternalWeight::setDelayWeight(), SgBaselineExternalWeight::setRateWeight(), weights_, SgLogger::write(), and SgLogger::WRN.
Referenced by SgVlbiSession::lookupExternalWeights().
|
inline |
Sets up a name of the baseline.
Definition at line 395 of file SgExternalWeights.h.
References sessionName_.
Referenced by SgVlbiSession::selfCheck().
void SgExternalWeights::setupExternalWeights | ( | BaselinesByName & | baselines | ) |
Definition at line 187 of file SgExternalWeights.cpp.
References className(), DT_DELAY, DT_RATE, SgBaselineExternalWeight::getDelayWeight(), SgObjectInfo::getKey(), SgBaselineExternalWeight::getRateWeight(), SgLogger::IO_TXT, logger, SgObjectInfo::setSigma2add(), weights_, SgLogger::write(), and SgLogger::WRN.
Referenced by SgVlbiSession::process().
|
private |
Definition at line 187 of file SgExternalWeights.h.
Referenced by getFileName(), and readFile().
|
private |
Definition at line 190 of file SgExternalWeights.h.
Referenced by SgExternalWeights(), isOk(), and readFile().
|
private |
Definition at line 188 of file SgExternalWeights.h.
Referenced by getSessionName(), readFile(), and setSessionName().
|
private |
Definition at line 189 of file SgExternalWeights.h.
Referenced by ~SgExternalWeights(), readFile(), and setupExternalWeights().