/* * StoreSaturatedFragmentAction.def * * Created on: Feb 26, 2013 * Author: heber */ // all includes and forward declarations necessary for non-integral types below #include #include #include "Parameters/Validators/DummyValidator.hpp" #include "Parameters/Validators/STLVectorValidator.hpp" #include "Parameters/Validators/Specific/ParserTypeValidator.hpp" // i.e. there is an integer with variable name Z that can be found in // ValueStorage by the token "Z" -> first column: int, Z, "Z" // "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value #define paramtypes (std::string)(bool)(std::vector) #define paramtokens ("store-saturated-fragment")("DoSaturate")("output-types") #define paramdescriptions ("name of fragment file")("do saturate dangling bonds with hydrogen")("type(s) of parsers that output fragment config files") #define paramdefaults (NOPARAM_DEFAULT)(PARAM_DEFAULT(true))(NOPARAM_DEFAULT) #define paramreferences (prefix)(DoSaturation)(types) #define paramvalids \ (DummyValidator< std::string >()) \ (DummyValidator< bool >()) \ (STLVectorValidator< std::vector >(1, 10, ParserTypeValidator())) #undef statetypes #undef statereferences // some defines for all the names, you may use ACTION, STATE and PARAMS #define CATEGORY Fragmentation #define MENUNAME "fragmentation" #define MENUPOSITION 4 #define ACTIONNAME StoreSaturatedFragment #define TOKEN "store-saturated-fragment" // finally the information stored in the ActionTrait specialization #define DESCRIPTION "store all selected atoms as a single fragment with dangling bonds satured by hydrogen" #undef SHORTFORM