summaryrefslogtreecommitdiffstats
path: root/src/tclap/ArgException.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2022-08-05 23:27:30 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2022-08-05 23:27:30 +0900
commit509cd0aa505df0a93702608575b72f07a97c0139 (patch)
treecda134364734ce39751fd780a97c1f8b04ddd598 /src/tclap/ArgException.h
parent430373ae38565e0d7f62b8fca0cbad73de73ec7f (diff)
downloaduniversal-indent-gui-tqt-509cd0aa505df0a93702608575b72f07a97c0139.tar.gz
universal-indent-gui-tqt-509cd0aa505df0a93702608575b72f07a97c0139.zip
Formatted and fixed TCLAP headers
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/tclap/ArgException.h')
-rw-r--r--src/tclap/ArgException.h22
1 files changed, 7 insertions, 15 deletions
diff --git a/src/tclap/ArgException.h b/src/tclap/ArgException.h
index be0b817..ea08bd6 100644
--- a/src/tclap/ArgException.h
+++ b/src/tclap/ArgException.h
@@ -1,5 +1,3 @@
-// -*- Mode: c++; c-basic-offset: 4; tab-width: 4; -*-
-
/******************************************************************************
*
* file: ArgException.h
@@ -131,10 +129,8 @@ namespace TCLAP
* of the exception.
*/
ArgParseException(const std::string &text = "undefined exception",
- const std::string &id = "undefined") :
- ArgException(text,
- id,
- std::string("Exception found while parsing ") +
+ const std::string &id = "undefined") :
+ ArgException(text, id, std::string("Exception found while parsing ") +
std::string("the value the Arg has been passed."))
{
}
@@ -154,10 +150,8 @@ namespace TCLAP
* of the exception.
*/
CmdLineParseException(const std::string &text = "undefined exception",
- const std::string &id = "undefined") :
- ArgException(text,
- id,
- std::string("Exception found when the values ") +
+ const std::string &id = "undefined") :
+ ArgException(text, id, std::string("Exception found when the values ") +
std::string("on the command line do not meet ") +
std::string("the requirements of the defined ") + std::string("Args."))
{
@@ -178,10 +172,8 @@ namespace TCLAP
* of the exception.
*/
SpecificationException(const std::string &text = "undefined exception",
- const std::string &id = "undefined") :
- ArgException(text,
- id,
- std::string("Exception found when an Arg object ") +
+ const std::string &id = "undefined") :
+ ArgException(text, id, std::string("Exception found when an Arg object ") +
std::string("is improperly defined by the ") + std::string("developer."))
{
}
@@ -203,6 +195,6 @@ namespace TCLAP
private:
int _estat;
};
-} // namespace TCLAP
+}
#endif