GammaLib 2.0.0
Loading...
Searching...
No Matches
GApplicationPars.cpp File Reference

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.
 

Detailed Description

Application parameter container class implementation.

Author
Juergen Knoedlseder

Definition in file GApplicationPars.cpp.

Macro Definition Documentation

◆ G_ACCESS

◆ G_APPEND

◆ G_AT

◆ G_EXTEND

#define G_EXTEND   "GApplicationPars::extend(GApplicationPars&)"

◆ G_INSERT1

#define G_INSERT1

◆ G_INSERT2

#define G_INSERT2
Value:
"GApplicationPar& GApplicationPars::insert(std::string&, "\
"GApplicationPar&)"

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().

◆ G_LOAD1

#define G_LOAD1   "GApplicationPars::load(GFilename&)"

Definition at line 54 of file GApplicationPars.cpp.

Referenced by GApplicationPars::load(), and GCTAObservation::load().

◆ G_LOAD2

#define G_LOAD2
Value:
"GApplicationPars::load(GFilename&, "\
"std::vector<std::string>&)"

Definition at line 55 of file GApplicationPars.cpp.

Referenced by GApplicationPars::load(), GCTAObservation::load(), and GApplicationPars::save().

◆ G_LOCK_PARFILE

#define G_LOCK_PARFILE

Enables parfile locking.

Definition at line 66 of file GApplicationPars.cpp.

◆ G_OUTPATH

#define G_OUTPATH   "GApplicationPars::outpath(std::string&)"

Definition at line 58 of file GApplicationPars.cpp.

Referenced by GApplicationPars::outpath().

◆ G_PARSE

#define G_PARSE   "GApplicationPars::parse()"

◆ G_READ

#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().

◆ G_REMOVE1

◆ G_REMOVE2

◆ G_SAVE

#define G_SAVE   "GApplicationPars::save(GFilename&)"

◆ G_WRITE

#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().