General Purpose Geodetic Library
SgDbhDatumDescriptor Class Reference

#include <SgDbhImage.h>

Public Types

enum  Type {
  T_R8 =0 , T_I2 =1 , T_A2 =2 , T_D8 =3 ,
  T_J4 =4 , T_UNKN =5
}
 

Public Member Functions

 SgDbhDatumDescriptor ()
 
 SgDbhDatumDescriptor (const QString &, const QString &)
 
 ~SgDbhDatumDescriptor ()
 
const QString & getLCode () const
 
const QString & getDescription () const
 
short dim1 () const
 
short dim2 () const
 
short dim3 () const
 
short getModifiedAtVersion () const
 
short nTc () const
 
short nTe () const
 
int offset () const
 
Type type () const
 
void setLCode (const QString &lCode)
 
void setDescription (const QString &description)
 
void setType (Type type)
 
void setDimensions (int d1, int d2, int d3)
 
void setModifiedAtVersion (int V)
 
void setNTc (int nTc)
 
void setNTe (int nTe)
 
void setOffset (int offset)
 
SgDbhDatumDescriptoroperator= (const SgDbhDatumDescriptor &descriptor)
 
QString className () const
 
const QString & typeName () const
 

Static Public Member Functions

static const QString & typeName (Type type)
 

Protected Attributes

QString lCode_
 
QString description_
 
Type type_
 
short dim1_
 
short dim2_
 
short dim3_
 
short modifiedAtVersion_
 
short nTc_
 
short nTe_
 
int offset_
 

Static Protected Attributes

static const QString typeNames_ [6] = {"R8", "I2", "A2", "D8", "J4", "??"}
 

Friends

class SgDbhTeBlock
 

Detailed Description

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

Definition at line 76 of file SgDbhImage.h.

Member Enumeration Documentation

◆ Type

Enumerator
T_R8 
T_I2 
T_A2 
T_D8 
T_J4 
T_UNKN 

Definition at line 80 of file SgDbhImage.h.

Constructor & Destructor Documentation

◆ SgDbhDatumDescriptor() [1/2]

SgDbhDatumDescriptor::SgDbhDatumDescriptor ( )

Definition at line 42 of file SgDbhImage.cpp.

References dim1_, dim2_, dim3_, modifiedAtVersion_, nTc_, nTe_, offset_, setDescription(), setLCode(), T_UNKN, and type_.

◆ SgDbhDatumDescriptor() [2/2]

SgDbhDatumDescriptor::SgDbhDatumDescriptor ( const QString &  lCode,
const QString &  description 
)

Definition at line 71 of file SgDbhImage.cpp.

References dim1_, dim2_, dim3_, modifiedAtVersion_, nTc_, nTe_, offset_, setDescription(), setLCode(), T_UNKN, and type_.

◆ ~SgDbhDatumDescriptor()

SgDbhDatumDescriptor::~SgDbhDatumDescriptor ( )
inline

Definition at line 86 of file SgDbhImage.h.

Member Function Documentation

◆ className()

QString SgDbhDatumDescriptor::className ( ) const
inline

Definition at line 114 of file SgDbhImage.h.

◆ dim1()

◆ dim2()

◆ dim3()

◆ getDescription()

const QString& SgDbhDatumDescriptor::getDescription ( ) const
inline

◆ getLCode()

◆ getModifiedAtVersion()

short SgDbhDatumDescriptor::getModifiedAtVersion ( ) const
inline

Definition at line 95 of file SgDbhImage.h.

References modifiedAtVersion_.

Referenced by SgDbhListOfDescriptors::dump().

◆ nTc()

short SgDbhDatumDescriptor::nTc ( ) const
inline

◆ nTe()

short SgDbhDatumDescriptor::nTe ( ) const
inline

◆ offset()

◆ operator=()

SgDbhDatumDescriptor & SgDbhDatumDescriptor::operator= ( const SgDbhDatumDescriptor descriptor)

◆ setDescription()

void SgDbhDatumDescriptor::setDescription ( const QString &  description)

Definition at line 63 of file SgDbhImage.cpp.

References description_.

Referenced by SgDbhDatumDescriptor(), and operator=().

◆ setDimensions()

void SgDbhDatumDescriptor::setDimensions ( int  d1,
int  d2,
int  d3 
)
inline

Definition at line 104 of file SgDbhImage.h.

References dim1_, dim2_, and dim3_.

Referenced by SgVlbiSession::putDataIntoDbhImage().

◆ setLCode()

void SgDbhDatumDescriptor::setLCode ( const QString &  lCode)

Definition at line 55 of file SgDbhImage.cpp.

References lCode_.

Referenced by SgDbhDatumDescriptor(), and operator=().

◆ setModifiedAtVersion()

void SgDbhDatumDescriptor::setModifiedAtVersion ( int  V)
inline

Definition at line 106 of file SgDbhImage.h.

References modifiedAtVersion_.

Referenced by SgDbhImage::addDescriptor(), SgDbhImage::setData(), and SgDbhImage::setStr().

◆ setNTc()

void SgDbhDatumDescriptor::setNTc ( int  nTc)
inline

Definition at line 107 of file SgDbhImage.h.

References nTc(), and nTc_.

Referenced by SgDbhImage::addDescriptor(), SgDbhFormat::postRead(), and SgVlbiSession::putDataIntoDbhImage().

◆ setNTe()

void SgDbhDatumDescriptor::setNTe ( int  nTe)
inline

Definition at line 108 of file SgDbhImage.h.

References nTe(), and nTe_.

Referenced by SgDbhImage::addDescriptor(), and SgDbhFormat::postRead().

◆ setOffset()

void SgDbhDatumDescriptor::setOffset ( int  offset)
inline

Definition at line 109 of file SgDbhImage.h.

References offset(), and offset_.

Referenced by SgDbhFormat::postRead(), and SgDbhImage::updateDescriptorsParameters().

◆ setType()

void SgDbhDatumDescriptor::setType ( Type  type)
inline

Definition at line 103 of file SgDbhImage.h.

References type(), and type_.

Referenced by SgDbhFormat::postRead(), and SgVlbiSession::putDataIntoDbhImage().

◆ type()

◆ typeName() [1/2]

const QString& SgDbhDatumDescriptor::typeName ( ) const
inline

Definition at line 115 of file SgDbhImage.h.

References type_, and typeNames_.

Referenced by SgVlbiSession::getDataFromDbhImage().

◆ typeName() [2/2]

static const QString& SgDbhDatumDescriptor::typeName ( Type  type)
inlinestatic

Definition at line 116 of file SgDbhImage.h.

References type(), and typeNames_.

Friends And Related Function Documentation

◆ SgDbhTeBlock

friend class SgDbhTeBlock
friend

Definition at line 78 of file SgDbhImage.h.

Member Data Documentation

◆ description_

QString SgDbhDatumDescriptor::description_
protected

◆ dim1_

short SgDbhDatumDescriptor::dim1_
protected

◆ dim2_

short SgDbhDatumDescriptor::dim2_
protected

◆ dim3_

short SgDbhDatumDescriptor::dim3_
protected

◆ lCode_

QString SgDbhDatumDescriptor::lCode_
protected

◆ modifiedAtVersion_

short SgDbhDatumDescriptor::modifiedAtVersion_
protected

◆ nTc_

short SgDbhDatumDescriptor::nTc_
protected

Definition at line 126 of file SgDbhImage.h.

Referenced by SgDbhDatumDescriptor(), nTc(), operator=(), and setNTc().

◆ nTe_

short SgDbhDatumDescriptor::nTe_
protected

Definition at line 126 of file SgDbhImage.h.

Referenced by SgDbhDatumDescriptor(), nTe(), operator=(), and setNTe().

◆ offset_

int SgDbhDatumDescriptor::offset_
protected

Definition at line 127 of file SgDbhImage.h.

Referenced by SgDbhDatumDescriptor(), offset(), operator=(), and setOffset().

◆ type_

Type SgDbhDatumDescriptor::type_
protected

Definition at line 123 of file SgDbhImage.h.

Referenced by SgDbhDatumDescriptor(), operator=(), setType(), type(), and typeName().

◆ typeNames_

const QString SgDbhDatumDescriptor::typeNames_ = {"R8", "I2", "A2", "D8", "J4", "??"}
staticprotected

Definition at line 120 of file SgDbhImage.h.

Referenced by typeName().


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