Ignore:
File:
1 edited

Legend:

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

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