include
ecl
command_line
constraint.hpp
Go to the documentation of this file.
1
11
/*****************************************************************************
12
** Ifdefs
13
*****************************************************************************/
14
15
#ifndef TCLAP_CONSTRAINT_H
16
#define TCLAP_CONSTRAINT_H
17
18
#include <string>
19
#include <vector>
20
#include <list>
21
#include <iostream>
22
#include <iomanip>
23
#include <algorithm>
24
25
namespace
ecl
{
26
27
33
template
<
class
T>
34
class
Constraint
35
{
36
37
public
:
41
virtual
std::string
description
()
const
=0;
42
46
virtual
std::string
shortID
()
const
=0;
47
53
virtual
bool
check
(
const
T& value)
const
=0;
54
60
virtual
~Constraint
() { ; }
61
};
62
63
};
// namespace ecl
64
65
#endif
ecl::Constraint::shortID
virtual std::string shortID() const =0
ecl::Constraint::~Constraint
virtual ~Constraint()
Definition:
constraint.hpp:64
ecl::Constraint::description
virtual std::string description() const =0
ecl
ecl::Constraint::check
virtual bool check(const T &value) const =0
ecl_command_line
Author(s): Daniel Stonier
autogenerated on Wed Mar 2 2022 00:16:13