General Purpose Geodetic Library
SgDbhTeBlock Class Reference

#include <SgDbhFormat.h>

Inheritance diagram for SgDbhTeBlock:
SgDbhListOfDescriptors SgDbhDataBlock

Classes

class  SgDbhServiceRecordP3
 
class  SgDbhServiceRecordP4
 

Public Member Functions

 SgDbhTeBlock ()
 
 ~SgDbhTeBlock ()
 
bool isOk () const
 
bool isFormatModified () const
 
void setIsFormatModified (bool Is)
 
const SgDbhServiceRecordTerecTe ()
 
int readRecordP3 (SgDbhStream &)
 
int readRecordP4 (SgDbhStream &)
 
int writeRecordP3 (SgDbhStream &) const
 
int writeRecordP4 (SgDbhStream &) const
 
void dump (QTextStream &) const
 
SgDbhTeBlockoperator= (const SgDbhTeBlock &)
 
int calculateNumOfData (SgDbhDatumDescriptor::Type type) const
 
void adjustServiceRecords ()
 
QString className () const
 
int calcDataSize () const
 
- Public Member Functions inherited from SgDbhListOfDescriptors
 SgDbhListOfDescriptors ()
 
 ~SgDbhListOfDescriptors ()
 
QList< SgDbhDatumDescriptor * > * listOfDescriptors ()
 
void dump (QTextStream &) const
 
SgDbhListOfDescriptorsoperator= (const SgDbhListOfDescriptors &)
 
QString className () const
 
- Public Member Functions inherited from SgDbhDataBlock
 SgDbhDataBlock ()
 
 ~SgDbhDataBlock ()
 
QList< SgDbhPhysicalRecord * > * listOfRecords ()
 
QHash< int, SgDbhPhysicalRecord * > * recordByType ()
 
SgDbhDataBlockoperator= (const SgDbhDataBlock &)
 
QString className () const
 

Protected Attributes

SgDbhServiceRecordTe recTe_
 
SgDbhServiceRecordP3 recP3_
 
SgDbhServiceRecordP4 recP4_
 
bool isOK_
 
bool isFormatModified_
 
- Protected Attributes inherited from SgDbhListOfDescriptors
QList< SgDbhDatumDescriptor * > listOfDescriptors_
 
- Protected Attributes inherited from SgDbhDataBlock
QList< SgDbhPhysicalRecord * > listOfRecords_
 
QHash< int, SgDbhPhysicalRecord * > recordByType_
 

Friends

class SgDbhFormat
 
SgDbhStreamoperator>> (SgDbhStream &s, SgDbhTeBlock &B)
 
SgDbhStreamoperator<< (SgDbhStream &s, const SgDbhTeBlock &B)
 

Detailed Description

Definition at line 598 of file SgDbhFormat.h.

Constructor & Destructor Documentation

◆ SgDbhTeBlock()

SgDbhTeBlock::SgDbhTeBlock ( )
inline

Definition at line 605 of file SgDbhFormat.h.

References isFormatModified_, and isOK_.

◆ ~SgDbhTeBlock()

SgDbhTeBlock::~SgDbhTeBlock ( )
inline

Definition at line 609 of file SgDbhFormat.h.

Member Function Documentation

◆ adjustServiceRecords()

◆ calcDataSize()

◆ calculateNumOfData()

◆ className()

QString SgDbhTeBlock::className ( ) const
inline

Definition at line 628 of file SgDbhFormat.h.

◆ dump()

void SgDbhTeBlock::dump ( QTextStream &  s) const

◆ isFormatModified()

bool SgDbhTeBlock::isFormatModified ( ) const
inline

Definition at line 614 of file SgDbhFormat.h.

References isFormatModified_.

Referenced by SgDbhImage::updateDataRecords().

◆ isOk()

bool SgDbhTeBlock::isOk ( ) const
inline

Definition at line 613 of file SgDbhFormat.h.

References isOK_.

◆ operator=()

SgDbhTeBlock & SgDbhTeBlock::operator= ( const SgDbhTeBlock teBlock)

Definition at line 1244 of file SgDbhFormat.cpp.

References isOK_, recP3_, recP4_, and recTe_.

◆ readRecordP3()

◆ readRecordP4()

◆ recTe()

const SgDbhServiceRecordTe& SgDbhTeBlock::recTe ( )
inline

Definition at line 616 of file SgDbhFormat.h.

References recTe_.

Referenced by SgDbhImage::updateDataRecords(), and SgDbhImage::writeDataRecords().

◆ setIsFormatModified()

void SgDbhTeBlock::setIsFormatModified ( bool  Is)
inline

Definition at line 615 of file SgDbhFormat.h.

References isFormatModified_.

Referenced by SgDbhImage::finisFormatModifying().

◆ writeRecordP3()

◆ writeRecordP4()

Friends And Related Function Documentation

◆ operator<<

SgDbhStream& operator<< ( SgDbhStream s,
const SgDbhTeBlock B 
)
friend

Definition at line 1441 of file SgDbhFormat.cpp.

◆ operator>>

SgDbhStream& operator>> ( SgDbhStream s,
SgDbhTeBlock B 
)
friend

Definition at line 1431 of file SgDbhFormat.cpp.

◆ SgDbhFormat

friend class SgDbhFormat
friend

Definition at line 600 of file SgDbhFormat.h.

Member Data Documentation

◆ isFormatModified_

bool SgDbhTeBlock::isFormatModified_
protected

Definition at line 659 of file SgDbhFormat.h.

Referenced by SgDbhTeBlock(), isFormatModified(), and setIsFormatModified().

◆ isOK_

bool SgDbhTeBlock::isOK_
protected

Definition at line 658 of file SgDbhFormat.h.

Referenced by SgDbhTeBlock(), isOk(), and operator=().

◆ recP3_

SgDbhServiceRecordP3 SgDbhTeBlock::recP3_
protected

Definition at line 656 of file SgDbhFormat.h.

Referenced by adjustServiceRecords(), and operator=().

◆ recP4_

SgDbhServiceRecordP4 SgDbhTeBlock::recP4_
protected

Definition at line 657 of file SgDbhFormat.h.

Referenced by adjustServiceRecords(), and operator=().

◆ recTe_


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