General Purpose Geodetic Library
SgDbhPhysicalRecord Class Reference

#include <SgDbhFormat.h>

Inheritance diagram for SgDbhPhysicalRecord:
SgDbhDataRecord< short > SgDbhDataRecord< C > SgDbhDataRecordString SgDbhServiceRecord SgDbhTeBlock::SgDbhServiceRecordP3 SgDbhTeBlock::SgDbhServiceRecordP4 SgDbhServiceRecordDe SgDbhServiceRecordDr SgDbhServiceRecordHS1 SgDbhServiceRecordHS2 SgDbhServiceRecordTc SgDbhServiceRecordTe

Public Member Functions

 SgDbhPhysicalRecord ()
 
 SgDbhPhysicalRecord (const SgDbhPhysicalRecord &)
 
virtual ~SgDbhPhysicalRecord ()
 
bool isOk () const
 
int length () const
 
virtual int readLR (SgDbhStream &s)
 
virtual int writeLR (SgDbhStream &s) const
 
virtual SgDbhPhysicalRecordoperator= (const SgDbhPhysicalRecord &)
 
virtual void reSize (int length)
 
virtual char * base ()
 

Static Public Member Functions

static const QString className ()
 

Protected Attributes

int length_
 
char * logicalRecord_
 
bool isOK_
 

Friends

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

Detailed Description

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

Definition at line 57 of file SgDbhFormat.h.

Constructor & Destructor Documentation

◆ SgDbhPhysicalRecord() [1/2]

SgDbhPhysicalRecord::SgDbhPhysicalRecord ( )
inline

Definition at line 63 of file SgDbhFormat.h.

References isOK_, length_, and logicalRecord_.

◆ SgDbhPhysicalRecord() [2/2]

SgDbhPhysicalRecord::SgDbhPhysicalRecord ( const SgDbhPhysicalRecord record)

Definition at line 51 of file SgDbhFormat.cpp.

References length_, and logicalRecord_.

◆ ~SgDbhPhysicalRecord()

SgDbhPhysicalRecord::~SgDbhPhysicalRecord ( )
virtual

Definition at line 61 of file SgDbhFormat.cpp.

References logicalRecord_.

Member Function Documentation

◆ base()

virtual char* SgDbhPhysicalRecord::base ( )
inlinevirtual

Reimplemented in SgDbhDataRecord< C >, and SgDbhDataRecord< short >.

Definition at line 78 of file SgDbhFormat.h.

References logicalRecord_.

Referenced by SgDbhImage::updateDataRecords().

◆ className()

const QString SgDbhPhysicalRecord::className ( )
static

Physical record: ====================================================================================================

Definition at line 43 of file SgDbhFormat.cpp.

◆ isOk()

bool SgDbhPhysicalRecord::isOk ( ) const
inline

Definition at line 69 of file SgDbhFormat.h.

References isOK_.

Referenced by SgDbhFormat::getBlock(), and operator=().

◆ length()

◆ operator=()

SgDbhPhysicalRecord & SgDbhPhysicalRecord::operator= ( const SgDbhPhysicalRecord record)
virtual

◆ readLR()

◆ reSize()

◆ writeLR()

Friends And Related Function Documentation

◆ operator<<

SgDbhStream& operator<< ( SgDbhStream s,
const SgDbhPhysicalRecord record 
)
friend

Definition at line 189 of file SgDbhFormat.cpp.

◆ operator>>

SgDbhStream& operator>> ( SgDbhStream s,
SgDbhPhysicalRecord record 
)
friend

Definition at line 125 of file SgDbhFormat.cpp.

Member Data Documentation

◆ isOK_

◆ length_

◆ logicalRecord_


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