/* * AnalyseFragmentationResultsAction.def * * Created on: Mar 8, 2013 * Author: heber */ // all includes and forward declarations necessary for non-integral types below #include #include #include "Parameters/Validators/DummyValidator.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 (boost::filesystem::path)(bool)(std::string) #define paramtokens ("fragment-resultfile")("store-grids")("fragment-prefix") #define paramdescriptions ("parse fragment results from the given file")("whether to store sampled grids in homology files")("prefix of each fragment file") #define paramdefaults (NOPARAM_DEFAULT)(PARAM_DEFAULT("0"))(PARAM_DEFAULT("BondFragment")) #define paramreferences (resultsfile)(DoStoreGrids)(prefix) #define paramvalids \ (DummyValidator< boost::filesystem::path >()) \ (DummyValidator< bool >()) \ (DummyValidator< std::string >()) #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 AnalyseFragmentationResults #define TOKEN "analyse-fragment-results" // finally the information stored in the ActionTrait specialization #define DESCRIPTION "analyses previously calculated results" #undef SHORTFORM