General Purpose Geodetic Library
SgAgvDatumDescriptor Class Reference

#include <SgIoAgv.h>

Public Member Functions

 SgAgvDatumDescriptor ()
 
 SgAgvDatumDescriptor (const QString &lCode, const QString descr, AgvDataScope scp, AgvDataType typ, int d1, int d2, unsigned int exp, bool hasMutableScope=false)
 
 SgAgvDatumDescriptor (const SgAgvDatumDescriptor &add)
 
virtual ~SgAgvDatumDescriptor ()
 
QString className () const
 
bool getHasData () const
 
bool getIsUsable () const
 
bool getHasMutableScope () const
 
const QString & getLCode () const
 
const QString & getDescription () const
 
AgvDataScope getDataScope () const
 
AgvDataType getDataType () const
 
int getDim1 () const
 
int getDim2 () const
 
int getDim3 () const
 
int getDim4 () const
 
const SgAgvDrivergetDriver () const
 
unsigned int getExpectance () const
 
void setLCode (const QString &lCode)
 
void setDescription (const QString &description)
 
void setDataScope (AgvDataScope scope)
 
void setDataType (AgvDataType typ)
 
void setDim1 (int d)
 
void setDim2 (int d)
 
void setDim3 (int d)
 
void setDim4 (int d)
 
void setHasData (bool h)
 
void setIsUsable (bool is)
 
void setHasMutableScope (bool has)
 
void setDriver (SgAgvDriver *drv)
 
void setExpectance (unsigned int expect)
 
int d1 () const
 
int d2 () const
 
int d3 () const
 
int d4 () const
 
int totalMaxSize () const
 
int totalSize () const
 
bool isExpected (AgvContentStyle contentStyle) const
 

Static Public Member Functions

static QString dataType2str (AgvDataType)
 
static QString dataScope2str (AgvDataScope)
 

Protected Member Functions

int effectiveSize (int d) const
 

Protected Attributes

QString lCode_
 
QString description_
 
AgvDataScope dataScope_
 
AgvDataType dataType_
 
int dim1_
 
int dim2_
 
int dim3_
 
int dim4_
 
bool hasMutableScope_
 
SgAgvDriverdriver_
 
bool hasData_
 
bool isUsable_
 
unsigned int expectance_
 

Detailed Description

Definition at line 97 of file SgIoAgv.h.

Constructor & Destructor Documentation

◆ SgAgvDatumDescriptor() [1/3]

SgAgvDatumDescriptor::SgAgvDatumDescriptor ( )
inline

◆ SgAgvDatumDescriptor() [2/3]

SgAgvDatumDescriptor::SgAgvDatumDescriptor ( const QString &  lCode,
const QString  descr,
AgvDataScope  scp,
AgvDataType  typ,
int  d1,
int  d2,
unsigned int  exp,
bool  hasMutableScope = false 
)

◆ SgAgvDatumDescriptor() [3/3]

◆ ~SgAgvDatumDescriptor()

virtual SgAgvDatumDescriptor::~SgAgvDatumDescriptor ( )
inlinevirtual

Definition at line 109 of file SgIoAgv.h.

Member Function Documentation

◆ className()

QString SgAgvDatumDescriptor::className ( ) const
inline

Definition at line 110 of file SgIoAgv.h.

Referenced by effectiveSize().

◆ d1()

◆ d2()

◆ d3()

◆ d4()

◆ dataScope2str()

QString SgAgvDatumDescriptor::dataScope2str ( AgvDataScope  sc)
static

Definition at line 209 of file SgIoAgv.cpp.

Referenced by SgAgvDriver::checkCollectedDescriptors().

◆ dataType2str()

QString SgAgvDatumDescriptor::dataType2str ( AgvDataType  tp)
static

Definition at line 200 of file SgIoAgv.cpp.

Referenced by SgAgvDriver::checkCollectedDescriptors().

◆ effectiveSize()

◆ getDataScope()

◆ getDataType()

◆ getDescription()

const QString& SgAgvDatumDescriptor::getDescription ( ) const
inline

Definition at line 117 of file SgIoAgv.h.

References description_.

Referenced by SgAgvDatumDescriptor(), and SgAgvTocsSection::datumDescriptor2agvRecord().

◆ getDim1()

int SgAgvDatumDescriptor::getDim1 ( ) const
inline

◆ getDim2()

int SgAgvDatumDescriptor::getDim2 ( ) const
inline

◆ getDim3()

int SgAgvDatumDescriptor::getDim3 ( ) const
inline

Definition at line 124 of file SgIoAgv.h.

References dim3_.

Referenced by SgAgvDatumDescriptor(), and SgAgvDriver::initSession().

◆ getDim4()

int SgAgvDatumDescriptor::getDim4 ( ) const
inline

Definition at line 125 of file SgIoAgv.h.

References dim4_.

Referenced by SgAgvDatumDescriptor(), and SgAgvDriver::initSession().

◆ getDriver()

const SgAgvDriver* SgAgvDatumDescriptor::getDriver ( ) const
inline

Definition at line 127 of file SgIoAgv.h.

References driver_.

Referenced by SgAgvDriver::createDatum().

◆ getExpectance()

unsigned int SgAgvDatumDescriptor::getExpectance ( ) const
inline

Definition at line 128 of file SgIoAgv.h.

References expectance_.

Referenced by SgAgvDatumDescriptor().

◆ getHasData()

bool SgAgvDatumDescriptor::getHasData ( ) const
inline

◆ getHasMutableScope()

bool SgAgvDatumDescriptor::getHasMutableScope ( ) const
inline

Definition at line 114 of file SgIoAgv.h.

References hasMutableScope_.

Referenced by SgAgvDriver::checkCollectedDescriptors().

◆ getIsUsable()

bool SgAgvDatumDescriptor::getIsUsable ( ) const
inline

Definition at line 113 of file SgIoAgv.h.

References isUsable_.

◆ getLCode()

◆ isExpected()

bool SgAgvDatumDescriptor::isExpected ( AgvContentStyle  contentStyle) const
inline

Definition at line 160 of file SgIoAgv.h.

References expectance_.

Referenced by SgAgvDriver::checkCollectedDescriptors().

◆ setDataScope()

void SgAgvDatumDescriptor::setDataScope ( AgvDataScope  scope)
inline

Definition at line 134 of file SgIoAgv.h.

References dataScope_.

Referenced by SgAgvDriver::allocateFuzzyDescriptors().

◆ setDataType()

void SgAgvDatumDescriptor::setDataType ( AgvDataType  typ)
inline

Definition at line 135 of file SgIoAgv.h.

References dataType_.

Referenced by SgAgvDriver::allocateFuzzyDescriptors().

◆ setDescription()

void SgAgvDatumDescriptor::setDescription ( const QString &  description)
inline

Definition at line 132 of file SgIoAgv.h.

References description_.

Referenced by SgAgvDriver::allocateFuzzyDescriptors().

◆ setDim1()

void SgAgvDatumDescriptor::setDim1 ( int  d)
inline

◆ setDim2()

void SgAgvDatumDescriptor::setDim2 ( int  d)
inline

◆ setDim3()

void SgAgvDatumDescriptor::setDim3 ( int  d)
inline

Definition at line 139 of file SgIoAgv.h.

References dim3_.

Referenced by SgAgvDriver::allocateFuzzyDescriptors().

◆ setDim4()

void SgAgvDatumDescriptor::setDim4 ( int  d)
inline

Definition at line 140 of file SgIoAgv.h.

References dim4_.

Referenced by SgAgvDriver::allocateFuzzyDescriptors().

◆ setDriver()

void SgAgvDatumDescriptor::setDriver ( SgAgvDriver drv)
inline

Definition at line 146 of file SgIoAgv.h.

References driver_.

Referenced by SgAgvDriver::createDatum().

◆ setExpectance()

void SgAgvDatumDescriptor::setExpectance ( unsigned int  expect)
inline

Definition at line 147 of file SgIoAgv.h.

References expectance_.

◆ setHasData()

void SgAgvDatumDescriptor::setHasData ( bool  h)
inline

◆ setHasMutableScope()

void SgAgvDatumDescriptor::setHasMutableScope ( bool  has)
inline

Definition at line 144 of file SgIoAgv.h.

References hasMutableScope_.

◆ setIsUsable()

void SgAgvDatumDescriptor::setIsUsable ( bool  is)
inline

Definition at line 143 of file SgIoAgv.h.

References isUsable_.

Referenced by SgAgvDriver::checkCollectedDescriptors().

◆ setLCode()

void SgAgvDatumDescriptor::setLCode ( const QString &  lCode)
inline

Definition at line 131 of file SgIoAgv.h.

References lCode_.

Referenced by SgAgvDriver::allocateFuzzyDescriptors().

◆ totalMaxSize()

int SgAgvDatumDescriptor::totalMaxSize ( ) const
inline

Definition at line 154 of file SgIoAgv.h.

References ADT_CHAR, d1(), d2(), d3(), d4(), and dataType_.

Referenced by totalSize().

◆ totalSize()

int SgAgvDatumDescriptor::totalSize ( ) const

Member Data Documentation

◆ dataScope_

AgvDataScope SgAgvDatumDescriptor::dataScope_
protected

Definition at line 165 of file SgIoAgv.h.

Referenced by SgAgvDatumDescriptor(), getDataScope(), setDataScope(), and totalSize().

◆ dataType_

AgvDataType SgAgvDatumDescriptor::dataType_
protected

Definition at line 166 of file SgIoAgv.h.

Referenced by SgAgvDatumDescriptor(), getDataType(), setDataType(), totalMaxSize(), and totalSize().

◆ description_

QString SgAgvDatumDescriptor::description_
protected

Definition at line 164 of file SgIoAgv.h.

Referenced by SgAgvDatumDescriptor(), getDescription(), and setDescription().

◆ dim1_

int SgAgvDatumDescriptor::dim1_
protected

Definition at line 167 of file SgIoAgv.h.

Referenced by SgAgvDatumDescriptor(), d1(), getDim1(), and setDim1().

◆ dim2_

int SgAgvDatumDescriptor::dim2_
protected

Definition at line 168 of file SgIoAgv.h.

Referenced by SgAgvDatumDescriptor(), d2(), getDim2(), and setDim2().

◆ dim3_

int SgAgvDatumDescriptor::dim3_
protected

Definition at line 169 of file SgIoAgv.h.

Referenced by SgAgvDatumDescriptor(), d3(), getDim3(), and setDim3().

◆ dim4_

int SgAgvDatumDescriptor::dim4_
protected

Definition at line 170 of file SgIoAgv.h.

Referenced by SgAgvDatumDescriptor(), d4(), getDim4(), and setDim4().

◆ driver_

SgAgvDriver* SgAgvDatumDescriptor::driver_
protected

Definition at line 172 of file SgIoAgv.h.

Referenced by SgAgvDatumDescriptor(), effectiveSize(), getDriver(), setDriver(), and totalSize().

◆ expectance_

unsigned int SgAgvDatumDescriptor::expectance_
protected

Definition at line 175 of file SgIoAgv.h.

Referenced by SgAgvDatumDescriptor(), getExpectance(), isExpected(), and setExpectance().

◆ hasData_

bool SgAgvDatumDescriptor::hasData_
protected

Definition at line 173 of file SgIoAgv.h.

Referenced by SgAgvDatumDescriptor(), getHasData(), and setHasData().

◆ hasMutableScope_

bool SgAgvDatumDescriptor::hasMutableScope_
protected

Definition at line 171 of file SgIoAgv.h.

Referenced by SgAgvDatumDescriptor(), getHasMutableScope(), and setHasMutableScope().

◆ isUsable_

bool SgAgvDatumDescriptor::isUsable_
protected

Definition at line 174 of file SgIoAgv.h.

Referenced by SgAgvDatumDescriptor(), getIsUsable(), and setIsUsable().

◆ lCode_

QString SgAgvDatumDescriptor::lCode_
protected

Definition at line 163 of file SgIoAgv.h.

Referenced by SgAgvDatumDescriptor(), effectiveSize(), getLCode(), and setLCode().


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