Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/SelectionAction/MoleculeOfAtomAction.def

    r1fd675 re4afb4  
    1010// i.e. there is an integer with variable name Z that can be found in
    1111// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    12 // "undefine" if no parameters are required
    13 #define paramtypes (atom*)
    14 #define paramtokens (SelectionMoleculeOfAtomAction::NAME)
     12// "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     13#define paramtypes (const atom*)
     14#define paramtokens ("select-molecule-of-atom")
     15#define paramdescriptions ("one atom of desired molecule")
     16#undef paramdefaults
    1517#define paramreferences (Walker)
    1618
     
    2022// some defines for all the names, you may use ACTION, STATE and PARAMS
    2123#define CATEGORY Selection
     24#define MENUNAME "selection"
     25#define MENUPOSITION 11
    2226#define ACTIONNAME MoleculeOfAtom
    2327#define TOKEN "select-molecule-of-atom"
    2428
     29
     30// finally the information stored in the ActionTrait specialization
     31#define DESCRIPTION "select a molecule to which a given atom belongs"
     32#undef SHORTFORM
Note: See TracChangeset for help on using the changeset viewer.