General Purpose Geodetic Library
SgMasterRecord Class Reference

#include <SgMasterRecord.h>

Public Member Functions

 SgMasterRecord ()
 
 ~SgMasterRecord ()
 
SgMasterRecordoperator= (const SgMasterRecord &r)
 
bool isValid () const
 
const QString & getName () 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
 
void setName (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 (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 code_
 
QString date_
 
QString stations_
 
QString dbcCode_
 
QString scheduledBy_
 
QString correlatedBy_
 
QString submittedBy_
 

Detailed Description

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

Definition at line 49 of file SgMasterRecord.h.

Constructor & Destructor Documentation

◆ SgMasterRecord()

SgMasterRecord::SgMasterRecord ( )
inline

A constructor. Creates an object.

Definition at line 163 of file SgMasterRecord.h.

References isValid_.

◆ ~SgMasterRecord()

SgMasterRecord::~SgMasterRecord ( )
inline

A destructor. Frees allocated memory.

Definition at line 179 of file SgMasterRecord.h.

Member Function Documentation

◆ className()

const QString SgMasterRecord::className ( )
static

Returns name of the class (for debug output).

Definition at line 44 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 206 of file SgMasterRecord.h.

References code_.

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

◆ getCorrelatedBy()

const QString & SgMasterRecord::getCorrelatedBy ( ) const
inline

Definition at line 246 of file SgMasterRecord.h.

References correlatedBy_.

Referenced by SgVlbiSession::selfCheck().

◆ getDate()

const QString & SgMasterRecord::getDate ( ) const
inline

Definition at line 214 of file SgMasterRecord.h.

References date_.

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

◆ getDbcCode()

const QString & SgMasterRecord::getDbcCode ( ) const
inline

Definition at line 230 of file SgMasterRecord.h.

References dbcCode_.

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

◆ getName()

const QString & SgMasterRecord::getName ( ) const
inline

Definition at line 198 of file SgMasterRecord.h.

References name_.

Referenced by SgVlbiSession::selfCheck().

◆ getScheduledBy()

const QString & SgMasterRecord::getScheduledBy ( ) const
inline

Definition at line 238 of file SgMasterRecord.h.

References scheduledBy_.

Referenced by SgVlbiSession::selfCheck().

◆ getStations()

const QString & SgMasterRecord::getStations ( ) const
inline

Definition at line 222 of file SgMasterRecord.h.

References stations_.

◆ getSubmittedBy()

const QString & SgMasterRecord::getSubmittedBy ( ) const
inline

Definition at line 254 of file SgMasterRecord.h.

References submittedBy_.

Referenced by SgVlbiSession::selfCheck().

◆ isValid()

bool SgMasterRecord::isValid ( ) const
inline

Definition at line 190 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 
)

◆ operator=()

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

An assignment operator.

Definition at line 52 of file SgMasterRecord.cpp.

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

◆ parseString()

void SgMasterRecord::parseString ( const QString &  str)

◆ setCode()

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

Definition at line 270 of file SgMasterRecord.h.

References code_.

◆ setCorrelatedBy()

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

Definition at line 310 of file SgMasterRecord.h.

References correlatedBy_.

◆ setDate()

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

Definition at line 278 of file SgMasterRecord.h.

References date_.

◆ setDbcCode()

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

Definition at line 294 of file SgMasterRecord.h.

References dbcCode_.

◆ setName()

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

Definition at line 262 of file SgMasterRecord.h.

References name_.

◆ setScheduledBy()

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

Definition at line 302 of file SgMasterRecord.h.

References scheduledBy_.

◆ setStations()

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

Definition at line 286 of file SgMasterRecord.h.

References stations_.

◆ setSubmittedBy()

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

Definition at line 318 of file SgMasterRecord.h.

References submittedBy_.

Member Data Documentation

◆ code_

QString SgMasterRecord::code_
private

Definition at line 135 of file SgMasterRecord.h.

Referenced by getCode(), operator=(), parseString(), and setCode().

◆ correlatedBy_

QString SgMasterRecord::correlatedBy_
private

Definition at line 140 of file SgMasterRecord.h.

Referenced by getCorrelatedBy(), operator=(), parseString(), and setCorrelatedBy().

◆ date_

QString SgMasterRecord::date_
private

Definition at line 136 of file SgMasterRecord.h.

Referenced by getDate(), operator=(), parseString(), and setDate().

◆ dbcCode_

QString SgMasterRecord::dbcCode_
private

Definition at line 138 of file SgMasterRecord.h.

Referenced by getDbcCode(), operator=(), parseString(), and setDbcCode().

◆ isValid_

bool SgMasterRecord::isValid_
private

Definition at line 132 of file SgMasterRecord.h.

Referenced by SgMasterRecord(), isValid(), operator=(), and parseString().

◆ name_

QString SgMasterRecord::name_
private

Definition at line 134 of file SgMasterRecord.h.

Referenced by getName(), operator=(), parseString(), and setName().

◆ scheduledBy_

QString SgMasterRecord::scheduledBy_
private

Definition at line 139 of file SgMasterRecord.h.

Referenced by getScheduledBy(), operator=(), parseString(), and setScheduledBy().

◆ stations_

QString SgMasterRecord::stations_
private

Definition at line 137 of file SgMasterRecord.h.

Referenced by getStations(), operator=(), parseString(), and setStations().

◆ submittedBy_

QString SgMasterRecord::submittedBy_
private

Definition at line 141 of file SgMasterRecord.h.

Referenced by getSubmittedBy(), operator=(), parseString(), and setSubmittedBy().


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