- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/MoleculeAction/BondFileAction.def
r6ba9ba r0cbad2 9 9 class MoleculeListClass; 10 10 11 #include "Parameters/Validators/DummyValidator.hpp"12 #include "Parameters/Validators/Specific/FilePresentValidator.hpp"13 14 11 // i.e. there is an integer with variable name Z that can be found in 15 12 // ValueStorage by the token "Z" -> first column: int, Z, "Z" 16 // "undefine" if no parameters are required, use (NO PARAM_DEFAULT) for each (undefined) default value17 #define paramtypes (boost::filesystem::path)( unsigned int)(unsignedint)13 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value 14 #define paramtypes (boost::filesystem::path)(int)(int) 18 15 #define paramtokens ("bond-file")("skiplines")("offset") 19 16 #define paramdescriptions ("name of the bond file")("number of header lines to skip")("offset to add to each id") 20 #define paramdefaults (NO PARAM_DEFAULT)(PARAM_DEFAULT(1))(PARAM_DEFAULT(0))17 #define paramdefaults (NODEFAULT)("1")("0") 21 18 #define paramreferences (bondfile)(skiplines)(id_offset) 22 #define paramvalids \23 (FilePresentValidator()) \24 (DummyValidator< unsigned int >()) \25 (DummyValidator< unsigned int >())26 19 27 20 #undef statetypes
Note:
See TracChangeset
for help on using the changeset viewer.