GammaLib 2.0.0
|
Application parameter container class implementation. More...
#include <pwd.h>
#include <fcntl.h>
#include <unistd.h>
#include <sys/stat.h>
#include <cstdlib>
#include <cstdio>
#include <sstream>
#include "GException.hpp"
#include "GTools.hpp"
#include "GFilename.hpp"
#include "GApplicationPars.hpp"
Go to the source code of this file.
Macros | |
#define | G_ACCESS "GApplicationPars::operator[](std::string&)" |
#define | G_AT "GApplicationPar& GApplicationPars::at(int&)" |
#define | G_APPEND "GApplicationPars::append(GApplicationPar&)" |
#define | G_INSERT1 |
#define | G_INSERT2 |
#define | G_REMOVE1 "GApplicationPars::remove(int&)" |
#define | G_REMOVE2 "GApplicationPars::remove(std::string&)" |
#define | G_EXTEND "GApplicationPars::extend(GApplicationPars&)" |
#define | G_LOAD1 "GApplicationPars::load(GFilename&)" |
#define | G_LOAD2 |
#define | G_SAVE "GApplicationPars::save(GFilename&)" |
#define | G_OUTPATH "GApplicationPars::outpath(std::string&)" |
#define | G_READ "GApplicationPars::read(std::string&)" |
#define | G_WRITE "GApplicationPars::write(std::string&)" |
#define | G_PARSE "GApplicationPars::parse()" |
#define | G_LOCK_PARFILE |
Enables parfile locking. | |
Application parameter container class implementation.
Definition in file GApplicationPars.cpp.
#define G_ACCESS "GApplicationPars::operator[](std::string&)" |
Definition at line 44 of file GApplicationPars.cpp.
Referenced by GCsv::operator()(), GCsv::operator()(), GApplicationPars::operator[](), GApplicationPars::operator[](), GModel::operator[](), GModel::operator[](), GModelAssociations::operator[](), GModels::operator[](), GModels::operator[](), GModelSpatial::operator[](), GModelSpatial::operator[](), GModelSpectral::operator[](), GModelSpectral::operator[](), GModelSpectralTablePars::operator[](), GModelTemporal::operator[](), GModelTemporal::operator[](), GOptimizerPars::operator[](), GOptimizerPars::operator[](), GXmlNode::operator[](), and GXmlNode::operator[]().
#define G_APPEND "GApplicationPars::append(GApplicationPar&)" |
Definition at line 46 of file GApplicationPars.cpp.
Referenced by GApplicationPars::append(), GArf::append(), GCsv::append(), GCTAModelSpatialMultiplicative::append(), GModelAssociations::append(), GModels::append(), GModelSpatialComposite::append(), GModelSpectralBins::append(), GModelSpectralComposite::append(), GModelSpectralFunc::append(), GModelSpectralMultiplicative::append(), GModelSpectralNodes::append(), GModelSpectralTablePars::append(), GObservations::append(), and GPha::append().
#define G_AT "GApplicationPar& GApplicationPars::at(int&)" |
Definition at line 45 of file GApplicationPars.cpp.
Referenced by GApplicationPars::at(), GApplicationPars::at(), GCOMBvcs::at(), GCOMBvcs::at(), GCOMOads::at(), GCOMOads::at(), GEnergies::at(), GEnergies::at(), GMatrix::at(), GMatrix::at(), GMatrixSparse::at(), GMatrixSparse::at(), GMatrixSymmetric::at(), GMatrixSymmetric::at(), GModel::at(), GModel::at(), GModelAssociations::at(), GModels::at(), GModels::at(), GModelSpatial::at(), GModelSpatial::at(), GModelSpectral::at(), GModelSpectral::at(), GModelSpectralTablePars::at(), GModelSpectralTablePars::at(), GModelTemporal::at(), GModelTemporal::at(), GNodeArray::at(), GNodeArray::at(), GObservations::at(), GObservations::at(), GPulsar::at(), GPulsar::at(), GRmf::at(), GRmf::at(), GSkyDirs::at(), GSkyRegions::at(), GSkyRegions::at(), GTestSuites::at(), GTestSuites::at(), GVector::at(), and GVector::at().
#define G_EXTEND "GApplicationPars::extend(GApplicationPars&)" |
Definition at line 53 of file GApplicationPars.cpp.
Referenced by GApplicationPars::extend(), GModelAssociations::extend(), GModels::extend(), GModelSpectralTablePars::extend(), and GObservations::extend().
#define G_INSERT1 |
Definition at line 47 of file GApplicationPars.cpp.
Referenced by GApplicationPars::insert(), GFits::insert(), GFitsHeader::insert(), GFitsTable::insert(), GModelAssociations::insert(), GModels::insert(), GModelSpectralTablePars::insert(), GOptimizerPars::insert(), and GSkyRegions::insert().
#define G_INSERT2 |
Definition at line 49 of file GApplicationPars.cpp.
Referenced by GApplicationPars::insert(), GFits::insert(), GFitsHeader::insert(), GFitsTable::insert(), GModelAssociations::insert(), GModels::insert(), GModelSpectralTablePars::insert(), and GOptimizerPars::insert().
#define G_LOAD1 "GApplicationPars::load(GFilename&)" |
Definition at line 54 of file GApplicationPars.cpp.
Referenced by GApplicationPars::load(), and GCTAObservation::load().
#define G_LOAD2 |
Definition at line 55 of file GApplicationPars.cpp.
Referenced by GApplicationPars::load(), GCTAObservation::load(), and GApplicationPars::save().
#define G_LOCK_PARFILE |
Enables parfile locking.
Definition at line 66 of file GApplicationPars.cpp.
#define G_OUTPATH "GApplicationPars::outpath(std::string&)" |
Definition at line 58 of file GApplicationPars.cpp.
Referenced by GApplicationPars::outpath().
#define G_PARSE "GApplicationPars::parse()" |
Definition at line 61 of file GApplicationPars.cpp.
Referenced by GApplicationPars::parse(), GXml::parse(), GXmlComment::parse(), and GXmlPI::parse().
#define G_READ "GApplicationPars::read(std::string&)" |
Definition at line 59 of file GApplicationPars.cpp.
Referenced by GApplicationPars::read(), GCOMModelDRBPhibarNodes::read(), GCOMModelDRM::read(), GCOMOads::read(), GCOMObservation::read(), GCTAAeff2D::read(), GCTAEdisp2D::read(), GCTAModelRadialGauss::read(), GCTAModelRadialPolynom::read(), GCTAModelRadialProfile::read(), GCTAModelSpatialGradient::read(), GCTAObservation::read(), GCTAOnOffObservation::read(), GCTAPsf2D::read(), GCTAPsfKing::read(), GCTAPsfTable::read(), GCTAResponseCube::read(), GCTAResponseIrf::read(), GCTARoi::read(), GHealpix::read(), GLATObservation::read(), GLATPsf::read(), GLATPsfV1::read(), GLATPsfV3::read(), GModelPar::read(), GModels::read(), GModelSpatialDiffuseConst::read(), GModelSpatialDiffuseCube::read(), GModelSpatialDiffuseMap::read(), GModelSpatialElliptical::read(), GModelSpatialEllipticalDisk::read(), GModelSpatialEllipticalGauss::read(), GModelSpatialEllipticalGeneralGauss::read(), GModelSpatialPointSource::read(), GModelSpatialRadial::read(), GModelSpatialRadialDisk::read(), GModelSpatialRadialGauss::read(), GModelSpatialRadialGeneralGauss::read(), GModelSpatialRadialProfileDMBurkert::read(), GModelSpatialRadialProfileDMEinasto::read(), GModelSpatialRadialProfileDMZhao::read(), GModelSpatialRadialProfileGauss::read(), GModelSpatialRadialRing::read(), GModelSpatialRadialShell::read(), GModelSpectralBins::read(), GModelSpectralBrokenPlaw::read(), GModelSpectralConst::read(), GModelSpectralExpInvPlaw::read(), GModelSpectralExpPlaw::read(), GModelSpectralFunc::read(), GModelSpectralGauss::read(), GModelSpectralLogParabola::read(), GModelSpectralNodes::read(), GModelSpectralPlaw::read(), GModelSpectralPlawEnergyFlux::read(), GModelSpectralPlawPhotonFlux::read(), GModelSpectralSmoothBrokenPlaw::read(), GModelSpectralSuperExpPlaw::read(), GModelSpectralTable::read(), GModelTemporalConst::read(), GModelTemporalLightCurve::read(), GModelTemporalPhaseCurve::read(), GMWLObservation::read(), GMWLSpectrum::read(), GObservations::read(), GPha::read(), GSkyRegionCircle::read(), GSkyRegionRectangle::read(), GSPIObservation::read(), GTimeReference::read(), and GWcs::read().
#define G_REMOVE1 "GApplicationPars::remove(int&)" |
Definition at line 51 of file GApplicationPars.cpp.
Referenced by GApplicationPars::remove(), GFits::remove(), GFitsHeader::remove(), GFitsTable::remove(), GModelAssociations::remove(), GModels::remove(), GModelSpectralTablePars::remove(), GOptimizerPars::remove(), and GSkyRegions::remove().
#define G_REMOVE2 "GApplicationPars::remove(std::string&)" |
Definition at line 52 of file GApplicationPars.cpp.
Referenced by GApplicationPars::remove(), GFits::remove(), GFitsHeader::remove(), GFitsTable::remove(), GModelAssociations::remove(), GModels::remove(), GModelSpectralTablePars::remove(), and GOptimizerPars::remove().
#define G_SAVE "GApplicationPars::save(GFilename&)" |
Definition at line 57 of file GApplicationPars.cpp.
Referenced by GCsv::save(), GFits::save(), GLATResponse::save(), and GSkyRegions::save().
#define G_WRITE "GApplicationPars::write(std::string&)" |
Definition at line 60 of file GApplicationPars.cpp.
Referenced by GApplicationPars::write(), GCOMModelDRBPhibarBins::write(), GCOMModelDRBPhibarNodes::write(), GCOMModelDRM::write(), GCOMObservation::write(), GCTAModelRadialGauss::write(), GCTAModelRadialPolynom::write(), GCTAModelRadialProfile::write(), GCTAModelSpatialGaussSpectrum::write(), GCTAModelSpatialGradient::write(), GCTAModelSpatialMultiplicative::write(), GCTAObservation::write(), GCTAOnOffObservation::write(), GCTAResponseCube::write(), GCTAResponseIrf::write(), GCTARoi::write(), GFitsHeaderCard::write(), GLATObservation::write(), GModelSpatialComposite::write(), GModelSpatialDiffuseConst::write(), GModelSpatialDiffuseCube::write(), GModelSpatialDiffuseMap::write(), GModelSpatialElliptical::write(), GModelSpatialEllipticalDisk::write(), GModelSpatialEllipticalGauss::write(), GModelSpatialEllipticalGeneralGauss::write(), GModelSpatialPointSource::write(), GModelSpatialRadial::write(), GModelSpatialRadialDisk::write(), GModelSpatialRadialGauss::write(), GModelSpatialRadialGeneralGauss::write(), GModelSpatialRadialProfileDMBurkert::write(), GModelSpatialRadialProfileDMEinasto::write(), GModelSpatialRadialProfileDMZhao::write(), GModelSpatialRadialProfileGauss::write(), GModelSpatialRadialRing::write(), GModelSpatialRadialShell::write(), GModelSpectralBins::write(), GModelSpectralBrokenPlaw::write(), GModelSpectralComposite::write(), GModelSpectralConst::write(), GModelSpectralExpInvPlaw::write(), GModelSpectralExponential::write(), GModelSpectralExpPlaw::write(), GModelSpectralFunc::write(), GModelSpectralGauss::write(), GModelSpectralLogParabola::write(), GModelSpectralMultiplicative::write(), GModelSpectralNodes::write(), GModelSpectralPlaw::write(), GModelSpectralPlawEnergyFlux::write(), GModelSpectralPlawPhotonFlux::write(), GModelSpectralSmoothBrokenPlaw::write(), GModelSpectralSuperExpPlaw::write(), GModelSpectralTable::write(), GModelTemporalConst::write(), GModelTemporalLightCurve::write(), GModelTemporalPhaseCurve::write(), GMWLObservation::write(), GSPIModelDataSpace::write(), and GSPIObservation::write().