Argument.h
1//-*-C++-*-
2/***************************************************************************
3 *
4 * Copyright (C) 2004 by Willem van Straten
5 * Licensed under the Academic Free License version 2.1
6 *
7 ***************************************************************************/
8
9// psrchive/More/MEAL/MEAL/Argument.h
10
11#ifndef __MEAL_Argument_Header
12#define __MEAL_Argument_Header
13
14#include "Reference.h"
15
16namespace MEAL {
17
19
24
25 class Argument : public Reference::Able {
26
27 public:
28
30 static bool verbose;
31
33 virtual ~Argument ();
34
36 class Value : public Reference::Able {
37
38 public:
39
41 virtual ~Value ();
42
44 virtual void apply () const = 0;
45
47 virtual std::string get_string () const = 0;
48 };
49
50 };
51
52}
53
54#endif
The value of an argument.
Definition Argument.h:36
virtual void apply() const =0
Apply the value of this Argument.
virtual ~Value()
Destructor.
Definition Argument.C:18
virtual std::string get_string() const =0
Return a string representation of the value, if posssible.
Pure virtual base class of function arguments.
Definition Argument.h:25
static bool verbose
Verbosity flag.
Definition Argument.h:30
virtual ~Argument()
Destructor.
Definition Argument.C:11
Namespace in which all modeling and calibration related code is declared.
Definition ExampleComplex2.h:16

Generated using doxygen 1.14.0