General Purpose Geodetic Library
|
#include <SgVex.h>
Classes | |
class | BbcSetup |
class | FreqSetup |
class | IfSetup |
class | StationSetup |
Public Member Functions | |
SgVexFile () | |
SgVexFile (const QString &inputFileName) | |
~SgVexFile () | |
const QString & | getInputFileName () const |
const QString & | getExperName () const |
const QString & | getExperDescription () const |
const SgMJD & | getExperNominalStart () const |
const SgMJD & | getExperNominalStop () const |
const QString & | getPiName () const |
const QString & | getPiEmail () const |
const QString & | getContactName () const |
const QString & | getcontactEmail () const |
const QString & | getSchedulerName () const |
const QString & | getSchedulerEmail () const |
const QString & | getTargetCorrelator () const |
void | setInputFileName (const QString &name) |
void | setExperName (const QString &name) |
void | setExperDescription (const QString &desc) |
void | setExperNominalStart (const SgMJD &t) |
void | setExperNominalStop (const SgMJD &t) |
void | setPiName (const QString &s) |
void | setPiEmail (const QString &s) |
void | setContactName (const QString &s) |
void | setContactEmail (const QString &s) |
void | setSchedulerName (const QString &s) |
void | setSchedulerEmail (const QString &s) |
void | setTargetCorrelator (const QString &s) |
const QList< SgVexSection * > & | getSections () const |
bool | parseVexFile (const QString &fileName) |
Static Public Member Functions | |
static const QString | className () |
Protected Member Functions | |
bool | parseSection (int &idx) |
bool | analyzeVex () |
const SgVexDefBlock * | lookupDef (const QString §Name, const QString &refName) |
const SgVexRefSatement * | lookupRef (const QString §Name, const QString &refName) |
const SgVexRefSatement * | lookupRef (const SgVexDefBlock *defBlock, const QString &refCode) |
const SgVexRefSatement * | lookupRef (const SgVexDefBlock *defBlock, const QString &refCode, const QString &qualifier) |
IfSetup * | ifSetup (const SgVexParameter *par) |
BbcSetup * | bbcSetup (const SgVexParameter *par) |
FreqSetup * | freqSetup (const SgVexParameter *par) |
double | str2frq (const QString &) const |
Protected Attributes | |
QString | inputFileName_ |
QString | exper_ |
QString | experName_ |
QString | experDescription_ |
SgMJD | experNominalStart_ |
SgMJD | experNominalStop_ |
QString | piName_ |
QString | piEmail_ |
QString | contactName_ |
QString | contactEmail_ |
QString | schedulerName_ |
QString | schedulerEmail_ |
QString | targetCorrelator_ |
QList< QString > | statements_ |
QList< SgVexSection * > | sections_ |
QMap< QString, SgVexSection * > | sectionByName_ |
QMap< QString, StationSetup * > | stnSetupById_ |
SgVexFile::~SgVexFile | ( | ) |
Definition at line 491 of file SgVex.cpp.
References sections_, and stnSetupById_.
|
protected |
Definition at line 627 of file SgVex.cpp.
References SgVexFile::StationSetup::bbcs(), bbcSetup(), className(), SgLogger::ERR, SgVexFile::StationSetup::freqs(), freqSetup(), SgVexFile::FreqSetup::getBandId(), SgVexFile::FreqSetup::getBandwidth(), SgVexFile::BbcSetup::getBbcId(), SgVexFile::FreqSetup::getBbcId(), SgVexFile::StationSetup::getBbcs(), SgVexFile::FreqSetup::getChanId(), SgVexSection::getDefBlocks(), SgVexFile::StationSetup::getFreqs(), SgVexFile::IfSetup::getIfId(), SgVexFile::BbcSetup::getIfId(), SgVexFile::IfSetup::getIfName(), SgVexFile::StationSetup::getIfs(), SgVexRefSatement::getKey(), SgVexDefBlock::getKey(), SgVexFile::IfSetup::getNetSideBand(), SgVexFile::FreqSetup::getNetSideBand(), SgVexFile::FreqSetup::getPhaseCalId(), SgVexFile::BbcSetup::getPhysNumber(), SgVexFile::IfSetup::getPolarization(), SgVexFile::FreqSetup::getSkyFreq(), SgVexFile::IfSetup::getTotalLo(), SgVexRefSatement::getValue(), SgVexParameter::getValues(), SgVexFile::StationSetup::ifs(), ifSetup(), SgLogger::IO_TXT, logger, lookupDef(), lookupRef(), SgVexDefBlock::parsByKey(), polarization2Str(), sectionByName_, sideBand2Str(), stnSetupById_, SgLogger::write(), and SgLogger::WRN.
Referenced by parseVexFile().
|
protected |
Definition at line 910 of file SgVex.cpp.
References className(), SgLogger::ERR, SgVexParameter::getValues(), SgLogger::IO_TXT, logger, and SgLogger::write().
Referenced by analyzeVex().
|
static |
Returns name of the class (for debug output).
Definition at line 435 of file SgVex.cpp.
Referenced by analyzeVex(), bbcSetup(), ifSetup(), parseSection(), parseVexFile(), and str2frq().
|
protected |
Definition at line 937 of file SgVex.cpp.
References CSB_LSB, CSB_UNDEF, CSB_USB, SgVexParameter::getValues(), and str2frq().
Referenced by analyzeVex().
|
inline |
Definition at line 437 of file SgVex.h.
References contactEmail_.
|
inline |
Definition at line 436 of file SgVex.h.
References contactName_.
|
inline |
Definition at line 424 of file SgVex.h.
References experDescription_.
|
inline |
Definition at line 423 of file SgVex.h.
References experName_.
|
inline |
|
inline |
|
inline |
Definition at line 422 of file SgVex.h.
References inputFileName_.
|
inline |
|
inline |
|
inline |
Definition at line 439 of file SgVex.h.
References schedulerEmail_.
|
inline |
Definition at line 438 of file SgVex.h.
References schedulerName_.
|
inline |
|
inline |
Definition at line 440 of file SgVex.h.
References targetCorrelator_.
|
protected |
Definition at line 864 of file SgVex.cpp.
References className(), CP_HorizontalLP, CP_LeftCP, CP_RightCP, CP_UNDEF, CP_VerticalLP, CSB_LSB, CSB_UNDEF, CSB_USB, SgLogger::ERR, SgVexParameter::getValues(), SgLogger::IO_TXT, logger, str2frq(), and SgLogger::write().
Referenced by analyzeVex().
|
protected |
Definition at line 978 of file SgVex.cpp.
References SgVexSection::getDefByKey(), SgVexDefBlock::getKey(), and sectionByName_.
Referenced by analyzeVex().
|
protected |
Definition at line 995 of file SgVex.cpp.
References SgVexSection::getRefByKey(), SgVexRefSatement::getValue(), and sectionByName_.
Referenced by analyzeVex().
|
protected |
Definition at line 1010 of file SgVex.cpp.
References SgVexRefSatement::getValue(), and SgVexDefBlock::refsByKey().
|
protected |
Definition at line 1025 of file SgVex.cpp.
References SgVexRefSatement::getValue(), and SgVexDefBlock::refsByKey().
|
protected |
Definition at line 603 of file SgVex.cpp.
References className(), SgLogger::IO_TXT, logger, SgVexSection::parseVex(), sections_, statements_, SgLogger::write(), and SgLogger::WRN.
Referenced by parseVexFile().
bool SgVexFile::parseVexFile | ( | const QString & | fileName | ) |
Definition at line 502 of file SgVex.cpp.
References analyzeVex(), className(), SgLogger::DBG, inputFileName_, SgLogger::IO_TXT, logger, parseSection(), sectionByName_, sections_, statements_, SgLogger::write(), and SgLogger::WRN.
|
inline |
Definition at line 464 of file SgVex.h.
References contactEmail_.
|
inline |
Definition at line 463 of file SgVex.h.
References contactName_.
|
inline |
Definition at line 451 of file SgVex.h.
References experDescription_.
|
inline |
Definition at line 450 of file SgVex.h.
References experName_.
|
inline |
|
inline |
|
inline |
Definition at line 449 of file SgVex.h.
References inputFileName_.
|
inline |
|
inline |
|
inline |
Definition at line 466 of file SgVex.h.
References schedulerEmail_.
|
inline |
Definition at line 465 of file SgVex.h.
References schedulerName_.
|
inline |
Definition at line 467 of file SgVex.h.
References targetCorrelator_.
|
protected |
Definition at line 1057 of file SgVex.cpp.
References className(), SgLogger::ERR, SgLogger::IO_TXT, logger, and SgLogger::write().
Referenced by freqSetup(), and ifSetup().
|
protected |
Definition at line 496 of file SgVex.h.
Referenced by getcontactEmail(), and setContactEmail().
|
protected |
Definition at line 495 of file SgVex.h.
Referenced by getContactName(), and setContactName().
|
protected |
Definition at line 490 of file SgVex.h.
Referenced by getExperDescription(), and setExperDescription().
|
protected |
Definition at line 489 of file SgVex.h.
Referenced by getExperName(), and setExperName().
|
protected |
Definition at line 491 of file SgVex.h.
Referenced by getExperNominalStart(), and setExperNominalStart().
|
protected |
Definition at line 492 of file SgVex.h.
Referenced by getExperNominalStop(), and setExperNominalStop().
|
protected |
Definition at line 483 of file SgVex.h.
Referenced by getInputFileName(), parseVexFile(), and setInputFileName().
|
protected |
Definition at line 494 of file SgVex.h.
Referenced by getPiEmail(), and setPiEmail().
|
protected |
Definition at line 493 of file SgVex.h.
Referenced by getPiName(), and setPiName().
|
protected |
Definition at line 498 of file SgVex.h.
Referenced by getSchedulerEmail(), and setSchedulerEmail().
|
protected |
Definition at line 497 of file SgVex.h.
Referenced by getSchedulerName(), and setSchedulerName().
|
protected |
Definition at line 505 of file SgVex.h.
Referenced by analyzeVex(), lookupDef(), lookupRef(), and parseVexFile().
|
protected |
Definition at line 504 of file SgVex.h.
Referenced by ~SgVexFile(), getSections(), parseSection(), and parseVexFile().
|
protected |
Definition at line 502 of file SgVex.h.
Referenced by parseSection(), and parseVexFile().
|
protected |
Definition at line 507 of file SgVex.h.
Referenced by ~SgVexFile(), and analyzeVex().
|
protected |
Definition at line 499 of file SgVex.h.
Referenced by getTargetCorrelator(), and setTargetCorrelator().