| [a3427f] | 1 | /* | 
|---|
|  | 2 | * AnalyseFragmentationResultsAction.def | 
|---|
|  | 3 | * | 
|---|
|  | 4 | *  Created on: Mar 8, 2013 | 
|---|
|  | 5 | *      Author: heber | 
|---|
|  | 6 | */ | 
|---|
|  | 7 |  | 
|---|
|  | 8 | // all includes and forward declarations necessary for non-integral types below | 
|---|
|  | 9 | #include <boost/filesystem/path.hpp> | 
|---|
| [0588e9] | 10 | #include <string> | 
|---|
| [a3427f] | 11 |  | 
|---|
|  | 12 | #include "Parameters/Validators/DummyValidator.hpp" | 
|---|
|  | 13 |  | 
|---|
|  | 14 | // i.e. there is an integer with variable name Z that can be found in | 
|---|
|  | 15 | // ValueStorage by the token "Z" -> first column: int, Z, "Z" | 
|---|
|  | 16 | // "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value | 
|---|
| [0588e9] | 17 | #define paramtypes (boost::filesystem::path)(bool)(std::string) | 
|---|
|  | 18 | #define paramtokens ("fragment-resultfile")("store-grids")("fragment-prefix") | 
|---|
|  | 19 | #define paramdescriptions ("parse fragment results from the given file")("whether to store sampled grids in homology files")("prefix of each fragment file") | 
|---|
| [5eaa23] | 20 | #define paramdefaults (NOPARAM_DEFAULT)(PARAM_DEFAULT("0"))(PARAM_DEFAULT("BondFragment")) | 
|---|
| [0588e9] | 21 | #define paramreferences (resultsfile)(DoStoreGrids)(prefix) | 
|---|
| [a3427f] | 22 | #define paramvalids \ | 
|---|
| [bf1d1b] | 23 | (DummyValidator< boost::filesystem::path >()) \ | 
|---|
| [0588e9] | 24 | (DummyValidator< bool >()) \ | 
|---|
|  | 25 | (DummyValidator< std::string >()) | 
|---|
| [a3427f] | 26 |  | 
|---|
|  | 27 | #undef statetypes | 
|---|
|  | 28 | #undef statereferences | 
|---|
|  | 29 |  | 
|---|
|  | 30 | // some defines for all the names, you may use ACTION, STATE and PARAMS | 
|---|
|  | 31 | #define CATEGORY Fragmentation | 
|---|
|  | 32 | #define MENUNAME "fragmentation" | 
|---|
|  | 33 | #define MENUPOSITION 4 | 
|---|
|  | 34 | #define ACTIONNAME AnalyseFragmentationResults | 
|---|
|  | 35 | #define TOKEN "analyse-fragment-results" | 
|---|
|  | 36 |  | 
|---|
|  | 37 |  | 
|---|
|  | 38 | // finally the information stored in the ActionTrait specialization | 
|---|
|  | 39 | #define DESCRIPTION "analyses previously calculated results" | 
|---|
|  | 40 | #undef SHORTFORM | 
|---|