.. _program_listing_file__tmp_ws_src_ecl_core_ecl_command_line_include_ecl_command_line_constraint.hpp: Program Listing for File constraint.hpp ======================================= |exhale_lsh| :ref:`Return to documentation for file ` (``/tmp/ws/src/ecl_core/ecl_command_line/include/ecl/command_line/constraint.hpp``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp /***************************************************************************** ** Ifdefs *****************************************************************************/ #ifndef TCLAP_CONSTRAINT_H #define TCLAP_CONSTRAINT_H #include #include #include #include #include #include namespace ecl { template class Constraint { public: virtual std::string description() const =0; virtual std::string shortID() const =0; virtual bool check(const T& value) const =0; virtual ~Constraint() { ; } }; } // namespace ecl #endif