The interface that defines the interaction between the Arg and Constraint.
#include <mrpt/otherlibs/tclap/Constraint.h>

Public Member Functions | |
| virtual std::string | description () const =0 |
| Returns a description of the Constraint. | |
| virtual std::string | shortID () const =0 |
| Returns the short ID for the Constraint. | |
| virtual bool | check (const T &value) const =0 |
| The method used to verify that the value parsed from the command line meets the constraint. | |
| virtual | ~Constraint () |
| Destructor. | |
| virtual TCLAP::Constraint::~Constraint | ( | ) | [inline, virtual] |
Destructor.
Silences warnings about Constraint being a base class with virtual functions but without a virtual destructor.
Definition at line 64 of file Constraint.h.
| virtual bool TCLAP::Constraint::check | ( | const T & | value | ) | const [pure virtual] |
The method used to verify that the value parsed from the command line meets the constraint.
| value | - The value that will be checked. |
Implemented in TCLAP::ValuesConstraint.
| virtual std::string TCLAP::Constraint::description | ( | ) | const [pure virtual] |
Returns a description of the Constraint.
Implemented in TCLAP::ValuesConstraint.
| virtual std::string TCLAP::Constraint::shortID | ( | ) | const [pure virtual] |
Returns the short ID for the Constraint.
Implemented in TCLAP::ValuesConstraint.
| Page generated by Doxygen 1.7.5 for MRPT 0.9.5 SVN: at Thu Oct 13 21:25:36 UTC 2011 |