- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/SelectionAction/Molecules/NotMoleculeByIdAction.def
rd7cad1 r6ba9ba 7 7 8 8 // all includes and forward declarations necessary for non-integral types below 9 #include <vector>10 9 #include "types.hpp" 11 10 12 typedef std::vector<moleculeId_t> molids_t;13 14 #include "Parameters/Validators/STLVectorValidator.hpp"15 11 #include "Parameters/Validators/Specific/MoleculeIdValidator.hpp" 16 12 … … 18 14 // ValueStorage by the token "Z" -> first column: int, Z, "Z" 19 15 // "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value 20 #define paramtypes (mol ids_t)16 #define paramtypes (moleculeId_t) 21 17 #define paramtokens ("unselect-molecule-by-id") 22 #define paramdescriptions ("molecule ind ices to unselect")18 #define paramdescriptions ("molecule index") 23 19 #undef paramdefaults 24 #define paramreferences (moli ds)20 #define paramreferences (molindex) 25 21 #define paramvalids \ 26 ( STLVectorValidator< std::vector<moleculeId_t> >(MoleculeIdValidator()))22 (MoleculeIdValidator()) 27 23 28 # define statetypes (molids_t)29 # define statereferences (undomolids)24 #undef statetypes 25 #undef statereferences 30 26 31 27 // some defines for all the names, you may use ACTION, STATE and PARAMS
Note:
See TracChangeset
for help on using the changeset viewer.