diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-07-14 17:32:34 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-07-14 17:32:34 (GMT) |
commit | 784bb60a4ee168421b204b2373dbb88e5a35804c (patch) | |
tree | 8cac08750dee29627b5fdde3716ecf3a112020e3 | |
parent | d2a3ccd50533a1ce5bbb081a6fe727ed184cdeb1 (diff) | |
download | CMake-784bb60a4ee168421b204b2373dbb88e5a35804c.zip CMake-784bb60a4ee168421b204b2373dbb88e5a35804c.tar.gz CMake-784bb60a4ee168421b204b2373dbb88e5a35804c.tar.bz2 |
ENH: It does not really makes sense to have Boolean Argument List
-rw-r--r-- | Source/kwsys/CommandLineArguments.cxx | 6 | ||||
-rw-r--r-- | Source/kwsys/CommandLineArguments.hxx.in | 16 |
2 files changed, 0 insertions, 22 deletions
diff --git a/Source/kwsys/CommandLineArguments.cxx b/Source/kwsys/CommandLineArguments.cxx index 66f87b0..36892ee 100644 --- a/Source/kwsys/CommandLineArguments.cxx +++ b/Source/kwsys/CommandLineArguments.cxx @@ -416,12 +416,6 @@ CommandLineArgumentsAddBooleanArgumentMacro(DOUBLE, double); CommandLineArgumentsAddBooleanArgumentMacro(STRING, char*); CommandLineArgumentsAddBooleanArgumentMacro(STL_STRING, kwsys_stl::string); -CommandLineArgumentsAddBooleanArgumentMacro(VECTOR_BOOL, kwsys_stl::vector<bool>); -CommandLineArgumentsAddBooleanArgumentMacro(VECTOR_INT, kwsys_stl::vector<int>); -CommandLineArgumentsAddBooleanArgumentMacro(VECTOR_DOUBLE, kwsys_stl::vector<double>); -CommandLineArgumentsAddBooleanArgumentMacro(VECTOR_STRING, kwsys_stl::vector<char*>); -CommandLineArgumentsAddBooleanArgumentMacro(VECTOR_STL_STRING, kwsys_stl::vector<kwsys_stl::string>); - //---------------------------------------------------------------------------- void CommandLineArguments::SetClientData(void* client_data) { diff --git a/Source/kwsys/CommandLineArguments.hxx.in b/Source/kwsys/CommandLineArguments.hxx.in index db5ffc7..b8e36cc 100644 --- a/Source/kwsys/CommandLineArguments.hxx.in +++ b/Source/kwsys/CommandLineArguments.hxx.in @@ -192,22 +192,6 @@ public: kwsys_stl::string* variable, const char* help); /** - * Add handler for boolean argument. The argument does not take any option - * and if it is specified, the value of the variable is true/1, otherwise it - * is false/0. This will handle the multi argument values. - */ - void AddBooleanArgument(const char* argument, - kwsys_stl::vector<bool>* variable, const char* help); - void AddBooleanArgument(const char* argument, - kwsys_stl::vector<int>* variable, const char* help); - void AddBooleanArgument(const char* argument, - kwsys_stl::vector<double>* variable, const char* help); - void AddBooleanArgument(const char* argument, - kwsys_stl::vector<char*>* variable, const char* help); - void AddBooleanArgument(const char* argument, - kwsys_stl::vector<kwsys_stl::string>* variable, const char* help); - - /** * Set the callbacks for error handling. */ void SetClientData(void* client_data); |