1 #ifndef __JOSCPROB__JOSCPARAMETERSINTERFACE__ 
    2 #define __JOSCPROB__JOSCPARAMETERSINTERFACE__ 
   47     public JClonable<JOscParametersInterface<T> >,
 
  148     void set(
const std::string& name,
 
  169     template<
class ...Args>
 
  170     void set(
const std::string& name,
 
  191       for (JProperties::const_iterator i = properties.cbegin(); i != properties.cend(); ++i) {
 
  211       for (JProperties::const_iterator i = properties.cbegin(); i != properties.cend() && valid; ++i) {
 
  237       for (JProperties::const_iterator i = properties.cbegin(); i != properties.cend() && equal; ++i) {
 
  241         equal = (parameter == parameters.
get(i->first));
 
  256       return this->
equals(parameters);
 
  268       return !this->
equals(parameters);
 
  306       for (JProperties::iterator i = properties.begin(); i != properties.end(); ++i) {
 
  311         if ((in >> is_defined >> value) && is_defined) {
 
  333       for (JProperties::const_iterator i = properties.cbegin(); i != properties.cend(); ++i) {
 
  396     for (JProperties::const_iterator i = properties.cbegin(); i != properties.cend(); ++i) {
 
  416     const JProperties properties = parameters.getProperties();
 
  418     for (JProperties::const_iterator i = properties.cbegin(); i != properties.cend(); ++i) {
 
Utility class to parse parameter values.
 
Utility class to parse parameter values.
 
const T & getValue(const std::string &key) const
Get value.
 
Interface for binary input.
 
Forward declaration of binary output.
 
Interface for binary output.
 
Simple data structure to support I/O of equations (see class JLANG::JEquation).
 
const value_type getValue() const
Get value of parameter.
 
const bool isDefined() const
Get status of parameter.
 
JClass< T >::argument_type argument_type
 
JClass< T >::value_type value_type
 
Wrapper class around STL stringstream class to facilitate optional loading of data from file.
 
void load()
Load data from file with name corresponding to current contents.
 
Interface class for sets of oscillation parameters.
 
static void setEquationParameters(const JEquationParameters &equation)
Set equation parameters.
 
JOscParameter_t & get(const std::string &name)
Get oscillation parameter.
 
JOscParametersInterface_t & getParameters()
Get oscillation parameters.
 
JReader & read(JReader &in) override
Binary stream input of oscillation parameters.
 
~JOscParametersInterface()
Virtual destructor.
 
JOscParameter_t::JParameter_t JParameter_t
 
JParameter_t::value_type value_type
 
virtual JProperties getProperties(const JEquationParameters &equation=JOscParametersInterface_t::getEquationParameters())=0
Get properties of this class.
 
void set(const std::string &name, const value_type &value, const Args &...args)
Set value for given list of oscillation parameters.
 
const JOscParameter_t & get(const std::string &name) const
Get oscillation parameter.
 
virtual JProperties getProperties(const JEquationParameters &equation=JOscParametersInterface_t::getEquationParameters()) const =0
Get properties of this class.
 
static JEquationParameters & getEquationParameters()
Get equation parameters.
 
friend std::istream & operator>>(std::istream &in, JOscParametersInterface_t ¶meters)
Stream input of oscillation parameters.
 
bool equals(const JOscParametersInterface< value_type > ¶meters) const
Check whether these oscillation parameters are equal to given oscillation parameters.
 
JOscParametersInterface< T > JOscParametersInterface_t
 
friend std::ostream & operator<<(std::ostream &out, const JOscParametersInterface_t ¶meters)
Stream output of oscillation parameters.
 
JWriter & write(JWriter &out) const override
Binary stream output of oscillation parameters.
 
bool operator!=(const JOscParametersInterface< value_type > ¶meters)
Not equal operator.
 
JParameter_t::argument_type argument_type
 
JOscParametersInterface()
Default constructor.
 
void set(const std::string &name, const value_type &value)
Set value for a given oscillation parameter.
 
bool operator==(const JOscParametersInterface< value_type > ¶meters)
Equal operator.
 
void set(const JOscParametersInterface< value_type > ¶meters)
Set oscillation parameters.
 
JOscParameter< T > JOscParameter_t
 
bool is_valid() const
Check validity of oscillation parameters.
 
size_t getSize(const JOscParametersInterface< JGrid< double > > ¶meters)
Get size of given oscillation parameters grid.
 
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 
static JStat getFileStatus
Function object for file status.
 
Template class for object cloning.
 
Abstract base class for oscillation parameter.
 
void setValue(const value_type &value)
Set parameter.
 
virtual bool is_valid() const =0
Check validity of oscillation parameter.