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