General Purpose Geodetic Library
SgDbhServiceRecordTc Class Reference

#include <SgDbhFormat.h>

Inheritance diagram for SgDbhServiceRecordTc:
SgDbhServiceRecord SgDbhPhysicalRecord

Public Member Functions

 SgDbhServiceRecordTc ()
 
virtual ~SgDbhServiceRecordTc ()
 
bool isZ2 () const
 
short numTeBlocks () const
 
short tocType () const
 
virtual bool isAltered () const
 
void dump (QTextStream &s) const
 
virtual int readLR (SgDbhStream &)
 
virtual int writeLR (SgDbhStream &s) const
 
SgDbhServiceRecordTcoperator= (const SgDbhServiceRecordTc &tc)
 
virtual QString className () const
 
- Public Member Functions inherited from SgDbhServiceRecord
 SgDbhServiceRecord (const char expectedPrefix[2])
 
 SgDbhServiceRecord (const SgDbhServiceRecord &sr)
 
virtual ~SgDbhServiceRecord ()
 
bool isCorrectPrefix () 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 tocType_
 
short numTeBlocks_
 
bool isZ2_
 
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 "TC". ====================================================================================================

Definition at line 282 of file SgDbhFormat.h.

Constructor & Destructor Documentation

◆ SgDbhServiceRecordTc()

SgDbhServiceRecordTc::SgDbhServiceRecordTc ( )
inline

Definition at line 289 of file SgDbhFormat.h.

References isZ2_, numTeBlocks_, and tocType_.

◆ ~SgDbhServiceRecordTc()

virtual SgDbhServiceRecordTc::~SgDbhServiceRecordTc ( )
inlinevirtual

Definition at line 290 of file SgDbhFormat.h.

Member Function Documentation

◆ className()

virtual QString SgDbhServiceRecordTc::className ( ) const
inlinevirtual

Reimplemented from SgDbhServiceRecord.

Definition at line 303 of file SgDbhFormat.h.

Referenced by readLR().

◆ dump()

void SgDbhServiceRecordTc::dump ( QTextStream &  s) const

Service record "TC". ====================================================================================================

Definition at line 626 of file SgDbhFormat.cpp.

References numTeBlocks_, pRest, and tocType_.

Referenced by SgDbhTcBlock::dump().

◆ isAltered()

virtual bool SgDbhServiceRecordTc::isAltered ( ) const
inlinevirtual

Reimplemented from SgDbhServiceRecord.

Definition at line 294 of file SgDbhFormat.h.

References SgDbhServiceRecord::prefix_.

Referenced by readLR(), and writeLR().

◆ isZ2()

bool SgDbhServiceRecordTc::isZ2 ( ) const
inline

Definition at line 291 of file SgDbhFormat.h.

References isZ2_.

Referenced by SgDbhTcBlock::isLast().

◆ numTeBlocks()

short SgDbhServiceRecordTc::numTeBlocks ( ) const
inline

Definition at line 292 of file SgDbhFormat.h.

References numTeBlocks_.

Referenced by SgDbhTcBlock::numTeBlocks().

◆ operator=()

SgDbhServiceRecordTc& SgDbhServiceRecordTc::operator= ( const SgDbhServiceRecordTc tc)
inline

Definition at line 298 of file SgDbhFormat.h.

References isZ2_, numTeBlocks_, SgDbhServiceRecord::operator=(), pRest, and tocType_.

◆ readLR()

int SgDbhServiceRecordTc::readLR ( SgDbhStream s)
virtual

◆ tocType()

short SgDbhServiceRecordTc::tocType ( ) const
inline

Definition at line 293 of file SgDbhFormat.h.

References tocType_.

Referenced by SgDbhTcBlock::tocType().

◆ writeLR()

int SgDbhServiceRecordTc::writeLR ( SgDbhStream s) const
virtual

Reimplemented from SgDbhServiceRecord.

Definition at line 673 of file SgDbhFormat.cpp.

References isAltered(), numTeBlocks_, pRest, tocType_, and SgDbhServiceRecord::writeLR().

Member Data Documentation

◆ isZ2_

bool SgDbhServiceRecordTc::isZ2_
protected

Definition at line 286 of file SgDbhFormat.h.

Referenced by SgDbhServiceRecordTc(), isZ2(), operator=(), and readLR().

◆ numTeBlocks_

short SgDbhServiceRecordTc::numTeBlocks_
protected

Definition at line 285 of file SgDbhFormat.h.

Referenced by SgDbhServiceRecordTc(), dump(), numTeBlocks(), operator=(), readLR(), and writeLR().

◆ pRest

short SgDbhServiceRecordTc::pRest[9]
protected

Definition at line 287 of file SgDbhFormat.h.

Referenced by dump(), operator=(), readLR(), and writeLR().

◆ tocType_

short SgDbhServiceRecordTc::tocType_
protected

Definition at line 285 of file SgDbhFormat.h.

Referenced by SgDbhServiceRecordTc(), dump(), operator=(), readLR(), tocType(), and writeLR().


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