General Purpose Geodetic Library
|
#include <SgDbhFormat.h>
Public Member Functions | |
SgDbhStartBlock () | |
~SgDbhStartBlock () | |
bool | isOk () const |
SgMJD | epoch () const |
int | version () const |
const QString & | dbName () const |
const QString & | expDescript () const |
const QString & | sessionID () const |
const QString & | prevDb () const |
const QString & | prevDescript () const |
void | rotateVersion (int newVersion, const QString &newFileName) |
void | dump (QTextStream &) const |
QString | className () const |
void | alternateCode (const QString &) |
Protected Attributes | |
SgDbhDataRecordString | dbNameRec_ |
SgDbhDataRecordString | expDescriptRec_ |
SgDbhDataRecordString | sessIDRec_ |
SgDbhDataRecordString | prevDbRec_ |
SgDbhDataRecordString | prevRec_ |
SgDbhDataRecord< short > | epochRec_ |
SgDbhDataRecord< short > | versionRec_ |
bool | isOK_ |
short | epoch_ [5] |
Friends | |
SgDbhStream & | operator>> (SgDbhStream &, SgDbhStartBlock &) |
SgDbhStream & | operator<< (SgDbhStream &, const SgDbhStartBlock &) |
First Block. ====================================================================================================
Definition at line 444 of file SgDbhFormat.h.
SgDbhStartBlock::SgDbhStartBlock | ( | ) |
First Block. ====================================================================================================
Definition at line 906 of file SgDbhFormat.cpp.
|
inline |
Definition at line 458 of file SgDbhFormat.h.
void SgDbhStartBlock::alternateCode | ( | const QString & | code | ) |
Definition at line 954 of file SgDbhFormat.cpp.
References dbNameRec_, SgDbhDataRecordString::getText(), prevDbRec_, prevRec_, sessIDRec_, and SgDbhDataRecordString::setText().
Referenced by SgDbhImage::prepare2save().
|
inline |
Definition at line 469 of file SgDbhFormat.h.
|
inline |
Definition at line 462 of file SgDbhFormat.h.
References dbNameRec_, and SgDbhDataRecordString::getText().
Referenced by SgDbhImage::addHistoryEntry(), and SgDbhImage::fileName().
void SgDbhStartBlock::dump | ( | QTextStream & | s | ) | const |
Definition at line 922 of file SgDbhFormat.cpp.
References dbNameRec_, epoch(), epoch_, expDescript(), SgMJD::F_Verbose, SgDbhDataRecordString::getText(), prevDb(), prevDescript(), sessionID(), SgMJD::toString(), and version().
|
inline |
Definition at line 460 of file SgDbhFormat.h.
References epoch_.
Referenced by dump(), and SgDbhImage::fileCreationEpoch().
|
inline |
Definition at line 463 of file SgDbhFormat.h.
References expDescriptRec_, and SgDbhDataRecordString::getText().
Referenced by dump(), and SgDbhImage::sessionDescription().
|
inline |
Definition at line 459 of file SgDbhFormat.h.
References isOK_.
|
inline |
Definition at line 465 of file SgDbhFormat.h.
References SgDbhDataRecordString::getText(), and prevDbRec_.
Referenced by dump(), and SgDbhImage::previousFileName().
|
inline |
Definition at line 466 of file SgDbhFormat.h.
References SgDbhDataRecordString::getText(), and prevRec_.
Referenced by dump(), and SgDbhImage::previousFileDescription().
void SgDbhStartBlock::rotateVersion | ( | int | newVersion, |
const QString & | newFileName | ||
) |
Definition at line 940 of file SgDbhFormat.cpp.
References dbNameRec_, SgDbhDataRecordString::getText(), prevDbRec_, prevRec_, SgDbhPhysicalRecord::reSize(), SgDbhDataRecordString::setText(), and versionRec_.
Referenced by SgDbhImage::prepare2save().
|
inline |
Definition at line 464 of file SgDbhFormat.h.
References SgDbhDataRecordString::getText(), and sessIDRec_.
Referenced by dump(), and SgDbhImage::sessionID().
|
inline |
Definition at line 461 of file SgDbhFormat.h.
References SgDbhDataRecord< C >::at(), and versionRec_.
Referenced by dump(), and SgDbhImage::fileVersion().
|
friend |
Definition at line 1002 of file SgDbhFormat.cpp.
|
friend |
Definition at line 982 of file SgDbhFormat.cpp.
|
protected |
Definition at line 447 of file SgDbhFormat.h.
Referenced by alternateCode(), dbName(), dump(), and rotateVersion().
|
protected |
Definition at line 455 of file SgDbhFormat.h.
Referenced by SgDbhStartBlock(), dump(), and epoch().
|
protected |
Definition at line 452 of file SgDbhFormat.h.
|
protected |
Definition at line 448 of file SgDbhFormat.h.
Referenced by expDescript().
|
protected |
Definition at line 454 of file SgDbhFormat.h.
Referenced by SgDbhStartBlock(), and isOk().
|
protected |
Definition at line 450 of file SgDbhFormat.h.
Referenced by alternateCode(), prevDb(), and rotateVersion().
|
protected |
Definition at line 451 of file SgDbhFormat.h.
Referenced by alternateCode(), prevDescript(), and rotateVersion().
|
protected |
Definition at line 449 of file SgDbhFormat.h.
Referenced by alternateCode(), and sessionID().
|
protected |
Definition at line 453 of file SgDbhFormat.h.
Referenced by rotateVersion(), and version().