Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/ParserAction/SetParserParametersAction.def

    r770ec6 r043598  
    1313#include "Parameters/Validators/Specific/KeyValueValidator.hpp"
    1414#include "Parameters/Validators/Specific/ParserTypeValidator.hpp"
     15#include "Parameters/Specifics/KeyValuePair.hpp"
    1516
    1617// i.e. there is an integer with variable name Z that can be found in
    1718// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    1819// "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>)
    2021#define paramtokens ("set-parser-parameters")("parser-parameters")
    2122#define paramdescriptions ("name of the parser to change")("parameter (key = value;)")
     
    2425#define paramvalids \
    2526(ParserTypeValidator())\
    26 (STLVectorValidator< std::vector<std::string> >(1, 99, KeyValueValidator()))
     27(STLVectorValidator< std::vector<KeyValuePair> >(1, 99, KeyValueValidator()))
    2728
    2829#define statetypes (std::string)
Note: See TracChangeset for help on using the changeset viewer.