ArgumentPolicy.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2005 by Willem van Straten
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 // psrchive/More/MEAL/MEAL/ArgumentPolicy.h
10 
11 #ifndef __MEAL_ArgumentPolicy_H
12 #define __MEAL_ArgumentPolicy_H
13 
14 #include "MEAL/FunctionPolicy.h"
15 
16 namespace MEAL {
17 
18  class Argument;
19 
21  class ArgumentPolicy : public FunctionPolicy {
22 
23  public:
24 
27 
29  virtual ArgumentPolicy* clone (Function* context) const = 0;
30 
32  virtual void set_argument (unsigned dimension, Argument* axis) = 0;
33 
34  };
35 
36 }
37 
38 #endif
virtual ArgumentPolicy * clone(Function *context) const =0
Clone operator.
virtual void set_argument(unsigned dimension, Argument *axis)=0
Set the independent variable of the specified dimension.
Reference::To< ArgumentPolicy > argument_policy
The policy for managing function arguments.
Definition: Function.h:204
Pure virtual base class of function arguments.
Definition: Argument.h:30
Managers of Function arguments.
Definition: ArgumentPolicy.h:26
Namespace in which all modeling and calibration related code is declared.
Definition: ExampleComplex2.h:16
Pure virtual base class of all functions.
Definition: Function.h:49
ArgumentPolicy(Function *context)
Default constructor.
Definition: ArgumentPolicy.C:10
Policies that customize Function behaviours.
Definition: FunctionPolicy.h:26

Generated using doxygen 1.8.17