General Purpose Geodetic Library
SgMeteoReading Class Reference

#include <SgStnLogCollector.h>

Public Member Functions

 SgMeteoReading ()
 
 SgMeteoReading (const SgMJD &t, const SgMeteoData &m)
 
 SgMeteoReading (const SgMeteoReading &mr)
 
 SgMeteoReading (const SgMJD &t, double temp, double pres, double rho)
 
 ~SgMeteoReading ()
 
const SgMJDgetT () const
 
const SgMeteoDatagetM () const
 
bool getIsOk () const
 
const SgOnSourceRecordgetOsRec () const
 
void setT (const SgMJD &t)
 
void setM (const SgMeteoData &m)
 
void setIsOk (bool isOk)
 
void setOsRec (SgOnSourceRecord *os)
 
bool operator== (const SgMeteoReading &met) const
 

Static Public Member Functions

static const QString className ()
 

Private Attributes

SgMJD t_
 
SgMeteoData m_
 
bool isOk_
 
SgOnSourceRecordosRec_
 

Detailed Description

SgMeteoReading: ====================================================================================================

Definition at line 161 of file SgStnLogCollector.h.

Constructor & Destructor Documentation

◆ SgMeteoReading() [1/4]

SgMeteoReading::SgMeteoReading ( )
inline

A constructor. Creates an object.

Definition at line 174 of file SgStnLogCollector.h.

References isOk_, and osRec_.

◆ SgMeteoReading() [2/4]

SgMeteoReading::SgMeteoReading ( const SgMJD t,
const SgMeteoData m 
)
inline

Definition at line 175 of file SgStnLogCollector.h.

References isOk_, and osRec_.

◆ SgMeteoReading() [3/4]

SgMeteoReading::SgMeteoReading ( const SgMeteoReading mr)
inline

Definition at line 176 of file SgStnLogCollector.h.

References getIsOk(), osRec_, and setIsOk().

◆ SgMeteoReading() [4/4]

SgMeteoReading::SgMeteoReading ( const SgMJD t,
double  temp,
double  pres,
double  rho 
)
inline

Definition at line 178 of file SgStnLogCollector.h.

References isOk_, and osRec_.

◆ ~SgMeteoReading()

SgMeteoReading::~SgMeteoReading ( )
inline

A destructor. Frees allocated memory.

Definition at line 185 of file SgStnLogCollector.h.

References osRec_.

Member Function Documentation

◆ className()

const QString SgMeteoReading::className ( )
static

Returns name of the class (for debug output).

Definition at line 78 of file SgStnLogCollector.cpp.

◆ getIsOk()

bool SgMeteoReading::getIsOk ( ) const
inline

Definition at line 192 of file SgStnLogCollector.h.

References isOk_.

Referenced by SgMeteoReading().

◆ getM()

const SgMeteoData& SgMeteoReading::getM ( ) const
inline

Definition at line 191 of file SgStnLogCollector.h.

References m_.

Referenced by SgStnLogReadings::createAntabFile(), and SgStnLogReadings::createAntCalFile().

◆ getOsRec()

const SgOnSourceRecord* SgMeteoReading::getOsRec ( ) const
inline

Definition at line 193 of file SgStnLogCollector.h.

References osRec_.

Referenced by SgStnLogReadings::createAntCalFile().

◆ getT()

const SgMJD& SgMeteoReading::getT ( ) const
inline

Definition at line 190 of file SgStnLogCollector.h.

References t_.

Referenced by SgStnLogReadings::createAntabFile(), and SgStnLogReadings::createAntCalFile().

◆ operator==()

bool SgMeteoReading::operator== ( const SgMeteoReading met) const
inline

Definition at line 203 of file SgStnLogCollector.h.

References isOk_, m_, and t_.

◆ setIsOk()

void SgMeteoReading::setIsOk ( bool  isOk)
inline

Definition at line 197 of file SgStnLogCollector.h.

References isOk_.

Referenced by SgMeteoReading().

◆ setM()

void SgMeteoReading::setM ( const SgMeteoData m)
inline

Definition at line 196 of file SgStnLogCollector.h.

References m_.

◆ setOsRec()

void SgMeteoReading::setOsRec ( SgOnSourceRecord os)
inline

Definition at line 198 of file SgStnLogCollector.h.

References osRec_.

Referenced by SgStnLogCollector::readLogFile().

◆ setT()

void SgMeteoReading::setT ( const SgMJD t)
inline

Definition at line 195 of file SgStnLogCollector.h.

References t_.

Member Data Documentation

◆ isOk_

bool SgMeteoReading::isOk_
private

Definition at line 222 of file SgStnLogCollector.h.

Referenced by SgMeteoReading(), getIsOk(), operator==(), and setIsOk().

◆ m_

SgMeteoData SgMeteoReading::m_
private

Definition at line 221 of file SgStnLogCollector.h.

Referenced by getM(), operator==(), and setM().

◆ osRec_

SgOnSourceRecord* SgMeteoReading::osRec_
private

Definition at line 223 of file SgStnLogCollector.h.

Referenced by SgMeteoReading(), ~SgMeteoReading(), getOsRec(), and setOsRec().

◆ t_

SgMJD SgMeteoReading::t_
private

Definition at line 220 of file SgStnLogCollector.h.

Referenced by getT(), operator==(), and setT().


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