diff options
author | Michele Calgaro <[email protected]> | 2022-08-05 10:54:12 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2022-08-05 11:10:14 +0900 |
commit | 430373ae38565e0d7f62b8fca0cbad73de73ec7f (patch) | |
tree | 670a7322ddd2732c8824b1fb73090b937e2a1f82 /src/tclap/Constraint.h | |
parent | d833de5bbe40d780fe02dc95d1c981a4b1007108 (diff) | |
download | universal-indent-gui-tqt-430373ae38565e0d7f62b8fca0cbad73de73ec7f.tar.gz universal-indent-gui-tqt-430373ae38565e0d7f62b8fca0cbad73de73ec7f.zip |
Format code using uncrustify
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/tclap/Constraint.h')
-rw-r--r--[-rwxr-xr-x] | src/tclap/Constraint.h | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/src/tclap/Constraint.h b/src/tclap/Constraint.h index a92acf9..e99418b 100755..100644 --- a/src/tclap/Constraint.h +++ b/src/tclap/Constraint.h @@ -1,4 +1,3 @@ - /****************************************************************************** * * file: Constraint.h @@ -29,40 +28,41 @@ #include <iomanip> #include <algorithm> -namespace TCLAP { - -/** - * The interface that defines the interaction between the Arg and Constraint. - */ -template<class T> -class Constraint +namespace TCLAP { + /** + * The interface that defines the interaction between the Arg and Constraint. + */ + template<class T> + class Constraint + { + public: + /** + * Returns a description of the Constraint. + */ + virtual std::string description() const = 0; - public: - /** - * Returns a description of the Constraint. - */ - virtual std::string description() const =0; - - /** - * Returns the short ID for the Constraint. - */ - virtual std::string shortID() const =0; + /** + * Returns the short ID for the Constraint. + */ + virtual std::string shortID() const = 0; - /** - * The method used to verify that the value parsed from the command - * line meets the constraint. - * \param value - The value that will be checked. - */ - virtual bool check(const T& value) const =0; - - /** - * Destructor. - * Silences warnings about Constraint being a base class with virtual - * functions but without a virtual destructor. - */ - virtual ~Constraint() { ; } -}; + /** + * The method used to verify that the value parsed from the command + * line meets the constraint. + * \param value - The value that will be checked. + */ + virtual bool check(const T &value) const = 0; + /** + * Destructor. + * Silences warnings about Constraint being a base class with virtual + * functions but without a virtual destructor. + */ + virtual ~Constraint() + { + } + }; } //namespace TCLAP + #endif |