ITK Function Reference

(V10000.1.0.60_20160308.00)
Ccd0ExpImp.h
Go to the documentation of this file.
1 //Siemens Product Lifecycle Management Software Inc.
2 //All Rights Reserved.
3 //==================================================
4 //Copyright 2012 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.
5 
16 #ifndef CCDM__CCD0EXPIMP_H
17 #define CCDM__CCD0EXPIMP_H
18 
19 #include <map>
20 #include <string>
21 #include <vector>
22 #include <fstream>
23 
24 #include <ccdm/libccdm_exports.h>
25 #include <unidefs.h>
26 
28 typedef std::map< std::string, std::vector< std::string > > StringArrayMap;
29 
34 typedef struct ValueAddress
35 {
37  std::vector<std::string> computedValue;
38  std::string computedAddress;
42 
46 typedef struct MemoryLayoutExportData
47 {
49  std::vector<ValueAddress> valueAddress;
52 
57 {
58 
59  std::vector<MemoryLayoutExportData > memoryLayoutExportData;
63 
67 typedef struct ParmValueDetails
68 {
74 
79 {
80  std::vector<ParmValueDetails> parmValDetails;
83 
87 typedef struct GroupParmDetails
88 {
90  std::vector<tag_t> parmDefinitionRevTag;
92 
97 {
98  std::vector<GroupParmDetails> groupParmDetails;
102 
106 typedef struct ExportFileData
107 {
108  std::string absFilePath;
109  std::vector<tag_t> objectTags;
112 
118 typedef struct ErrorInfo
119 {
120  int ifail;
121  int severity;
123  std::string s1;
124  std::string s2;
125  std::string s3;
126  std::string s4;
127  std::string s5;
128  std::string s6;
129  std::string s7;
131 } ErrorInfoS;
132 
137 typedef struct ObjectErrorInfo
138 {
140  std::vector<ErrorInfoS> errorInfo;
143 
148 typedef struct ExportFileOutput
149 {
150  std::vector<ExportFileDataS> exportFileData;
151  std::vector<ObjectErrorInfoS> objErrorInfos;
154 
158 typedef struct Blocks
159 {
160  std::string startAddressOffset;
161  std::string blockName;
164 }BlocksS;
165 
169 typedef struct Records
170 {
171  std::string recAddressOffset;
172  std::string parameterName;
175 }RecordsS;
176 
180 typedef struct MemoryLayoutDetails
181 {
182  std::string name;
183  std::string startAddress;
184  std::vector<BlocksS> blocks;
185  std::vector<RecordsS> records;
188 
192 typedef struct AlgebraicFormula
193 {
194  std::string name;
197  char** constNames;
200  char** variableNames;
202  std::string expresssion;
203  std::string invExpression;
204  std::string asteExpression;
205  std::string invAsteExpression;
208 
212 typedef struct FormulaConversion
213 {
220 
224 typedef struct ValueConversion
225 {
226  std::string inputValue;
229 
233 typedef struct RangeConversion
234 {
235  std::string minValue;
236  std::string maxValue;
239 
243 typedef struct RecordConversion
244 {
245  std::string outputValue;
250 
256 typedef struct RecordColConversion
257 {
258  std::string defaultValue;
260  std::vector<RecordConversionS> vecRecordConversion;
267 
271 typedef struct ConversionRuleDetails
272 {
273  std::string ruleName;
274  std::string ruleDesc;
280 
284 typedef struct TableCellValueType {
285  std::string type;
286  std::string strVal;
288  double dblVal;
289  int intVal;
290  bool boolVal;
292 
296 typedef struct TableCell {
297  int row;
298  int col;
299  std::string desc;
301 }TableCellS;
302 
306 typedef struct TableDef {
307  int rows;
308  int cols;
310  std::vector<std::string> rowLabels;
311  std::vector<std::string> colLabels;
313 }TableDefS;
314 
318 typedef struct Table {
320  std::vector<TableCellS> tableCells;
321  //Table():tableDefInfo(), tableCells(){}
322  //Table(TableDefS *tableDefInfo1, std::vector<TableCellS>& tableCells1):tableDefInfo(tableDefInfo1), tableCells(tableCells1){}
323 } TableS;
324 
328 typedef struct BitDefinitionData {
329  int byteNum;
330  int bitNum;
331  std::string name;
332 
333  std::string meaningOf0;
334  std::string meaningOf1;
336 
341 {
342  std::string parmDefRevComment;
343  std::string parmDefControlEngr;
345  std::string parmDefSizeUnits;
358  std::vector<BitDefinitionDataS> vecBitDefInfo;
361 
365 typedef struct ParmGroupDetails
366 {
367  std::string parmGrpName;
368  std::string parmGrpDescriptor;
369  std::string parmGrpComment;
370  std::string parmGrpRepresents;
371  std::string parmGrpControlEngr;
372  std::string parmGrpspecialistUser;
376 
380 typedef struct ParmDefinitionDetails
381 {
383  std::string parmDefType;
384  std::string parmDefParmType;
385  std::string parmDefComment;
386  std::string parmDefName;
388  std::string parmDefDescriptor;
392 
397 {
399  std::vector<MemoryLayoutDetailsS> vecMemLayoutDetails;
400  std::vector<ParmGroupDetailsS> vecParmGroupDetails;
401  std::vector<ParmDefinitionDetailsS> vecParmDefDetails;
405 
409 typedef struct DictionaryParseOutput
410 {
412  std::vector<ObjectErrorInfo> vecParseErrorData;
415 
416 #include <ccdm/libccdm_undef.h>
417 #endif // CCDM__CCD0EXPIMP_H