- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/ParserAction/SetParserParametersAction.def
r41d023 r770ec6 7 7 8 8 // all includes and forward declarations necessary for non-integral types below 9 #include <vector> 10 #include <string> 9 11 12 #include "Parameters/Validators/STLVectorValidator.hpp" 13 #include "Parameters/Validators/Specific/KeyValueValidator.hpp" 14 #include "Parameters/Validators/Specific/ParserTypeValidator.hpp" 10 15 11 16 // i.e. there is an integer with variable name Z that can be found in 12 17 // ValueStorage by the token "Z" -> first column: int, Z, "Z" 13 // "undefine" if no parameters are required, use (NO DEFAULT) for each (undefined) default value14 #define paramtypes (std::string)(std:: string)18 // "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value 19 #define paramtypes (std::string)(std::vector<std::string>) 15 20 #define paramtokens ("set-parser-parameters")("parser-parameters") 16 21 #define paramdescriptions ("name of the parser to change")("parameter (key = value;)") 17 #define paramdefaults (NO DEFAULT)(NODEFAULT)22 #define paramdefaults (NOPARAM_DEFAULT)(NOPARAM_DEFAULT) 18 23 #define paramreferences (parsername)(newparams) 24 #define paramvalids \ 25 (ParserTypeValidator())\ 26 (STLVectorValidator< std::vector<std::string> >(1, 99, KeyValueValidator())) 19 27 20 28 #define statetypes (std::string)
Note:
See TracChangeset
for help on using the changeset viewer.