OpenM++ runtime library (libopenm)
dbMetaRow.h
Go to the documentation of this file.
1 
5 // Copyright (c) 2013-2015 OpenM++
6 // This code is licensed under the MIT license (see LICENSE.txt for details)
7 
8 #ifndef OM_DB_META_ROW_H
9 #define OM_DB_META_ROW_H
10 
11 #include <memory>
12 using namespace std;
13 
14 #include "libopenm/omLog.h"
15 #include "dbCommon.h"
16 
18 #define OM_MAX_BUILTIN_TYPE_ID 100
19 
20 namespace openm
21 {
23  template<class TRow> struct IMetaRow : public IRowBase
24  {
26  static bool keyLess(const IRowBaseUptr & i_left, const IRowBaseUptr & i_right)
27  {
28  return TRow::isKeyLess(*dynamic_cast<TRow *>(i_left.get()), *dynamic_cast<TRow *>(i_right.get()));
29  }
30 
32  static bool keyEqual(const IRowBaseUptr & i_left, const IRowBaseUptr & i_right)
33  {
34  return TRow::isKeyEqual(*dynamic_cast<TRow *>(i_left.get()), *dynamic_cast<TRow *>(i_right.get()));
35  }
36  };
37 
39  struct LangLstRow : public IMetaRow<LangLstRow>
40  {
42  int langId;
43 
45  string code;
46 
48  string name;
49 
51  LangLstRow(int i_langId) :
52  langId(i_langId),
53  code(""),
54  name("")
55  { }
56 
58  LangLstRow(const string & i_code) :
59  langId(0),
60  code(i_code),
61  name("")
62  { }
63 
65  LangLstRow(void) : LangLstRow(0) { }
66 
67  ~LangLstRow(void) noexcept { }
68 
70  static bool isKeyLess(const LangLstRow & i_left, const LangLstRow & i_right);
71 
73  static bool isKeyEqual(const LangLstRow & i_left, const LangLstRow & i_right);
74 
76  static bool isCodeLess(const LangLstRow & i_left, const LangLstRow & i_right);
77 
79  static bool isCodeEqual(const LangLstRow & i_left, const LangLstRow & i_right);
80  };
81 
83  struct LangWordRow : public IMetaRow<LangWordRow>
84  {
86  int langId;
87 
89  string code;
90 
92  string value;
93 
95  LangWordRow(int i_langId, const string & i_code) :
96  langId(i_langId),
97  code(i_code),
98  value("")
99  { }
100 
102  LangWordRow(void) : LangWordRow(0, "") { }
103 
104  ~LangWordRow(void) noexcept { }
105 
107  static bool isKeyLess(const LangWordRow & i_left, const LangWordRow & i_right);
108 
110  static bool isKeyEqual(const LangWordRow & i_left, const LangWordRow & i_right);
111  };
112 
114  struct ModelDicRow : public IMetaRow<ModelDicRow>
115  {
117  int modelId;
118 
120  string name;
121 
123  string digest;
124 
126  int type;
127 
129  string version;
130 
133 
136 
137 
139  ModelDicRow(int i_modelId) :
140  modelId(i_modelId),
141  name(""),
142  digest(""),
143  type(0),
144  version(""),
145  createDateTime(""),
146  defaultLangId(0)
147  { }
148 
150  ModelDicRow(void) : ModelDicRow(0) { }
151 
152  ~ModelDicRow(void) noexcept { }
153 
155  static bool isKeyLess(const ModelDicRow & i_left, const ModelDicRow & i_right);
156 
158  static bool isKeyEqual(const ModelDicRow & i_left, const ModelDicRow & i_right);
159  };
160 
161 
163  struct ModelDicLangRow : public ModelDicRow
164  {
167  };
168 
170  struct ModelDicTxtRow : public IMetaRow<ModelDicTxtRow>
171  {
173  int modelId;
174 
176  int langId;
177 
179  string descr;
180 
182  string note;
183 
185  ModelDicTxtRow(int i_modelId, int i_langId) :
186  modelId(i_modelId),
187  langId(i_langId),
188  descr(""),
189  note("")
190  { }
191 
193  ModelDicTxtRow(void) : ModelDicTxtRow(0, 0) { }
194 
195  ~ModelDicTxtRow(void) noexcept { }
196 
198  static bool isKeyLess(const ModelDicTxtRow & i_left, const ModelDicTxtRow & i_right);
199 
201  static bool isKeyEqual(const ModelDicTxtRow & i_left, const ModelDicTxtRow & i_right);
202  };
203 
206  {
208  string langCode;
209 
211  static bool uniqueLangKeyLess(const ModelDicTxtLangRow & i_left, const ModelDicTxtLangRow & i_right);
212 
214  static bool uniqueLangKeyEqual(const ModelDicTxtLangRow & i_left, const ModelDicTxtLangRow & i_right);
215  };
216 
218  struct ModelWordRow : public IMetaRow<ModelWordRow>
219  {
221  int modelId;
222 
224  int langId;
225 
227  string code;
228 
230  string value;
231 
233  ModelWordRow(int i_modelId, int i_langId, const string & i_code) :
234  modelId(i_modelId),
235  langId(i_langId),
236  code(i_code),
237  value("")
238  { }
239 
241  ModelWordRow(void) : ModelWordRow(0, 0, "") { }
242 
243  ~ModelWordRow(void) noexcept { }
244 
246  static bool isKeyLess(const ModelWordRow & i_left, const ModelWordRow & i_right);
247 
249  static bool isKeyEqual(const ModelWordRow & i_left, const ModelWordRow & i_right);
250  };
251 
254  {
256  string langCode;
257 
259  static bool uniqueLangKeyLess(const ModelWordLangRow & i_left, const ModelWordLangRow & i_right);
260 
262  static bool uniqueLangKeyEqual(const ModelWordLangRow & i_left, const ModelWordLangRow & i_right);
263  };
264 
266  struct TypeDicRow : public IMetaRow<TypeDicRow>
267  {
269  int modelId;
270 
272  int typeId;
273 
275  string name;
276 
278  string digest;
279 
281  int dicId;
282 
285 
287  TypeDicRow(int i_modelId, int i_typeId) :
288  modelId(i_modelId),
289  typeId(i_typeId),
290  name(""),
291  dicId(0),
292  totalEnumId(0)
293  { }
294 
296  TypeDicRow(void) : TypeDicRow(0, 0) { }
297 
298  ~TypeDicRow(void) noexcept { }
299 
301  static bool isKeyLess(const TypeDicRow & i_left, const TypeDicRow & i_right);
302 
304  static bool isKeyEqual(const TypeDicRow & i_left, const TypeDicRow & i_right);
305 
307  static vector<TypeDicRow>::const_iterator byKey(int i_modelId, int i_typeId, const vector<TypeDicRow> & i_rowVec);
308 
310  bool isBool(void) const;
311 
313  bool isString(void) const;
314 
316  bool isFloat(void) const;
317 
319  bool isBigInt(void) const;
320 
322  bool isInt(void) const;
323 
325  bool isBuiltIn(void) const { return isBuiltIn(typeId); }
326 
328  static bool isBuiltIn(int i_typeId) { return i_typeId <= OM_MAX_BUILTIN_TYPE_ID; }
329 
331  static bool isBoolTrue(const char * i_str);
332 
334  static bool isBoolValid(const char * i_str);
335  };
336 
338  struct TypeDicTxtRow : public IMetaRow<TypeDicTxtRow>
339  {
341  int modelId;
342 
344  int typeId;
345 
347  int langId;
348 
350  string descr;
351 
353  string note;
354 
356  TypeDicTxtRow(int i_modelId, int i_typeId, int i_langId) :
357  modelId(i_modelId),
358  typeId(i_typeId),
359  langId(i_langId),
360  descr(""),
361  note("")
362  { }
363 
365  TypeDicTxtRow(void) : TypeDicTxtRow(0, 0, 0) { }
366 
367  ~TypeDicTxtRow(void) noexcept { }
368 
370  static bool isKeyLess(const TypeDicTxtRow & i_left, const TypeDicTxtRow & i_right);
371 
373  static bool isKeyEqual(const TypeDicTxtRow & i_left, const TypeDicTxtRow & i_right);
374  };
375 
378  {
380  string langCode;
381 
383  static bool uniqueLangKeyLess(const TypeDicTxtLangRow & i_left, const TypeDicTxtLangRow & i_right);
384 
386  static bool uniqueLangKeyEqual(const TypeDicTxtLangRow & i_left, const TypeDicTxtLangRow & i_right);
387  };
388 
390  struct TypeEnumLstRow : public IMetaRow<TypeEnumLstRow>
391  {
393  int modelId;
394 
396  int typeId;
397 
399  int enumId;
400 
402  string name;
403 
405  TypeEnumLstRow(int i_modelId, int i_typeId, int i_enumId) :
406  modelId(i_modelId),
407  typeId(i_typeId),
408  enumId(i_enumId),
409  name("")
410  { }
411 
413  TypeEnumLstRow(void) : TypeEnumLstRow(0, 0, 0) { }
414 
415  ~TypeEnumLstRow(void) noexcept { }
416 
418  static bool isKeyLess(const TypeEnumLstRow & i_left, const TypeEnumLstRow & i_right);
419 
421  static bool isKeyEqual(const TypeEnumLstRow & i_left, const TypeEnumLstRow & i_right);
422  };
423 
425  struct TypeEnumTxtRow : public IMetaRow<TypeEnumTxtRow>
426  {
428  int modelId;
429 
431  int typeId;
432 
434  int enumId;
435 
437  int langId;
438 
440  string descr;
441 
443  string note;
444 
446  TypeEnumTxtRow(int i_modelId, int i_typeId, int i_enumId, int i_langId) :
447  modelId(i_modelId),
448  typeId(i_typeId),
449  enumId(i_enumId),
450  langId(i_langId),
451  descr(""),
452  note("")
453  { }
454 
456  TypeEnumTxtRow(void) : TypeEnumTxtRow(0, 0, 0, 0) { }
457 
458  ~TypeEnumTxtRow(void) noexcept { }
459 
461  static bool isKeyLess(const TypeEnumTxtRow & i_left, const TypeEnumTxtRow & i_right);
462 
464  static bool isKeyEqual(const TypeEnumTxtRow & i_left, const TypeEnumTxtRow & i_right);
465  };
466 
469  {
471  string langCode;
472 
474  static bool uniqueLangKeyLess(const TypeEnumTxtLangRow & i_left, const TypeEnumTxtLangRow & i_right);
475 
477  static bool uniqueLangKeyEqual(const TypeEnumTxtLangRow & i_left, const TypeEnumTxtLangRow & i_right);
478  };
479 
481  struct ParamDicRow : public IMetaRow<ParamDicRow>
482  {
484  int modelId;
485 
487  int paramId;
488 
490  string paramName;
491 
493  int paramHid;
494 
496  string digest;
497 
499  int rank;
500 
502  int typeId;
503 
506 
508  bool isHidden;
509 
512 
514  string dbRunTable;
515 
517  string dbSetTable;
518 
520  string importDigest;
521 
523  ParamDicRow(int i_modelId, int i_paramId) :
524  modelId(i_modelId),
525  paramId(i_paramId),
526  paramName(""),
527  paramHid(0),
528  digest(""),
529  rank(0),
530  typeId(0),
531  isExtendable(false),
532  isHidden(false),
533  numCumulated(0),
534  dbRunTable(""),
535  dbSetTable(""),
536  importDigest("")
537  { }
538 
540  ParamDicRow(void) : ParamDicRow(0, 0) { }
541 
542  ~ParamDicRow(void) noexcept { }
543 
545  static bool isKeyLess(const ParamDicRow & i_left, const ParamDicRow & i_right);
546 
548  static bool isKeyEqual(const ParamDicRow & i_left, const ParamDicRow & i_right);
549 
551  static vector<ParamDicRow>::const_iterator byKey(int i_modelId, int i_paramId, const vector<ParamDicRow> & i_rowVec);
552  };
553 
555  struct ParamImportRow : public IMetaRow<ParamImportRow>
556  {
558  int modelId;
559 
561  int paramId;
562 
564  int paramHid;
565 
567  string fromName;
568 
570  string fromModel;
571 
574 
576  ParamImportRow(int i_modelId, int i_paramId) :
577  modelId(i_modelId),
578  paramId(i_paramId),
579  paramHid(0),
580  fromName(""),
581  fromModel(""),
582  isSampleDim(0)
583  { }
584 
586  ParamImportRow(void) : ParamImportRow(0, 0) { }
587 
588  ~ParamImportRow(void) noexcept { }
589 
591  static bool isKeyLess(const ParamImportRow & i_left, const ParamImportRow & i_right);
592 
594  static bool isKeyEqual(const ParamImportRow & i_left, const ParamImportRow & i_right);
595  };
596 
598  struct ParamDicTxtRow : public IMetaRow<ParamDicTxtRow>
599  {
601  int modelId;
602 
604  int paramId;
605 
607  int langId;
608 
610  string descr;
611 
613  string note;
614 
616  ParamDicTxtRow(int i_modelId, int i_paramId, int i_langId) :
617  modelId(i_modelId),
618  paramId(i_paramId),
619  langId(i_langId),
620  descr(""),
621  note("")
622  { }
623 
625  ParamDicTxtRow(void) : ParamDicTxtRow(0, 0, 0) { }
626 
627  ~ParamDicTxtRow(void) noexcept { }
628 
630  static bool isKeyLess(const ParamDicTxtRow & i_left, const ParamDicTxtRow & i_right);
631 
633  static bool isKeyEqual(const ParamDicTxtRow & i_left, const ParamDicTxtRow & i_right);
634  };
635 
638  {
640  string langCode;
641 
643  static bool uniqueLangKeyLess(const ParamDicTxtLangRow & i_left, const ParamDicTxtLangRow & i_right);
644 
646  static bool uniqueLangKeyEqual(const ParamDicTxtLangRow & i_left, const ParamDicTxtLangRow & i_right);
647  };
648 
650  struct ParamDimsRow : public IMetaRow<ParamDimsRow>
651  {
653  int modelId;
654 
656  int paramId;
657 
659  int dimId;
660 
662  string name;
663 
665  int typeId;
666 
668  ParamDimsRow(int i_modelId, int i_paramId, int i_dimId) :
669  modelId(i_modelId),
670  paramId(i_paramId),
671  dimId(i_dimId),
672  name(""),
673  typeId(0)
674  { }
675 
677  ParamDimsRow(void) : ParamDimsRow(0, 0, 0) { }
678 
679  ~ParamDimsRow(void) noexcept { }
680 
682  static bool isKeyLess(const ParamDimsRow & i_left, const ParamDimsRow & i_right);
683 
685  static bool isKeyEqual(const ParamDimsRow & i_left, const ParamDimsRow & i_right);
686  };
687 
688 
690  struct ParamDimsTxtRow : public IMetaRow<ParamDimsTxtRow>
691  {
693  int modelId;
694 
696  int paramId;
697 
699  int dimId;
700 
702  int langId;
703 
705  string descr;
706 
708  string note;
709 
711  ParamDimsTxtRow(int i_modelId, int i_paramId, int i_dimId, int i_langId) :
712  modelId(i_modelId),
713  paramId(i_paramId),
714  dimId(i_dimId),
715  langId(i_langId),
716  descr(""),
717  note("")
718  { }
719 
721  ParamDimsTxtRow(void) : ParamDimsTxtRow(0, 0, 0, 0) { }
722 
723  ~ParamDimsTxtRow(void) noexcept { }
724 
726  static bool isKeyLess(const ParamDimsTxtRow & i_left, const ParamDimsTxtRow & i_right);
727 
729  static bool isKeyEqual(const ParamDimsTxtRow & i_left, const ParamDimsTxtRow & i_right);
730  };
731 
734  {
736  string langCode;
737 
739  static bool uniqueLangKeyLess(const ParamDimsTxtLangRow & i_left, const ParamDimsTxtLangRow & i_right);
740 
742  static bool uniqueLangKeyEqual(const ParamDimsTxtLangRow & i_left, const ParamDimsTxtLangRow & i_right);
743  };
744 
746  struct TableDicRow : public IMetaRow<TableDicRow>
747  {
749  int modelId;
750 
752  int tableId;
753 
755  string tableName;
756 
758  int tableHid;
759 
761  string digest;
762 
764  bool isUser;
765 
767  int rank;
768 
770  bool isSparse;
771 
773  string dbExprTable;
774 
776  string dbAccTable;
777 
779  string dbAccAll;
780 
782  int exprPos;
783 
785  bool isHidden;
786 
788  string importDigest;
789 
791  TableDicRow(int i_modelId, int i_tableId) :
792  modelId(i_modelId),
793  tableId(i_tableId),
794  tableName(""),
795  tableHid(0),
796  digest(""),
797  isUser(false),
798  rank(1),
799  isSparse(false),
800  dbExprTable(""),
801  dbAccTable(""),
802  dbAccAll(""),
803  exprPos(-1),
804  isHidden(false),
805  importDigest("")
806  { }
807 
809  TableDicRow(void) : TableDicRow(0, 0) { }
810 
811  ~TableDicRow(void) noexcept { }
812 
814  static bool isKeyLess(const TableDicRow & i_left, const TableDicRow & i_right);
815 
817  static bool isKeyEqual(const TableDicRow & i_left, const TableDicRow & i_right);
818 
820  static vector<TableDicRow>::const_iterator byKey(int i_modelId, int i_tableId, const vector<TableDicRow> & i_rowVec);
821  };
822 
824  struct TableDicTxtRow : public IMetaRow<TableDicTxtRow>
825  {
827  int modelId;
828 
830  int tableId;
831 
833  int langId;
834 
836  string descr;
837 
839  string note;
840 
842  string exprDescr;
843 
845  string exprNote;
846 
848  TableDicTxtRow(int i_modelId, int i_tableId, int i_langId) :
849  modelId(i_modelId),
850  tableId(i_tableId),
851  langId(i_langId),
852  descr(""),
853  note(""),
854  exprDescr(""),
855  exprNote("")
856  { }
857 
859  TableDicTxtRow(void) : TableDicTxtRow(0, 0, 0) { }
860 
861  ~TableDicTxtRow(void) noexcept { }
862 
864  static bool isKeyLess(const TableDicTxtRow & i_left, const TableDicTxtRow & i_right);
865 
867  static bool isKeyEqual(const TableDicTxtRow & i_left, const TableDicTxtRow & i_right);
868  };
869 
872  {
874  string langCode;
875 
877  static bool uniqueLangKeyLess(const TableDicTxtLangRow & i_left, const TableDicTxtLangRow & i_right);
878 
880  static bool uniqueLangKeyEqual(const TableDicTxtLangRow & i_left, const TableDicTxtLangRow & i_right);
881  };
882 
884  struct TableDimsRow : public IMetaRow<TableDimsRow>
885  {
887  int modelId;
888 
890  int tableId;
891 
893  int dimId;
894 
896  string name;
897 
899  int typeId;
900 
902  bool isTotal;
903 
905  int dimSize;
906 
908  TableDimsRow(int i_modelId, int i_tableId, int i_dimId) :
909  modelId(i_modelId),
910  tableId(i_tableId),
911  dimId(i_dimId),
912  name(""),
913  typeId(0),
914  isTotal(false),
915  dimSize(1)
916  { }
917 
919  TableDimsRow(void) : TableDimsRow(0, 0, 0) { }
920 
921  ~TableDimsRow(void) noexcept { }
922 
924  static bool isKeyLess(const TableDimsRow & i_left, const TableDimsRow & i_right);
925 
927  static bool isKeyEqual(const TableDimsRow & i_left, const TableDimsRow & i_right);
928  };
929 
931  struct TableDimsTxtRow : public IMetaRow<TableDimsTxtRow>
932  {
934  int modelId;
935 
937  int tableId;
938 
940  int dimId;
941 
943  int langId;
944 
946  string descr;
947 
949  string note;
950 
952  TableDimsTxtRow(int i_modelId, int i_tableId, int i_dimId, int i_langId) :
953  modelId(i_modelId),
954  tableId(i_tableId),
955  dimId(i_dimId),
956  langId(i_langId),
957  descr(""),
958  note("")
959  { }
960 
962  TableDimsTxtRow(void) : TableDimsTxtRow(0, 0, 0, 0) { }
963 
964  ~TableDimsTxtRow(void) noexcept { }
965 
967  static bool isKeyLess(const TableDimsTxtRow & i_left, const TableDimsTxtRow & i_right);
968 
970  static bool isKeyEqual(const TableDimsTxtRow & i_left, const TableDimsTxtRow & i_right);
971  };
972 
975  {
977  string langCode;
978 
980  static bool uniqueLangKeyLess(const TableDimsTxtLangRow & i_left, const TableDimsTxtLangRow & i_right);
981 
983  static bool uniqueLangKeyEqual(const TableDimsTxtLangRow & i_left, const TableDimsTxtLangRow & i_right);
984  };
985 
987  struct TableAccRow : public IMetaRow<TableAccRow>
988  {
990  int modelId;
991 
993  int tableId;
994 
996  int accId;
997 
999  string name;
1000 
1003 
1005  string accSrc;
1006 
1008  string accSql;
1009 
1011  TableAccRow(int i_modelId, int i_tableId, int i_accid) :
1012  modelId(i_modelId),
1013  tableId(i_tableId),
1014  accId(i_accid),
1015  name(""),
1016  isDerived(false),
1017  accSrc(""),
1018  accSql("")
1019  { }
1020 
1022  TableAccRow(void) : TableAccRow(0, 0, 0) { }
1023 
1024  ~TableAccRow(void) noexcept { }
1025 
1027  static bool isKeyLess(const TableAccRow & i_left, const TableAccRow & i_right);
1028 
1030  static bool isKeyEqual(const TableAccRow & i_left, const TableAccRow & i_right);
1031 
1033  static vector<TableAccRow>::const_iterator byKey(int i_modelId, int i_tableId, int i_accId, const vector<TableAccRow> & i_rowVec);
1034  };
1035 
1037  struct TableAccTxtRow : public IMetaRow<TableAccTxtRow>
1038  {
1040  int modelId;
1041 
1043  int tableId;
1044 
1046  int accId;
1047 
1049  int langId;
1050 
1052  string descr;
1053 
1055  string note;
1056 
1058  TableAccTxtRow(int i_modelId, int i_tableId, int i_accId, int i_langId) :
1059  modelId(i_modelId),
1060  tableId(i_tableId),
1061  accId(i_accId),
1062  langId(i_langId),
1063  descr(""),
1064  note("")
1065  { }
1066 
1068  TableAccTxtRow(void) : TableAccTxtRow(0, 0, 0, 0) { }
1069 
1070  ~TableAccTxtRow(void) noexcept { }
1071 
1073  static bool isKeyLess(const TableAccTxtRow & i_left, const TableAccTxtRow & i_right);
1074 
1076  static bool isKeyEqual(const TableAccTxtRow & i_left, const TableAccTxtRow & i_right);
1077  };
1078 
1081  {
1083  string langCode;
1084 
1086  static bool uniqueLangKeyLess(const TableAccTxtLangRow & i_left, const TableAccTxtLangRow & i_right);
1087 
1089  static bool uniqueLangKeyEqual(const TableAccTxtLangRow & i_left, const TableAccTxtLangRow & i_right);
1090  };
1091 
1093  struct TableExprRow : public IMetaRow<TableExprRow>
1094  {
1096  int modelId;
1097 
1099  int tableId;
1100 
1102  int exprId;
1103 
1105  string name;
1106 
1109 
1111  string srcExpr;
1112 
1114  string sqlExpr;
1115 
1117  TableExprRow(int i_modelId, int i_tableId, int i_exprId) :
1118  modelId(i_modelId),
1119  tableId(i_tableId),
1120  exprId(i_exprId),
1121  name(""),
1122  decimals(0),
1123  srcExpr(""),
1124  sqlExpr("")
1125  { }
1126 
1128  TableExprRow(void) : TableExprRow(0, 0, 0) { }
1129 
1130  ~TableExprRow(void) noexcept { }
1131 
1133  static bool isKeyLess(const TableExprRow & i_left, const TableExprRow & i_right);
1134 
1136  static bool isKeyEqual(const TableExprRow & i_left, const TableExprRow & i_right);
1137  };
1138 
1140  struct TableExprTxtRow : public IMetaRow<TableExprTxtRow>
1141  {
1143  int modelId;
1144 
1146  int tableId;
1147 
1149  int exprId;
1150 
1152  int langId;
1153 
1155  string descr;
1156 
1158  string note;
1159 
1161  TableExprTxtRow(int i_modelId, int i_tableId, int i_exprId, int i_langId) :
1162  modelId(i_modelId),
1163  tableId(i_tableId),
1164  exprId(i_exprId),
1165  langId(i_langId),
1166  descr(""),
1167  note("")
1168  { }
1169 
1171  TableExprTxtRow(void) : TableExprTxtRow(0, 0, 0, 0) { }
1172 
1173  ~TableExprTxtRow(void) noexcept { }
1174 
1176  static bool isKeyLess(const TableExprTxtRow & i_left, const TableExprTxtRow & i_right);
1177 
1179  static bool isKeyEqual(const TableExprTxtRow & i_left, const TableExprTxtRow & i_right);
1180  };
1181 
1184  {
1186  string langCode;
1187 
1189  static bool uniqueLangKeyLess(const TableExprTxtLangRow & i_left, const TableExprTxtLangRow & i_right);
1190 
1192  static bool uniqueLangKeyEqual(const TableExprTxtLangRow & i_left, const TableExprTxtLangRow & i_right);
1193  };
1194 
1196  struct GroupLstRow : public IMetaRow<GroupLstRow>
1197  {
1199  int modelId;
1200 
1202  int groupId;
1203 
1205  bool isParam;
1206 
1208  string name;
1209 
1211  bool isHidden;
1212 
1214  GroupLstRow(int i_modelId, int i_groupId) :
1215  modelId(i_modelId),
1216  groupId(i_groupId),
1217  isParam(false),
1218  name(""),
1219  isHidden(false)
1220  { }
1221 
1223  GroupLstRow(void) : GroupLstRow(0, 0) { }
1224 
1225  ~GroupLstRow(void) noexcept { }
1226 
1228  static bool isKeyLess(const GroupLstRow & i_left, const GroupLstRow & i_right);
1229 
1231  static bool isKeyEqual(const GroupLstRow & i_left, const GroupLstRow & i_right);
1232  };
1233 
1235  struct GroupTxtRow : public IMetaRow<GroupTxtRow>
1236  {
1238  int modelId;
1239 
1241  int groupId;
1242 
1244  int langId;
1245 
1247  string descr;
1248 
1250  string note;
1251 
1253  GroupTxtRow(int i_modelId, int i_groupId, int i_langId) :
1254  modelId(i_modelId),
1255  groupId(i_groupId),
1256  langId(i_langId),
1257  descr(""),
1258  note("")
1259  { }
1260 
1262  GroupTxtRow(void) : GroupTxtRow(0, 0, 0) { }
1263 
1264  ~GroupTxtRow(void) noexcept { }
1265 
1267  static bool isKeyLess(const GroupTxtRow & i_left, const GroupTxtRow & i_right);
1268 
1270  static bool isKeyEqual(const GroupTxtRow & i_left, const GroupTxtRow & i_right);
1271  };
1272 
1275  {
1277  string langCode;
1278 
1280  static bool uniqueLangKeyLess(const GroupTxtLangRow & i_left, const GroupTxtLangRow & i_right);
1281 
1283  static bool uniqueLangKeyEqual(const GroupTxtLangRow & i_left, const GroupTxtLangRow & i_right);
1284  };
1285 
1287  struct GroupPcRow : public IMetaRow<GroupPcRow>
1288  {
1290  int modelId;
1291 
1293  int groupId;
1294 
1297 
1300 
1302  int leafId;
1303 
1305  GroupPcRow(int i_modelId, int i_groupId, int i_childPos) :
1306  modelId(i_modelId),
1307  groupId(i_groupId),
1308  childPos(i_childPos),
1309  childGroupId(-1),
1310  leafId(-1)
1311  { }
1312 
1314  GroupPcRow(void) : GroupPcRow(0, 0, 0) { }
1315 
1316  ~GroupPcRow(void) noexcept { }
1317 
1319  static bool isKeyLess(const GroupPcRow & i_left, const GroupPcRow & i_right);
1320 
1322  static bool isKeyEqual(const GroupPcRow & i_left, const GroupPcRow & i_right);
1323  };
1324 
1326  struct ProfileLstRow : public IMetaRow<ProfileLstRow>
1327  {
1329  string name;
1330 
1332  ProfileLstRow(const string & i_name) : name(i_name) { }
1333 
1336 
1337  ~ProfileLstRow(void) noexcept { }
1338 
1340  static bool isKeyLess(const ProfileLstRow & i_left, const ProfileLstRow & i_right);
1341 
1343  static bool isKeyEqual(const ProfileLstRow & i_left, const ProfileLstRow & i_right);
1344  };
1345 
1347  struct ProfileOptionRow : public IMetaRow<ProfileOptionRow>
1348  {
1350  string name;
1351 
1353  string key;
1354 
1356  string value;
1357 
1359  ProfileOptionRow(const string & i_name, const string & i_key) :
1360  name(i_name),
1361  key(i_key),
1362  value("")
1363  { }
1364 
1367 
1368  ~ProfileOptionRow(void) noexcept { }
1369 
1371  static bool isKeyLess(const ProfileOptionRow & i_left, const ProfileOptionRow & i_right);
1372 
1374  static bool isKeyEqual(const ProfileOptionRow & i_left, const ProfileOptionRow & i_right);
1375  };
1376 
1378  struct RunLstRow : public IMetaRow<RunLstRow>
1379  {
1381  int runId;
1382 
1384  int modelId;
1385 
1387  string name;
1388 
1391 
1394 
1397 
1400 
1403 
1405  string status;
1406 
1409 
1411  string runStamp;
1412 
1414  RunLstRow(int i_runId) :
1415  runId(i_runId),
1416  modelId(0),
1417  name(""),
1418  subCount(0),
1419  subStarted(0),
1420  subCompleted(0),
1421  subRestart(0),
1422  createDateTime(""),
1423  status(""),
1424  updateDateTime(""),
1425  runStamp("")
1426  { }
1427 
1429  RunLstRow(void) : RunLstRow(0) { }
1430 
1431  ~RunLstRow(void) noexcept { }
1432 
1434  static bool isKeyLess(const RunLstRow & i_left, const RunLstRow & i_right);
1435 
1437  static bool isKeyEqual(const RunLstRow & i_left, const RunLstRow & i_right);
1438 
1440  static vector<RunLstRow>::const_iterator byKey(int i_runId, const vector<RunLstRow> & i_rowVec);
1441  };
1442 
1444  struct RunTxtRow : public IMetaRow<RunTxtRow>
1445  {
1447  int runId;
1448 
1450  int modelId;
1451 
1453  int langId;
1454 
1456  string descr;
1457 
1459  string note;
1460 
1462  RunTxtRow(int i_runId, int i_langId) :
1463  runId(i_runId),
1464  modelId(0),
1465  langId(i_langId),
1466  descr(""),
1467  note("")
1468  { }
1469 
1471  RunTxtRow(void) : RunTxtRow(0, 0) { }
1472 
1473  ~RunTxtRow(void) noexcept { }
1474 
1476  static bool isKeyLess(const RunTxtRow & i_left, const RunTxtRow & i_right);
1477 
1479  static bool isKeyEqual(const RunTxtRow & i_left, const RunTxtRow & i_right);
1480 
1482  static vector<RunTxtRow>::const_iterator byKey(int i_runId, int i_langId, const vector<RunTxtRow> & i_rowVec);
1483  };
1484 
1486  struct RunOptionRow : public IMetaRow<RunOptionRow>
1487  {
1489  int runId;
1490 
1492  string key;
1493 
1495  string value;
1496 
1498  RunOptionRow(int i_runId, const string & i_key) :
1499  runId(i_runId),
1500  key(i_key),
1501  value("")
1502  { }
1503 
1505  RunOptionRow(void) : RunOptionRow(0, "") { }
1506 
1507  ~RunOptionRow(void) noexcept { }
1508 
1510  static bool isKeyLess(const RunOptionRow & i_left, const RunOptionRow & i_right);
1511 
1513  static bool isKeyEqual(const RunOptionRow & i_left, const RunOptionRow & i_right);
1514  };
1515 
1517  struct RunParamTxtRow : public IMetaRow<RunParamTxtRow>
1518  {
1520  int runId;
1521 
1523  int modelId;
1524 
1526  int paramId;
1527 
1529  int langId;
1530 
1532  string note;
1533 
1535  RunParamTxtRow(int i_runId, int i_paramId, int i_langId) :
1536  runId(i_runId),
1537  modelId(0),
1538  paramId(i_paramId),
1539  langId(i_langId),
1540  note("")
1541  { }
1542 
1544  RunParamTxtRow(void) : RunParamTxtRow(0, 0, 0) { }
1545 
1546  ~RunParamTxtRow(void) noexcept { }
1547 
1549  static bool isKeyLess(const RunParamTxtRow & i_left, const RunParamTxtRow & i_right);
1550 
1552  static bool isKeyEqual(const RunParamTxtRow & i_left, const RunParamTxtRow & i_right);
1553  };
1554 
1557  {
1559  string langCode;
1560  };
1561 
1563  struct WorksetLstRow : public IMetaRow<WorksetLstRow>
1564  {
1566  int setId;
1567 
1570 
1572  int modelId;
1573 
1575  string name;
1576 
1579 
1582 
1584  WorksetLstRow(int i_setId) :
1585  setId(i_setId),
1586  baseRunId(0),
1587  modelId(0),
1588  name(""),
1589  isReadonly(false),
1590  updateDateTime("")
1591  { }
1592 
1595 
1596  ~WorksetLstRow(void) noexcept { }
1597 
1599  static bool isKeyLess(const WorksetLstRow & i_left, const WorksetLstRow & i_right);
1600 
1602  static bool isKeyEqual(const WorksetLstRow & i_left, const WorksetLstRow & i_right);
1603 
1605  static vector<WorksetLstRow>::const_iterator byKey(int i_setId, const vector<WorksetLstRow> & i_rowVec);
1606  };
1607 
1609  struct WorksetTxtRow : public IMetaRow<WorksetTxtRow>
1610  {
1612  int setId;
1613 
1615  int langId;
1616 
1618  string descr;
1619 
1621  string note;
1622 
1624  WorksetTxtRow(int i_setId, int i_langId) :
1625  setId(i_setId),
1626  langId(i_langId),
1627  descr(""),
1628  note("")
1629  { }
1630 
1632  WorksetTxtRow(void) : WorksetTxtRow(0, 0) { }
1633 
1634  ~WorksetTxtRow(void) noexcept { }
1635 
1637  static bool isKeyLess(const WorksetTxtRow & i_left, const WorksetTxtRow & i_right);
1638 
1640  static bool isKeyEqual(const WorksetTxtRow & i_left, const WorksetTxtRow & i_right);
1641 
1643  static vector<WorksetTxtRow>::const_iterator byKey(int i_setId, int i_langId, const vector<WorksetTxtRow> & i_rowVec);
1644  };
1645 
1648  {
1650  string langCode;
1651 
1653  static bool uniqueLangKeyLess(const WorksetTxtLangRow & i_left, const WorksetTxtLangRow & i_right);
1654 
1656  static bool uniqueLangKeyEqual(const WorksetTxtLangRow & i_left, const WorksetTxtLangRow & i_right);
1657  };
1658 
1660  struct WorksetParamRow : public IMetaRow<WorksetParamRow>
1661  {
1663  int setId;
1664 
1666  int modelId;
1667 
1669  int paramId;
1670 
1673 
1676 
1678  WorksetParamRow(int i_setId, int i_paramId) :
1679  setId(i_setId),
1680  modelId(0),
1681  paramId(i_paramId),
1682  subCount(0),
1683  defaultSubId(0)
1684  { }
1685 
1688 
1689  ~WorksetParamRow(void) noexcept { }
1690 
1692  static bool isKeyLess(const WorksetParamRow & i_left, const WorksetParamRow & i_right);
1693 
1695  static bool isKeyEqual(const WorksetParamRow & i_left, const WorksetParamRow & i_right);
1696 
1698  static vector<WorksetParamRow>::const_iterator byKey(int i_setId, int i_paramId, const vector<WorksetParamRow> & i_rowVec);
1699  };
1700 
1702  struct WorksetParamTxtRow : public IMetaRow<WorksetParamTxtRow>
1703  {
1705  int setId;
1706 
1708  int modelId;
1709 
1711  int paramId;
1712 
1714  int langId;
1715 
1717  string note;
1718 
1720  WorksetParamTxtRow(int i_setId, int i_langId, int i_paramId) :
1721  setId(i_setId),
1722  modelId(0),
1723  paramId(i_paramId),
1724  langId(i_langId),
1725  note("")
1726  { }
1727 
1730 
1731  ~WorksetParamTxtRow(void) noexcept { }
1732 
1734  static bool isKeyLess(const WorksetParamTxtRow & i_left, const WorksetParamTxtRow & i_right);
1735 
1737  static bool isKeyEqual(const WorksetParamTxtRow & i_left, const WorksetParamTxtRow & i_right);
1738 
1740  static vector<WorksetParamTxtRow>::const_iterator byKey(
1741  int i_setId, int i_paramId, int i_langId, const vector<WorksetParamTxtRow> & i_rowVec
1742  );
1743  };
1744 
1747  {
1749  string langCode;
1750 
1752  static bool uniqueLangKeyLess(const WorksetParamTxtLangRow & i_left, const WorksetParamTxtLangRow & i_right);
1753 
1755  static bool uniqueLangKeyEqual(const WorksetParamTxtLangRow & i_left, const WorksetParamTxtLangRow & i_right);
1756  };
1757 
1759  struct TaskLstRow : public IMetaRow<TaskLstRow>
1760  {
1762  int taskId;
1763 
1765  int modelId;
1766 
1768  string name;
1769 
1771  TaskLstRow(int i_taskId) :
1772  taskId(i_taskId),
1773  modelId(0),
1774  name("")
1775  { }
1776 
1778  TaskLstRow(void) : TaskLstRow(0) { }
1779 
1780  ~TaskLstRow(void) noexcept { }
1781 
1783  static bool isKeyLess(const TaskLstRow & i_left, const TaskLstRow & i_right);
1784 
1786  static bool isKeyEqual(const TaskLstRow & i_left, const TaskLstRow & i_right);
1787 
1789  static vector<TaskLstRow>::const_iterator byKey(int i_taskId, const vector<TaskLstRow> & i_rowVec);
1790  };
1791 
1793  struct TaskTxtRow : public IMetaRow<TaskTxtRow>
1794  {
1796  int taskId;
1797 
1799  int langId;
1800 
1802  string descr;
1803 
1805  string note;
1806 
1808  TaskTxtRow(int i_taskId, int i_langId) :
1809  taskId(i_taskId),
1810  langId(i_langId),
1811  descr(""),
1812  note("")
1813  { }
1814 
1816  TaskTxtRow(void) : TaskTxtRow(0, 0) { }
1817 
1818  ~TaskTxtRow(void) noexcept { }
1819 
1821  static bool isKeyLess(const TaskTxtRow & i_left, const TaskTxtRow & i_right);
1822 
1824  static bool isKeyEqual(const TaskTxtRow & i_left, const TaskTxtRow & i_right);
1825 
1827  static vector<TaskTxtRow>::const_iterator byKey(int i_taskId, int i_langId, const vector<TaskTxtRow> & i_rowVec);
1828  };
1829 
1831  struct TaskTxtLangRow : public TaskTxtRow
1832  {
1834  string langCode;
1835 
1837  static bool uniqueLangKeyLess(const TaskTxtLangRow & i_left, const TaskTxtLangRow & i_right);
1838 
1840  static bool uniqueLangKeyEqual(const TaskTxtLangRow & i_left, const TaskTxtLangRow & i_right);
1841  };
1842 
1844  struct TaskSetRow : public IMetaRow<TaskSetRow>
1845  {
1847  int taskId;
1848 
1850  int setId;
1851 
1853  TaskSetRow(int i_taskId, int i_setId) :
1854  taskId(i_taskId),
1855  setId(i_setId)
1856  { }
1857 
1859  TaskSetRow(void) : TaskSetRow(0, 0) { }
1860 
1861  ~TaskSetRow(void) noexcept { }
1862 
1864  static bool isKeyLess(const TaskSetRow & i_left, const TaskSetRow & i_right);
1865 
1867  static bool isKeyEqual(const TaskSetRow & i_left, const TaskSetRow & i_right);
1868 
1870  static vector<TaskSetRow>::const_iterator byKey(int i_taskId, int i_setId, const vector<TaskSetRow> & i_rowVec);
1871  };
1872 
1874  struct TaskRunLstRow : public IMetaRow<TaskRunLstRow>
1875  {
1878 
1880  int taskId;
1881 
1883  string name;
1884 
1887 
1890 
1892  string status;
1893 
1896 
1898  string runStamp;
1899 
1901  TaskRunLstRow(int i_taskRunId) :
1902  taskRunId(i_taskRunId),
1903  taskId(0),
1904  name(""),
1905  subCount(0),
1906  createDateTime(""),
1907  status(""),
1908  updateDateTime(""),
1909  runStamp("")
1910  { }
1911 
1914 
1915  ~TaskRunLstRow(void) noexcept { }
1916 
1918  static bool isKeyLess(const TaskRunLstRow & i_left, const TaskRunLstRow & i_right);
1919 
1921  static bool isKeyEqual(const TaskRunLstRow & i_left, const TaskRunLstRow & i_right);
1922 
1924  static vector<TaskRunLstRow>::const_iterator byKey(int i_taskRunId, const vector<TaskRunLstRow> & i_rowVec);
1925  };
1926 
1928  struct TaskRunSetRow : public IMetaRow<TaskRunSetRow>
1929  {
1932 
1934  int runId;
1935 
1937  int setId;
1938 
1940  int taskId;
1941 
1943  TaskRunSetRow(int i_taskRunId, int i_runId) :
1944  taskRunId(i_taskRunId),
1945  runId(i_runId),
1946  setId(0),
1947  taskId(0)
1948  { }
1949 
1951  TaskRunSetRow(void) : TaskRunSetRow(0, 0) { }
1952 
1953  ~TaskRunSetRow(void) noexcept { }
1954 
1956  static bool isKeyLess(const TaskRunSetRow & i_left, const TaskRunSetRow & i_right);
1957 
1959  static bool isKeyEqual(const TaskRunSetRow & i_left, const TaskRunSetRow & i_right);
1960 
1962  static vector<TaskRunSetRow>::const_iterator byKey(int i_taskRunId, int i_runId, const vector<TaskRunSetRow> & i_rowVec);
1963  };
1964 
1966  struct CodeValueRow : public IMetaRow<CodeValueRow>
1967  {
1969  string code;
1970 
1972  string value;
1973 
1975  CodeValueRow(const string & i_code, const string i_value) :
1976  code(i_code),
1977  value(i_value)
1978  { }
1979 
1981  CodeValueRow(const string & i_code) : CodeValueRow(i_code, "") { }
1982 
1984  CodeValueRow(void) : CodeValueRow("", "") { }
1985 
1986  ~CodeValueRow(void) noexcept { }
1987 
1989  static bool isKeyLess(const CodeValueRow & i_left, const CodeValueRow & i_right);
1990 
1992  static bool isKeyEqual(const CodeValueRow & i_left, const CodeValueRow & i_right);
1993  };
1994 }
1995 
1996 #endif // OM_DB_META_ROW_H
int accId
acc_id INT NOT NULL
Definition: dbMetaRow.h:996
type_enum_txt join to model_type_dic table row.
Definition: dbMetaRow.h:425
string updateDateTime
update_dt VARCHAR(32) NOT NULL
Definition: dbMetaRow.h:1895
TaskSetRow(int i_taskId, int i_setId)
create row with supplied primary key field values.
Definition: dbMetaRow.h:1853
type_dic_txt join to model_type_dic table row.
Definition: dbMetaRow.h:338
bool isSparse
is_sparse SMALLINT NOT NULL
Definition: dbMetaRow.h:770
table_dic_txt table row.
Definition: dbMetaRow.h:824
int langId
lang_id INT NOT NULL
Definition: dbMetaRow.h:1714
int leafId
leaf_id INT NULL
Definition: dbMetaRow.h:1302
WorksetParamRow(int i_setId, int i_paramId)
create row with supplied primary key field values.
Definition: dbMetaRow.h:1678
int paramId
parameter_id INT NOT NULL
Definition: dbMetaRow.h:1669
ModelDicTxtRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:193
string updateDateTime
update_dt VARCHAR(32) NOT NULL
Definition: dbMetaRow.h:1581
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:428
TableExprTxtRow(int i_modelId, int i_tableId, int i_exprId, int i_langId)
create row with supplied key field values.
Definition: dbMetaRow.h:1161
WorksetTxtRow(int i_setId, int i_langId)
create row with supplied primary key field values.
Definition: dbMetaRow.h:1624
type_enum_txt join to model_type_dic table row and language code.
Definition: dbMetaRow.h:468
string descr
descr VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:705
string name
set_name VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:1575
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:558
string digest
table_digest VARCHAR(32) NOT NULL
Definition: dbMetaRow.h:761
RunOptionRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1505
int typeId
mod_type_id INT NOT NULL
Definition: dbMetaRow.h:899
string descr
descr VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:1247
TypeDicTxtRow(int i_modelId, int i_typeId, int i_langId)
create row with supplied unique key field values.
Definition: dbMetaRow.h:356
workset_parameter join to model_parameter_dic table row.
Definition: dbMetaRow.h:1660
db-row abstract base
Definition: omHelper.h:181
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:934
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:1384
int tableId
table_id INT NOT NULL
Definition: dbMetaRow.h:1043
ProfileLstRow(const string &i_name)
create row with supplied primary key field values.
Definition: dbMetaRow.h:1332
string code
lang_code VARCHAR(32) NOT NULL
Definition: dbMetaRow.h:45
string exprNote
expr_note VARCHAR(32000)
Definition: dbMetaRow.h:845
string name
dim_name VARCHAR(8) NOT NULL
Definition: dbMetaRow.h:896
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:1572
ParamDimsRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:677
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:1096
int paramId
model_parameter_id INT NOT NULL
Definition: dbMetaRow.h:561
int paramHid
parameter_hid INT NOT NULL, – unique parameter id
Definition: dbMetaRow.h:493
int subCompleted
sub_completed INT NOT NULL
Definition: dbMetaRow.h:1396
run_parameter_txt table row and language code.
Definition: dbMetaRow.h:1556
string langCode
language code
Definition: dbMetaRow.h:1834
string descr
descr VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:1155
OpenM++: public interface for log and trace support.
int taskId
task_id INT NOT NULL
Definition: dbMetaRow.h:1847
string note
note VARCHAR(32000)
Definition: dbMetaRow.h:443
string name
expr_name VARCHAR(8) NOT NULL
Definition: dbMetaRow.h:1105
lang_word table row.
Definition: dbMetaRow.h:83
bool isHidden
is_hidden SMALLINT NOT NULL
Definition: dbMetaRow.h:1211
table_expr table row.
Definition: dbMetaRow.h:1093
string note
note VARCHAR(32000)
Definition: dbMetaRow.h:1532
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:1238
string note
note VARCHAR(32000)
Definition: dbMetaRow.h:353
ParamDicRow(int i_modelId, int i_paramId)
create row with supplied unique key field values.
Definition: dbMetaRow.h:523
int paramId
parameter_id INT NOT NULL
Definition: dbMetaRow.h:1711
task_txt table row and language code.
Definition: dbMetaRow.h:1831
string name
enum_name VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:402
int subStarted
sub_started INT NOT NULL
Definition: dbMetaRow.h:1393
int langId
lang_id INT NOT NULL
Definition: dbMetaRow.h:1529
workset_txt table row.
Definition: dbMetaRow.h:1609
int runId
run_id INT NOT NULL
Definition: dbMetaRow.h:1447
ParamDicTxtRow(int i_modelId, int i_paramId, int i_langId)
create row with supplied unique key field values.
Definition: dbMetaRow.h:616
string langCode
language code
Definition: dbMetaRow.h:1650
string langCode
language code
Definition: dbMetaRow.h:208
string accSql
acc_sql VARCHAR(2048) NOT NULL
Definition: dbMetaRow.h:1008
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:653
GroupLstRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1223
int dimId
dim_id INT NOT NULL
Definition: dbMetaRow.h:699
int paramId
model_parameter_id INT NOT NULL
Definition: dbMetaRow.h:604
TableDimsRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:919
group_txt table row.
Definition: dbMetaRow.h:1235
string exprDescr
expr_descr VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:842
int setId
set_id INT NOT NULL
Definition: dbMetaRow.h:1705
string paramName
parameter_name VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:490
TaskRunSetRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1951
string digest
parameter_digest VARCHAR(32) NOT NULL
Definition: dbMetaRow.h:496
CodeValueRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1984
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:393
LangLstRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:65
ParamImportRow(int i_modelId, int i_paramId)
create row with supplied unique key field values.
Definition: dbMetaRow.h:576
int tableId
table_id INT NOT NULL
Definition: dbMetaRow.h:993
ParamImportRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:586
int typeId
model_type_id INT NOT NULL
Definition: dbMetaRow.h:396
string runStamp
run_stamp VARCHAR(32) NOT NULL
Definition: dbMetaRow.h:1411
table_dims_txt table row.
Definition: dbMetaRow.h:931
TaskLstRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1778
string descr
descr VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:946
string note
note VARCHAR(32000)
Definition: dbMetaRow.h:613
static bool isBuiltIn(int i_typeId)
return true if model type id is built-in type id, ie: int, double, logical
Definition: dbMetaRow.h:328
ParamDimsRow(int i_modelId, int i_paramId, int i_dimId)
create row with supplied key field values.
Definition: dbMetaRow.h:668
string note
note VARCHAR(32000)
Definition: dbMetaRow.h:182
int langId
lang_id INT NOT NULL
Definition: dbMetaRow.h:607
string name
acc_name VARCHAR(8) NOT NULL
Definition: dbMetaRow.h:999
string value
option_value VARCHAR(2048) NOT NULL
Definition: dbMetaRow.h:1356
string name
task_name VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:1768
type_enum_lst join to model_type_dic table row.
Definition: dbMetaRow.h:390
workset_parameter_txt table row and language code.
Definition: dbMetaRow.h:1746
string langCode
language code
Definition: dbMetaRow.h:874
int groupId
group_id INT NOT NULL
Definition: dbMetaRow.h:1241
int dimId
dim_id INT NOT NULL
Definition: dbMetaRow.h:940
bool isHidden
is_hidden SMALLINT NOT NULL
Definition: dbMetaRow.h:785
parameter_dims join to model_parameter_dic table row.
Definition: dbMetaRow.h:650
parameter_dims_txt join to model_parameter_dic table row.
Definition: dbMetaRow.h:690
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:990
string note
note VARCHAR(32000)
Definition: dbMetaRow.h:1250
bool isReadonly
is_readonly SMALLINT NOT NULL
Definition: dbMetaRow.h:1578
ModelDicTxtRow(int i_modelId, int i_langId)
create row with supplied primary key field values.
Definition: dbMetaRow.h:185
TaskTxtRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1816
string fromName
from_name VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:567
int paramId
model_parameter_id INT NOT NULL
Definition: dbMetaRow.h:656
string code
word_code VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:89
int runId
run_id INT NOT NULL
Definition: dbMetaRow.h:1381
parameter_dic_txt join to model_parameter_dic table row and language code.
Definition: dbMetaRow.h:637
int runId
run_id INT NOT NULL
Definition: dbMetaRow.h:1520
string dbSetTable
db_set_table VARCHAR(64) NOT NULL
Definition: dbMetaRow.h:517
group_txt table row and language code.
Definition: dbMetaRow.h:1274
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:601
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:1523
int subRestart
sub_restart INT NOT NULL
Definition: dbMetaRow.h:1399
table_acc_txt table row and language code.
Definition: dbMetaRow.h:1080
bool isBuiltIn(void) const
return true if model type is built-in, ie: int, double, logical
Definition: dbMetaRow.h:325
ProfileOptionRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1366
TypeEnumTxtRow(int i_modelId, int i_typeId, int i_enumId, int i_langId)
create row with supplied unique key field values.
Definition: dbMetaRow.h:446
int langId
lang_id INT NOT NULL
Definition: dbMetaRow.h:1152
int taskId
task_id INT NOT NULL
Definition: dbMetaRow.h:1940
TableDicTxtRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:859
int exprId
expr_id INT NOT NULL
Definition: dbMetaRow.h:1102
profile_lst table row.
Definition: dbMetaRow.h:1326
ProfileOptionRow(const string &i_name, const string &i_key)
create row with supplied primary key field values.
Definition: dbMetaRow.h:1359
model_dic_txt table row.
Definition: dbMetaRow.h:170
RunTxtRow(int i_runId, int i_langId)
create row with supplied primary key field values.
Definition: dbMetaRow.h:1462
openM++ namespace
Definition: argReader.cpp:16
generic two string columns: (code, value) table row.
Definition: dbMetaRow.h:1966
GroupPcRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1314
TableDicTxtRow(int i_modelId, int i_tableId, int i_langId)
create row with supplied key field values.
Definition: dbMetaRow.h:848
string importDigest
import_digest VARCHAR(32) NOT NULL
Definition: dbMetaRow.h:520
string name
dim_name VARCHAR(8) NOT NULL
Definition: dbMetaRow.h:662
int tableId
table_id INT NOT NULL
Definition: dbMetaRow.h:1099
int langId
lang_id INT NOT NULL
Definition: dbMetaRow.h:943
TableDicRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:809
bool isParam
is_parameter SMALLINT NOT NULL
Definition: dbMetaRow.h:1205
model_dic_txt table row and language code.
Definition: dbMetaRow.h:205
string descr
descr VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:610
string note
note VARCHAR(32000)
Definition: dbMetaRow.h:1055
WorksetLstRow(int i_setId)
create row with supplied primary key field values.
Definition: dbMetaRow.h:1584
int tableId
table_id INT NOT NULL
Definition: dbMetaRow.h:752
string dbAccAll
db_acc_all_view VARCHAR(64) NOT NULL
Definition: dbMetaRow.h:779
string langCode
language code
Definition: dbMetaRow.h:1083
string digest
model_digest VARCHAR(32) NOT NULL
Definition: dbMetaRow.h:123
lang_lst table row.
Definition: dbMetaRow.h:39
string langCode
language code
Definition: dbMetaRow.h:640
int langId
lang_id INT NOT NULL
Definition: dbMetaRow.h:86
TableExprTxtRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1171
int langId
lang_id INT NOT NULL
Definition: dbMetaRow.h:1799
int taskId
task_id INT NOT NULL
Definition: dbMetaRow.h:1796
int taskId
task_id INT NOT NULL
Definition: dbMetaRow.h:1880
int enumId
enum_id INT NOT NULL
Definition: dbMetaRow.h:434
int typeId
model_type_id INT NOT NULL
Definition: dbMetaRow.h:344
TableDicRow(int i_modelId, int i_tableId)
create row with supplied key field values.
Definition: dbMetaRow.h:791
string sqlExpr
expr_sql VARCHAR(2048) NOT NULL
Definition: dbMetaRow.h:1114
TableAccTxtRow(int i_modelId, int i_tableId, int i_accId, int i_langId)
create row with supplied key field values.
Definition: dbMetaRow.h:1058
TypeDicTxtRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:365
ParamDimsTxtRow(int i_modelId, int i_paramId, int i_dimId, int i_langId)
create row with supplied key field values.
Definition: dbMetaRow.h:711
string name
run_name VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:1387
int paramId
model_parameter_id INT NOT NULL
Definition: dbMetaRow.h:487
int rank
parameter_rank INT NOT NULL
Definition: dbMetaRow.h:499
int langId
lang_id INT NOT NULL
Definition: dbMetaRow.h:702
string value
word_value VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:230
run_lst table row.
Definition: dbMetaRow.h:1378
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:117
int runId
run_id INT NOT NULL
Definition: dbMetaRow.h:1489
base class for model metadata db-rows
Definition: dbMetaRow.h:23
int exprId
expr_id INT NOT NULL
Definition: dbMetaRow.h:1149
string code
code VARCHAR(...) NOT NULL
Definition: dbMetaRow.h:1969
RunOptionRow(int i_runId, const string &i_key)
create row with supplied primary key field values.
Definition: dbMetaRow.h:1498
GroupPcRow(int i_modelId, int i_groupId, int i_childPos)
create row with supplied primary key field values.
Definition: dbMetaRow.h:1305
int dimId
dim_id INT NOT NULL
Definition: dbMetaRow.h:893
string note
note VARCHAR(32000)
Definition: dbMetaRow.h:1158
ModelDicRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:150
string fromModel
from_model_name VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:570
string descr
descr VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:179
int langId
lang_id INT NOT NULL
Definition: dbMetaRow.h:1244
WorksetParamRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1687
TypeDicRow(int i_modelId, int i_typeId)
create row with supplied unique key field values.
Definition: dbMetaRow.h:287
string note
note VARCHAR(32000)
Definition: dbMetaRow.h:1621
TableDimsTxtRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:962
string descr
descr VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:1052
string digest
type_digest VARCHAR(32) NOT NULL
Definition: dbMetaRow.h:278
ModelWordRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:241
int taskRunId
task_run_id INT NOT NULL
Definition: dbMetaRow.h:1931
string createDateTime
create_dt VARCHAR(32) NOT NULL
Definition: dbMetaRow.h:1402
TableAccRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1022
RunParamTxtRow(int i_runId, int i_paramId, int i_langId)
create row with supplied primary key field values.
Definition: dbMetaRow.h:1535
static bool keyLess(const IRowBaseUptr &i_left, const IRowBaseUptr &i_right)
less comparator by row primary key.
Definition: dbMetaRow.h:26
string langCode
language code
Definition: dbMetaRow.h:471
workset_lst table row.
Definition: dbMetaRow.h:1563
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:173
int typeId
model_type_id INT NOT NULL
Definition: dbMetaRow.h:272
string name
run_name VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:1883
string key
option_key VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:1353
string descr
descr VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:440
model_dic table row and default model language code.
Definition: dbMetaRow.h:163
string langCode
language code
Definition: dbMetaRow.h:1186
table_acc table row.
Definition: dbMetaRow.h:987
TaskRunLstRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1913
model_word table row.
Definition: dbMetaRow.h:218
LangLstRow(const string &i_code)
create row with supplied unique key: language code.
Definition: dbMetaRow.h:58
int groupId
group_id INT NOT NULL
Definition: dbMetaRow.h:1202
string value
value VARCHAR(...) NOT NULL
Definition: dbMetaRow.h:1972
ParamDimsTxtRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:721
string note
note VARCHAR(32000)
Definition: dbMetaRow.h:1805
string dbAccTable
db_acc_table VARCHAR(64) NOT NULL
Definition: dbMetaRow.h:776
TaskRunSetRow(int i_taskRunId, int i_runId)
create row with supplied primary key field values.
Definition: dbMetaRow.h:1943
table_dims_txt table row and language code.
Definition: dbMetaRow.h:974
int defaultSubId
default_sub_id INT NOT NULL
Definition: dbMetaRow.h:1675
bool isExtendable
is_extendable SMALLINT NOT NULL
Definition: dbMetaRow.h:505
LangLstRow(int i_langId)
create row with supplied primary key field values.
Definition: dbMetaRow.h:51
int langId
lang_id INT NOT NULL
Definition: dbMetaRow.h:1615
run_parameter_txt join to model_parameter_dic table row.
Definition: dbMetaRow.h:1517
string dbRunTable
db_run_table VARCHAR(64) NOT NULL
Definition: dbMetaRow.h:514
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:827
string descr
descr VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:1802
string value
word_value VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:92
string name
type_name VARCHAR(255) NOT NULL, – type name: int, double, etc.
Definition: dbMetaRow.h:275
string createDateTime
create_dt VARCHAR(32) NOT NULL
Definition: dbMetaRow.h:132
int tableId
table_id INT NOT NULL
Definition: dbMetaRow.h:890
TaskRunLstRow(int i_taskRunId)
create row with supplied primary key field values.
Definition: dbMetaRow.h:1901
ParamDicTxtRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:625
LangWordRow(int i_langId, const string &i_code)
create row with supplied primary key field values.
Definition: dbMetaRow.h:95
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:1666
TypeEnumLstRow(int i_modelId, int i_typeId, int i_enumId)
create row with supplied unique key field values.
Definition: dbMetaRow.h:405
int setId
set_id INT NOT NULL
Definition: dbMetaRow.h:1937
profile_option table row.
Definition: dbMetaRow.h:1347
int langId
lang_id INT NOT NULL
Definition: dbMetaRow.h:347
string descr
descr VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:1456
int setId
set_id INT NOT NULL
Definition: dbMetaRow.h:1612
string version
model_ver VARCHAR(32) NOT NULL
Definition: dbMetaRow.h:129
table_dic_txt table row and language code.
Definition: dbMetaRow.h:871
int langId
lang_id INT NOT NULL
Definition: dbMetaRow.h:833
int subCount
sub_count INT NOT NULL
Definition: dbMetaRow.h:1390
parameter_dic_txt join to model_parameter_dic table row.
Definition: dbMetaRow.h:598
string value
option_value VARCHAR(2048) NOT NULL
Definition: dbMetaRow.h:1495
run_option table row.
Definition: dbMetaRow.h:1486
TaskTxtRow(int i_taskId, int i_langId)
create row with supplied primary key field values.
Definition: dbMetaRow.h:1808
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:1143
TypeEnumTxtRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:456
int langId
lang_id INT NOT NULL
Definition: dbMetaRow.h:437
int dicId
dic_id INT NOT NULL, – dictionary id: 0=simple 1=logical 2=classification 3=range 4=partition 5=link...
Definition: dbMetaRow.h:281
TaskSetRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1859
task_lst table row.
Definition: dbMetaRow.h:1759
string name
group_name VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:1208
string dbExprTable
db_expr_table VARCHAR(64) NOT NULL
Definition: dbMetaRow.h:773
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:269
string updateDateTime
update_dt VARCHAR(32) NOT NULL
Definition: dbMetaRow.h:1408
string status
run status: i=init p=progress s=success e=error(failed)
Definition: dbMetaRow.h:1405
bool isHidden
is_hidden SMALLINT NOT NULL
Definition: dbMetaRow.h:508
int totalEnumId
total_enum_id INT NOT NULL, – if total enabled this is enum_value of total item =max+1 ...
Definition: dbMetaRow.h:284
int runId
run_id INT NOT NULL
Definition: dbMetaRow.h:1934
ProfileLstRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1335
string tableName
table_name VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:755
TableExprRow(int i_modelId, int i_tableId, int i_exprId)
create row with supplied key field values.
Definition: dbMetaRow.h:1117
task_run_lst table row.
Definition: dbMetaRow.h:1874
parameter_dic join to model_parameter_dic table row.
Definition: dbMetaRow.h:481
int rank
table_rank INT NOT NULL
Definition: dbMetaRow.h:767
type_dic_txt join to model_type_dic table row and language code.
Definition: dbMetaRow.h:377
string langCode
language code
Definition: dbMetaRow.h:256
workset_txt table row and language code.
Definition: dbMetaRow.h:1647
int dimSize
dim_size INT NOT NULL
Definition: dbMetaRow.h:905
string langCode
language code
Definition: dbMetaRow.h:1277
string key
option_key VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:1492
string langCode
language code
Definition: dbMetaRow.h:977
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:221
string importDigest
import_digest VARCHAR(32) NOT NULL
Definition: dbMetaRow.h:788
model_dic table row.
Definition: dbMetaRow.h:114
table_dims table row.
Definition: dbMetaRow.h:884
WorksetLstRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1594
WorksetParamTxtRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1729
TableAccRow(int i_modelId, int i_tableId, int i_accid)
create row with supplied key field values.
Definition: dbMetaRow.h:1011
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:887
int dimId
dim_id INT NOT NULL
Definition: dbMetaRow.h:659
int setId
set_id INT NOT NULL
Definition: dbMetaRow.h:1850
model_word table row and language code.
Definition: dbMetaRow.h:253
int defaultLangId
default_lang_id INT NOT NULL
Definition: dbMetaRow.h:135
TableAccTxtRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1068
int taskRunId
task_run_id INT NOT NULL
Definition: dbMetaRow.h:1877
int paramId
parameter_id INT NOT NULL
Definition: dbMetaRow.h:1526
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:341
int numCumulated
num_cumulated INT NOT NULL
Definition: dbMetaRow.h:511
static bool keyEqual(const IRowBaseUptr &i_left, const IRowBaseUptr &i_right)
equal comparator by row primary key.
Definition: dbMetaRow.h:32
string note
note VARCHAR(32000)
Definition: dbMetaRow.h:839
CodeValueRow(const string &i_code, const string i_value)
create row with supplied field values.
Definition: dbMetaRow.h:1975
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:484
string name
lang_name VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:48
string note
note VARCHAR(32000)
Definition: dbMetaRow.h:1459
string descr
descr VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:350
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:1290
LangWordRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:102
bool isUser
is_user SMALLINT NOT NULL
Definition: dbMetaRow.h:764
string descr
descr VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:836
TableExprRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1128
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:749
int typeId
model_type_id INT NOT NULL
Definition: dbMetaRow.h:665
int taskId
task_id INT NOT NULL
Definition: dbMetaRow.h:1762
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:1040
group_pc table row.
Definition: dbMetaRow.h:1287
int type
model_type INT NOT NULL
Definition: dbMetaRow.h:126
int langId
lang_id INT NOT NULL
Definition: dbMetaRow.h:1049
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:693
bool isDerived
is_derived SMALLINT NOT NULL
Definition: dbMetaRow.h:1002
string status
task status: i=init p=progress w=wait s=success x=exit e=error(failed)
Definition: dbMetaRow.h:1892
int tableId
TableID INT NOT NULL.
Definition: dbMetaRow.h:1146
TypeDicRow(void)
create row with default empty key values.
Definition: dbMetaRow.h:296
int groupId
group_id INT NOT NULL
Definition: dbMetaRow.h:1293
string langCode
language code
Definition: dbMetaRow.h:380
int decimals
expr_decimals INT NOT NULL
Definition: dbMetaRow.h:1108
string note
note VARCHAR(32000)
Definition: dbMetaRow.h:708
int childGroupId
child_group_id INT NULL
Definition: dbMetaRow.h:1299
task_txt table row.
Definition: dbMetaRow.h:1793
int paramId
model_parameter_id INT NOT NULL
Definition: dbMetaRow.h:696
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:1765
string name
profile_name VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:1350
group_lst table row.
Definition: dbMetaRow.h:1196
TypeEnumLstRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:413
OpenM++ data library: public interface for db common structures.
TaskLstRow(int i_taskId)
create row with supplied primary key field values.
Definition: dbMetaRow.h:1771
string langCode
language code
Definition: dbMetaRow.h:1749
string code
word_code VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:227
TableDimsRow(int i_modelId, int i_tableId, int i_dimId)
create row with supplied key field values.
Definition: dbMetaRow.h:908
int setId
set_id INT NOT NULL
Definition: dbMetaRow.h:1566
int langId
lang_id INT NOT NULL
Definition: dbMetaRow.h:42
CodeValueRow(const string &i_code)
create row with supplied primary key field values.
Definition: dbMetaRow.h:1981
parameter_dic join to model_parameter_import table row.
Definition: dbMetaRow.h:555
int paramHid
parameter_hid INT NOT NULL, – unique parameter id
Definition: dbMetaRow.h:564
int langId
lang_id INT NOT NULL
Definition: dbMetaRow.h:176
#define OM_MAX_BUILTIN_TYPE_ID
max type id for built-int types, ie: int, double, logical
Definition: dbMetaRow.h:18
table_acc_txt table row.
Definition: dbMetaRow.h:1037
int typeId
model_type_id INT NOT NULL
Definition: dbMetaRow.h:502
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:1450
int exprPos
expr_dim_pos INT NOT NULL
Definition: dbMetaRow.h:782
string note
note VARCHAR(32000)
Definition: dbMetaRow.h:949
workset_parameter_txt join to model_parameter_dic table row.
Definition: dbMetaRow.h:1702
table_dic table row.
Definition: dbMetaRow.h:746
parameter_dims_txt table row and language code.
Definition: dbMetaRow.h:733
ModelDicRow(int i_modelId)
create row with supplied primary key field values.
Definition: dbMetaRow.h:139
string srcExpr
expr_src VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:1111
string runStamp
run_stamp VARCHAR(32) NOT NULL
Definition: dbMetaRow.h:1898
table_expr_txt table row and language code.
Definition: dbMetaRow.h:1183
int childPos
child_pos INT NOT NULL
Definition: dbMetaRow.h:1296
GroupTxtRow(int i_modelId, int i_groupId, int i_langId)
create row with supplied primary key field values.
Definition: dbMetaRow.h:1253
string accSrc
acc_src VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:1005
RunLstRow(int i_runId)
create row with supplied primary key field values.
Definition: dbMetaRow.h:1414
type_dic join to model_type_dic table row.
Definition: dbMetaRow.h:266
string langCode
language code
Definition: dbMetaRow.h:1559
int subCount
sub_count INT NOT NULL
Definition: dbMetaRow.h:1886
RunTxtRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1471
string name
model_name VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:120
int subCount
sub_count INT NOT NULL
Definition: dbMetaRow.h:1672
int tableHid
table_hid INT NOT NULL, – unique table id
Definition: dbMetaRow.h:758
int tableId
table_id INT NOT NULL
Definition: dbMetaRow.h:830
run_txt table row.
Definition: dbMetaRow.h:1444
GroupTxtRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1262
string langCode
language code
Definition: dbMetaRow.h:736
ModelWordRow(int i_modelId, int i_langId, const string &i_code)
create row with supplied primary key field values.
Definition: dbMetaRow.h:233
RunLstRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1429
task_run_set table row.
Definition: dbMetaRow.h:1928
int langId
lang_id INT NOT NULL
Definition: dbMetaRow.h:224
task_set table row.
Definition: dbMetaRow.h:1844
int setId
set_id INT NOT NULL
Definition: dbMetaRow.h:1663
string descr
descr VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:1618
RunParamTxtRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1544
unique_ptr< IRowBase > IRowBaseUptr
unique pointer to db row
Definition: omHelper.h:187
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:1199
int baseRunId
base_run_id INT NULL
Definition: dbMetaRow.h:1569
TableDimsTxtRow(int i_modelId, int i_tableId, int i_dimId, int i_langId)
create row with supplied key field values.
Definition: dbMetaRow.h:952
string note
note VARCHAR(32000)
Definition: dbMetaRow.h:1717
GroupLstRow(int i_modelId, int i_groupId)
create row with supplied primary key field values.
Definition: dbMetaRow.h:1214
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:1708
WorksetParamTxtRow(int i_setId, int i_langId, int i_paramId)
create row with supplied primary key field values.
Definition: dbMetaRow.h:1720
int enumId
enum_id INT NOT NULL
Definition: dbMetaRow.h:399
ParamDicRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:540
int typeId
model_type_id INT NOT NULL
Definition: dbMetaRow.h:431
bool isSampleDim
is_sample_dim SMALLINT NOT NULL
Definition: dbMetaRow.h:573
string defaultLangCode
default model language code
Definition: dbMetaRow.h:166
int tableId
table_id INT NOT NULL
Definition: dbMetaRow.h:937
WorksetTxtRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1632
table_expr_txt table row.
Definition: dbMetaRow.h:1140
string name
profile_name VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:1329
int langId
lang_id INT NOT NULL
Definition: dbMetaRow.h:1453
string createDateTime
create_dt VARCHAR(32) NOT NULL
Definition: dbMetaRow.h:1889
int accId
acc_id INT NOT NULL
Definition: dbMetaRow.h:1046
bool isTotal
is_total SMALLINT NOT NULL
Definition: dbMetaRow.h:902