NAPISD
PAHdb website C++ backend
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
Parameters Class Reference

Public Types

enum class  Arg : char {
  ZeroKelvin , FixedTemperature , Temperature , Cascade ,
  CoAdd , Stack , TemperatureStack , CompareExperimentWithTheory ,
  SpectralFit , Wavelength , Frequency , Lorentzian ,
  Gaussian , Drude
}
 

Public Member Functions

 Parameters (const int argc, const char *argv[])
 
void parse (const int argc, const char *argv[])
 
std::string_view getDatabase () const
 
std::string_view getHost () const
 
std::string_view getUsername () const
 
std::string_view getPassword () const
 
std::string_view getSocket () const
 
std::string_view getOutputFilename () const
 
std::string_view getInputFilename () const
 
const double & getFWHM () const
 
const double & getShift () const
 
double getEnergyInCGS () const
 
const double & getTemperatureInKelvin () const
 
const PAHdb::Database & getTable () const
 
const int & getPort () const
 
const int & getTimeout () const
 
const Arg & getModel () const
 
const Arg & getProfile () const
 
const Arg & getTool () const
 
const Arg & getUnits () const
 
const int & getDatabaseVersion () const
 
std::vector< int > const & getIds () const
 
std::array< int, 2 > const & getPlotSize () const
 
void setIds (const std::vector< int > &ids)
 
void setPlotLimits (const std::array< double, 2 > &plotlimits)
 
std::array< double, 2 > const & getPlotLimits () const
 
std::array< double, 2 > const & getPlotLimitsAsFrequencies () const
 
std::array< double, 2 > const & getPlotLimitsAsWavelenghts () const
 
std::vector< double > const & getTemperaturesInKelvin () const
 
std::vector< double > const & getWeights () const
 
bool isCompress ()
 
bool isX11 ()
 
bool isPNG ()
 
bool isJPEG ()
 
bool isPostscript ()
 
bool isPDF ()
 

Detailed Description

Definition at line 12 of file Parameters.h.

Member Enumeration Documentation

◆ Arg

enum class Parameters::Arg : char
strong

Definition at line 15 of file Parameters.h.

Constructor & Destructor Documentation

◆ Parameters() [1/2]

Parameters::Parameters ( )

Definition at line 3 of file Parameters.cpp.

◆ Parameters() [2/2]

Parameters::Parameters ( const int  argc,
const char *  argv[] 
)

Definition at line 6 of file Parameters.cpp.

Member Function Documentation

◆ getDatabase()

std::string_view Parameters::getDatabase ( ) const
inline

Definition at line 129 of file Parameters.h.

◆ getDatabaseVersion()

const int & Parameters::getDatabaseVersion ( ) const
inline

Definition at line 221 of file Parameters.h.

◆ getEnergyInCGS()

double Parameters::getEnergyInCGS ( ) const
inline

Definition at line 155 of file Parameters.h.

◆ getFWHM()

const double & Parameters::getFWHM ( ) const
inline

Definition at line 151 of file Parameters.h.

◆ getHost()

std::string_view Parameters::getHost ( ) const
inline

Definition at line 131 of file Parameters.h.

◆ getIds()

std::vector< int > const & Parameters::getIds ( ) const
inline

Definition at line 181 of file Parameters.h.

◆ getInputFilename()

std::string_view Parameters::getInputFilename ( ) const
inline

Definition at line 143 of file Parameters.h.

◆ getModel()

const Parameters::Arg & Parameters::getModel ( ) const
inline

Definition at line 215 of file Parameters.h.

◆ getOutputFilename()

std::string_view Parameters::getOutputFilename ( ) const
inline

Definition at line 139 of file Parameters.h.

◆ getPassword()

std::string_view Parameters::getPassword ( ) const
inline

Definition at line 135 of file Parameters.h.

◆ getPlotLimits()

std::array< double, 2 > const & Parameters::getPlotLimits ( ) const
inline

Definition at line 193 of file Parameters.h.

◆ getPlotLimitsAsFrequencies()

std::array< double, 2 > const & Parameters::getPlotLimitsAsFrequencies ( ) const
inline

Definition at line 198 of file Parameters.h.

◆ getPlotLimitsAsWavelenghts()

std::array< double, 2 > const & Parameters::getPlotLimitsAsWavelenghts ( ) const
inline

Definition at line 203 of file Parameters.h.

◆ getPlotSize()

std::array< int, 2 > const & Parameters::getPlotSize ( ) const
inline

Definition at line 183 of file Parameters.h.

◆ getPort()

const int & Parameters::getPort ( ) const
inline

Definition at line 165 of file Parameters.h.

◆ getProfile()

const Parameters::Arg & Parameters::getProfile ( ) const
inline

Definition at line 147 of file Parameters.h.

◆ getShift()

const double & Parameters::getShift ( ) const
inline

Definition at line 153 of file Parameters.h.

◆ getSocket()

std::string_view Parameters::getSocket ( ) const
inline

Definition at line 137 of file Parameters.h.

◆ getTable()

const PAHdb::Database & Parameters::getTable ( ) const
inline

Definition at line 163 of file Parameters.h.

◆ getTemperatureInKelvin()

const double & Parameters::getTemperatureInKelvin ( ) const
inline

Definition at line 159 of file Parameters.h.

◆ getTemperaturesInKelvin()

std::vector< double > const & Parameters::getTemperaturesInKelvin ( ) const
inline

Definition at line 207 of file Parameters.h.

◆ getTimeout()

const int & Parameters::getTimeout ( ) const
inline

Definition at line 167 of file Parameters.h.

◆ getTool()

const Parameters::Arg & Parameters::getTool ( ) const
inline

Definition at line 217 of file Parameters.h.

◆ getUnits()

const Parameters::Arg & Parameters::getUnits ( ) const
inline

Definition at line 219 of file Parameters.h.

◆ getUsername()

std::string_view Parameters::getUsername ( ) const
inline

Definition at line 133 of file Parameters.h.

◆ getWeights()

std::vector< double > const & Parameters::getWeights ( ) const
inline

Definition at line 211 of file Parameters.h.

◆ isCompress()

bool Parameters::isCompress ( )
inline

Definition at line 169 of file Parameters.h.

◆ isJPEG()

bool Parameters::isJPEG ( )
inline

Definition at line 175 of file Parameters.h.

◆ isPDF()

bool Parameters::isPDF ( )
inline

Definition at line 179 of file Parameters.h.

◆ isPNG()

bool Parameters::isPNG ( )
inline

Definition at line 173 of file Parameters.h.

◆ isPostscript()

bool Parameters::isPostscript ( )
inline

Definition at line 177 of file Parameters.h.

◆ isX11()

bool Parameters::isX11 ( )
inline

Definition at line 171 of file Parameters.h.

◆ parse()

void Parameters::parse ( const int  argc,
const char *  argv[] 
)

Definition at line 12 of file Parameters.cpp.

◆ setIds()

void Parameters::setIds ( const std::vector< int > &  ids)
inline

Definition at line 187 of file Parameters.h.

◆ setPlotLimits()

void Parameters::setPlotLimits ( const std::array< double, 2 > &  plotlimits)
inline

Definition at line 189 of file Parameters.h.


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

From FY2025 onward the NASA Ames PAH IR Spectroscopic Database is being supported through the Laboratory Astrophysics Round 3 directed Work Package at NASA Ames.
From FY2023-2025 the NASA Ames PAH IR Spectroscopic Database was supported through the Laboratory Astrophysics Round 2 directed Work Package at NASA Ames.
From FY2019-2022 the NASA Ames PAH IR Spectroscopic Database was supported through a directed Work Package at NASA Ames titled: "Laboratory Astrophysics – The NASA Ames PAH IR Spectroscopic Database".
© Copyright 2021-2025, Christiaan Boersma