General Purpose Geodetic Library
|
#include <SgDbhFormat.h>
Public Member Functions | |
SgDbhFormat () | |
~SgDbhFormat () | |
QList< SgDbhTcBlock * > * | listOfTcBlocks () |
bool | isOk () const |
short | currentTcNumber () |
void | setDumpStream (QTextStream *s) |
QTextStream * | getDumpStream () |
void | postRead () |
void | dump (QTextStream &s) |
void | getBlock (SgDbhStream &) |
SgDbhTcBlock * | currentTcBlock () |
SgDbhPhysicalRecord * | properRecord (SgDbhDatumDescriptor *) |
SgDbhDatumDescriptor * | lookupDescriptor (const char *) |
short | i2 (SgDbhDatumDescriptor *d, int i, int j, int k) |
double | r8 (SgDbhDatumDescriptor *d, int i, int j, int k) |
double | d8 (SgDbhDatumDescriptor *d, int i, int j, int k) |
int | j4 (SgDbhDatumDescriptor *d, int i, int j, int k) |
QString | str (SgDbhDatumDescriptor *d, int i, int j) |
QString | className () const |
Protected Attributes | |
QList< SgDbhTcBlock * > | listOfTcBlocks_ |
QTextStream * | dumpStream_ |
bool | isOK_ |
short | currentTcNumber_ |
Friends | |
SgDbhStream & | operator>> (SgDbhStream &, SgDbhFormat &) |
SgDbhStream & | operator<< (SgDbhStream &, const SgDbhFormat &) |
====================================================================================================
Definition at line 758 of file SgDbhFormat.h.
|
inline |
A constructor.
Definition at line 858 of file SgDbhFormat.h.
References currentTcNumber_, dumpStream_, and isOK_.
|
inline |
A destructor. Frees allocated memory.
Definition at line 869 of file SgDbhFormat.h.
References currentTcNumber_, dumpStream_, isOK_, and listOfTcBlocks_.
|
inline |
Definition at line 819 of file SgDbhFormat.h.
Referenced by getBlock(), postRead(), and properRecord().
|
inline |
Definition at line 797 of file SgDbhFormat.h.
References currentTcNumber_, and listOfTcBlocks_.
Referenced by lookupDescriptor(), and properRecord().
|
inline |
Definition at line 781 of file SgDbhFormat.h.
References currentTcNumber_.
Referenced by SgDbhImage::copyToc0Content(), and properRecord().
|
inline |
Definition at line 810 of file SgDbhFormat.h.
References properRecord().
|
inline |
Definition at line 884 of file SgDbhFormat.h.
References listOfTcBlocks_.
void SgDbhFormat::getBlock | ( | SgDbhStream & | s | ) |
Definition at line 1741 of file SgDbhFormat.cpp.
References className(), currentTcNumber_, SgDbhDatumDescriptor::dim1(), SgDbhDatumDescriptor::dim2(), SgDbhDatumDescriptor::dim3(), SgDbhServiceRecordTe::dump(), SgDbhServiceRecordDr::dump(), dumpStream_, SgDbhDatumDescriptor::getDescription(), SgDbhDatumDescriptor::getLCode(), SgDbhServiceRecordDr::getTcNo(), SgLogger::INF, SgLogger::IO_DBH, SgDbhPhysicalRecord::isOk(), isOK_, SgDbhServiceRecordDe::isZ3(), SgDbhListOfDescriptors::listOfDescriptors(), SgDbhDataBlock::listOfRecords(), listOfTcBlocks_, SgDbhTcBlock::listOfTeBlocks(), logger, SgDbhDataBlock::recordByType(), SgDbhTeBlock::recTe_, SgDbhDatumDescriptor::T_A2, SgDbhDatumDescriptor::T_D8, SgDbhDatumDescriptor::T_I2, SgDbhDatumDescriptor::T_J4, SgDbhDatumDescriptor::T_R8, SgDbhDatumDescriptor::type(), and SgLogger::write().
|
inline |
Definition at line 785 of file SgDbhFormat.h.
References dumpStream_.
|
inline |
Definition at line 804 of file SgDbhFormat.h.
References properRecord().
|
inline |
|
inline |
Definition at line 813 of file SgDbhFormat.h.
References properRecord().
|
inline |
Definition at line 777 of file SgDbhFormat.h.
References listOfTcBlocks_.
Referenced by SgDbhImage::addDescriptor(), SgDbhImage::copyToc0Content(), SgDbhImage::delDescriptor(), SgDbhImage::dumpFormat(), SgDbhImage::finisFormatModifying(), SgDbhImage::updateDataRecords(), SgDbhImage::updateDescriptorsParameters(), and SgDbhImage::writeDataRecords().
SgDbhDatumDescriptor * SgDbhFormat::lookupDescriptor | ( | const char * | tag | ) |
Definition at line 1732 of file SgDbhFormat.cpp.
References currentTcBlock(), and SgDbhTcBlock::descriptorByLCode().
void SgDbhFormat::postRead | ( | ) |
Definition at line 1643 of file SgDbhFormat.cpp.
References className(), SgDbhTcBlock::descriptorByLCode(), SgDbhTcBlock::descriptorByLCode_, SgDbhDatumDescriptor::dim1(), SgDbhDatumDescriptor::dim2(), SgDbhDatumDescriptor::dim3(), SgDbhDatumDescriptor::getLCode(), SgLogger::INF, SgLogger::IO_DBH, SgDbhListOfDescriptors::listOfDescriptors(), SgDbhDataBlock::listOfRecords(), listOfTcBlocks_, SgDbhTcBlock::listOfTeBlocks(), logger, SgDbhDataBlock::recordByType(), SgDbhDataBlock::recordByType_, SgDbhDatumDescriptor::setNTc(), SgDbhDatumDescriptor::setNTe(), SgDbhDatumDescriptor::setOffset(), SgDbhDatumDescriptor::setType(), SgDbhDatumDescriptor::T_A2, SgDbhDatumDescriptor::T_D8, SgDbhDatumDescriptor::T_I2, SgDbhDatumDescriptor::T_J4, SgDbhDatumDescriptor::T_R8, SgDbhDatumDescriptor::T_UNKN, and SgLogger::write().
SgDbhPhysicalRecord * SgDbhFormat::properRecord | ( | SgDbhDatumDescriptor * | descriptor | ) |
Definition at line 1603 of file SgDbhFormat.cpp.
References className(), currentTcBlock(), currentTcNumber(), SgDbhDatumDescriptor::getDescription(), SgDbhDatumDescriptor::getLCode(), SgLogger::INF, SgLogger::IO_DBH, isOk(), SgDbhTcBlock::listOfTeBlocks(), logger, SgDbhDatumDescriptor::nTc(), SgDbhDatumDescriptor::nTe(), SgDbhDataBlock::recordByType(), SgDbhDatumDescriptor::type(), and SgLogger::write().
|
inline |
Definition at line 807 of file SgDbhFormat.h.
References properRecord().
|
inline |
Definition at line 783 of file SgDbhFormat.h.
References dumpStream_.
|
inline |
Definition at line 816 of file SgDbhFormat.h.
References properRecord().
|
friend |
Definition at line 1889 of file SgDbhFormat.cpp.
|
friend |
Definition at line 1870 of file SgDbhFormat.cpp.
|
protected |
Definition at line 840 of file SgDbhFormat.h.
Referenced by SgDbhFormat(), ~SgDbhFormat(), currentTcBlock(), currentTcNumber(), and getBlock().
|
protected |
Definition at line 838 of file SgDbhFormat.h.
Referenced by SgDbhFormat(), ~SgDbhFormat(), getBlock(), getDumpStream(), and setDumpStream().
|
protected |
Definition at line 839 of file SgDbhFormat.h.
Referenced by SgDbhFormat(), ~SgDbhFormat(), getBlock(), and isOk().
|
protected |
Definition at line 837 of file SgDbhFormat.h.
Referenced by ~SgDbhFormat(), currentTcBlock(), dump(), getBlock(), listOfTcBlocks(), and postRead().