General Purpose Geodetic Library
|
#include <SgDbhFormat.h>
Classes | |
class | SgDbhServiceRecordP3 |
class | SgDbhServiceRecordP4 |
Protected Attributes | |
SgDbhServiceRecordTe | recTe_ |
SgDbhServiceRecordP3 | recP3_ |
SgDbhServiceRecordP4 | recP4_ |
bool | isOK_ |
bool | isFormatModified_ |
![]() | |
QList< SgDbhDatumDescriptor * > | listOfDescriptors_ |
![]() | |
QList< SgDbhPhysicalRecord * > | listOfRecords_ |
QHash< int, SgDbhPhysicalRecord * > | recordByType_ |
Friends | |
class | SgDbhFormat |
SgDbhStream & | operator>> (SgDbhStream &s, SgDbhTeBlock &B) |
SgDbhStream & | operator<< (SgDbhStream &s, const SgDbhTeBlock &B) |
Definition at line 598 of file SgDbhFormat.h.
|
inline |
Definition at line 605 of file SgDbhFormat.h.
References isFormatModified_, and isOK_.
|
inline |
Definition at line 609 of file SgDbhFormat.h.
void SgDbhTeBlock::adjustServiceRecords | ( | ) |
Definition at line 1364 of file SgDbhFormat.cpp.
References SgDbhServiceRecordTe::a2Num_, calculateNumOfData(), SgDbhServiceRecordTe::d8Num_, SgDbhDatumDescriptor::getLCode(), SgDbhServiceRecordTe::i2Num_, SgDbhServiceRecordTe::j4Num_, SgDbhListOfDescriptors::listOfDescriptors_, SgDbhServiceRecordTe::numberOfDescriptors_, SgDbhServiceRecordTe::offsetA_, SgDbhServiceRecordTe::offsetD_, SgDbhServiceRecordTe::offsetI_, SgDbhServiceRecordTe::offsetJ_, SgDbhServiceRecordTe::r8Num_, recP3_, recP4_, recTe_, SgDbhPhysicalRecord::reSize(), SgDbhDatumDescriptor::T_A2, SgDbhDatumDescriptor::T_D8, SgDbhDatumDescriptor::T_I2, SgDbhDatumDescriptor::T_J4, and SgDbhDatumDescriptor::T_R8.
int SgDbhTeBlock::calcDataSize | ( | ) | const |
Definition at line 1394 of file SgDbhFormat.cpp.
References SgDbhDatumDescriptor::dim1(), SgDbhDatumDescriptor::dim2(), SgDbhDatumDescriptor::dim3(), SgDbhListOfDescriptors::listOfDescriptors_, SgDbhDatumDescriptor::T_A2, SgDbhDatumDescriptor::T_D8, SgDbhDatumDescriptor::T_I2, SgDbhDatumDescriptor::T_J4, SgDbhDatumDescriptor::T_R8, SgDbhDatumDescriptor::T_UNKN, and SgDbhDatumDescriptor::type().
Referenced by dump().
int SgDbhTeBlock::calculateNumOfData | ( | SgDbhDatumDescriptor::Type | type | ) | const |
Definition at line 1348 of file SgDbhFormat.cpp.
References SgDbhDatumDescriptor::dim1(), SgDbhDatumDescriptor::dim2(), SgDbhDatumDescriptor::dim3(), SgDbhListOfDescriptors::listOfDescriptors_, and SgDbhDatumDescriptor::type().
Referenced by adjustServiceRecords().
|
inline |
Definition at line 628 of file SgDbhFormat.h.
void SgDbhTeBlock::dump | ( | QTextStream & | s | ) | const |
Definition at line 1336 of file SgDbhFormat.cpp.
References calcDataSize(), SgDbhListOfDescriptors::dump(), SgDbhServiceRecordTe::dump(), recTe_, and SgDbhServiceRecordTe::teBlockNum_.
|
inline |
Definition at line 614 of file SgDbhFormat.h.
References isFormatModified_.
Referenced by SgDbhImage::updateDataRecords().
|
inline |
Definition at line 613 of file SgDbhFormat.h.
References isOK_.
SgDbhTeBlock & SgDbhTeBlock::operator= | ( | const SgDbhTeBlock & | teBlock | ) |
int SgDbhTeBlock::readRecordP3 | ( | SgDbhStream & | s | ) |
Definition at line 1259 of file SgDbhFormat.cpp.
References SgDbhDatumDescriptor::dim1_, SgDbhDatumDescriptor::dim2_, SgDbhDatumDescriptor::dim3_, SgDbhDatumDescriptor::lCode_, SgDbhListOfDescriptors::listOfDescriptors_, SgDbhDatumDescriptor::modifiedAtVersion_, SgDbhServiceRecordTe::numberOfDescriptors_, and recTe_.
Referenced by SgDbhTeBlock::SgDbhServiceRecordP3::readLR().
int SgDbhTeBlock::readRecordP4 | ( | SgDbhStream & | s | ) |
Definition at line 1280 of file SgDbhFormat.cpp.
References SgDbhListOfDescriptors::listOfDescriptors_, SgDbhServiceRecordTe::numberOfDescriptors_, and recTe_.
Referenced by SgDbhTeBlock::SgDbhServiceRecordP4::readLR().
|
inline |
Definition at line 616 of file SgDbhFormat.h.
References recTe_.
Referenced by SgDbhImage::updateDataRecords(), and SgDbhImage::writeDataRecords().
|
inline |
Definition at line 615 of file SgDbhFormat.h.
References isFormatModified_.
Referenced by SgDbhImage::finisFormatModifying().
int SgDbhTeBlock::writeRecordP3 | ( | SgDbhStream & | s | ) | const |
Definition at line 1295 of file SgDbhFormat.cpp.
References SgDbhDatumDescriptor::dim1_, SgDbhDatumDescriptor::dim2_, SgDbhDatumDescriptor::dim3_, SgDbhDatumDescriptor::lCode_, SgDbhListOfDescriptors::listOfDescriptors_, SgDbhDatumDescriptor::modifiedAtVersion_, SgDbhServiceRecordTe::numberOfDescriptors_, and recTe_.
Referenced by SgDbhTeBlock::SgDbhServiceRecordP3::writeLR().
int SgDbhTeBlock::writeRecordP4 | ( | SgDbhStream & | s | ) | const |
Definition at line 1316 of file SgDbhFormat.cpp.
References SgDbhDatumDescriptor::description_, SgDbhListOfDescriptors::listOfDescriptors_, SgDbhServiceRecordTe::numberOfDescriptors_, and recTe_.
Referenced by SgDbhTeBlock::SgDbhServiceRecordP4::writeLR().
|
friend |
Definition at line 1441 of file SgDbhFormat.cpp.
|
friend |
Definition at line 1431 of file SgDbhFormat.cpp.
|
friend |
Definition at line 600 of file SgDbhFormat.h.
|
protected |
Definition at line 659 of file SgDbhFormat.h.
Referenced by SgDbhTeBlock(), isFormatModified(), and setIsFormatModified().
|
protected |
Definition at line 658 of file SgDbhFormat.h.
Referenced by SgDbhTeBlock(), isOk(), and operator=().
|
protected |
Definition at line 656 of file SgDbhFormat.h.
Referenced by adjustServiceRecords(), and operator=().
|
protected |
Definition at line 657 of file SgDbhFormat.h.
Referenced by adjustServiceRecords(), and operator=().
|
protected |
Definition at line 655 of file SgDbhFormat.h.
Referenced by adjustServiceRecords(), dump(), SgDbhFormat::getBlock(), operator=(), readRecordP3(), readRecordP4(), recTe(), writeRecordP3(), and writeRecordP4().