General Purpose Geodetic Library
|
#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 SgAgvDriver * | getDriver () 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_ |
SgAgvDriver * | driver_ |
bool | hasData_ |
bool | isUsable_ |
unsigned int | expectance_ |
|
inline |
SgAgvDatumDescriptor::SgAgvDatumDescriptor | ( | const QString & | lCode, |
const QString | descr, | ||
AgvDataScope | scp, | ||
AgvDataType | typ, | ||
int | d1, | ||
int | d2, | ||
unsigned int | exp, | ||
bool | hasMutableScope = false |
||
) |
Definition at line 65 of file SgIoAgv.cpp.
References ADS_BASELINE, ADS_NONE, ADS_SCAN, ADS_SESSION, ADS_STATION, d1(), d2(), dataScope_, dataType_, dim1_, dim2_, dim3_, dim4_, driver_, expectance_, hasData_, hasMutableScope_, SD_NumObs, SD_NumScans, SD_NumStn, and SD_NumStnPts.
SgAgvDatumDescriptor::SgAgvDatumDescriptor | ( | const SgAgvDatumDescriptor & | add | ) |
Definition at line 107 of file SgIoAgv.cpp.
References dataScope_, dataType_, description_, dim1_, dim2_, dim3_, dim4_, driver_, expectance_, getDataScope(), getDataType(), getDescription(), getDim1(), getDim2(), getDim3(), getDim4(), getExpectance(), getHasData(), getLCode(), hasData_, hasMutableScope_, and lCode_.
|
inlinevirtual |
|
inline |
Definition at line 110 of file SgIoAgv.h.
Referenced by effectiveSize().
|
inline |
Definition at line 150 of file SgIoAgv.h.
References dim1_, and effectiveSize().
Referenced by SgAgvDatumDescriptor(), SgAgvDatumString::allocateSpace(), SgAgvTocsSection::datumDescriptor2agvRecord(), SgAgvDatumString::isEmpty(), totalMaxSize(), totalSize(), SgAgvDataSection::writeDatum(), and SgAgvDataSection::writeDatumOpt().
|
inline |
Definition at line 151 of file SgIoAgv.h.
References dim2_, and effectiveSize().
Referenced by SgAgvDatumDescriptor(), SgAgvDatumString::allocateSpace(), SgAgvTocsSection::datumDescriptor2agvRecord(), SgAgvDatumString::getValue(), SgAgvDatumString::isEmpty(), SgAgvDriver::prepare4output(), totalMaxSize(), totalSize(), SgAgvDatumString::value(), SgAgvDataSection::writeDatum(), and SgAgvDataSection::writeDatumOpt().
|
inline |
Definition at line 152 of file SgIoAgv.h.
References dim3_, and effectiveSize().
Referenced by SgAgvDatumString::allocateSpace(), SgAgvDatumString::getValue(), SgAgvDatumString::isEmpty(), SgAgvDriver::prepare4output(), totalMaxSize(), SgAgvDatumString::value(), SgAgvDataSection::writeDatum(), and SgAgvDataSection::writeDatumOpt().
|
inline |
Definition at line 153 of file SgIoAgv.h.
References dim4_, and effectiveSize().
Referenced by SgAgvDatumString::allocateSpace(), SgAgvDatumString::isEmpty(), SgAgvDriver::prepare4output(), totalMaxSize(), SgAgvDatumString::value(), SgAgvDataSection::writeDatum(), and SgAgvDataSection::writeDatumOpt().
|
static |
Definition at line 210 of file SgIoAgv.cpp.
Referenced by SgAgvDriver::checkCollectedDescriptors().
|
static |
Definition at line 201 of file SgIoAgv.cpp.
Referenced by SgAgvDriver::checkCollectedDescriptors().
|
protected |
Definition at line 126 of file SgIoAgv.cpp.
References className(), driver_, SgLogger::ERR, SgAgvDriver::getMaxNumPerStn(), SgAgvDriver::getNumOfBands(), SgAgvDriver::getNumOfBln(), SgAgvDriver::getNumOfObs(), SgAgvDriver::getNumOfScans(), SgAgvDriver::getNumOfSrc(), SgAgvDriver::getNumOfStn(), SgLogger::IO_TXT, lCode_, logger, SD_2NumChans, SD_NumBands, SD_NumBln, SD_NumChans, SD_NumObs, SD_NumScans, SD_NumSrc, SD_NumStn, SD_NumStnPts, and SgLogger::write().
|
inline |
Definition at line 119 of file SgIoAgv.h.
References dataScope_.
Referenced by SgAgvDatumDescriptor(), SgAgvDriver::checkCollectedDescriptors(), SgAgvTocsSection::datumDescriptor2agvRecord(), SgAgvDriver::initSession(), SgAgvDataSection::writeDatum(), and SgAgvDataSection::writeDatumOpt().
|
inline |
Definition at line 120 of file SgIoAgv.h.
References dataType_.
Referenced by SgAgvDatumDescriptor(), SgAgvDriver::checkCollectedDescriptors(), SgAgvDriver::createDatum(), SgAgvDriver::data2str(), SgAgvTocsSection::datumDescriptor2agvRecord(), SgAgvDriver::digestData(), SgAgvDriver::digestDataNoRegEx(), SgAgvDriver::prepare4output(), SgAgvDataSection::writeDatum(), and SgAgvDataSection::writeDatumOpt().
|
inline |
Definition at line 117 of file SgIoAgv.h.
References description_.
Referenced by SgAgvDatumDescriptor(), and SgAgvTocsSection::datumDescriptor2agvRecord().
|
inline |
Definition at line 122 of file SgIoAgv.h.
References dim1_.
Referenced by SgAgvDatumDescriptor(), SgAgvDriver::figureOutImplicitDimensions(), SgAgvDriver::lookupFuzzyDescriptor(), and SgAgvDriver::prepare4output().
|
inline |
Definition at line 123 of file SgIoAgv.h.
References dim2_.
Referenced by SgAgvDatumDescriptor(), SgAgvDriver::figureOutImplicitDimensions(), and SgAgvDriver::initSession().
|
inline |
Definition at line 124 of file SgIoAgv.h.
References dim3_.
Referenced by SgAgvDatumDescriptor(), and SgAgvDriver::initSession().
|
inline |
Definition at line 125 of file SgIoAgv.h.
References dim4_.
Referenced by SgAgvDatumDescriptor(), and SgAgvDriver::initSession().
|
inline |
Definition at line 127 of file SgIoAgv.h.
References driver_.
Referenced by SgAgvDriver::createDatum().
|
inline |
Definition at line 128 of file SgIoAgv.h.
References expectance_.
Referenced by SgAgvDatumDescriptor().
|
inline |
Definition at line 112 of file SgIoAgv.h.
References hasData_.
Referenced by SgAgvDatumDescriptor(), SgAgvTocsSection::fillDataStructures(), SgAgvDriver::prepare4output(), SgAgvDataSection::writeDatum(), and SgAgvDataSection::writeDatumOpt().
|
inline |
Definition at line 114 of file SgIoAgv.h.
References hasMutableScope_.
Referenced by SgAgvDriver::checkCollectedDescriptors().
|
inline |
|
inline |
Definition at line 116 of file SgIoAgv.h.
References lCode_.
Referenced by SgAgvDatumDescriptor(), SgAgvDatumString::allocateSpace(), SgAgvDriver::checkCollectedDescriptors(), SgAgvDriver::createDatum(), SgAgvDriver::data2str(), SgAgvTocsSection::datumDescriptor2agvRecord(), SgAgvDriver::digestData(), SgAgvDriver::digestDataNoRegEx(), SgAgvDriver::figureOutImplicitDimensions(), SgAgvDriver::fillBslnVars(), SgAgvDriver::fillMandatoryVars(), SgAgvDriver::fillScanVars(), SgAgvDriver::fillSessVars(), SgAgvDriver::fillSttnVars(), SgAgvDriver::initMandatoryVars(), SgAgvDriver::initSession(), SgAgvDriver::insertDatum(), SgAgvDriver::prepare4output(), SgAgvDatumString::value(), SgAgvDataSection::writeDatum(), and SgAgvDataSection::writeDatumOpt().
|
inline |
Definition at line 160 of file SgIoAgv.h.
References expectance_.
Referenced by SgAgvDriver::checkCollectedDescriptors().
|
inline |
Definition at line 134 of file SgIoAgv.h.
References dataScope_.
Referenced by SgAgvDriver::allocateFuzzyDescriptors().
|
inline |
Definition at line 135 of file SgIoAgv.h.
References dataType_.
Referenced by SgAgvDriver::allocateFuzzyDescriptors().
|
inline |
Definition at line 132 of file SgIoAgv.h.
References description_.
Referenced by SgAgvDriver::allocateFuzzyDescriptors().
|
inline |
Definition at line 137 of file SgIoAgv.h.
References dim1_.
Referenced by SgAgvDriver::allocateFuzzyDescriptors(), SgAgvDriver::fillSessVars(), SgAgvDriver::initEssentialVars(), and SgAgvDriver::prepare4output().
|
inline |
Definition at line 138 of file SgIoAgv.h.
References dim2_.
Referenced by SgAgvDriver::allocateFuzzyDescriptors(), SgAgvDriver::fillSessVars(), SgAgvDriver::initEssentialVars(), and SgAgvDriver::initSession().
|
inline |
Definition at line 139 of file SgIoAgv.h.
References dim3_.
Referenced by SgAgvDriver::allocateFuzzyDescriptors().
|
inline |
Definition at line 140 of file SgIoAgv.h.
References dim4_.
Referenced by SgAgvDriver::allocateFuzzyDescriptors().
|
inline |
Definition at line 146 of file SgIoAgv.h.
References driver_.
Referenced by SgAgvDriver::createDatum().
|
inline |
Definition at line 147 of file SgIoAgv.h.
References expectance_.
|
inline |
Definition at line 142 of file SgIoAgv.h.
References hasData_.
Referenced by SgAgvDriver::allocateFuzzyDescriptors(), SgAgvDriver::fillMandatoryVars(), SgAgvDriver::fillSessVars(), SgAgvDriver::initEssentialVars(), and SgAgvDriver::prepare4output().
|
inline |
Definition at line 144 of file SgIoAgv.h.
References hasMutableScope_.
|
inline |
Definition at line 143 of file SgIoAgv.h.
References isUsable_.
Referenced by SgAgvDriver::checkCollectedDescriptors().
|
inline |
Definition at line 131 of file SgIoAgv.h.
References lCode_.
Referenced by SgAgvDriver::allocateFuzzyDescriptors().
|
inline |
int SgAgvDatumDescriptor::totalSize | ( | ) | const |
Definition at line 182 of file SgIoAgv.cpp.
References ADS_STATION, ADT_CHAR, d1(), d2(), dataScope_, dataType_, driver_, SgAgvDriver::getNumOfObsByStn(), and totalMaxSize().
|
protected |
Definition at line 165 of file SgIoAgv.h.
Referenced by SgAgvDatumDescriptor(), getDataScope(), setDataScope(), and totalSize().
|
protected |
Definition at line 166 of file SgIoAgv.h.
Referenced by SgAgvDatumDescriptor(), getDataType(), setDataType(), totalMaxSize(), and totalSize().
|
protected |
Definition at line 164 of file SgIoAgv.h.
Referenced by SgAgvDatumDescriptor(), getDescription(), and setDescription().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Definition at line 172 of file SgIoAgv.h.
Referenced by SgAgvDatumDescriptor(), effectiveSize(), getDriver(), setDriver(), and totalSize().
|
protected |
Definition at line 175 of file SgIoAgv.h.
Referenced by SgAgvDatumDescriptor(), getExpectance(), isExpected(), and setExpectance().
|
protected |
Definition at line 173 of file SgIoAgv.h.
Referenced by SgAgvDatumDescriptor(), getHasData(), and setHasData().
|
protected |
Definition at line 171 of file SgIoAgv.h.
Referenced by SgAgvDatumDescriptor(), getHasMutableScope(), and setHasMutableScope().
|
protected |
Definition at line 174 of file SgIoAgv.h.
Referenced by SgAgvDatumDescriptor(), getIsUsable(), and setIsUsable().
|
protected |
Definition at line 163 of file SgIoAgv.h.
Referenced by SgAgvDatumDescriptor(), effectiveSize(), getLCode(), and setLCode().