/* * ParseFragmentJobsAction.def * * Created on: Mar 04, 2013 * Author: heber */ // all includes and forward declarations necessary for non-integral types below #include #include #include "Parameters/Validators/RangeValidator.hpp" #include "Parameters/Validators/Ops_Validator.hpp" #include "Parameters/Validators/STLVectorValidator.hpp" #include "Parameters/Validators/Specific/ParserFileValidator.hpp" #include "Parameters/Validators/Specific/FilePresentValidator.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::vector< boost::filesystem::path >)(boost::filesystem::path)(unsigned int) #define paramtokens ("fragment-jobs")("fragment-path")("grid-level") #define paramdescriptions ("vector of fragment files")("prefix of each fragment file")("resolution of multigrid") #define paramdefaults (NOPARAM_DEFAULT)(NOPARAM_DEFAULT)(PARAM_DEFAULT(5)) #define paramreferences (jobfiles)(path)(level) #define paramvalids \ (STLVectorValidator< std::vector< boost::filesystem::path > >(ParserFileValidator() && FilePresentValidator())) \ (FilePresentValidator()) \ (RangeValidator< unsigned int >(1, 10)) #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 5 #define ACTIONNAME ParseFragmentJobs #define TOKEN "parse-fragment-jobs" // 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