AlgorithmService
1.0.0
|
00001 00014 #ifndef _CSBASE_PARAMETERS_IDL 00015 #define _CSBASE_PARAMETERS_IDL 00016 00017 #include "iparameter.idl" 00018 00019 module tecgraf { 00020 00021 module openbus { 00022 00023 module algorithmservice { 00024 00025 module v1_0 { 00026 00027 module parameters { 00031 valuetype RawValueParameter : algorithmservice::v1_0::IParameterValue { 00032 public string value; 00033 }; 00034 00038 valuetype BooleanParameter : algorithmservice::v1_0::IParameterValue { 00039 public boolean value; 00040 }; 00041 00045 valuetype DoubleParameter : algorithmservice::v1_0::IParameterValue { 00046 public double value; 00047 }; 00048 00052 valuetype IntegerParameter : algorithmservice::v1_0::IParameterValue { 00053 public long value; 00054 }; 00055 00059 valuetype TextParameter : algorithmservice::v1_0::IParameterValue { 00060 public string value; 00061 }; 00062 00066 valuetype DoubleListParameter : algorithmservice::v1_0::IParameterValue { 00067 public sequence<DoubleParameter> valueList; 00068 }; 00069 00073 valuetype IntegerListParameter : algorithmservice::v1_0::IParameterValue { 00074 public sequence<IntegerParameter> valueList; 00075 }; 00076 00080 valuetype TextListParameter : algorithmservice::v1_0::IParameterValue { 00081 public sequence<TextParameter> valueList; 00082 }; 00083 00087 struct EnumerationItem { 00088 string id; 00089 string label; 00090 string value; 00091 string description; 00092 boolean visible; 00093 }; 00094 00098 valuetype EnumerationParameter : algorithmservice::v1_0::IParameterValue { 00099 public sequence<EnumerationItem> items; 00100 public string selectedId; 00101 }; 00102 00103 00107 valuetype EnumerationListParameter : algorithmservice::v1_0::IParameterValue { 00108 public sequence<EnumerationItem> items; 00109 public sequence<string> selectedIds; 00110 }; 00111 00115 valuetype InputFileParameter : algorithmservice::v1_0::IParameterValue { 00116 public string path; 00117 public string type; 00118 }; 00119 00123 valuetype OutputFileParameter : algorithmservice::v1_0::IParameterValue { 00124 public string path; 00125 public string type; 00126 }; 00127 00131 struct ClientSGAFile { 00132 boolean dir; 00133 boolean symlink; 00134 boolean canRead; 00135 boolean canWrite; 00136 boolean canExecute; 00137 long long size; 00138 string path; 00139 string linkPath; 00140 }; 00141 00145 valuetype ClientSGAFileParameter : algorithmservice::v1_0::IParameterValue { 00146 public string sgaName; 00147 public string separator; 00148 public sequence<ClientSGAFile> files; 00149 }; 00150 00154 valuetype InputFileListParameter : algorithmservice::v1_0::IParameterValue { 00155 public sequence<InputFileParameter> files; 00156 }; 00157 00161 valuetype OutputFileListParameter : algorithmservice::v1_0::IParameterValue { 00162 public sequence<OutputFileParameter> files; 00163 }; 00164 00168 valuetype FormulaParameter : algorithmservice::v1_0::IParameterValue { 00169 public string formula; 00170 }; 00171 00175 typedef sequence<IParameterValue> Row; 00176 00180 valuetype TableParameter : algorithmservice::v1_0::IParameterValue { 00181 public sequence<Row> rows; 00182 00186 void addRow(in Row row); 00187 }; 00188 00189 }; // parameters 00190 00191 }; // version 00192 00193 }; // algorithmservice 00194 00195 }; // openbus 00196 00197 }; // tecgraf 00198 00199 #endif