General Purpose Geodetic Library
SgDbhDataRecord< C > Class Template Reference

#include <SgDbhFormat.h>

Inheritance diagram for SgDbhDataRecord< C >:
SgDbhPhysicalRecord

Public Member Functions

 SgDbhDataRecord ()
 
 SgDbhDataRecord (SgDbhDataRecord< C > const &rec)
 
virtual ~SgDbhDataRecord ()
 
virtual C & operator[] (int i)
 
virtual C at (int i) const
 
virtual C value (SgDbhDatumDescriptor *descriptor, int d1, int d2, int d3)
 
virtual C & access (SgDbhDatumDescriptor *descriptor, int d1, int d2, int d3)
 
int num () const
 
virtual char * base ()
 
virtual int readLR (SgDbhStream &s)
 
virtual int writeLR (SgDbhStream &s) const
 
virtual SgDbhDataRecord< C > & operator= (const SgDbhDataRecord< C > &rec)
 
virtual void reSize (int length)
 
virtual QString className () const
 
- Public Member Functions inherited from SgDbhPhysicalRecord
 SgDbhPhysicalRecord ()
 
 SgDbhPhysicalRecord (const SgDbhPhysicalRecord &)
 
virtual ~SgDbhPhysicalRecord ()
 
bool isOk () const
 
int length () const
 
virtual SgDbhPhysicalRecordoperator= (const SgDbhPhysicalRecord &)
 

Protected Attributes

C * base_
 
int num_
 
- 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

template<class C>
class SgDbhDataRecord< C >

Data record: a number. ====================================================================================================

Definition at line 136 of file SgDbhFormat.h.

Constructor & Destructor Documentation

◆ SgDbhDataRecord() [1/2]

template<class C >
SgDbhDataRecord< C >::SgDbhDataRecord ( )
inline

Definition at line 140 of file SgDbhFormat.h.

◆ SgDbhDataRecord() [2/2]

template<class C >
SgDbhDataRecord< C >::SgDbhDataRecord ( SgDbhDataRecord< C > const &  rec)
inline

Definition at line 140 of file SgDbhFormat.h.

◆ ~SgDbhDataRecord()

template<class C >
SgDbhDataRecord< C >::~SgDbhDataRecord< C >
virtual

Data record: a number. ====================================================================================================

Definition at line 297 of file SgDbhFormat.cpp.

Member Function Documentation

◆ access()

template<class C >
C & SgDbhDataRecord< C >::access ( SgDbhDatumDescriptor descriptor,
int  d1,
int  d2,
int  d3 
)
virtual

◆ at()

template<class C >
C SgDbhDataRecord< C >::at ( int  i) const
virtual

Definition at line 345 of file SgDbhFormat.cpp.

Referenced by SgDbhStartBlock::version().

◆ base()

template<class C >
char * SgDbhDataRecord< C >::base
virtual

Reimplemented from SgDbhPhysicalRecord.

Definition at line 363 of file SgDbhFormat.cpp.

◆ className()

template<class C >
QString SgDbhDataRecord< C >::className
virtual

Definition at line 440 of file SgDbhFormat.cpp.

◆ num()

template<class C >
int SgDbhDataRecord< C >::num ( ) const
inline

Definition at line 150 of file SgDbhFormat.h.

References SgDbhDataRecord< C >::num_.

◆ operator=()

template<class C >
SgDbhDataRecord< C > & SgDbhDataRecord< C >::operator= ( const SgDbhDataRecord< C > &  rec)
virtual

◆ operator[]()

template<class C >
C & SgDbhDataRecord< C >::operator[] ( int  i)
virtual

Definition at line 337 of file SgDbhFormat.cpp.

◆ readLR()

template<class C >
int SgDbhDataRecord< C >::readLR ( SgDbhStream s)
virtual

Reimplemented from SgDbhPhysicalRecord.

Definition at line 405 of file SgDbhFormat.cpp.

◆ reSize()

template<class C >
void SgDbhDataRecord< C >::reSize ( int  length)
virtual

Reimplemented from SgDbhPhysicalRecord.

Definition at line 430 of file SgDbhFormat.cpp.

◆ value()

template<class C >
C SgDbhDataRecord< C >::value ( SgDbhDatumDescriptor descriptor,
int  d1,
int  d2,
int  d3 
)
virtual

◆ writeLR()

template<class C >
int SgDbhDataRecord< C >::writeLR ( SgDbhStream s) const
virtual

Reimplemented from SgDbhPhysicalRecord.

Definition at line 419 of file SgDbhFormat.cpp.

Member Data Documentation

◆ base_

template<class C >
C* SgDbhDataRecord< C >::base_
protected

Definition at line 139 of file SgDbhFormat.h.

Referenced by SgDbhDataRecord< C >::operator=().

◆ num_

template<class C >
int SgDbhDataRecord< C >::num_
protected

Definition at line 140 of file SgDbhFormat.h.

Referenced by SgDbhDataRecord< C >::num(), and SgDbhDataRecord< C >::operator=().


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