General Purpose Geodetic Library
SgDbhFormat Class Reference

#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 &)
 
SgDbhTcBlockcurrentTcBlock ()
 
SgDbhPhysicalRecordproperRecord (SgDbhDatumDescriptor *)
 
SgDbhDatumDescriptorlookupDescriptor (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

SgDbhStreamoperator>> (SgDbhStream &, SgDbhFormat &)
 
SgDbhStreamoperator<< (SgDbhStream &, const SgDbhFormat &)
 

Detailed Description

====================================================================================================

Definition at line 758 of file SgDbhFormat.h.

Constructor & Destructor Documentation

◆ SgDbhFormat()

SgDbhFormat::SgDbhFormat ( )
inline

A constructor.

Definition at line 858 of file SgDbhFormat.h.

References currentTcNumber_, dumpStream_, and isOK_.

◆ ~SgDbhFormat()

SgDbhFormat::~SgDbhFormat ( )
inline

A destructor. Frees allocated memory.

Definition at line 869 of file SgDbhFormat.h.

References currentTcNumber_, dumpStream_, isOK_, and listOfTcBlocks_.

Member Function Documentation

◆ className()

QString SgDbhFormat::className ( ) const
inline

Definition at line 819 of file SgDbhFormat.h.

Referenced by getBlock(), postRead(), and properRecord().

◆ currentTcBlock()

SgDbhTcBlock* SgDbhFormat::currentTcBlock ( )
inline

Definition at line 797 of file SgDbhFormat.h.

References currentTcNumber_, and listOfTcBlocks_.

Referenced by lookupDescriptor(), and properRecord().

◆ currentTcNumber()

short SgDbhFormat::currentTcNumber ( )
inline

Definition at line 781 of file SgDbhFormat.h.

References currentTcNumber_.

Referenced by SgDbhImage::copyToc0Content(), and properRecord().

◆ d8()

double SgDbhFormat::d8 ( SgDbhDatumDescriptor d,
int  i,
int  j,
int  k 
)
inline

Definition at line 810 of file SgDbhFormat.h.

References properRecord().

◆ dump()

void SgDbhFormat::dump ( QTextStream &  s)
inline

Definition at line 884 of file SgDbhFormat.h.

References listOfTcBlocks_.

◆ getBlock()

◆ getDumpStream()

QTextStream* SgDbhFormat::getDumpStream ( )
inline

Definition at line 785 of file SgDbhFormat.h.

References dumpStream_.

◆ i2()

short SgDbhFormat::i2 ( SgDbhDatumDescriptor d,
int  i,
int  j,
int  k 
)
inline

Definition at line 804 of file SgDbhFormat.h.

References properRecord().

◆ isOk()

bool SgDbhFormat::isOk ( ) const
inline

Definition at line 779 of file SgDbhFormat.h.

References isOK_.

Referenced by properRecord().

◆ j4()

int SgDbhFormat::j4 ( SgDbhDatumDescriptor d,
int  i,
int  j,
int  k 
)
inline

Definition at line 813 of file SgDbhFormat.h.

References properRecord().

◆ listOfTcBlocks()

◆ lookupDescriptor()

SgDbhDatumDescriptor * SgDbhFormat::lookupDescriptor ( const char *  tag)

Definition at line 1732 of file SgDbhFormat.cpp.

References currentTcBlock(), and SgDbhTcBlock::descriptorByLCode().

◆ postRead()

◆ properRecord()

◆ r8()

double SgDbhFormat::r8 ( SgDbhDatumDescriptor d,
int  i,
int  j,
int  k 
)
inline

Definition at line 807 of file SgDbhFormat.h.

References properRecord().

◆ setDumpStream()

void SgDbhFormat::setDumpStream ( QTextStream *  s)
inline

Definition at line 783 of file SgDbhFormat.h.

References dumpStream_.

◆ str()

QString SgDbhFormat::str ( SgDbhDatumDescriptor d,
int  i,
int  j 
)
inline

Definition at line 816 of file SgDbhFormat.h.

References properRecord().

Friends And Related Function Documentation

◆ operator<<

SgDbhStream& operator<< ( SgDbhStream s,
const SgDbhFormat F 
)
friend

Definition at line 1889 of file SgDbhFormat.cpp.

◆ operator>>

SgDbhStream& operator>> ( SgDbhStream s,
SgDbhFormat F 
)
friend

Definition at line 1870 of file SgDbhFormat.cpp.

Member Data Documentation

◆ currentTcNumber_

short SgDbhFormat::currentTcNumber_
protected

Definition at line 840 of file SgDbhFormat.h.

Referenced by SgDbhFormat(), ~SgDbhFormat(), currentTcBlock(), currentTcNumber(), and getBlock().

◆ dumpStream_

QTextStream* SgDbhFormat::dumpStream_
protected

Definition at line 838 of file SgDbhFormat.h.

Referenced by SgDbhFormat(), ~SgDbhFormat(), getBlock(), getDumpStream(), and setDumpStream().

◆ isOK_

bool SgDbhFormat::isOK_
protected

Definition at line 839 of file SgDbhFormat.h.

Referenced by SgDbhFormat(), ~SgDbhFormat(), getBlock(), and isOk().

◆ listOfTcBlocks_

QList<SgDbhTcBlock*> SgDbhFormat::listOfTcBlocks_
protected

Definition at line 837 of file SgDbhFormat.h.

Referenced by ~SgDbhFormat(), currentTcBlock(), dump(), getBlock(), listOfTcBlocks(), and postRead().


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