Ignore:
File:
1 edited

Legend:

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

    rb7fbf0 r6ba9ba  
    77
    88// all includes and forward declarations necessary for non-integral types below
     9#include "types.hpp"
     10
     11#include "Parameters/Validators/Specific/MoleculeIdValidator.hpp"
    912
    1013// i.e. there is an integer with variable name Z that can be found in
    1114// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    12 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
    13 #define paramtypes (int)
     15// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
     16#define paramtypes (moleculeId_t)
    1417#define paramtokens ("select-molecule-by-id")
    1518#define paramdescriptions ("molecule index")
    1619#undef paramdefaults
    1720#define paramreferences (molindex)
     21#define paramvalids \
     22(MoleculeIdValidator())
    1823
    1924#undef statetypes
Note: See TracChangeset for help on using the changeset viewer.