- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/ParserAction/SetParserParametersAction.def
r770ec6 r043598 13 13 #include "Parameters/Validators/Specific/KeyValueValidator.hpp" 14 14 #include "Parameters/Validators/Specific/ParserTypeValidator.hpp" 15 #include "Parameters/Specifics/KeyValuePair.hpp" 15 16 16 17 // i.e. there is an integer with variable name Z that can be found in 17 18 // ValueStorage by the token "Z" -> first column: int, Z, "Z" 18 19 // "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value 19 #define paramtypes (std::string)(std::vector< std::string>)20 #define paramtypes (std::string)(std::vector<KeyValuePair>) 20 21 #define paramtokens ("set-parser-parameters")("parser-parameters") 21 22 #define paramdescriptions ("name of the parser to change")("parameter (key = value;)") … … 24 25 #define paramvalids \ 25 26 (ParserTypeValidator())\ 26 (STLVectorValidator< std::vector< std::string> >(1, 99, KeyValueValidator()))27 (STLVectorValidator< std::vector<KeyValuePair> >(1, 99, KeyValueValidator())) 27 28 28 29 #define statetypes (std::string)
Note:
See TracChangeset
for help on using the changeset viewer.