Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/SelectionAction/Molecules/NotMoleculeByIdAction.def

    rd7cad1 r6ba9ba  
    77
    88// all includes and forward declarations necessary for non-integral types below
    9 #include <vector>
    109#include "types.hpp"
    1110
    12 typedef std::vector<moleculeId_t> molids_t;
    13 
    14 #include "Parameters/Validators/STLVectorValidator.hpp"
    1511#include "Parameters/Validators/Specific/MoleculeIdValidator.hpp"
    1612
     
    1814// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    1915// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    20 #define paramtypes (molids_t)
     16#define paramtypes (moleculeId_t)
    2117#define paramtokens ("unselect-molecule-by-id")
    22 #define paramdescriptions ("molecule indices to unselect")
     18#define paramdescriptions ("molecule index")
    2319#undef paramdefaults
    24 #define paramreferences (molids)
     20#define paramreferences (molindex)
    2521#define paramvalids \
    26 (STLVectorValidator< std::vector<moleculeId_t> >(MoleculeIdValidator()))
     22(MoleculeIdValidator())
    2723
    28 #define statetypes (molids_t)
    29 #define statereferences (undomolids)
     24#undef statetypes
     25#undef statereferences
    3026
    3127// some defines for all the names, you may use ACTION, STATE and PARAMS
Note: See TracChangeset for help on using the changeset viewer.