General Purpose Geodetic Library
SgAPriories Class Reference

#include <SgAPrioriData.h>

Inheritance diagram for SgAPriories:
QMultiMap

Public Types

enum  DataType {
  DT_UNDEF = 0 , DT_STN_POS = 1 , DT_STN_VEL = 2 , DT_SRC_POS = 3 ,
  DT_AXS_OFS = 4 , DT_STN_GRD = 5 , DT_SRC_SSM = 6
}
 

Public Member Functions

 SgAPriories (DataType=DT_UNDEF)
 
 ~SgAPriories ()
 
DataType getDataType () const
 
const QString & getFileName () const
 
const SgMJDgetT0 () const
 
void setDataType (DataType)
 
void setT0 (const SgMJD &)
 
bool readFile (const QString &fileName, DataType=DT_UNDEF)
 
SgAPrioriReclookupApRecord (const QString &, const SgMJD &=tZero)
 

Static Public Member Functions

static const QString className ()
 

Private Member Functions

bool parseString4StnPos (const QString &str, SgAPrioriRec &rec)
 
bool parseString4StnVel (const QString &str, SgAPrioriRec &rec)
 
bool parseString4SrcPos (const QString &str, SgAPrioriRec &rec)
 
bool parseString4AxsOfs (const QString &str, SgAPrioriRec &rec)
 
bool parseString4StnGrd (const QString &str, SgAPrioriRec &rec)
 
bool parseFileSrcSsm (QTextStream &s)
 
void clearStorage ()
 

Private Attributes

DataType dataType_
 
QString fileName_
 
SgMJD t0_
 

Detailed Description

====================================================================================================

Definition at line 154 of file SgAPrioriData.h.

Member Enumeration Documentation

◆ DataType

Enumerator
DT_UNDEF 
DT_STN_POS 
DT_STN_VEL 
DT_SRC_POS 
DT_AXS_OFS 
DT_STN_GRD 
DT_SRC_SSM 

Definition at line 157 of file SgAPrioriData.h.

Constructor & Destructor Documentation

◆ SgAPriories()

SgAPriories::SgAPriories ( DataType  dataType = DT_UNDEF)
inline

A constructor. Creates a default object.

Definition at line 305 of file SgAPrioriData.h.

References dataType_.

◆ ~SgAPriories()

SgAPriories::~SgAPriories ( )
inline

A destructor. Frees allocated memory.

Definition at line 316 of file SgAPrioriData.h.

References clearStorage().

Member Function Documentation

◆ className()

const QString SgAPriories::className ( )
static

Returns name of the class (for debug output).

Definition at line 60 of file SgAPrioriData.cpp.

Referenced by parseFileSrcSsm(), parseString4AxsOfs(), parseString4SrcPos(), parseString4StnGrd(), parseString4StnPos(), parseString4StnVel(), and readFile().

◆ clearStorage()

void SgAPriories::clearStorage ( )
private

Definition at line 68 of file SgAPrioriData.cpp.

References fileName_.

Referenced by ~SgAPriories(), and readFile().

◆ getDataType()

SgAPriories::DataType SgAPriories::getDataType ( ) const
inline

Definition at line 324 of file SgAPrioriData.h.

References dataType_.

◆ getFileName()

const QString & SgAPriories::getFileName ( ) const
inline

Definition at line 332 of file SgAPrioriData.h.

References fileName_.

Referenced by SgVlbiSession::collectAPriories(), and SgVlbiSession::process().

◆ getT0()

◆ lookupApRecord()

SgAPrioriRec * SgAPriories::lookupApRecord ( const QString &  key,
const SgMJD t = tZero 
)

Definition at line 672 of file SgAPrioriData.cpp.

References tZero.

Referenced by SgVlbiSession::collectAPriories().

◆ parseFileSrcSsm()

◆ parseString4AxsOfs()

bool SgAPriories::parseString4AxsOfs ( const QString &  str,
SgAPrioriRec rec 
)
private

◆ parseString4SrcPos()

bool SgAPriories::parseString4SrcPos ( const QString &  str,
SgAPrioriRec rec 
)
private

◆ parseString4StnGrd()

bool SgAPriories::parseString4StnGrd ( const QString &  str,
SgAPrioriRec rec 
)
private

◆ parseString4StnPos()

bool SgAPriories::parseString4StnPos ( const QString &  str,
SgAPrioriRec rec 
)
private

◆ parseString4StnVel()

bool SgAPriories::parseString4StnVel ( const QString &  str,
SgAPrioriRec rec 
)
private

◆ readFile()

◆ setDataType()

void SgAPriories::setDataType ( SgAPriories::DataType  dataType)
inline

Definition at line 348 of file SgAPrioriData.h.

References dataType_.

◆ setT0()

void SgAPriories::setT0 ( const SgMJD t)
inline

Definition at line 356 of file SgAPrioriData.h.

References t0_.

Member Data Documentation

◆ dataType_

DataType SgAPriories::dataType_
private

Definition at line 208 of file SgAPrioriData.h.

Referenced by SgAPriories(), getDataType(), readFile(), and setDataType().

◆ fileName_

QString SgAPriories::fileName_
private

Definition at line 209 of file SgAPrioriData.h.

Referenced by clearStorage(), getFileName(), and readFile().

◆ t0_

SgMJD SgAPriories::t0_
private

Definition at line 210 of file SgAPrioriData.h.

Referenced by getT0(), readFile(), and setT0().


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