General Purpose Geodetic Library
SgMasterRecord Class Reference

#include <SgMasterRecord.h>

Public Types

enum  MasterFileVersion { MFV_UNDEF = 0 , MFV_V01 = 1 , MFV_V02 = 2 }
 

Public Member Functions

 SgMasterRecord ()
 
 ~SgMasterRecord ()
 
SgMasterRecordoperator= (const SgMasterRecord &r)
 
bool isValid () const
 
const QString & getName () const
 
const QString & getType () const
 
const QString & getCode () const
 
const QString & getDate () const
 
const QString & getStations () const
 
const QString & getDbcCode () const
 
const QString & getScheduledBy () const
 
const QString & getCorrelatedBy () const
 
const QString & getSubmittedBy () const
 
MasterFileVersion mfVersion () const
 
void setName (const QString &s)
 
void setType (const QString &s)
 
void setCode (const QString &s)
 
void setDate (const QString &s)
 
void setStations (const QString &s)
 
void setDbcCode (const QString &s)
 
void setScheduledBy (const QString &s)
 
void setCorrelatedBy (const QString &s)
 
void setSubmittedBy (const QString &s)
 
bool lookupRecordByName (const QString &nickName, const QString &path)
 
bool lookupRecordByCode (const QString &sessionCode, const QString &sYear, const QString &path)
 
void parseString_v1 (const QString &)
 
void parseString_v2 (const QString &)
 

Static Public Member Functions

static const QString className ()
 

Private Member Functions

bool findRecordByName (const QString &date, const QString &dbcCode, const QString &fileName)
 
bool findRecordByCode (const QString &sessionCode, const QString &fileName)
 

Private Attributes

bool isValid_
 
QString name_
 
QString type_
 
QString code_
 
QString date_
 
QString stations_
 
QString dbcCode_
 
QString scheduledBy_
 
QString correlatedBy_
 
QString submittedBy_
 
MasterFileVersion mfVersion_
 

Detailed Description

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

Definition at line 49 of file SgMasterRecord.h.

Member Enumeration Documentation

◆ MasterFileVersion

Enumerator
MFV_UNDEF 
MFV_V01 
MFV_V02 

Definition at line 52 of file SgMasterRecord.h.

Constructor & Destructor Documentation

◆ SgMasterRecord()

SgMasterRecord::SgMasterRecord ( )
inline

A constructor. Creates an object.

Definition at line 182 of file SgMasterRecord.h.

References isValid_, MFV_UNDEF, and mfVersion_.

◆ ~SgMasterRecord()

SgMasterRecord::~SgMasterRecord ( )
inline

A destructor. Frees allocated memory.

Definition at line 200 of file SgMasterRecord.h.

Member Function Documentation

◆ className()

const QString SgMasterRecord::className ( )
static

Returns name of the class (for debug output).

Definition at line 45 of file SgMasterRecord.cpp.

Referenced by findRecordByCode(), findRecordByName(), lookupRecordByCode(), and lookupRecordByName().

◆ findRecordByCode()

bool SgMasterRecord::findRecordByCode ( const QString &  sessionCode,
const QString &  fileName 
)
private

◆ findRecordByName()

bool SgMasterRecord::findRecordByName ( const QString &  date,
const QString &  dbcCode,
const QString &  fileName 
)
private

◆ getCode()

const QString & SgMasterRecord::getCode ( ) const
inline

Definition at line 235 of file SgMasterRecord.h.

References code_.

Referenced by findRecordByCode(), findRecordByName(), and SgVlbiSession::selfCheck().

◆ getCorrelatedBy()

const QString & SgMasterRecord::getCorrelatedBy ( ) const
inline

Definition at line 275 of file SgMasterRecord.h.

References correlatedBy_.

Referenced by SgVlbiSession::selfCheck().

◆ getDate()

const QString & SgMasterRecord::getDate ( ) const
inline

Definition at line 243 of file SgMasterRecord.h.

References date_.

Referenced by findRecordByName(), and SgVlbiSession::selfCheck().

◆ getDbcCode()

const QString & SgMasterRecord::getDbcCode ( ) const
inline

Definition at line 259 of file SgMasterRecord.h.

References dbcCode_.

Referenced by findRecordByName(), and SgVlbiSession::selfCheck().

◆ getName()

const QString & SgMasterRecord::getName ( ) const
inline

Definition at line 219 of file SgMasterRecord.h.

References name_.

Referenced by SgVlbiSession::selfCheck().

◆ getScheduledBy()

const QString & SgMasterRecord::getScheduledBy ( ) const
inline

Definition at line 267 of file SgMasterRecord.h.

References scheduledBy_.

Referenced by SgVlbiSession::selfCheck().

◆ getStations()

const QString & SgMasterRecord::getStations ( ) const
inline

Definition at line 251 of file SgMasterRecord.h.

References stations_.

◆ getSubmittedBy()

const QString & SgMasterRecord::getSubmittedBy ( ) const
inline

Definition at line 283 of file SgMasterRecord.h.

References submittedBy_.

Referenced by SgVlbiSession::selfCheck().

◆ getType()

const QString & SgMasterRecord::getType ( ) const
inline

Definition at line 227 of file SgMasterRecord.h.

References type_.

Referenced by SgVlbiSession::selfCheck().

◆ isValid()

bool SgMasterRecord::isValid ( ) const
inline

Definition at line 211 of file SgMasterRecord.h.

References isValid_.

◆ lookupRecordByCode()

bool SgMasterRecord::lookupRecordByCode ( const QString &  sessionCode,
const QString &  sYear,
const QString &  path 
)

◆ lookupRecordByName()

bool SgMasterRecord::lookupRecordByName ( const QString &  nickName,
const QString &  path 
)

◆ mfVersion()

MasterFileVersion SgMasterRecord::mfVersion ( ) const
inline

Definition at line 106 of file SgMasterRecord.h.

References mfVersion_.

◆ operator=()

SgMasterRecord & SgMasterRecord::operator= ( const SgMasterRecord r)

An assignment operator.

Definition at line 53 of file SgMasterRecord.cpp.

References code_, correlatedBy_, date_, dbcCode_, isValid_, name_, scheduledBy_, stations_, submittedBy_, and type_.

◆ parseString_v1()

void SgMasterRecord::parseString_v1 ( const QString &  str)

◆ parseString_v2()

void SgMasterRecord::parseString_v2 ( const QString &  str)

◆ setCode()

void SgMasterRecord::setCode ( const QString &  s)
inline

Definition at line 307 of file SgMasterRecord.h.

References code_.

◆ setCorrelatedBy()

void SgMasterRecord::setCorrelatedBy ( const QString &  s)
inline

Definition at line 347 of file SgMasterRecord.h.

References correlatedBy_.

◆ setDate()

void SgMasterRecord::setDate ( const QString &  s)
inline

Definition at line 315 of file SgMasterRecord.h.

References date_.

◆ setDbcCode()

void SgMasterRecord::setDbcCode ( const QString &  s)
inline

Definition at line 331 of file SgMasterRecord.h.

References dbcCode_.

◆ setName()

void SgMasterRecord::setName ( const QString &  s)
inline

Definition at line 291 of file SgMasterRecord.h.

References name_.

◆ setScheduledBy()

void SgMasterRecord::setScheduledBy ( const QString &  s)
inline

Definition at line 339 of file SgMasterRecord.h.

References scheduledBy_.

◆ setStations()

void SgMasterRecord::setStations ( const QString &  s)
inline

Definition at line 323 of file SgMasterRecord.h.

References stations_.

◆ setSubmittedBy()

void SgMasterRecord::setSubmittedBy ( const QString &  s)
inline

Definition at line 355 of file SgMasterRecord.h.

References submittedBy_.

◆ setType()

void SgMasterRecord::setType ( const QString &  s)
inline

Definition at line 299 of file SgMasterRecord.h.

References type_.

Member Data Documentation

◆ code_

QString SgMasterRecord::code_
private

Definition at line 153 of file SgMasterRecord.h.

Referenced by getCode(), operator=(), parseString_v1(), parseString_v2(), and setCode().

◆ correlatedBy_

QString SgMasterRecord::correlatedBy_
private

◆ date_

QString SgMasterRecord::date_
private

Definition at line 154 of file SgMasterRecord.h.

Referenced by getDate(), operator=(), parseString_v1(), parseString_v2(), and setDate().

◆ dbcCode_

QString SgMasterRecord::dbcCode_
private

Definition at line 156 of file SgMasterRecord.h.

Referenced by getDbcCode(), operator=(), parseString_v1(), parseString_v2(), and setDbcCode().

◆ isValid_

bool SgMasterRecord::isValid_
private

Definition at line 149 of file SgMasterRecord.h.

Referenced by SgMasterRecord(), isValid(), operator=(), parseString_v1(), and parseString_v2().

◆ mfVersion_

MasterFileVersion SgMasterRecord::mfVersion_
private

◆ name_

QString SgMasterRecord::name_
private

Definition at line 151 of file SgMasterRecord.h.

Referenced by getName(), operator=(), parseString_v1(), parseString_v2(), and setName().

◆ scheduledBy_

QString SgMasterRecord::scheduledBy_
private

◆ stations_

QString SgMasterRecord::stations_
private

Definition at line 155 of file SgMasterRecord.h.

Referenced by getStations(), operator=(), parseString_v1(), parseString_v2(), and setStations().

◆ submittedBy_

QString SgMasterRecord::submittedBy_
private

◆ type_

QString SgMasterRecord::type_
private

Definition at line 152 of file SgMasterRecord.h.

Referenced by getType(), operator=(), parseString_v2(), and setType().


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