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