openModeller
Version 1.4.0
|
00001 00029 #ifndef _OM_ALGORITHM_METADATAHH_ 00030 #define _OM_ALGORITHM_METADATAHH_ 00031 00032 #include <openmodeller/om_defs.hh> 00033 #include <string> 00034 00035 enum AlgParamDatatype { 00036 00037 Integer = 0, 00038 Real = 1, 00039 String = 2 00040 00041 } ; 00042 00043 /****************************************************************/ 00044 /***************** Algorithm Parameter Metadata *****************/ 00045 00050 struct AlgParamMetadata 00051 { 00052 std::string id; 00053 std::string name; 00054 AlgParamDatatype type; 00055 std::string overview; 00056 std::string description; 00057 00058 int has_min; 00059 Scalar min_val; 00060 int has_max; 00061 Scalar max_val; 00062 std::string typical; 00063 } ; 00064 00065 00066 /****************************************************************/ 00067 /********************** Algorithm Metadata **********************/ 00068 00073 struct AlgMetadata 00074 { 00075 std::string id; 00076 std::string name; 00077 std::string version; 00078 std::string overview; 00079 std::string description; 00080 00081 std::string author; 00082 std::string biblio; 00083 00084 std::string code_author; 00085 std::string contact; 00086 00087 int categorical; 00088 int absence; 00089 int nparam; 00090 00091 AlgParamMetadata * param; 00092 } ; 00093 00094 00095 00096 #endif