27 #ifndef GMODELSPECTRALTABLEPAR_HPP
28 #define GMODELSPECTRALTABLEPAR_HPP
50 const std::vector<double>&
values);
66 const int&
method(
void)
const;
67 void method(
const int& method);
91 return (
"GModelSpectralTablePar");
int size(void) const
Return number of nodes in node array.
std::string classname(void) const
Return class name.
int m_method
Interpolation method (0: linear, 1: logarithmic)
GModelPar m_par
Model parameter.
std::string print(const GChatter &chatter=NORMAL) const
Print table model parameter.
GNodeArray m_values
Parameter values.
Definition of interface for all GammaLib classes.
const int & method(void) const
Return reference to table model parameter interpolation method.
GModelSpectralTablePar(void)
Void constructor.
int size(void) const
Return number of table model parameter values.
bool is_empty(void) const
Signals if there are no nodes in node array.
Model parameter class interface definition.
Node array class interface definition.
bool is_empty(void) const
Signals if there are no table model parameter values.
Interface class for all GammaLib classes.
virtual ~GModelSpectralTablePar(void)
Destructor.
void free_members(void)
Delete class members.
void init_members(void)
Initialise class members.
void copy_members(const GModelSpectralTablePar &par)
Copy class members.
void clear(void)
Clear table model parameter.
GModelSpectralTablePar * clone(void) const
Clone table model parameter.
const GNodeArray & values(void) const
Return reference to table model parameter values as node array.
GModelPar & par(void)
Return reference to table model parameter.
Spectral table model parameter class.
GModelSpectralTablePar & operator=(const GModelSpectralTablePar &par)
Assignment operator.