General Purpose Geodetic Library
SgDbhServiceRecordDr Class Reference

#include <SgDbhFormat.h>

Inheritance diagram for SgDbhServiceRecordDr:
SgDbhServiceRecord SgDbhPhysicalRecord

Public Member Functions

 SgDbhServiceRecordDr ()
 
virtual ~SgDbhServiceRecordDr ()
 
int getTcNo () const
 
int getNumOfTeBlocks () const
 
void setTcNo (int no)
 
void setNumOfTeBlocks (int num)
 
virtual int readLR (SgDbhStream &s)
 
virtual int writeLR (SgDbhStream &s) const
 
void dump (QTextStream &s) const
 
virtual QString className () const
 
- Public Member Functions inherited from SgDbhServiceRecord
 SgDbhServiceRecord (const char expectedPrefix[2])
 
 SgDbhServiceRecord (const SgDbhServiceRecord &sr)
 
virtual ~SgDbhServiceRecord ()
 
bool isCorrectPrefix () const
 
virtual bool isAltered () const
 
bool isPrefixParsed (SgDbhStream &)
 
void setPrefix (const char prefix[2])
 
void setAltered ()
 
SgDbhServiceRecordoperator= (const SgDbhServiceRecord &sr)
 
- Public Member Functions inherited from SgDbhPhysicalRecord
 SgDbhPhysicalRecord ()
 
 SgDbhPhysicalRecord (const SgDbhPhysicalRecord &)
 
virtual ~SgDbhPhysicalRecord ()
 
bool isOk () const
 
int length () const
 
virtual SgDbhPhysicalRecordoperator= (const SgDbhPhysicalRecord &)
 
virtual void reSize (int length)
 
virtual char * base ()
 

Protected Attributes

short tcNo_
 
short numOfTeBlocks_
 
short pRest_ [9]
 
- Protected Attributes inherited from SgDbhServiceRecord
char prefix_ [2]
 
char expectedPrefix_ [3]
 
- Protected Attributes inherited from SgDbhPhysicalRecord
int length_
 
char * logicalRecord_
 
bool isOK_
 

Additional Inherited Members

- Static Public Member Functions inherited from SgDbhPhysicalRecord
static const QString className ()
 

Detailed Description

Service record "DR". ====================================================================================================

Definition at line 356 of file SgDbhFormat.h.

Constructor & Destructor Documentation

◆ SgDbhServiceRecordDr()

SgDbhServiceRecordDr::SgDbhServiceRecordDr ( )
inline

Definition at line 363 of file SgDbhFormat.h.

References numOfTeBlocks_, pRest_, and tcNo_.

◆ ~SgDbhServiceRecordDr()

virtual SgDbhServiceRecordDr::~SgDbhServiceRecordDr ( )
inlinevirtual

Definition at line 366 of file SgDbhFormat.h.

Member Function Documentation

◆ className()

virtual QString SgDbhServiceRecordDr::className ( ) const
inlinevirtual

Reimplemented from SgDbhServiceRecord.

Definition at line 374 of file SgDbhFormat.h.

◆ dump()

void SgDbhServiceRecordDr::dump ( QTextStream &  s) const

◆ getNumOfTeBlocks()

int SgDbhServiceRecordDr::getNumOfTeBlocks ( ) const
inline

Definition at line 368 of file SgDbhFormat.h.

References numOfTeBlocks_.

◆ getTcNo()

int SgDbhServiceRecordDr::getTcNo ( ) const
inline

Definition at line 367 of file SgDbhFormat.h.

References tcNo_.

Referenced by SgDbhFormat::getBlock().

◆ readLR()

int SgDbhServiceRecordDr::readLR ( SgDbhStream s)
virtual

Service record "DR". ====================================================================================================

Reimplemented from SgDbhServiceRecord.

Definition at line 767 of file SgDbhFormat.cpp.

References SgDbhServiceRecord::isPrefixParsed(), numOfTeBlocks_, pRest_, and tcNo_.

◆ setNumOfTeBlocks()

void SgDbhServiceRecordDr::setNumOfTeBlocks ( int  num)
inline

Definition at line 370 of file SgDbhFormat.h.

References numOfTeBlocks_.

Referenced by SgDbhImage::writeDataRecords().

◆ setTcNo()

void SgDbhServiceRecordDr::setTcNo ( int  no)
inline

Definition at line 369 of file SgDbhFormat.h.

References tcNo_.

Referenced by SgDbhImage::writeDataRecords().

◆ writeLR()

int SgDbhServiceRecordDr::writeLR ( SgDbhStream s) const
virtual

Reimplemented from SgDbhServiceRecord.

Definition at line 787 of file SgDbhFormat.cpp.

References numOfTeBlocks_, pRest_, tcNo_, and SgDbhServiceRecord::writeLR().

Member Data Documentation

◆ numOfTeBlocks_

short SgDbhServiceRecordDr::numOfTeBlocks_
protected

◆ pRest_

short SgDbhServiceRecordDr::pRest_[9]
protected

Definition at line 361 of file SgDbhFormat.h.

Referenced by SgDbhServiceRecordDr(), dump(), readLR(), and writeLR().

◆ tcNo_

short SgDbhServiceRecordDr::tcNo_
protected

Definition at line 359 of file SgDbhFormat.h.

Referenced by SgDbhServiceRecordDr(), dump(), getTcNo(), readLR(), setTcNo(), and writeLR().


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