Ignore:
File:
1 edited

Legend:

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

    r043598 r770ec6  
    1313#include "Parameters/Validators/Specific/KeyValueValidator.hpp"
    1414#include "Parameters/Validators/Specific/ParserTypeValidator.hpp"
    15 #include "Parameters/Specifics/KeyValuePair.hpp"
    1615
    1716// i.e. there is an integer with variable name Z that can be found in
    1817// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    1918// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    20 #define paramtypes (std::string)(std::vector<KeyValuePair>)
     19#define paramtypes (std::string)(std::vector<std::string>)
    2120#define paramtokens ("set-parser-parameters")("parser-parameters")
    2221#define paramdescriptions ("name of the parser to change")("parameter (key = value;)")
     
    2524#define paramvalids \
    2625(ParserTypeValidator())\
    27 (STLVectorValidator< std::vector<KeyValuePair> >(1, 99, KeyValueValidator()))
     26(STLVectorValidator< std::vector<std::string> >(1, 99, KeyValueValidator()))
    2827
    2928#define statetypes (std::string)
Note: See TracChangeset for help on using the changeset viewer.