1 #ifndef __JOSCPROB__JOSCPARAMETERSINTERFACE__ 
    2 #define __JOSCPROB__JOSCPARAMETERSINTERFACE__ 
   31 namespace JPP { 
using namespace JOSCPROB; }
 
   49     public JClonable<JOscParametersInterface<T> >,
 
   50     public JEquals  <JOscParametersInterface<T> >,
 
  153     template<
class ...Args>
 
  175       for (JProperties::const_iterator 
i = properties.cbegin(); 
i != properties.cend(); ++
i) {
 
  195       for (JProperties::const_iterator 
i = properties.cbegin(); 
i != properties.cend() && valid; ++
i) {
 
  220       for (JProperties::const_iterator 
i = properties.cbegin(); 
i != properties.cend() && equal; ++
i) {
 
  224         equal = (parameter == this->
get(
i->first));
 
  265       for (JProperties::iterator 
i = properties.begin(); 
i != properties.end(); ++
i) {
 
  270         if ((in >> is_defined >> value) && is_defined) {
 
  292       for (JProperties::const_iterator 
i = properties.cbegin(); 
i != properties.cend(); ++
i) {
 
  315       JStringStream 
is(in);
 
  355     for (JProperties::const_iterator 
i = properties.cbegin(); 
i != properties.cend(); ++
i) {
 
  377     for (JProperties::const_iterator 
i = properties.cbegin(); 
i != properties.cend(); ++
i) {
 
Abstract base class for oscillation parameter. 
JReader & read(JReader &in) override
Binary stream input of oscillation parameters. 
JOscParametersInterface< T > JOscParametersInterface_t
Interface for binary output. 
friend std::ostream & operator<<(std::ostream &out, const JOscParametersInterface_t ¶meters)
Stream output of oscillation parameters. 
void set(const std::string &name, const value_type &value, const Args &...args)
Set value for given list of oscillation parameters. 
friend std::istream & operator>>(std::istream &in, JOscParametersInterface_t ¶meters)
Stream input of oscillation parameters. 
Utility class to parse parameter values. 
*fatal Wrong number of arguments esac JCookie sh typeset Z DETECTOR typeset Z SOURCE_RUN typeset Z TARGET_RUN set_variable PARAMETERS_FILE $WORKDIR parameters
Simple data structure to support I/O of equations (see class JLANG::JEquation). 
bool is_valid() const 
Check validity of oscillation parameters. 
size_t getSize(T(&array)[N])
Get size of c-array. 
static void setEquationParameters(const JEquationParameters &equation)
Set equation parameters. 
Utility class to parse parameter values. 
bool equals(const JOscParametersInterface< value_type > ¶meters) const 
Check whether these oscillation parameters are equal to given oscillation parameters. 
JParameter_t::argument_type argument_type
const bool isDefined() const 
Get status of parameter. 
void set(const JOscParametersInterface< value_type > ¶meters)
Set oscillation parameters. 
void set(const std::string &name, const value_type &value)
Set value for a given oscillation parameter. 
Forward declaration of binary output. 
Template definition of auxiliary base class for comparison of data structures. 
JWriter & write(JWriter &out) const override
Binary stream output of oscillation parameters. 
Template class for object cloning. 
JOscParameter_t::JParameter_t JParameter_t
Interface for binary input. 
virtual bool is_valid() const =0
Check validity of oscillation parameter. 
JClass< T >::argument_type argument_type
then fatal The output file must have the wildcard in the name
void setValue(const value_type &value)
Set parameter. 
static JStat getFileStatus
Function object for file status. 
virtual JProperties getProperties(const JEquationParameters &equation=JOscParametersInterface_t::getEquationParameters())=0
Get properties of this class. 
then fatal The output file must have the wildcard in the e g root fi eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY JAcoustics sh $DETECTOR_ID source JAcousticsToolkit sh CHECK_EXIT_CODE typeset A EMITTERS get_tripods $WORKDIR tripod txt EMITTERS get_transmitters $WORKDIR transmitter txt EMITTERS for EMITTER in
JOscParameter< T > JOscParameter_t
static JEquationParameters & getEquationParameters()
Get equation parameters. 
JParameter_t::value_type value_type
JOscParametersInterface_t & getParameters()
Get oscillation parameters. 
JOscParametersInterface()
Default constructor. 
~JOscParametersInterface()
Virtual destructor. 
JClass< T >::value_type value_type
Interface class for sets of oscillation parameters. 
const value_type getValue() const 
Get value of parameter.