The interface that defines the interaction between the Arg and Constraint.
Definition at line 46 of file Constraint.h.
#include <mrpt/otherlibs/tclap/Constraint.h>

Public Member Functions | |
| virtual std::string | description () const =0 |
| Returns a description of the Constraint. More... | |
| virtual std::string | shortID () const =0 |
| Returns the short ID for the Constraint. More... | |
| virtual bool | check (const T &value) const =0 |
| The method used to verify that the value parsed from the command line meets the constraint. More... | |
| virtual | ~Constraint () |
| Destructor. More... | |
|
inlinevirtual |
Destructor.
Silences warnings about Constraint being a base class with virtual functions but without a virtual destructor.
Definition at line 72 of file Constraint.h.
|
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< T >.
|
pure virtual |
Returns a description of the Constraint.
Implemented in TCLAP::ValuesConstraint< T >.
|
pure virtual |
Returns the short ID for the Constraint.
Implemented in TCLAP::ValuesConstraint< T >.
| Page generated by Doxygen 1.8.8 for MRPT 1.2.2 SVN:Unversioned directory at Tue Oct 14 02:14:08 UTC 2014 |