General Purpose Geodetic Library
SgVlbiHistoryRecord Class Reference

#include <SgVlbiHistory.h>

Public Member Functions

 SgVlbiHistoryRecord ()
 
 SgVlbiHistoryRecord (const SgMJD &, int, const QString &, bool=false)
 
 SgVlbiHistoryRecord (const SgVlbiHistoryRecord &rec)
 
 ~SgVlbiHistoryRecord ()
 
const SgMJDgetEpoch () const
 
int getVersion () const
 
const QString & getText () const
 
bool getIsEditable () const
 
void setEpoch (const SgMJD &t)
 
void setVersion (int v)
 
void setText (const QString &text)
 
void setIsEditable (bool is)
 
const QString className () const
 

Private Attributes

SgMJD epoch_
 
int version_
 
QString text_
 
bool isEditable_
 

Detailed Description

SgVlbiHistoryRecord, a record of history block of DBH files. ====================================================================================================

Definition at line 49 of file SgVlbiHistory.h.

Constructor & Destructor Documentation

◆ SgVlbiHistoryRecord() [1/3]

SgVlbiHistoryRecord::SgVlbiHistoryRecord ( )
inline

A constructor. Creates a default object.

Definition at line 195 of file SgVlbiHistory.h.

◆ SgVlbiHistoryRecord() [2/3]

SgVlbiHistoryRecord::SgVlbiHistoryRecord ( const SgMJD t,
int  v,
const QString &  text,
bool  is = false 
)
inline

A constructor. Creates an object with parameters.

Definition at line 205 of file SgVlbiHistory.h.

◆ SgVlbiHistoryRecord() [3/3]

SgVlbiHistoryRecord::SgVlbiHistoryRecord ( const SgVlbiHistoryRecord rec)
inline

Definition at line 216 of file SgVlbiHistory.h.

◆ ~SgVlbiHistoryRecord()

SgVlbiHistoryRecord::~SgVlbiHistoryRecord ( )
inline

A destructor. Frees allocated memory.

Definition at line 70 of file SgVlbiHistory.h.

Member Function Documentation

◆ className()

const QString SgVlbiHistoryRecord::className ( ) const
inline

Definition at line 294 of file SgVlbiHistory.h.

◆ getEpoch()

◆ getIsEditable()

bool SgVlbiHistoryRecord::getIsEditable ( ) const
inline

Returns "editable" status.

Definition at line 254 of file SgVlbiHistory.h.

References isEditable_.

Referenced by SgGuiVlbiHistory::delHistoryLine(), and SgVlbiSession::makeHistoryIntro().

◆ getText()

◆ getVersion()

int SgVlbiHistoryRecord::getVersion ( ) const
inline

◆ setEpoch()

void SgVlbiHistoryRecord::setEpoch ( const SgMJD t)
inline

Sets up epoch of the record.

Parameters
t– the new epoch;

Definition at line 262 of file SgVlbiHistory.h.

References epoch_.

◆ setIsEditable()

void SgVlbiHistoryRecord::setIsEditable ( bool  is)
inline

Sets up "editable" status.

Parameters
is– status;

Definition at line 286 of file SgVlbiHistory.h.

References isEditable_.

◆ setText()

void SgVlbiHistoryRecord::setText ( const QString &  text)
inline

Sets up a content of the record.

Parameters
text– a historical text;

Definition at line 278 of file SgVlbiHistory.h.

References text_.

◆ setVersion()

void SgVlbiHistoryRecord::setVersion ( int  v)
inline

Sets up version where the record was added.

Parameters
t– the new epoch;

Definition at line 270 of file SgVlbiHistory.h.

References version_.

Member Data Documentation

◆ epoch_

SgMJD SgVlbiHistoryRecord::epoch_
private

Definition at line 121 of file SgVlbiHistory.h.

Referenced by getEpoch(), and setEpoch().

◆ isEditable_

bool SgVlbiHistoryRecord::isEditable_
private

Definition at line 124 of file SgVlbiHistory.h.

Referenced by getIsEditable(), and setIsEditable().

◆ text_

QString SgVlbiHistoryRecord::text_
private

Definition at line 123 of file SgVlbiHistory.h.

Referenced by getText(), and setText().

◆ version_

int SgVlbiHistoryRecord::version_
private

Definition at line 122 of file SgVlbiHistory.h.

Referenced by getVersion(), and setVersion().


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