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  ParamDicRow(int i_modelId, int i_paramId) :
521  modelId(i_modelId),
522  paramId(i_paramId),
523  paramName(""),
524  paramHid(0),
525  digest(""),
526  rank(0),
527  typeId(0),
528  isExtendable(0),
529  isHidden(false),
530  numCumulated(0),
531  dbRunTable(""),
532  dbSetTable("")
533  { }
534 
536  ParamDicRow(void) : ParamDicRow(0, 0) { }
537 
538  ~ParamDicRow(void) noexcept { }
539 
541  static bool isKeyLess(const ParamDicRow & i_left, const ParamDicRow & i_right);
542 
544  static bool isKeyEqual(const ParamDicRow & i_left, const ParamDicRow & i_right);
545 
547  static vector<ParamDicRow>::const_iterator byKey(int i_modelId, int i_paramId, const vector<ParamDicRow> & i_rowVec);
548  };
549 
551  struct ParamDicTxtRow : public IMetaRow<ParamDicTxtRow>
552  {
554  int modelId;
555 
557  int paramId;
558 
560  int langId;
561 
563  string descr;
564 
566  string note;
567 
569  ParamDicTxtRow(int i_modelId, int i_paramId, int i_langId) :
570  modelId(i_modelId),
571  paramId(i_paramId),
572  langId(i_langId),
573  descr(""),
574  note("")
575  { }
576 
578  ParamDicTxtRow(void) : ParamDicTxtRow(0, 0, 0) { }
579 
580  ~ParamDicTxtRow(void) noexcept { }
581 
583  static bool isKeyLess(const ParamDicTxtRow & i_left, const ParamDicTxtRow & i_right);
584 
586  static bool isKeyEqual(const ParamDicTxtRow & i_left, const ParamDicTxtRow & i_right);
587  };
588 
591  {
593  string langCode;
594 
596  static bool uniqueLangKeyLess(const ParamDicTxtLangRow & i_left, const ParamDicTxtLangRow & i_right);
597 
599  static bool uniqueLangKeyEqual(const ParamDicTxtLangRow & i_left, const ParamDicTxtLangRow & i_right);
600  };
601 
603  struct ParamDimsRow : public IMetaRow<ParamDimsRow>
604  {
606  int modelId;
607 
609  int paramId;
610 
612  int dimId;
613 
615  string name;
616 
618  int typeId;
619 
621  ParamDimsRow(int i_modelId, int i_paramId, int i_dimId) :
622  modelId(i_modelId),
623  paramId(i_paramId),
624  dimId(i_dimId),
625  name(""),
626  typeId(0)
627  { }
628 
630  ParamDimsRow(void) : ParamDimsRow(0, 0, 0) { }
631 
632  ~ParamDimsRow(void) noexcept { }
633 
635  static bool isKeyLess(const ParamDimsRow & i_left, const ParamDimsRow & i_right);
636 
638  static bool isKeyEqual(const ParamDimsRow & i_left, const ParamDimsRow & i_right);
639  };
640 
641 
643  struct ParamDimsTxtRow : public IMetaRow<ParamDimsTxtRow>
644  {
646  int modelId;
647 
649  int paramId;
650 
652  int dimId;
653 
655  int langId;
656 
658  string descr;
659 
661  string note;
662 
664  ParamDimsTxtRow(int i_modelId, int i_paramId, int i_dimId, int i_langId) :
665  modelId(i_modelId),
666  paramId(i_paramId),
667  dimId(i_dimId),
668  langId(i_langId),
669  descr(""),
670  note("")
671  { }
672 
674  ParamDimsTxtRow(void) : ParamDimsTxtRow(0, 0, 0, 0) { }
675 
676  ~ParamDimsTxtRow(void) noexcept { }
677 
679  static bool isKeyLess(const ParamDimsTxtRow & i_left, const ParamDimsTxtRow & i_right);
680 
682  static bool isKeyEqual(const ParamDimsTxtRow & i_left, const ParamDimsTxtRow & i_right);
683  };
684 
687  {
689  string langCode;
690 
692  static bool uniqueLangKeyLess(const ParamDimsTxtLangRow & i_left, const ParamDimsTxtLangRow & i_right);
693 
695  static bool uniqueLangKeyEqual(const ParamDimsTxtLangRow & i_left, const ParamDimsTxtLangRow & i_right);
696  };
697 
699  struct TableDicRow : public IMetaRow<TableDicRow>
700  {
702  int modelId;
703 
705  int tableId;
706 
708  string tableName;
709 
711  int tableHid;
712 
714  string digest;
715 
717  bool isUser;
718 
720  int rank;
721 
723  bool isSparse;
724 
726  string dbExprTable;
727 
729  string dbAccTable;
730 
732  string dbAccAll;
733 
735  int exprPos;
736 
738  TableDicRow(int i_modelId, int i_tableId) :
739  modelId(i_modelId),
740  tableId(i_tableId),
741  tableName(""),
742  tableHid(0),
743  digest(""),
744  isUser(false),
745  rank(1),
746  isSparse(false),
747  dbExprTable(""),
748  dbAccTable(""),
749  dbAccAll(""),
750  exprPos(-1)
751  { }
752 
754  TableDicRow(void) : TableDicRow(0, 0) { }
755 
756  ~TableDicRow(void) noexcept { }
757 
759  static bool isKeyLess(const TableDicRow & i_left, const TableDicRow & i_right);
760 
762  static bool isKeyEqual(const TableDicRow & i_left, const TableDicRow & i_right);
763 
765  static vector<TableDicRow>::const_iterator byKey(int i_modelId, int i_tableId, const vector<TableDicRow> & i_rowVec);
766  };
767 
769  struct TableDicTxtRow : public IMetaRow<TableDicTxtRow>
770  {
772  int modelId;
773 
775  int tableId;
776 
778  int langId;
779 
781  string descr;
782 
784  string note;
785 
787  string exprDescr;
788 
790  string exprNote;
791 
793  TableDicTxtRow(int i_modelId, int i_tableId, int i_langId) :
794  modelId(i_modelId),
795  tableId(i_tableId),
796  langId(i_langId),
797  descr(""),
798  note(""),
799  exprDescr(""),
800  exprNote("")
801  { }
802 
804  TableDicTxtRow(void) : TableDicTxtRow(0, 0, 0) { }
805 
806  ~TableDicTxtRow(void) noexcept { }
807 
809  static bool isKeyLess(const TableDicTxtRow & i_left, const TableDicTxtRow & i_right);
810 
812  static bool isKeyEqual(const TableDicTxtRow & i_left, const TableDicTxtRow & i_right);
813  };
814 
817  {
819  string langCode;
820 
822  static bool uniqueLangKeyLess(const TableDicTxtLangRow & i_left, const TableDicTxtLangRow & i_right);
823 
825  static bool uniqueLangKeyEqual(const TableDicTxtLangRow & i_left, const TableDicTxtLangRow & i_right);
826  };
827 
829  struct TableDimsRow : public IMetaRow<TableDimsRow>
830  {
832  int modelId;
833 
835  int tableId;
836 
838  int dimId;
839 
841  string name;
842 
844  int typeId;
845 
847  bool isTotal;
848 
850  int dimSize;
851 
853  TableDimsRow(int i_modelId, int i_tableId, int i_dimId) :
854  modelId(i_modelId),
855  tableId(i_tableId),
856  dimId(i_dimId),
857  name(""),
858  typeId(0),
859  isTotal(false),
860  dimSize(1)
861  { }
862 
864  TableDimsRow(void) : TableDimsRow(0, 0, 0) { }
865 
866  ~TableDimsRow(void) noexcept { }
867 
869  static bool isKeyLess(const TableDimsRow & i_left, const TableDimsRow & i_right);
870 
872  static bool isKeyEqual(const TableDimsRow & i_left, const TableDimsRow & i_right);
873  };
874 
876  struct TableDimsTxtRow : public IMetaRow<TableDimsTxtRow>
877  {
879  int modelId;
880 
882  int tableId;
883 
885  int dimId;
886 
888  int langId;
889 
891  string descr;
892 
894  string note;
895 
897  TableDimsTxtRow(int i_modelId, int i_tableId, int i_dimId, int i_langId) :
898  modelId(i_modelId),
899  tableId(i_tableId),
900  dimId(i_dimId),
901  langId(i_langId),
902  descr(""),
903  note("")
904  { }
905 
907  TableDimsTxtRow(void) : TableDimsTxtRow(0, 0, 0, 0) { }
908 
909  ~TableDimsTxtRow(void) noexcept { }
910 
912  static bool isKeyLess(const TableDimsTxtRow & i_left, const TableDimsTxtRow & i_right);
913 
915  static bool isKeyEqual(const TableDimsTxtRow & i_left, const TableDimsTxtRow & i_right);
916  };
917 
920  {
922  string langCode;
923 
925  static bool uniqueLangKeyLess(const TableDimsTxtLangRow & i_left, const TableDimsTxtLangRow & i_right);
926 
928  static bool uniqueLangKeyEqual(const TableDimsTxtLangRow & i_left, const TableDimsTxtLangRow & i_right);
929  };
930 
932  struct TableAccRow : public IMetaRow<TableAccRow>
933  {
935  int modelId;
936 
938  int tableId;
939 
941  int accId;
942 
944  string name;
945 
947  bool isDerived;
948 
950  string accSrc;
951 
953  string accSql;
954 
956  TableAccRow(int i_modelId, int i_tableId, int i_accid) :
957  modelId(i_modelId),
958  tableId(i_tableId),
959  accId(i_accid),
960  name(""),
961  isDerived(false),
962  accSrc(""),
963  accSql("")
964  { }
965 
967  TableAccRow(void) : TableAccRow(0, 0, 0) { }
968 
969  ~TableAccRow(void) noexcept { }
970 
972  static bool isKeyLess(const TableAccRow & i_left, const TableAccRow & i_right);
973 
975  static bool isKeyEqual(const TableAccRow & i_left, const TableAccRow & i_right);
976 
978  static vector<TableAccRow>::const_iterator byKey(int i_modelId, int i_tableId, int i_accId, const vector<TableAccRow> & i_rowVec);
979  };
980 
982  struct TableAccTxtRow : public IMetaRow<TableAccTxtRow>
983  {
985  int modelId;
986 
988  int tableId;
989 
991  int accId;
992 
994  int langId;
995 
997  string descr;
998 
1000  string note;
1001 
1003  TableAccTxtRow(int i_modelId, int i_tableId, int i_accId, int i_langId) :
1004  modelId(i_modelId),
1005  tableId(i_tableId),
1006  accId(i_accId),
1007  langId(i_langId),
1008  descr(""),
1009  note("")
1010  { }
1011 
1013  TableAccTxtRow(void) : TableAccTxtRow(0, 0, 0, 0) { }
1014 
1015  ~TableAccTxtRow(void) noexcept { }
1016 
1018  static bool isKeyLess(const TableAccTxtRow & i_left, const TableAccTxtRow & i_right);
1019 
1021  static bool isKeyEqual(const TableAccTxtRow & i_left, const TableAccTxtRow & i_right);
1022  };
1023 
1026  {
1028  string langCode;
1029 
1031  static bool uniqueLangKeyLess(const TableAccTxtLangRow & i_left, const TableAccTxtLangRow & i_right);
1032 
1034  static bool uniqueLangKeyEqual(const TableAccTxtLangRow & i_left, const TableAccTxtLangRow & i_right);
1035  };
1036 
1038  struct TableExprRow : public IMetaRow<TableExprRow>
1039  {
1041  int modelId;
1042 
1044  int tableId;
1045 
1047  int exprId;
1048 
1050  string name;
1051 
1054 
1056  string srcExpr;
1057 
1059  string sqlExpr;
1060 
1062  TableExprRow(int i_modelId, int i_tableId, int i_exprId) :
1063  modelId(i_modelId),
1064  tableId(i_tableId),
1065  exprId(i_exprId),
1066  name(""),
1067  decimals(0),
1068  srcExpr(""),
1069  sqlExpr("")
1070  { }
1071 
1073  TableExprRow(void) : TableExprRow(0, 0, 0) { }
1074 
1075  ~TableExprRow(void) noexcept { }
1076 
1078  static bool isKeyLess(const TableExprRow & i_left, const TableExprRow & i_right);
1079 
1081  static bool isKeyEqual(const TableExprRow & i_left, const TableExprRow & i_right);
1082  };
1083 
1085  struct TableExprTxtRow : public IMetaRow<TableExprTxtRow>
1086  {
1088  int modelId;
1089 
1091  int tableId;
1092 
1094  int exprId;
1095 
1097  int langId;
1098 
1100  string descr;
1101 
1103  string note;
1104 
1106  TableExprTxtRow(int i_modelId, int i_tableId, int i_exprId, int i_langId) :
1107  modelId(i_modelId),
1108  tableId(i_tableId),
1109  exprId(i_exprId),
1110  langId(i_langId),
1111  descr(""),
1112  note("")
1113  { }
1114 
1116  TableExprTxtRow(void) : TableExprTxtRow(0, 0, 0, 0) { }
1117 
1118  ~TableExprTxtRow(void) noexcept { }
1119 
1121  static bool isKeyLess(const TableExprTxtRow & i_left, const TableExprTxtRow & i_right);
1122 
1124  static bool isKeyEqual(const TableExprTxtRow & i_left, const TableExprTxtRow & i_right);
1125  };
1126 
1129  {
1131  string langCode;
1132 
1134  static bool uniqueLangKeyLess(const TableExprTxtLangRow & i_left, const TableExprTxtLangRow & i_right);
1135 
1137  static bool uniqueLangKeyEqual(const TableExprTxtLangRow & i_left, const TableExprTxtLangRow & i_right);
1138  };
1139 
1141  struct GroupLstRow : public IMetaRow<GroupLstRow>
1142  {
1144  int modelId;
1145 
1147  int groupId;
1148 
1150  bool isParam;
1151 
1153  string name;
1154 
1156  bool isHidden;
1157 
1159  GroupLstRow(int i_modelId, int i_groupId) :
1160  modelId(i_modelId),
1161  groupId(i_groupId),
1162  isParam(false),
1163  name(""),
1164  isHidden(false)
1165  { }
1166 
1168  GroupLstRow(void) : GroupLstRow(0, 0) { }
1169 
1170  ~GroupLstRow(void) noexcept { }
1171 
1173  static bool isKeyLess(const GroupLstRow & i_left, const GroupLstRow & i_right);
1174 
1176  static bool isKeyEqual(const GroupLstRow & i_left, const GroupLstRow & i_right);
1177  };
1178 
1180  struct GroupTxtRow : public IMetaRow<GroupTxtRow>
1181  {
1183  int modelId;
1184 
1186  int groupId;
1187 
1189  int langId;
1190 
1192  string descr;
1193 
1195  string note;
1196 
1198  GroupTxtRow(int i_modelId, int i_groupId, int i_langId) :
1199  modelId(i_modelId),
1200  groupId(i_groupId),
1201  langId(i_langId),
1202  descr(""),
1203  note("")
1204  { }
1205 
1207  GroupTxtRow(void) : GroupTxtRow(0, 0, 0) { }
1208 
1209  ~GroupTxtRow(void) noexcept { }
1210 
1212  static bool isKeyLess(const GroupTxtRow & i_left, const GroupTxtRow & i_right);
1213 
1215  static bool isKeyEqual(const GroupTxtRow & i_left, const GroupTxtRow & i_right);
1216  };
1217 
1220  {
1222  string langCode;
1223 
1225  static bool uniqueLangKeyLess(const GroupTxtLangRow & i_left, const GroupTxtLangRow & i_right);
1226 
1228  static bool uniqueLangKeyEqual(const GroupTxtLangRow & i_left, const GroupTxtLangRow & i_right);
1229  };
1230 
1232  struct GroupPcRow : public IMetaRow<GroupPcRow>
1233  {
1235  int modelId;
1236 
1238  int groupId;
1239 
1242 
1245 
1247  int leafId;
1248 
1250  GroupPcRow(int i_modelId, int i_groupId, int i_childPos) :
1251  modelId(i_modelId),
1252  groupId(i_groupId),
1253  childPos(i_childPos),
1254  childGroupId(-1),
1255  leafId(-1)
1256  { }
1257 
1259  GroupPcRow(void) : GroupPcRow(0, 0, 0) { }
1260 
1261  ~GroupPcRow(void) noexcept { }
1262 
1264  static bool isKeyLess(const GroupPcRow & i_left, const GroupPcRow & i_right);
1265 
1267  static bool isKeyEqual(const GroupPcRow & i_left, const GroupPcRow & i_right);
1268  };
1269 
1271  struct ProfileLstRow : public IMetaRow<ProfileLstRow>
1272  {
1274  string name;
1275 
1277  ProfileLstRow(const string & i_name) : name(i_name) { }
1278 
1281 
1282  ~ProfileLstRow(void) noexcept { }
1283 
1285  static bool isKeyLess(const ProfileLstRow & i_left, const ProfileLstRow & i_right);
1286 
1288  static bool isKeyEqual(const ProfileLstRow & i_left, const ProfileLstRow & i_right);
1289  };
1290 
1292  struct ProfileOptionRow : public IMetaRow<ProfileOptionRow>
1293  {
1295  string name;
1296 
1298  string key;
1299 
1301  string value;
1302 
1304  ProfileOptionRow(const string & i_name, const string & i_key) :
1305  name(i_name),
1306  key(i_key),
1307  value("")
1308  { }
1309 
1312 
1313  ~ProfileOptionRow(void) noexcept { }
1314 
1316  static bool isKeyLess(const ProfileOptionRow & i_left, const ProfileOptionRow & i_right);
1317 
1319  static bool isKeyEqual(const ProfileOptionRow & i_left, const ProfileOptionRow & i_right);
1320  };
1321 
1323  struct RunLstRow : public IMetaRow<RunLstRow>
1324  {
1326  int runId;
1327 
1329  int modelId;
1330 
1332  string name;
1333 
1336 
1339 
1342 
1345 
1348 
1350  string status;
1351 
1354 
1356  string runStamp;
1357 
1359  RunLstRow(int i_runId) :
1360  runId(i_runId),
1361  modelId(0),
1362  name(""),
1363  subCount(0),
1364  subStarted(0),
1365  subCompleted(0),
1366  subRestart(0),
1367  createDateTime(""),
1368  status(""),
1369  updateDateTime(""),
1370  runStamp("")
1371  { }
1372 
1374  RunLstRow(void) : RunLstRow(0) { }
1375 
1376  ~RunLstRow(void) noexcept { }
1377 
1379  static bool isKeyLess(const RunLstRow & i_left, const RunLstRow & i_right);
1380 
1382  static bool isKeyEqual(const RunLstRow & i_left, const RunLstRow & i_right);
1383 
1385  static vector<RunLstRow>::const_iterator byKey(int i_runId, const vector<RunLstRow> & i_rowVec);
1386  };
1387 
1389  struct RunTxtRow : public IMetaRow<RunTxtRow>
1390  {
1392  int runId;
1393 
1395  int modelId;
1396 
1398  int langId;
1399 
1401  string descr;
1402 
1404  string note;
1405 
1407  RunTxtRow(int i_runId, int i_langId) :
1408  runId(i_runId),
1409  modelId(0),
1410  langId(i_langId),
1411  descr(""),
1412  note("")
1413  { }
1414 
1416  RunTxtRow(void) : RunTxtRow(0, 0) { }
1417 
1418  ~RunTxtRow(void) noexcept { }
1419 
1421  static bool isKeyLess(const RunTxtRow & i_left, const RunTxtRow & i_right);
1422 
1424  static bool isKeyEqual(const RunTxtRow & i_left, const RunTxtRow & i_right);
1425 
1427  static vector<RunTxtRow>::const_iterator byKey(int i_runId, int i_langId, const vector<RunTxtRow> & i_rowVec);
1428  };
1429 
1431  struct RunOptionRow : public IMetaRow<RunOptionRow>
1432  {
1434  int runId;
1435 
1437  string key;
1438 
1440  string value;
1441 
1443  RunOptionRow(int i_runId, const string & i_key) :
1444  runId(i_runId),
1445  key(i_key),
1446  value("")
1447  { }
1448 
1450  RunOptionRow(void) : RunOptionRow(0, "") { }
1451 
1452  ~RunOptionRow(void) noexcept { }
1453 
1455  static bool isKeyLess(const RunOptionRow & i_left, const RunOptionRow & i_right);
1456 
1458  static bool isKeyEqual(const RunOptionRow & i_left, const RunOptionRow & i_right);
1459  };
1460 
1462  struct RunParamTxtRow : public IMetaRow<RunParamTxtRow>
1463  {
1465  int runId;
1466 
1468  int modelId;
1469 
1471  int paramId;
1472 
1474  int langId;
1475 
1477  string note;
1478 
1480  RunParamTxtRow(int i_runId, int i_paramId, int i_langId) :
1481  runId(i_runId),
1482  modelId(0),
1483  paramId(i_paramId),
1484  langId(i_langId),
1485  note("")
1486  { }
1487 
1489  RunParamTxtRow(void) : RunParamTxtRow(0, 0, 0) { }
1490 
1491  ~RunParamTxtRow(void) noexcept { }
1492 
1494  static bool isKeyLess(const RunParamTxtRow & i_left, const RunParamTxtRow & i_right);
1495 
1497  static bool isKeyEqual(const RunParamTxtRow & i_left, const RunParamTxtRow & i_right);
1498  };
1499 
1502  {
1504  string langCode;
1505  };
1506 
1508  struct WorksetLstRow : public IMetaRow<WorksetLstRow>
1509  {
1511  int setId;
1512 
1515 
1517  int modelId;
1518 
1520  string name;
1521 
1524 
1527 
1529  WorksetLstRow(int i_setId) :
1530  setId(i_setId),
1531  baseRunId(0),
1532  modelId(0),
1533  name(""),
1534  isReadonly(false),
1535  updateDateTime("")
1536  { }
1537 
1540 
1541  ~WorksetLstRow(void) noexcept { }
1542 
1544  static bool isKeyLess(const WorksetLstRow & i_left, const WorksetLstRow & i_right);
1545 
1547  static bool isKeyEqual(const WorksetLstRow & i_left, const WorksetLstRow & i_right);
1548 
1550  static vector<WorksetLstRow>::const_iterator byKey(int i_setId, const vector<WorksetLstRow> & i_rowVec);
1551  };
1552 
1554  struct WorksetTxtRow : public IMetaRow<WorksetTxtRow>
1555  {
1557  int setId;
1558 
1560  int langId;
1561 
1563  string descr;
1564 
1566  string note;
1567 
1569  WorksetTxtRow(int i_setId, int i_langId) :
1570  setId(i_setId),
1571  langId(i_langId),
1572  descr(""),
1573  note("")
1574  { }
1575 
1577  WorksetTxtRow(void) : WorksetTxtRow(0, 0) { }
1578 
1579  ~WorksetTxtRow(void) noexcept { }
1580 
1582  static bool isKeyLess(const WorksetTxtRow & i_left, const WorksetTxtRow & i_right);
1583 
1585  static bool isKeyEqual(const WorksetTxtRow & i_left, const WorksetTxtRow & i_right);
1586 
1588  static vector<WorksetTxtRow>::const_iterator byKey(int i_setId, int i_langId, const vector<WorksetTxtRow> & i_rowVec);
1589  };
1590 
1593  {
1595  string langCode;
1596 
1598  static bool uniqueLangKeyLess(const WorksetTxtLangRow & i_left, const WorksetTxtLangRow & i_right);
1599 
1601  static bool uniqueLangKeyEqual(const WorksetTxtLangRow & i_left, const WorksetTxtLangRow & i_right);
1602  };
1603 
1605  struct WorksetParamRow : public IMetaRow<WorksetParamRow>
1606  {
1608  int setId;
1609 
1611  int modelId;
1612 
1614  int paramId;
1615 
1618 
1620  WorksetParamRow(int i_setId, int i_paramId) :
1621  setId(i_setId),
1622  modelId(0),
1623  paramId(i_paramId),
1624  subCount(0)
1625  { }
1626 
1629 
1630  ~WorksetParamRow(void) noexcept { }
1631 
1633  static bool isKeyLess(const WorksetParamRow & i_left, const WorksetParamRow & i_right);
1634 
1636  static bool isKeyEqual(const WorksetParamRow & i_left, const WorksetParamRow & i_right);
1637 
1639  static vector<WorksetParamRow>::const_iterator byKey(int i_setId, int i_paramId, const vector<WorksetParamRow> & i_rowVec);
1640  };
1641 
1643  struct WorksetParamTxtRow : public IMetaRow<WorksetParamTxtRow>
1644  {
1646  int setId;
1647 
1649  int modelId;
1650 
1652  int paramId;
1653 
1655  int langId;
1656 
1658  string note;
1659 
1661  WorksetParamTxtRow(int i_setId, int i_langId, int i_paramId) :
1662  setId(i_setId),
1663  modelId(0),
1664  paramId(i_paramId),
1665  langId(i_langId),
1666  note("")
1667  { }
1668 
1671 
1672  ~WorksetParamTxtRow(void) noexcept { }
1673 
1675  static bool isKeyLess(const WorksetParamTxtRow & i_left, const WorksetParamTxtRow & i_right);
1676 
1678  static bool isKeyEqual(const WorksetParamTxtRow & i_left, const WorksetParamTxtRow & i_right);
1679 
1681  static vector<WorksetParamTxtRow>::const_iterator byKey(
1682  int i_setId, int i_paramId, int i_langId, const vector<WorksetParamTxtRow> & i_rowVec
1683  );
1684  };
1685 
1688  {
1690  string langCode;
1691 
1693  static bool uniqueLangKeyLess(const WorksetParamTxtLangRow & i_left, const WorksetParamTxtLangRow & i_right);
1694 
1696  static bool uniqueLangKeyEqual(const WorksetParamTxtLangRow & i_left, const WorksetParamTxtLangRow & i_right);
1697  };
1698 
1700  struct TaskLstRow : public IMetaRow<TaskLstRow>
1701  {
1703  int taskId;
1704 
1706  int modelId;
1707 
1709  string name;
1710 
1712  TaskLstRow(int i_taskId) :
1713  taskId(i_taskId),
1714  modelId(0),
1715  name("")
1716  { }
1717 
1719  TaskLstRow(void) : TaskLstRow(0) { }
1720 
1721  ~TaskLstRow(void) noexcept { }
1722 
1724  static bool isKeyLess(const TaskLstRow & i_left, const TaskLstRow & i_right);
1725 
1727  static bool isKeyEqual(const TaskLstRow & i_left, const TaskLstRow & i_right);
1728 
1730  static vector<TaskLstRow>::const_iterator byKey(int i_taskId, const vector<TaskLstRow> & i_rowVec);
1731  };
1732 
1734  struct TaskTxtRow : public IMetaRow<TaskTxtRow>
1735  {
1737  int taskId;
1738 
1740  int langId;
1741 
1743  string descr;
1744 
1746  string note;
1747 
1749  TaskTxtRow(int i_taskId, int i_langId) :
1750  taskId(i_taskId),
1751  langId(i_langId),
1752  descr(""),
1753  note("")
1754  { }
1755 
1757  TaskTxtRow(void) : TaskTxtRow(0, 0) { }
1758 
1759  ~TaskTxtRow(void) noexcept { }
1760 
1762  static bool isKeyLess(const TaskTxtRow & i_left, const TaskTxtRow & i_right);
1763 
1765  static bool isKeyEqual(const TaskTxtRow & i_left, const TaskTxtRow & i_right);
1766 
1768  static vector<TaskTxtRow>::const_iterator byKey(int i_taskId, int i_langId, const vector<TaskTxtRow> & i_rowVec);
1769  };
1770 
1772  struct TaskTxtLangRow : public TaskTxtRow
1773  {
1775  string langCode;
1776 
1778  static bool uniqueLangKeyLess(const TaskTxtLangRow & i_left, const TaskTxtLangRow & i_right);
1779 
1781  static bool uniqueLangKeyEqual(const TaskTxtLangRow & i_left, const TaskTxtLangRow & i_right);
1782  };
1783 
1785  struct TaskSetRow : public IMetaRow<TaskSetRow>
1786  {
1788  int taskId;
1789 
1791  int setId;
1792 
1794  TaskSetRow(int i_taskId, int i_setId) :
1795  taskId(i_taskId),
1796  setId(i_setId)
1797  { }
1798 
1800  TaskSetRow(void) : TaskSetRow(0, 0) { }
1801 
1802  ~TaskSetRow(void) noexcept { }
1803 
1805  static bool isKeyLess(const TaskSetRow & i_left, const TaskSetRow & i_right);
1806 
1808  static bool isKeyEqual(const TaskSetRow & i_left, const TaskSetRow & i_right);
1809 
1811  static vector<TaskSetRow>::const_iterator byKey(int i_taskId, int i_setId, const vector<TaskSetRow> & i_rowVec);
1812  };
1813 
1815  struct TaskRunLstRow : public IMetaRow<TaskRunLstRow>
1816  {
1819 
1821  int taskId;
1822 
1824  string name;
1825 
1828 
1831 
1833  string status;
1834 
1837 
1839  string runStamp;
1840 
1842  TaskRunLstRow(int i_taskRunId) :
1843  taskRunId(i_taskRunId),
1844  taskId(0),
1845  name(""),
1846  subCount(0),
1847  createDateTime(""),
1848  status(""),
1849  updateDateTime(""),
1850  runStamp("")
1851  { }
1852 
1855 
1856  ~TaskRunLstRow(void) noexcept { }
1857 
1859  static bool isKeyLess(const TaskRunLstRow & i_left, const TaskRunLstRow & i_right);
1860 
1862  static bool isKeyEqual(const TaskRunLstRow & i_left, const TaskRunLstRow & i_right);
1863 
1865  static vector<TaskRunLstRow>::const_iterator byKey(int i_taskRunId, const vector<TaskRunLstRow> & i_rowVec);
1866  };
1867 
1869  struct TaskRunSetRow : public IMetaRow<TaskRunSetRow>
1870  {
1873 
1875  int runId;
1876 
1878  int setId;
1879 
1881  int taskId;
1882 
1884  TaskRunSetRow(int i_taskRunId, int i_runId) :
1885  taskRunId(i_taskRunId),
1886  runId(i_runId),
1887  setId(0),
1888  taskId(0)
1889  { }
1890 
1892  TaskRunSetRow(void) : TaskRunSetRow(0, 0) { }
1893 
1894  ~TaskRunSetRow(void) noexcept { }
1895 
1897  static bool isKeyLess(const TaskRunSetRow & i_left, const TaskRunSetRow & i_right);
1898 
1900  static bool isKeyEqual(const TaskRunSetRow & i_left, const TaskRunSetRow & i_right);
1901 
1903  static vector<TaskRunSetRow>::const_iterator byKey(int i_taskRunId, int i_runId, const vector<TaskRunSetRow> & i_rowVec);
1904  };
1905 
1907  struct CodeValueRow : public IMetaRow<CodeValueRow>
1908  {
1910  string code;
1911 
1913  string value;
1914 
1916  CodeValueRow(const string & i_code, const string i_value) :
1917  code(i_code),
1918  value(i_value)
1919  { }
1920 
1922  CodeValueRow(const string & i_code) : CodeValueRow(i_code, "") { }
1923 
1925  CodeValueRow(void) : CodeValueRow("", "") { }
1926 
1927  ~CodeValueRow(void) noexcept { }
1928 
1930  static bool isKeyLess(const CodeValueRow & i_left, const CodeValueRow & i_right);
1931 
1933  static bool isKeyEqual(const CodeValueRow & i_left, const CodeValueRow & i_right);
1934  };
1935 }
1936 
1937 #endif // OM_DB_META_ROW_H
int accId
acc_id INT NOT NULL
Definition: dbMetaRow.h:941
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:1836
TaskSetRow(int i_taskId, int i_setId)
create row with supplied primary key field values.
Definition: dbMetaRow.h:1794
type_dic_txt join to model_type_dic table row.
Definition: dbMetaRow.h:338
bool isSparse
is_sparse SMALLINT NOT NULL
Definition: dbMetaRow.h:723
table_dic_txt table row.
Definition: dbMetaRow.h:769
int langId
lang_id INT NOT NULL
Definition: dbMetaRow.h:1655
int leafId
leaf_id INT NULL
Definition: dbMetaRow.h:1247
WorksetParamRow(int i_setId, int i_paramId)
create row with supplied primary key field values.
Definition: dbMetaRow.h:1620
int paramId
parameter_id INT NOT NULL
Definition: dbMetaRow.h:1614
ModelDicTxtRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:193
string updateDateTime
update_dt VARCHAR(32) NOT NULL
Definition: dbMetaRow.h:1526
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:1106
WorksetTxtRow(int i_setId, int i_langId)
create row with supplied primary key field values.
Definition: dbMetaRow.h:1569
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:658
string name
set_name VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:1520
string digest
table_digest VARCHAR(32) NOT NULL
Definition: dbMetaRow.h:714
RunOptionRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1450
int typeId
mod_type_id INT NOT NULL
Definition: dbMetaRow.h:844
string descr
descr VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:1192
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:1605
db-row abstract base
Definition: omHelper.h:181
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:879
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:1329
int tableId
table_id INT NOT NULL
Definition: dbMetaRow.h:988
ProfileLstRow(const string &i_name)
create row with supplied primary key field values.
Definition: dbMetaRow.h:1277
string code
lang_code VARCHAR(32) NOT NULL
Definition: dbMetaRow.h:45
string exprNote
expr_note VARCHAR(32000)
Definition: dbMetaRow.h:790
string name
dim_name VARCHAR(8) NOT NULL
Definition: dbMetaRow.h:841
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:1517
ParamDimsRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:630
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:1041
int paramHid
parameter_hid INT NOT NULL, – unique parameter id
Definition: dbMetaRow.h:493
int subCompleted
sub_completed INT NOT NULL
Definition: dbMetaRow.h:1341
run_parameter_txt table row and language code.
Definition: dbMetaRow.h:1501
string langCode
language code
Definition: dbMetaRow.h:1775
string descr
descr VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:1100
OpenM++: public interface for log and trace support.
int taskId
task_id INT NOT NULL
Definition: dbMetaRow.h:1788
string note
note VARCHAR(32000)
Definition: dbMetaRow.h:443
string name
expr_name VARCHAR(8) NOT NULL
Definition: dbMetaRow.h:1050
lang_word table row.
Definition: dbMetaRow.h:83
bool isHidden
is_hidden SMALLINT NOT NULL
Definition: dbMetaRow.h:1156
table_expr table row.
Definition: dbMetaRow.h:1038
string note
note VARCHAR(32000)
Definition: dbMetaRow.h:1477
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:1183
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:520
int paramId
parameter_id INT NOT NULL
Definition: dbMetaRow.h:1652
task_txt table row and language code.
Definition: dbMetaRow.h:1772
string name
enum_name VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:402
int subStarted
sub_started INT NOT NULL
Definition: dbMetaRow.h:1338
int langId
lang_id INT NOT NULL
Definition: dbMetaRow.h:1474
workset_txt table row.
Definition: dbMetaRow.h:1554
int runId
run_id INT NOT NULL
Definition: dbMetaRow.h:1392
ParamDicTxtRow(int i_modelId, int i_paramId, int i_langId)
create row with supplied unique key field values.
Definition: dbMetaRow.h:569
string langCode
language code
Definition: dbMetaRow.h:1595
string langCode
language code
Definition: dbMetaRow.h:208
string accSql
acc_sql VARCHAR(2048) NOT NULL
Definition: dbMetaRow.h:953
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:606
GroupLstRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1168
int dimId
dim_id INT NOT NULL
Definition: dbMetaRow.h:652
int paramId
model_parameter_id INT NOT NULL
Definition: dbMetaRow.h:557
TableDimsRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:864
group_txt table row.
Definition: dbMetaRow.h:1180
string exprDescr
expr_descr VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:787
int setId
set_id INT NOT NULL
Definition: dbMetaRow.h:1646
string paramName
parameter_name VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:490
TaskRunSetRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1892
string digest
parameter_digest VARCHAR(32) NOT NULL
Definition: dbMetaRow.h:496
CodeValueRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1925
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:393
LangLstRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:65
int tableId
table_id INT NOT NULL
Definition: dbMetaRow.h:938
int typeId
model_type_id INT NOT NULL
Definition: dbMetaRow.h:396
string runStamp
run_stamp VARCHAR(32) NOT NULL
Definition: dbMetaRow.h:1356
table_dims_txt table row.
Definition: dbMetaRow.h:876
TaskLstRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1719
string descr
descr VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:891
string note
note VARCHAR(32000)
Definition: dbMetaRow.h:566
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:621
string note
note VARCHAR(32000)
Definition: dbMetaRow.h:182
int langId
lang_id INT NOT NULL
Definition: dbMetaRow.h:560
string name
acc_name VARCHAR(8) NOT NULL
Definition: dbMetaRow.h:944
string value
option_value VARCHAR(2048) NOT NULL
Definition: dbMetaRow.h:1301
string name
task_name VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:1709
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:1687
string langCode
language code
Definition: dbMetaRow.h:819
int groupId
group_id INT NOT NULL
Definition: dbMetaRow.h:1186
int dimId
dim_id INT NOT NULL
Definition: dbMetaRow.h:885
parameter_dims join to model_parameter_dic table row.
Definition: dbMetaRow.h:603
parameter_dims_txt join to model_parameter_dic table row.
Definition: dbMetaRow.h:643
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:935
string note
note VARCHAR(32000)
Definition: dbMetaRow.h:1195
bool isReadonly
is_readonly SMALLINT NOT NULL
Definition: dbMetaRow.h:1523
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:1757
int paramId
model_parameter_id INT NOT NULL
Definition: dbMetaRow.h:609
string code
word_code VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:89
int runId
run_id INT NOT NULL
Definition: dbMetaRow.h:1326
parameter_dic_txt join to model_parameter_dic table row and language code.
Definition: dbMetaRow.h:590
int runId
run_id INT NOT NULL
Definition: dbMetaRow.h:1465
string dbSetTable
db_set_table VARCHAR(64) NOT NULL
Definition: dbMetaRow.h:517
group_txt table row and language code.
Definition: dbMetaRow.h:1219
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:554
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:1468
int subRestart
sub_restart INT NOT NULL
Definition: dbMetaRow.h:1344
table_acc_txt table row and language code.
Definition: dbMetaRow.h:1025
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:1311
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:1097
int taskId
task_id INT NOT NULL
Definition: dbMetaRow.h:1881
TableDicTxtRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:804
int exprId
expr_id INT NOT NULL
Definition: dbMetaRow.h:1047
profile_lst table row.
Definition: dbMetaRow.h:1271
ProfileOptionRow(const string &i_name, const string &i_key)
create row with supplied primary key field values.
Definition: dbMetaRow.h:1304
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:1407
openM++ namespace
Definition: argReader.cpp:16
generic two string columns: (code, value) table row.
Definition: dbMetaRow.h:1907
GroupPcRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1259
TableDicTxtRow(int i_modelId, int i_tableId, int i_langId)
create row with supplied key field values.
Definition: dbMetaRow.h:793
string name
dim_name VARCHAR(8) NOT NULL
Definition: dbMetaRow.h:615
int tableId
table_id INT NOT NULL
Definition: dbMetaRow.h:1044
int langId
lang_id INT NOT NULL
Definition: dbMetaRow.h:888
TableDicRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:754
bool isParam
is_parameter SMALLINT NOT NULL
Definition: dbMetaRow.h:1150
model_dic_txt table row and language code.
Definition: dbMetaRow.h:205
string descr
descr VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:563
string note
note VARCHAR(32000)
Definition: dbMetaRow.h:1000
WorksetLstRow(int i_setId)
create row with supplied primary key field values.
Definition: dbMetaRow.h:1529
int tableId
table_id INT NOT NULL
Definition: dbMetaRow.h:705
string dbAccAll
db_acc_all_view VARCHAR(64) NOT NULL
Definition: dbMetaRow.h:732
string langCode
language code
Definition: dbMetaRow.h:1028
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:593
int langId
lang_id INT NOT NULL
Definition: dbMetaRow.h:86
TableExprTxtRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1116
int langId
lang_id INT NOT NULL
Definition: dbMetaRow.h:1740
int taskId
task_id INT NOT NULL
Definition: dbMetaRow.h:1737
int taskId
task_id INT NOT NULL
Definition: dbMetaRow.h:1821
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:738
string sqlExpr
expr_sql VARCHAR(2048) NOT NULL
Definition: dbMetaRow.h:1059
TableAccTxtRow(int i_modelId, int i_tableId, int i_accId, int i_langId)
create row with supplied key field values.
Definition: dbMetaRow.h:1003
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:664
string name
run_name VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:1332
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:655
string value
word_value VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:230
run_lst table row.
Definition: dbMetaRow.h:1323
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:117
int runId
run_id INT NOT NULL
Definition: dbMetaRow.h:1434
base class for model metadata db-rows
Definition: dbMetaRow.h:23
int exprId
expr_id INT NOT NULL
Definition: dbMetaRow.h:1094
string code
code VARCHAR(...) NOT NULL
Definition: dbMetaRow.h:1910
RunOptionRow(int i_runId, const string &i_key)
create row with supplied primary key field values.
Definition: dbMetaRow.h:1443
GroupPcRow(int i_modelId, int i_groupId, int i_childPos)
create row with supplied primary key field values.
Definition: dbMetaRow.h:1250
int dimId
dim_id INT NOT NULL
Definition: dbMetaRow.h:838
string note
note VARCHAR(32000)
Definition: dbMetaRow.h:1103
ModelDicRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:150
string descr
descr VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:179
int langId
lang_id INT NOT NULL
Definition: dbMetaRow.h:1189
WorksetParamRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1628
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:1566
TableDimsTxtRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:907
string descr
descr VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:997
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:1872
string createDateTime
create_dt VARCHAR(32) NOT NULL
Definition: dbMetaRow.h:1347
TableAccRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:967
RunParamTxtRow(int i_runId, int i_paramId, int i_langId)
create row with supplied primary key field values.
Definition: dbMetaRow.h:1480
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:1508
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:1824
string key
option_key VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:1298
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:1131
table_acc table row.
Definition: dbMetaRow.h:932
TaskRunLstRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1854
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:1147
string value
value VARCHAR(...) NOT NULL
Definition: dbMetaRow.h:1913
ParamDimsTxtRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:674
string note
note VARCHAR(32000)
Definition: dbMetaRow.h:1746
string dbAccTable
db_acc_table VARCHAR(64) NOT NULL
Definition: dbMetaRow.h:729
TaskRunSetRow(int i_taskRunId, int i_runId)
create row with supplied primary key field values.
Definition: dbMetaRow.h:1884
table_dims_txt table row and language code.
Definition: dbMetaRow.h:919
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:1560
run_parameter_txt join to model_parameter_dic table row.
Definition: dbMetaRow.h:1462
string dbRunTable
db_run_table VARCHAR(64) NOT NULL
Definition: dbMetaRow.h:514
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:772
string descr
descr VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:1743
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:835
TaskRunLstRow(int i_taskRunId)
create row with supplied primary key field values.
Definition: dbMetaRow.h:1842
ParamDicTxtRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:578
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:1611
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:1878
profile_option table row.
Definition: dbMetaRow.h:1292
int langId
lang_id INT NOT NULL
Definition: dbMetaRow.h:347
string descr
descr VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:1401
int setId
set_id INT NOT NULL
Definition: dbMetaRow.h:1557
string version
model_ver VARCHAR(32) NOT NULL
Definition: dbMetaRow.h:129
table_dic_txt table row and language code.
Definition: dbMetaRow.h:816
int langId
lang_id INT NOT NULL
Definition: dbMetaRow.h:778
int subCount
sub_count INT NOT NULL
Definition: dbMetaRow.h:1335
parameter_dic_txt join to model_parameter_dic table row.
Definition: dbMetaRow.h:551
string value
option_value VARCHAR(2048) NOT NULL
Definition: dbMetaRow.h:1440
run_option table row.
Definition: dbMetaRow.h:1431
TaskTxtRow(int i_taskId, int i_langId)
create row with supplied primary key field values.
Definition: dbMetaRow.h:1749
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:1088
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:1800
task_lst table row.
Definition: dbMetaRow.h:1700
string name
group_name VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:1153
string dbExprTable
db_expr_table VARCHAR(64) NOT NULL
Definition: dbMetaRow.h:726
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:269
string updateDateTime
update_dt VARCHAR(32) NOT NULL
Definition: dbMetaRow.h:1353
string status
run status: i=init p=progress s=success e=error(failed)
Definition: dbMetaRow.h:1350
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:1875
ProfileLstRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1280
string tableName
table_name VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:708
TableExprRow(int i_modelId, int i_tableId, int i_exprId)
create row with supplied key field values.
Definition: dbMetaRow.h:1062
task_run_lst table row.
Definition: dbMetaRow.h:1815
parameter_dic join to model_parameter_dic table row.
Definition: dbMetaRow.h:481
int rank
table_rank INT NOT NULL
Definition: dbMetaRow.h:720
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:1592
int dimSize
dim_size INT NOT NULL
Definition: dbMetaRow.h:850
string langCode
language code
Definition: dbMetaRow.h:1222
string key
option_key VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:1437
string langCode
language code
Definition: dbMetaRow.h:922
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:221
model_dic table row.
Definition: dbMetaRow.h:114
table_dims table row.
Definition: dbMetaRow.h:829
WorksetLstRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1539
WorksetParamTxtRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1670
TableAccRow(int i_modelId, int i_tableId, int i_accid)
create row with supplied key field values.
Definition: dbMetaRow.h:956
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:832
int dimId
dim_id INT NOT NULL
Definition: dbMetaRow.h:612
int setId
set_id INT NOT NULL
Definition: dbMetaRow.h:1791
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:1013
int taskRunId
task_run_id INT NOT NULL
Definition: dbMetaRow.h:1818
int paramId
parameter_id INT NOT NULL
Definition: dbMetaRow.h:1471
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:784
CodeValueRow(const string &i_code, const string i_value)
create row with supplied field values.
Definition: dbMetaRow.h:1916
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:1404
string descr
descr VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:350
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:1235
LangWordRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:102
bool isUser
is_user SMALLINT NOT NULL
Definition: dbMetaRow.h:717
string descr
descr VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:781
TableExprRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1073
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:702
int typeId
model_type_id INT NOT NULL
Definition: dbMetaRow.h:618
int taskId
task_id INT NOT NULL
Definition: dbMetaRow.h:1703
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:985
group_pc table row.
Definition: dbMetaRow.h:1232
int type
model_type INT NOT NULL
Definition: dbMetaRow.h:126
int langId
lang_id INT NOT NULL
Definition: dbMetaRow.h:994
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:646
bool isDerived
is_derived SMALLINT NOT NULL
Definition: dbMetaRow.h:947
string status
task status: i=init p=progress w=wait s=success x=exit e=error(failed)
Definition: dbMetaRow.h:1833
int tableId
TableID INT NOT NULL.
Definition: dbMetaRow.h:1091
TypeDicRow(void)
create row with default empty key values.
Definition: dbMetaRow.h:296
int groupId
group_id INT NOT NULL
Definition: dbMetaRow.h:1238
string langCode
language code
Definition: dbMetaRow.h:380
int decimals
expr_decimals INT NOT NULL
Definition: dbMetaRow.h:1053
string note
note VARCHAR(32000)
Definition: dbMetaRow.h:661
int childGroupId
child_group_id INT NULL
Definition: dbMetaRow.h:1244
task_txt table row.
Definition: dbMetaRow.h:1734
int paramId
model_parameter_id INT NOT NULL
Definition: dbMetaRow.h:649
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:1706
string name
profile_name VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:1295
group_lst table row.
Definition: dbMetaRow.h:1141
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:1712
string langCode
language code
Definition: dbMetaRow.h:1690
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:853
int setId
set_id INT NOT NULL
Definition: dbMetaRow.h:1511
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:1922
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:982
int typeId
model_type_id INT NOT NULL
Definition: dbMetaRow.h:502
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:1395
int exprPos
expr_dim_pos INT NOT NULL
Definition: dbMetaRow.h:735
string note
note VARCHAR(32000)
Definition: dbMetaRow.h:894
workset_parameter_txt join to model_parameter_dic table row.
Definition: dbMetaRow.h:1643
table_dic table row.
Definition: dbMetaRow.h:699
parameter_dims_txt table row and language code.
Definition: dbMetaRow.h:686
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:1056
string runStamp
run_stamp VARCHAR(32) NOT NULL
Definition: dbMetaRow.h:1839
table_expr_txt table row and language code.
Definition: dbMetaRow.h:1128
int childPos
child_pos INT NOT NULL
Definition: dbMetaRow.h:1241
GroupTxtRow(int i_modelId, int i_groupId, int i_langId)
create row with supplied primary key field values.
Definition: dbMetaRow.h:1198
string accSrc
acc_src VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:950
RunLstRow(int i_runId)
create row with supplied primary key field values.
Definition: dbMetaRow.h:1359
type_dic join to model_type_dic table row.
Definition: dbMetaRow.h:266
string langCode
language code
Definition: dbMetaRow.h:1504
int subCount
sub_count INT NOT NULL
Definition: dbMetaRow.h:1827
RunTxtRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1416
string name
model_name VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:120
int subCount
sub_count INT NOT NULL
Definition: dbMetaRow.h:1617
int tableHid
table_hid INT NOT NULL, – unique table id
Definition: dbMetaRow.h:711
int tableId
table_id INT NOT NULL
Definition: dbMetaRow.h:775
run_txt table row.
Definition: dbMetaRow.h:1389
GroupTxtRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1207
string langCode
language code
Definition: dbMetaRow.h:689
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:1374
task_run_set table row.
Definition: dbMetaRow.h:1869
int langId
lang_id INT NOT NULL
Definition: dbMetaRow.h:224
task_set table row.
Definition: dbMetaRow.h:1785
int setId
set_id INT NOT NULL
Definition: dbMetaRow.h:1608
string descr
descr VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:1563
RunParamTxtRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1489
unique_ptr< IRowBase > IRowBaseUptr
unique pointer to db row
Definition: omHelper.h:187
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:1144
int baseRunId
base_run_id INT NULL
Definition: dbMetaRow.h:1514
TableDimsTxtRow(int i_modelId, int i_tableId, int i_dimId, int i_langId)
create row with supplied key field values.
Definition: dbMetaRow.h:897
string note
note VARCHAR(32000)
Definition: dbMetaRow.h:1658
GroupLstRow(int i_modelId, int i_groupId)
create row with supplied primary key field values.
Definition: dbMetaRow.h:1159
int modelId
model_id INT NOT NULL
Definition: dbMetaRow.h:1649
WorksetParamTxtRow(int i_setId, int i_langId, int i_paramId)
create row with supplied primary key field values.
Definition: dbMetaRow.h:1661
int enumId
enum_id INT NOT NULL
Definition: dbMetaRow.h:399
ParamDicRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:536
int typeId
model_type_id INT NOT NULL
Definition: dbMetaRow.h:431
string defaultLangCode
default model language code
Definition: dbMetaRow.h:166
int tableId
table_id INT NOT NULL
Definition: dbMetaRow.h:882
WorksetTxtRow(void)
create row with default empty field values.
Definition: dbMetaRow.h:1577
table_expr_txt table row.
Definition: dbMetaRow.h:1085
string name
profile_name VARCHAR(255) NOT NULL
Definition: dbMetaRow.h:1274
int langId
lang_id INT NOT NULL
Definition: dbMetaRow.h:1398
string createDateTime
create_dt VARCHAR(32) NOT NULL
Definition: dbMetaRow.h:1830
int accId
acc_id INT NOT NULL
Definition: dbMetaRow.h:991
bool isTotal
is_total SMALLINT NOT NULL
Definition: dbMetaRow.h:847