General Purpose Geodetic Library
SgDbhHistoryEntry Class Reference

#include <SgDbhFormat.h>

Public Member Functions

 SgDbhHistoryEntry ()
 
 ~SgDbhHistoryEntry ()
 
bool isOk () const
 
bool isHistoryLine () const
 
bool isLast () const
 
void dump (QTextStream &s) const
 
const QString & getText ()
 
int getVersion ()
 
SgMJD getEpoch () const
 
void setText (const QString &text)
 
void setVersion (int version)
 
void setEpoch (const SgMJD &t)
 
void unsetOkFlag ()
 
void setEvent (const QString &, const QString &, int, const SgMJD &)
 
QString className () const
 

Protected Attributes

SgDbhServiceRecordHS1 record1_
 
SgDbhServiceRecordHS2 record2_
 
SgDbhDataRecordString record3_
 
bool isOK_
 

Friends

SgDbhStreamoperator>> (SgDbhStream &, SgDbhHistoryEntry &)
 
SgDbhStreamoperator<< (SgDbhStream &, const SgDbhHistoryEntry &)
 

Detailed Description

One entry in the History. ====================================================================================================

Definition at line 487 of file SgDbhFormat.h.

Constructor & Destructor Documentation

◆ SgDbhHistoryEntry()

SgDbhHistoryEntry::SgDbhHistoryEntry ( )
inline

Definition at line 495 of file SgDbhFormat.h.

References isOK_.

◆ ~SgDbhHistoryEntry()

SgDbhHistoryEntry::~SgDbhHistoryEntry ( )
inline

Definition at line 496 of file SgDbhFormat.h.

Member Function Documentation

◆ className()

QString SgDbhHistoryEntry::className ( ) const
inline

Definition at line 511 of file SgDbhFormat.h.

◆ dump()

void SgDbhHistoryEntry::dump ( QTextStream &  s) const

◆ getEpoch()

SgMJD SgDbhHistoryEntry::getEpoch ( ) const
inline

◆ getText()

const QString& SgDbhHistoryEntry::getText ( )
inline

Definition at line 502 of file SgDbhFormat.h.

References SgDbhDataRecordString::getText(), and record3_.

Referenced by SgVlbiHistory::importDbhHistoryBlock().

◆ getVersion()

int SgDbhHistoryEntry::getVersion ( )
inline

◆ isHistoryLine()

bool SgDbhHistoryEntry::isHistoryLine ( ) const
inline

Definition at line 498 of file SgDbhFormat.h.

References SgDbhServiceRecord::isCorrectPrefix(), and record1_.

◆ isLast()

bool SgDbhHistoryEntry::isLast ( ) const
inline

Definition at line 499 of file SgDbhFormat.h.

References SgDbhServiceRecordHS1::isZ1(), and record1_.

◆ isOk()

bool SgDbhHistoryEntry::isOk ( ) const
inline

Definition at line 497 of file SgDbhFormat.h.

References isOK_.

◆ setEpoch()

void SgDbhHistoryEntry::setEpoch ( const SgMJD t)
inline

Definition at line 508 of file SgDbhFormat.h.

References record1_, and SgDbhServiceRecordHS1::setHistoryEpoch().

Referenced by setEvent().

◆ setEvent()

void SgDbhHistoryEntry::setEvent ( const QString &  text,
const QString &  sessionID,
int  version,
const SgMJD t 
)

◆ setText()

void SgDbhHistoryEntry::setText ( const QString &  text)

◆ setVersion()

void SgDbhHistoryEntry::setVersion ( int  version)
inline

Definition at line 507 of file SgDbhFormat.h.

References record1_, and SgDbhServiceRecordHS1::setVersionNumber().

Referenced by setEvent().

◆ unsetOkFlag()

void SgDbhHistoryEntry::unsetOkFlag ( )
inline

Definition at line 509 of file SgDbhFormat.h.

References isOK_.

Friends And Related Function Documentation

◆ operator<<

SgDbhStream& operator<< ( SgDbhStream s,
const SgDbhHistoryEntry entry 
)
friend

Definition at line 1089 of file SgDbhFormat.cpp.

◆ operator>>

SgDbhStream& operator>> ( SgDbhStream s,
SgDbhHistoryEntry entry 
)
friend

Definition at line 1070 of file SgDbhFormat.cpp.

Member Data Documentation

◆ isOK_

bool SgDbhHistoryEntry::isOK_
protected

Definition at line 493 of file SgDbhFormat.h.

Referenced by SgDbhHistoryEntry(), isOk(), and unsetOkFlag().

◆ record1_

SgDbhServiceRecordHS1 SgDbhHistoryEntry::record1_
protected

◆ record2_

SgDbhServiceRecordHS2 SgDbhHistoryEntry::record2_
protected

Definition at line 491 of file SgDbhFormat.h.

Referenced by dump(), and setEvent().

◆ record3_

SgDbhDataRecordString SgDbhHistoryEntry::record3_
protected

Definition at line 492 of file SgDbhFormat.h.

Referenced by dump(), getText(), and setText().


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