General Purpose Geodetic Library
|
#include <SgAttribute.h>
Public Member Functions | |
SgAttribute () | |
SgAttribute (const SgAttribute &a) | |
~SgAttribute () | |
SgAttribute & | operator= (const SgAttribute &a) |
unsigned int | getAttributes () const |
void | setAttributes (unsigned int a) |
void | addAttr (uint a) |
void | delAttr (uint a) |
void | assignAttr (uint a, bool b) |
void | xorAttr (uint a) |
bool | isAttr (uint a) const |
void | clearAll () |
Static Public Member Functions | |
static const QString | className () |
Private Attributes | |
unsigned int | attributes_ |
storage for 32 different attributes (is it enough?) More... | |
SgAttribute provides attribute manipulations. Other classes have to inherit this one. ====================================================================================================
Definition at line 43 of file SgAttribute.h.
|
inline |
A constructor. Creates a default object.
Definition at line 146 of file SgAttribute.h.
References attributes_.
|
inline |
A constructor. Creates a copy of an object.
a | – a attribute to be copied. |
Definition at line 154 of file SgAttribute.h.
References attributes_.
|
inline |
A destructor. Frees allocated memory.
Definition at line 163 of file SgAttribute.h.
|
inline |
Adds the attribute to the storage.
Definition at line 202 of file SgAttribute.h.
References attributes_.
Referenced by SgGuiVlbiStnClockBreakEditor::SgGuiVlbiStnClockBreakEditor(), SgMeteoData::SgMeteoData(), SgParameterBreak::SgParameterBreak(), SgVlbiBaselineInfo::SgVlbiBaselineInfo(), SgVlbiStationInfo::SgVlbiStationInfo(), SgGuiVlbiStnInfoEditor::acquireData(), SgGuiVlbiStnClockBreakEditor::acquireData(), SgEstimator::addParameter(), SgVlbiSourceInfo::applyStatusBits(), assignAttr(), SgVlbiBaselineInfo::calculateClockF1(), SgVlbiSession::calculateIonoCorrections(), NsSessionEditDialog::changeNumOfAmbigSpacing4MarkedPoints(), NsSessionEditDialog::changeNumOfSubAmbig4MarkedPoints(), SgVlbiSession::checkExcludedStations(), SgVlbiObservable::checkUsability(), SgVlbiSession::collectAPriories(), SgVlbiSession::correctClockBreak(), SgVlbiSession::doPostReadActions4Ints(), SgVlbiSession::eliminateLargeOutliers(), SgVlbiSession::eliminateOutliers(), SgVlbiSession::eliminateOutliersSimpleMode(), NsSessionEditDialog::excludeMarkedPoints(), NsSessionHandler::exportDataIntoDbh(), SgVlbiSession::getDataFromAgvFile(), SgVlbiSession::getDataFromDbhImage(), SgVlbiSession::getDataFromKombFiles(), SgVlbiSession::getDataFromVgosDb(), SgVlbiSession::importDataFromLogFiles(), NsSessionEditDialog::includeMarkedPoints(), SgAgvDriver::initSession(), main(), SgVlbiObservation::modifyNotValidAttribute(), SgVlbiSession::pickupReferenceClocksStation(), SgVlbiObservation::prepare4Analysis(), SgStnLogReadings::propagateData(), SgStnLogCollector::propagateData(), SgVlbiSession::putDataIntoDbhImage(), SgVlbiObservable::resetAllEditings(), SgVlbiStationInfo::resetAllEditings(), SgVlbiSession::resetDataFromLogFiles(), SgVlbiSession::restoreOutliers(), SgSingleSessionTaskManager::run(), NsSessionEditDialog::scanAmbiguityMultipliers(), SgVlbiSession::scanBaselines4GrDelayAmbiguities(), SgVlbiBand::selfCheck(), SgVlbiSession::selfCheck(), SgPartial::setD(), SgVlbiSession::setPrimaryBandByIdx(), SgVlbiSession::setReferenceClocksStation(), SgVlbiSession::setUpPrimaryBand(), SgEstimator::submittSolution2GlobalStore(), SgVlbiSession::suppressNotSoGoodObs(), SgParameter::tune(), and VcCalc2SessionIfc::writeSession().
|
inline |
Set or unset the attribute.
Definition at line 100 of file SgAttribute.h.
References addAttr(), and delAttr().
Referenced by NsScrPrx4Source::setApplySsm(), NsScrPrx4Station::setConstrainCoords(), NsScrPrx4Source::setConstrainCoords(), NsScrPrx4Baseline::setEstimateClocks(), NsScrPrx4Station::setEstimateCoords(), NsScrPrx4Source::setEstimateCoords(), NsScrPrx4Station::setEstimateTroposphere(), NsScrPrx4VlbiObservation::setIsValid(), NsScrPrx4Station::setIsValid(), NsScrPrx4Baseline::setIsValid(), NsScrPrx4Source::setIsValid(), NsScrPrx4Station::setRreferenceClocks(), NsScrPrx4Source::setTestAttr(), and NsScrPrx4Station::setUseCableCal().
|
static |
Returns name of the class (for debug output).
Definition at line 36 of file SgAttribute.cpp.
|
inline |
Removes all attributes.
Definition at line 234 of file SgAttribute.h.
References attributes_.
Referenced by SgVlbiObservable::checkUsability().
|
inline |
Deletes the attribute from the storage.
Definition at line 210 of file SgAttribute.h.
References attributes_.
Referenced by SgVlbiSourceInfo::SgVlbiSourceInfo(), SgGuiVlbiStnClockBreakEditor::acquireData(), assignAttr(), SgParameter::calcRW(), SgVlbiBaselineInfo::calculateClockF1(), SgVlbiSession::collectAPriories(), SgVlbiSession::eliminateLargeOutliers(), SgVlbiSession::eliminateOutliers(), SgVlbiSession::eliminateOutliersSimpleMode(), NsSessionEditDialog::excludeMarkedPoints(), SgVlbiSession::getDataFromDbhImage(), SgVlbiSession::getDataFromVgosDb(), SgVlbiSession::importDataFromLogFiles(), NsSessionEditDialog::includeMarkedPoints(), SgAgvDriver::initSession(), SgVlbiObservation::modifyNotValidAttribute(), SgVlbiSession::pickupReferenceCoordinatesStation(), SgEstimator::prepare2Run(), SgVlbiSession::prepare4Analysis(), SgVlbiSession::putDataIntoDbhImage(), SgVlbiBand::resetAllEditings(), SgVlbiBaselineInfo::resetAllEditings(), SgVlbiObservation::resetAllEditings(), SgVlbiSession::resetAllEditings(), SgVlbiSourceInfo::resetAllEditings(), SgVlbiStationInfo::resetAllEditings(), SgVlbiStationInfo::resetCable(), SgVlbiStationInfo::resetMeteo(), SgVlbiStationInfo::resetTsys(), SgVlbiSession::restoreOutliers(), SgSingleSessionTaskManager::run(), SgVlbiBand::selfCheck(), SgVlbiSession::setReferenceClocksStation(), SgParameter::tune(), SgPartial::zerofy(), and SgVlbiSession::zerofyIonoCorrections().
|
inline |
Returns the attributes.
Definition at line 183 of file SgAttribute.h.
References attributes_.
Referenced by SgMeteoData::operator=(), SgParameterBreak::saveIntermediateResults(), SgObjectInfo::saveIntermediateResults(), SgParameterCfg::saveIntermediateResults(), SgVlbiBand::saveIntermediateResults(), SgVlbiObservable::saveIntermediateResults(), SgVlbiObservation::saveIntermediateResults(), and SgVlbiSession::saveIntermediateResults().
|
inline |
Returns TRUE if the attribute is set.
Definition at line 226 of file SgAttribute.h.
References attributes_.
Referenced by NsSessionEditDialog::NsSessionEditDialog(), SgGuiPiaReport::SgGuiPiaReport(), SgGuiVlbiBaselineList::SgGuiVlbiBaselineList(), SgGuiVlbiBlnInfoEditor::SgGuiVlbiBlnInfoEditor(), SgGuiVlbiSourceList::SgGuiVlbiSourceList(), SgGuiVlbiSrcInfoEditor::SgGuiVlbiSrcInfoEditor(), SgGuiVlbiStationList::SgGuiVlbiStationList(), SgGuiVlbiStnClockBreakEditor::SgGuiVlbiStnClockBreakEditor(), SgGuiVlbiStnInfoEditor::SgGuiVlbiStnInfoEditor(), SgSolutionReporter::absorbInfo(), SgGuiVlbiStnClockBreakEditor::accept(), SgGuiVlbiBlnInfoEditor::acquireData(), SgGuiVlbiSrcInfoEditor::acquireData(), SgGuiVlbiStnInfoEditor::acquireData(), SgGuiVlbiStnClockBreakEditor::acquireData(), SgGuiVlbiStnInfoEditor::addNewClockBreak(), NsSessionEditDialog::adjustAmbiguityMultipliers(), SgEstimator::calc_aT_P_a_opt(), SgEstimator::calcAX(), SgVlbiStationInfo::calcCBEpochs4Export(), NsSessionEditDialog::calcIono(), SgParameter::calcRW(), SgVlbiSession::calculateBaselineClock_F1(), SgVlbiSession::calculateClockBreakParameter(), SgVlbiSession::calculateClockBreaksParameters(), SgVlbiBaselineInfo::calculateClockF1(), SgVlbiObservation::calculateIonoBits(), SgVlbiSourceInfo::calculateStatusBits(), NsSessionEditDialog::canSave(), NsSessionEditDialog::changeNumOfAmbigSpacing4MarkedPoints(), SgVlbiSession::checkExcludedStations(), SgVlbiObservable::checkUsability(), SgTaskManager::constrainClocks(), SgTaskManager::constrainSourcesPositions(), SgTaskManager::constrainStcPositionsNNR(), SgTaskManager::constrainStcPositionsNNT(), SgTaskManager::constrainTroposphericParameters(), SgVlbiSession::detectClockBreaks_mode1(), NsSessionEditDialog::displayExcludedObs(), NsSessionEditDialog::displayExcludedObs_old(), NsSessionEditDialog::displayPointInfo(), SgVlbiStationInfo::effectiveCableCalMultiplier(), SgVlbiSession::eliminateLargeOutliers(), SgVlbiSession::eliminateOutliers(), SgVlbiSession::eliminateOutliersSimpleMode(), SgVlbiBaselineInfo::evaluateCBIndicator(), SgVlbiBaselineInfo::evaluateMeanGrDelResiduals(), SgVlbiObservation::evaluateResiduals(), SgVlbiObservation::evaluateTheoreticalValues(), SgSolutionReporter::evaluateUsedErpApriori(), NsSessionEditDialog::excludeMarkedPoints(), SgVlbiSession::exportDataIntoNgsFile(), SgAgvDriver::fillBslnVars(), SgTaskManager::fillParameterList(), SgVlbiObservation::fillPartials4delay(), SgVlbiObservation::fillPartials4rate(), SgAgvDriver::fillSessVars(), NsSessionEditDialog::findClockBreakEvent(), SgSingleSessionTaskManager::finisRun(), NsSessionEditDialog::generateRequest4Refringing(), NsScrPrx4Source::getApplySsm(), NsScrPrx4Station::getConstrainCoords(), NsScrPrx4Source::getConstrainCoords(), SgVlbiSession::getDataFromDbhImages(), SgVlbiSession::getDataFromVgosDb(), NsScrPrx4Baseline::getEstimateClocks(), NsScrPrx4Station::getEstimateCoords(), NsScrPrx4Source::getEstimateCoords(), NsScrPrx4Station::getEstimateTroposphere(), NsScrPrx4Station::getRreferenceClocks(), NsScrPrx4Source::getTestAttr(), NsScrPrx4Station::getUseCableCal(), SgVlbiSession::hasReferenceClocksStation(), SgVlbiSession::hasReferenceCoordinatesStation(), SgVlbiSession::importDataFromLogFiles(), NsSessionEditDialog::includeMarkedPoints(), SgAgvDriver::initEssentialVars(), SgAgvDriver::initSession(), SgObservation::isEligible(), SgVlbiObservation::isEligible(), NsScrPrx4VlbiObservation::isProcessed(), NsScrPrx4VlbiAuxObservation::isProcessed(), SgVlbiObservable::isRestorable_old(), NsScrPrx4VlbiObservation::isValid(), NsScrPrx4VlbiAuxObservation::isValid(), NsScrPrx4Station::isValid(), NsScrPrx4Baseline::isValid(), NsScrPrx4Source::isValid(), SgVlbiSession::makeHistory(), SgVlbiSession::need2runAutomaticDataProcessing(), SgVlbiObservation::prepare4Analysis(), SgSingleSessionTaskManager::prepare4Run(), SgTaskManager::prepare4Run(), SgMeteoData::pressure(), NsSessionEditDialog::process(), SgVlbiSession::processKombFile(), SgStnLogReadings::propagateData(), SgArcStorage::propagatePartials(), SgPwlStorageBSplineL::propagatePartials(), SgPwlStorageBSplineQ::propagatePartials(), SgPwlStorageIncRates::propagatePartials(), SgParameterBreak::propagatePartials(), SgParameterBreak::propagatePartials4rates(), SgVlbiSession::putDataIntoDbhImage(), SgVlbiSession::putDataIntoVgosDb(), SgParameterBreak::rate(), SgMeteoData::relativeHumidity(), SgVlbiBaselineInfo::releaseParameters(), SgSolutionReporter::report2aposterioriFiles(), SgSolutionReporter::report2MyFile(), SgSolutionReporter::report2spoolFile(), SgSolutionReporter::reportAtmo(), SgSolutionReporter::reportBaselineStatsBlock_Output4Spoolfile(), SgSolutionReporter::reportBaselineVariationsBlock_Output4Spoolfile(), SgSolutionReporter::reportCloc(), SgSolutionReporter::reportConfiguresBlock_Output4Spoolfile(), SgSolutionReporter::reportDeselectedObsBlock_Output4Spoolfile(), SgSolutionReporter::reportDeselectedObsBlock_Output4Spoolfile_v2(), SgSolutionReporter::reportDeselectedObsBlock_Output4Spoolfile_v3(), SgSolutionReporter::reportEstimationBlock_Output4Spoolfile(), SgSolutionReporter::reportGeneralStatsBlock_Output4Spoolfile(), SgSolutionReporter::reportMetStatsBlock_Output4Spoolfile(), SgSolutionReporter::reportResidualsBlock_Output4Spoolfile(), SgSolutionReporter::reportResidualsBlock_Output4Spoolfile_old(), SgSolutionReporter::reportSources_Output4AposterioriFiles(), SgSolutionReporter::reportSourceStatsBlock_Output4Spoolfile(), SgSolutionReporter::reportStations_Output4AposterioriFiles(), SgVlbiStationInfo::resetAllEditings(), SgVlbiSession::resolveGrAmbigTriangles(), SgVlbiSession::restoreOutliers(), SgSingleSessionTaskManager::run(), NsSessionHandler::saveResults(), SgVlbiBaselineInfo::scan4Ambiguities_m1(), SgVlbiBaselineInfo::scan4Ambiguities_m2(), NsSessionEditDialog::scanAmbiguityMultipliers(), SgVlbiBand::selfCheck(), SgVlbiSession::selfCheck(), SgVlbiSession::setClockModelOrder4Stations(), SgVlbiBaselineInfo::setGrdAmbiguities2min(), SgVlbiSession::setReferenceClocksStation(), SgEstimator::submittSolution2GlobalStore(), SgVlbiSession::suppressNotSoGoodObs(), NsSessionEditDialog::tab4BandPlots(), SgMeteoData::temperature(), SgGuiVlbiBaselineList::toggleEntryMoveEnable(), SgGuiVlbiSourceList::toggleEntryMoveEnable(), SgGuiVlbiStationList::toggleEntryMoveEnable(), SgParameter::tune(), SgGuiVlbiBaselineList::updateContent(), SgGuiVlbiSourceList::updateContent(), SgGuiVlbiStationList::updateContent(), NsSessionEditDialog::updateResiduals(), SgPartial::updateStatistics(), SgParameterBreak::value(), and NsSessionEditDialog::zeroIono().
|
inline |
An assignment operator.
Definition at line 174 of file SgAttribute.h.
References attributes_.
Referenced by SgParameterCfg::operator=(), SgPartial::operator=(), and SgVlbiSessionInfo::operator=().
|
inline |
Sets up the attributes.
Definition at line 191 of file SgAttribute.h.
References attributes_.
Referenced by SgParameterBreak::loadIntermediateResults(), SgObjectInfo::loadIntermediateResults(), SgParameterCfg::loadIntermediateResults(), SgVlbiBand::loadIntermediateResults(), SgVlbiObservable::loadIntermediateResults(), SgVlbiObservation::loadIntermediateResults(), SgVlbiSession::loadIntermediateResults(), and SgMeteoData::operator=().
|
inline |
Toggles the attribute in the storage.
Definition at line 218 of file SgAttribute.h.
References attributes_.
Referenced by SgGuiVlbiBlnInfoEditor::acquireData(), SgGuiVlbiSrcInfoEditor::acquireData(), SgGuiVlbiStnInfoEditor::acquireData(), SgGuiVlbiBaselineList::toggleEntryMoveEnable(), SgGuiVlbiSourceList::toggleEntryMoveEnable(), and SgGuiVlbiStationList::toggleEntryMoveEnable().
|
private |
storage for 32 different attributes (is it enough?)
Definition at line 125 of file SgAttribute.h.
Referenced by SgAttribute(), addAttr(), clearAll(), delAttr(), getAttributes(), isAttr(), operator=(), setAttributes(), and xorAttr().