Main Page
Modules
Namespaces
Classes
Files
File List
File Members
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
ecl::Constraint::shortID
virtual std::string shortID() const =0
ecl::Constraint::description
virtual std::string description() const =0
ecl::Constraint::~Constraint
virtual ~Constraint()
ecl::Constraint::check
virtual bool check(const T &value) const =0
xbot_node
Author(s): Roc, wangpeng@droid.ac.cn
autogenerated on Sat Oct 10 2020 03:28:13