From 784bb60a4ee168421b204b2373dbb88e5a35804c Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Fri, 14 Jul 2006 13:32:34 -0400 Subject: ENH: It does not really makes sense to have Boolean Argument List --- Source/kwsys/CommandLineArguments.cxx | 6 ------ Source/kwsys/CommandLineArguments.hxx.in | 16 ---------------- 2 files changed, 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); -CommandLineArgumentsAddBooleanArgumentMacro(VECTOR_INT, kwsys_stl::vector); -CommandLineArgumentsAddBooleanArgumentMacro(VECTOR_DOUBLE, kwsys_stl::vector); -CommandLineArgumentsAddBooleanArgumentMacro(VECTOR_STRING, kwsys_stl::vector); -CommandLineArgumentsAddBooleanArgumentMacro(VECTOR_STL_STRING, kwsys_stl::vector); - //---------------------------------------------------------------------------- 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* variable, const char* help); - void AddBooleanArgument(const char* argument, - kwsys_stl::vector* variable, const char* help); - void AddBooleanArgument(const char* argument, - kwsys_stl::vector* variable, const char* help); - void AddBooleanArgument(const char* argument, - kwsys_stl::vector* variable, const char* help); - void AddBooleanArgument(const char* argument, - kwsys_stl::vector* variable, const char* help); - - /** * Set the callbacks for error handling. */ void SetClientData(void* client_data); -- cgit v0.12