Add Grouped behaviour.
[command.git] / include / parameter.h
index 1bbfa88739b55aa1c8445feef05ff9d36c7597a7..87c1590ccc85fbcdbe9d6f69ce01f0d5fd2253a6 100644 (file)
@@ -2,6 +2,7 @@
 #define __COMMAND_PARAMETER_H
 
 #include <string>
+#include <sstream>
 
 #include "descriptive.h"
 #include "callable.h"
@@ -64,6 +65,12 @@ namespace command {
             return used;
         }
 
+        /**
+         */
+        virtual bool hungryForValue() {
+            return false;
+        }
+
         /**
          * @return position where value starts in passed string
          */