General Purpose Geodetic Library
SgNetworkStations Class Reference

#include <SgNetworkStnRecord.h>

Public Member Functions

 SgNetworkStations (const QString &path2file)
 
 ~SgNetworkStations ()
 
bool isOk () const
 
const QString & getFileName () const
 
const QString & getPath2file () const
 
void setFileName (const QString &fn)
 
void setPath2file (const QString &path)
 
const QMultiMap< QString, SgNetworkStnRecord > & recsByName () const
 
const QMultiMap< QString, SgNetworkStnRecord > & recsById () const
 
bool readFile ()
 
const SgNetworkStnRecordlookUp (const QString &)
 

Static Public Member Functions

static const QString className ()
 

Private Attributes

bool isOk_
 
QString path2file_
 
QString fileName_
 
QMultiMap< QString, SgNetworkStnRecordrecByName_
 
QMultiMap< QString, SgNetworkStnRecordrecById_
 

Detailed Description

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

Definition at line 139 of file SgNetworkStnRecord.h.

Constructor & Destructor Documentation

◆ SgNetworkStations()

SgNetworkStations::SgNetworkStations ( const QString &  path2file)
inline

A constructor. Creates an object.

Definition at line 354 of file SgNetworkStnRecord.h.

References isOk_.

◆ ~SgNetworkStations()

SgNetworkStations::~SgNetworkStations ( )
inline

A destructor. Frees allocated memory.

Definition at line 366 of file SgNetworkStnRecord.h.

References recById_, and recByName_.

Member Function Documentation

◆ className()

const QString SgNetworkStations::className ( )
static

Returns name of the class (for debug output).

Definition at line 112 of file SgNetworkStnRecord.cpp.

Referenced by readFile().

◆ getFileName()

const QString& SgNetworkStations::getFileName ( ) const
inline

Definition at line 164 of file SgNetworkStnRecord.h.

References fileName_.

◆ getPath2file()

const QString& SgNetworkStations::getPath2file ( ) const
inline

Definition at line 165 of file SgNetworkStnRecord.h.

References path2file_.

◆ isOk()

bool SgNetworkStations::isOk ( ) const
inline

Definition at line 163 of file SgNetworkStnRecord.h.

References isOk_.

◆ lookUp()

const SgNetworkStnRecord & SgNetworkStations::lookUp ( const QString &  key)

Definition at line 173 of file SgNetworkStnRecord.cpp.

References recByName_.

◆ readFile()

◆ recsById()

const QMultiMap<QString, SgNetworkStnRecord>& SgNetworkStations::recsById ( ) const
inline

Definition at line 170 of file SgNetworkStnRecord.h.

References recById_.

Referenced by SgVlbiSession::stnInpt2Key().

◆ recsByName()

const QMultiMap<QString, SgNetworkStnRecord>& SgNetworkStations::recsByName ( ) const
inline

Definition at line 169 of file SgNetworkStnRecord.h.

References recByName_.

Referenced by SgVlbiSession::importDataFromLogFiles().

◆ setFileName()

void SgNetworkStations::setFileName ( const QString &  fn)
inline

Definition at line 167 of file SgNetworkStnRecord.h.

References fileName_.

◆ setPath2file()

void SgNetworkStations::setPath2file ( const QString &  path)
inline

Definition at line 168 of file SgNetworkStnRecord.h.

References path2file_.

Member Data Documentation

◆ fileName_

QString SgNetworkStations::fileName_
private

Definition at line 191 of file SgNetworkStnRecord.h.

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

◆ isOk_

bool SgNetworkStations::isOk_
private

Definition at line 189 of file SgNetworkStnRecord.h.

Referenced by SgNetworkStations(), isOk(), and readFile().

◆ path2file_

QString SgNetworkStations::path2file_
private

Definition at line 190 of file SgNetworkStnRecord.h.

Referenced by getPath2file(), readFile(), and setPath2file().

◆ recById_

QMultiMap<QString, SgNetworkStnRecord> SgNetworkStations::recById_
private

Definition at line 195 of file SgNetworkStnRecord.h.

Referenced by ~SgNetworkStations(), readFile(), and recsById().

◆ recByName_

QMultiMap<QString, SgNetworkStnRecord> SgNetworkStations::recByName_
private

Definition at line 193 of file SgNetworkStnRecord.h.

Referenced by ~SgNetworkStations(), lookUp(), readFile(), and recsByName().


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