General Purpose Geodetic Library
SgVexFile Class Reference

#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 SgMJDgetExperNominalStart () const
 
const SgMJDgetExperNominalStop () 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 SgVexDefBlocklookupDef (const QString &sectName, const QString &refName)
 
const SgVexRefSatementlookupRef (const QString &sectName, const QString &refName)
 
const SgVexRefSatementlookupRef (const SgVexDefBlock *defBlock, const QString &refCode)
 
const SgVexRefSatementlookupRef (const SgVexDefBlock *defBlock, const QString &refCode, const QString &qualifier)
 
IfSetupifSetup (const SgVexParameter *par)
 
BbcSetupbbcSetup (const SgVexParameter *par)
 
FreqSetupfreqSetup (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_
 

Detailed Description

Definition at line 287 of file SgVex.h.

Constructor & Destructor Documentation

◆ SgVexFile() [1/2]

SgVexFile::SgVexFile ( )

Definition at line 443 of file SgVex.cpp.

◆ SgVexFile() [2/2]

SgVexFile::SgVexFile ( const QString &  inputFileName)

Definition at line 467 of file SgVex.cpp.

◆ ~SgVexFile()

SgVexFile::~SgVexFile ( )

Definition at line 491 of file SgVex.cpp.

References sections_, and stnSetupById_.

Member Function Documentation

◆ analyzeVex()

◆ bbcSetup()

SgVexFile::BbcSetup * SgVexFile::bbcSetup ( const SgVexParameter par)
protected

◆ className()

const QString SgVexFile::className ( )
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().

◆ freqSetup()

SgVexFile::FreqSetup * SgVexFile::freqSetup ( const SgVexParameter par)
protected

Definition at line 937 of file SgVex.cpp.

References CSB_LSB, CSB_UNDEF, CSB_USB, SgVexParameter::getValues(), and str2frq().

Referenced by analyzeVex().

◆ getcontactEmail()

const QString& SgVexFile::getcontactEmail ( ) const
inline

Definition at line 437 of file SgVex.h.

References contactEmail_.

◆ getContactName()

const QString& SgVexFile::getContactName ( ) const
inline

Definition at line 436 of file SgVex.h.

References contactName_.

◆ getExperDescription()

const QString& SgVexFile::getExperDescription ( ) const
inline

Definition at line 424 of file SgVex.h.

References experDescription_.

◆ getExperName()

const QString& SgVexFile::getExperName ( ) const
inline

Definition at line 423 of file SgVex.h.

References experName_.

◆ getExperNominalStart()

const SgMJD& SgVexFile::getExperNominalStart ( ) const
inline

Returns nominal start epoch.

Definition at line 428 of file SgVex.h.

References experNominalStart_.

◆ getExperNominalStop()

const SgMJD& SgVexFile::getExperNominalStop ( ) const
inline

Returns nominal stop epoch.

Definition at line 432 of file SgVex.h.

References experNominalStop_.

◆ getInputFileName()

const QString& SgVexFile::getInputFileName ( ) const
inline

Definition at line 422 of file SgVex.h.

References inputFileName_.

◆ getPiEmail()

const QString& SgVexFile::getPiEmail ( ) const
inline

Definition at line 435 of file SgVex.h.

References piEmail_.

◆ getPiName()

const QString& SgVexFile::getPiName ( ) const
inline

Definition at line 434 of file SgVex.h.

References piName_.

◆ getSchedulerEmail()

const QString& SgVexFile::getSchedulerEmail ( ) const
inline

Definition at line 439 of file SgVex.h.

References schedulerEmail_.

◆ getSchedulerName()

const QString& SgVexFile::getSchedulerName ( ) const
inline

Definition at line 438 of file SgVex.h.

References schedulerName_.

◆ getSections()

const QList<SgVexSection*>& SgVexFile::getSections ( ) const
inline

Definition at line 470 of file SgVex.h.

References sections_.

◆ getTargetCorrelator()

const QString& SgVexFile::getTargetCorrelator ( ) const
inline

Definition at line 440 of file SgVex.h.

References targetCorrelator_.

◆ ifSetup()

◆ lookupDef()

const SgVexDefBlock * SgVexFile::lookupDef ( const QString &  sectName,
const QString &  refName 
)
protected

Definition at line 978 of file SgVex.cpp.

References SgVexSection::getDefByKey(), SgVexDefBlock::getKey(), and sectionByName_.

Referenced by analyzeVex().

◆ lookupRef() [1/3]

const SgVexRefSatement * SgVexFile::lookupRef ( const QString &  sectName,
const QString &  refName 
)
protected

Definition at line 995 of file SgVex.cpp.

References SgVexSection::getRefByKey(), SgVexRefSatement::getValue(), and sectionByName_.

Referenced by analyzeVex().

◆ lookupRef() [2/3]

const SgVexRefSatement * SgVexFile::lookupRef ( const SgVexDefBlock defBlock,
const QString &  refCode 
)
protected

Definition at line 1010 of file SgVex.cpp.

References SgVexRefSatement::getValue(), and SgVexDefBlock::refsByKey().

◆ lookupRef() [3/3]

const SgVexRefSatement * SgVexFile::lookupRef ( const SgVexDefBlock defBlock,
const QString &  refCode,
const QString &  qualifier 
)
protected

Definition at line 1025 of file SgVex.cpp.

References SgVexRefSatement::getValue(), and SgVexDefBlock::refsByKey().

◆ parseSection()

bool SgVexFile::parseSection ( int &  idx)
protected

◆ parseVexFile()

bool SgVexFile::parseVexFile ( const QString &  fileName)

◆ setContactEmail()

void SgVexFile::setContactEmail ( const QString &  s)
inline

Definition at line 464 of file SgVex.h.

References contactEmail_.

◆ setContactName()

void SgVexFile::setContactName ( const QString &  s)
inline

Definition at line 463 of file SgVex.h.

References contactName_.

◆ setExperDescription()

void SgVexFile::setExperDescription ( const QString &  desc)
inline

Definition at line 451 of file SgVex.h.

References experDescription_.

◆ setExperName()

void SgVexFile::setExperName ( const QString &  name)
inline

Definition at line 450 of file SgVex.h.

References experName_.

◆ setExperNominalStart()

void SgVexFile::setExperNominalStart ( const SgMJD t)
inline

Sets up nominal start epoch.

Definition at line 455 of file SgVex.h.

References experNominalStart_.

◆ setExperNominalStop()

void SgVexFile::setExperNominalStop ( const SgMJD t)
inline

Sets up nominal stop epoch.

Definition at line 459 of file SgVex.h.

References experNominalStop_.

◆ setInputFileName()

void SgVexFile::setInputFileName ( const QString &  name)
inline

Definition at line 449 of file SgVex.h.

References inputFileName_.

◆ setPiEmail()

void SgVexFile::setPiEmail ( const QString &  s)
inline

Definition at line 462 of file SgVex.h.

References piEmail_.

◆ setPiName()

void SgVexFile::setPiName ( const QString &  s)
inline

Definition at line 461 of file SgVex.h.

References piName_.

◆ setSchedulerEmail()

void SgVexFile::setSchedulerEmail ( const QString &  s)
inline

Definition at line 466 of file SgVex.h.

References schedulerEmail_.

◆ setSchedulerName()

void SgVexFile::setSchedulerName ( const QString &  s)
inline

Definition at line 465 of file SgVex.h.

References schedulerName_.

◆ setTargetCorrelator()

void SgVexFile::setTargetCorrelator ( const QString &  s)
inline

Definition at line 467 of file SgVex.h.

References targetCorrelator_.

◆ str2frq()

double SgVexFile::str2frq ( const QString &  str) const
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().

Member Data Documentation

◆ contactEmail_

QString SgVexFile::contactEmail_
protected

Definition at line 496 of file SgVex.h.

Referenced by getcontactEmail(), and setContactEmail().

◆ contactName_

QString SgVexFile::contactName_
protected

Definition at line 495 of file SgVex.h.

Referenced by getContactName(), and setContactName().

◆ exper_

QString SgVexFile::exper_
protected

Definition at line 486 of file SgVex.h.

◆ experDescription_

QString SgVexFile::experDescription_
protected

Definition at line 490 of file SgVex.h.

Referenced by getExperDescription(), and setExperDescription().

◆ experName_

QString SgVexFile::experName_
protected

Definition at line 489 of file SgVex.h.

Referenced by getExperName(), and setExperName().

◆ experNominalStart_

SgMJD SgVexFile::experNominalStart_
protected

Definition at line 491 of file SgVex.h.

Referenced by getExperNominalStart(), and setExperNominalStart().

◆ experNominalStop_

SgMJD SgVexFile::experNominalStop_
protected

Definition at line 492 of file SgVex.h.

Referenced by getExperNominalStop(), and setExperNominalStop().

◆ inputFileName_

QString SgVexFile::inputFileName_
protected

Definition at line 483 of file SgVex.h.

Referenced by getInputFileName(), parseVexFile(), and setInputFileName().

◆ piEmail_

QString SgVexFile::piEmail_
protected

Definition at line 494 of file SgVex.h.

Referenced by getPiEmail(), and setPiEmail().

◆ piName_

QString SgVexFile::piName_
protected

Definition at line 493 of file SgVex.h.

Referenced by getPiName(), and setPiName().

◆ schedulerEmail_

QString SgVexFile::schedulerEmail_
protected

Definition at line 498 of file SgVex.h.

Referenced by getSchedulerEmail(), and setSchedulerEmail().

◆ schedulerName_

QString SgVexFile::schedulerName_
protected

Definition at line 497 of file SgVex.h.

Referenced by getSchedulerName(), and setSchedulerName().

◆ sectionByName_

QMap<QString, SgVexSection*> SgVexFile::sectionByName_
protected

Definition at line 505 of file SgVex.h.

Referenced by analyzeVex(), lookupDef(), lookupRef(), and parseVexFile().

◆ sections_

QList<SgVexSection*> SgVexFile::sections_
protected

Definition at line 504 of file SgVex.h.

Referenced by ~SgVexFile(), getSections(), parseSection(), and parseVexFile().

◆ statements_

QList<QString> SgVexFile::statements_
protected

Definition at line 502 of file SgVex.h.

Referenced by parseSection(), and parseVexFile().

◆ stnSetupById_

QMap<QString, StationSetup*> SgVexFile::stnSetupById_
protected

Definition at line 507 of file SgVex.h.

Referenced by ~SgVexFile(), and analyzeVex().

◆ targetCorrelator_

QString SgVexFile::targetCorrelator_
protected

Definition at line 499 of file SgVex.h.

Referenced by getTargetCorrelator(), and setTargetCorrelator().


The documentation for this class was generated from the following files: