Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/MoleculeAction/BondFileAction.def

    r6ba9ba r0cbad2  
    99class MoleculeListClass;
    1010
    11 #include "Parameters/Validators/DummyValidator.hpp"
    12 #include "Parameters/Validators/Specific/FilePresentValidator.hpp"
    13 
    1411// i.e. there is an integer with variable name Z that can be found in
    1512// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    16 // "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    17 #define paramtypes (boost::filesystem::path)(unsigned int)(unsigned int)
     13// "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     14#define paramtypes (boost::filesystem::path)(int)(int)
    1815#define paramtokens ("bond-file")("skiplines")("offset")
    1916#define paramdescriptions ("name of the bond file")("number of header lines to skip")("offset to add to each id")
    20 #define paramdefaults (NOPARAM_DEFAULT)(PARAM_DEFAULT(1))(PARAM_DEFAULT(0))
     17#define paramdefaults (NODEFAULT)("1")("0")
    2118#define paramreferences (bondfile)(skiplines)(id_offset)
    22 #define paramvalids \
    23 (FilePresentValidator()) \
    24 (DummyValidator< unsigned int >()) \
    25 (DummyValidator< unsigned int >())
    2619
    2720#undef statetypes
Note: See TracChangeset for help on using the changeset viewer.