constraint.hpp
Go to the documentation of this file.
00001 
00011 /*****************************************************************************
00012 ** Ifdefs
00013 *****************************************************************************/
00014 
00015 #ifndef TCLAP_CONSTRAINT_H
00016 #define TCLAP_CONSTRAINT_H
00017 
00018 #include <string>
00019 #include <vector>
00020 #include <list>
00021 #include <iostream>
00022 #include <iomanip>
00023 #include <algorithm>
00024 
00025 namespace ecl {
00026 
00027 
00033 template<class T>
00034 class Constraint
00035 {
00036 
00037         public:
00041                 virtual std::string description() const =0;
00042 
00046                 virtual std::string shortID() const =0;
00047 
00053                 virtual bool check(const T& value) const =0;
00054 
00060                 virtual ~Constraint() { ; }
00061 };
00062 
00063 }; // namespace ecl
00064 
00065 #endif


ecl_command_line
Author(s): Daniel Stonier
autogenerated on Sun Oct 5 2014 23:35:40