ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/DBS/Servers/AppServer/include/ObjectLayerTables.hpp
Revision: 1.1.1.1 (vendor branch)
Committed: Mon Oct 31 22:10:36 2005 UTC (19 years, 6 months ago) by afaq
Branch: v00
CVS Tags: start
Changes since 1.1: +0 -0 lines
Log Message:
Adding Server code to the repository

File Contents

# Content
1
2 #ifndef _a_h_included_
3 #define _a_h_included_
4 /// This file contains Classes representing Rows of each table
5 ///Generated from SQL
6 #include <iostream.h>
7 #include <vector>
8 #include <string>
9 #include "common.hpp"
10 #include "BaseSchemaNConstratints.hpp"
11 #include "SingleTableInterface.hpp"
12 #include "RowInterface.hpp"
13 #include "MultiTableInterface.hpp"
14
15
16 class T_Schema_Revisionrow : public RowInterface {
17 public:
18 T_Schema_Revisionrow();
19
20
21 virtual void* getValue(string key);
22 virtual void setValue(string key, void* value);
23
24 private:
25 STRING revision;
26 };
27
28 class T_Schema_Revisionrow_DB_BINDING : public BaseSchemaNConstraintsBinding {
29 public:
30 T_Schema_Revisionrow_DB_BINDING();
31 virtual string* getTableName(void);
32 private:
33 string TableName;
34 };
35
36 template<>
37 class RowSchemaNConstraintsBinding<T_Schema_Revisionrow> {
38 public:
39 T_Schema_Revisionrow_DB_BINDING schemaNconstraints;
40 };
41
42 //##############
43
44 class T_Personrow : public RowInterface {
45 public:
46 T_Personrow();
47
48
49 virtual void* getValue(string key);
50 virtual void setValue(string key, void* value);
51
52 private:
53 INTEGER id;
54 STRING name;
55 STRING distinguised_name;
56 STRING contactinfo;
57 };
58
59 class T_Personrow_DB_BINDING : public BaseSchemaNConstraintsBinding {
60 public:
61 T_Personrow_DB_BINDING();
62 virtual string* getTableName(void);
63 private:
64 string TableName;
65 };
66
67 template<>
68 class RowSchemaNConstraintsBinding<T_Personrow> {
69 public:
70 T_Personrow_DB_BINDING schemaNconstraints;
71 };
72
73 //##############
74
75 class T_Physics_Grouprow : public RowInterface {
76 public:
77 T_Physics_Grouprow();
78
79
80 virtual void* getValue(string key);
81 virtual void setValue(string key, void* value);
82
83 private:
84 INTEGER id;
85 STRING name;
86 INTEGER convenor;
87 };
88
89 class T_Physics_Grouprow_DB_BINDING : public BaseSchemaNConstraintsBinding {
90 public:
91 T_Physics_Grouprow_DB_BINDING();
92 virtual string* getTableName(void);
93 private:
94 string TableName;
95 };
96
97 template<>
98 class RowSchemaNConstraintsBinding<T_Physics_Grouprow> {
99 public:
100 T_Physics_Grouprow_DB_BINDING schemaNconstraints;
101 };
102
103 //##############
104
105 class T_Collection_Typerow : public RowInterface {
106 public:
107 T_Collection_Typerow();
108
109
110 virtual void* getValue(string key);
111 virtual void setValue(string key, void* value);
112
113 private:
114 INTEGER id;
115 STRING name;
116 };
117
118 class T_Collection_Typerow_DB_BINDING : public BaseSchemaNConstraintsBinding {
119 public:
120 T_Collection_Typerow_DB_BINDING();
121 virtual string* getTableName(void);
122 private:
123 string TableName;
124 };
125
126 template<>
127 class RowSchemaNConstraintsBinding<T_Collection_Typerow> {
128 public:
129 T_Collection_Typerow_DB_BINDING schemaNconstraints;
130 };
131
132 //##############
133
134 class T_App_Familyrow : public RowInterface {
135 public:
136 T_App_Familyrow();
137
138
139 virtual void* getValue(string key);
140 virtual void setValue(string key, void* value);
141
142 private:
143 INTEGER id;
144 STRING name;
145 };
146
147 class T_App_Familyrow_DB_BINDING : public BaseSchemaNConstraintsBinding {
148 public:
149 T_App_Familyrow_DB_BINDING();
150 virtual string* getTableName(void);
151 private:
152 string TableName;
153 };
154
155 template<>
156 class RowSchemaNConstraintsBinding<T_App_Familyrow> {
157 public:
158 T_App_Familyrow_DB_BINDING schemaNconstraints;
159 };
160
161 //##############
162
163 class T_Applicationrow : public RowInterface {
164 public:
165 T_Applicationrow();
166
167
168 virtual void* getValue(string key);
169 virtual void setValue(string key, void* value);
170
171 private:
172 INTEGER id;
173 STRING executable;
174 STRING app_version;
175 INTEGER app_family;
176 INTEGER input_type;
177 INTEGER output_type;
178 };
179
180 class T_Applicationrow_DB_BINDING : public BaseSchemaNConstraintsBinding {
181 public:
182 T_Applicationrow_DB_BINDING();
183 virtual string* getTableName(void);
184 private:
185 string TableName;
186 };
187
188 template<>
189 class RowSchemaNConstraintsBinding<T_Applicationrow> {
190 public:
191 T_Applicationrow_DB_BINDING schemaNconstraints;
192 };
193
194 //##############
195
196 class T_App_Configrow : public RowInterface {
197 public:
198 T_App_Configrow();
199
200
201 virtual void* getValue(string key);
202 virtual void setValue(string key, void* value);
203
204 private:
205 INTEGER id;
206 INTEGER application;
207 STRING parameter_set;
208 STRING conditions_version;
209 };
210
211 class T_App_Configrow_DB_BINDING : public BaseSchemaNConstraintsBinding {
212 public:
213 T_App_Configrow_DB_BINDING();
214 virtual string* getTableName(void);
215 private:
216 string TableName;
217 };
218
219 template<>
220 class RowSchemaNConstraintsBinding<T_App_Configrow> {
221 public:
222 T_App_Configrow_DB_BINDING schemaNconstraints;
223 };
224
225 //##############
226
227 class T_Desc_Triggerrow : public RowInterface {
228 public:
229 T_Desc_Triggerrow();
230
231
232 virtual void* getValue(string key);
233 virtual void setValue(string key, void* value);
234
235 private:
236 INTEGER id;
237 STRING description;
238 };
239
240 class T_Desc_Triggerrow_DB_BINDING : public BaseSchemaNConstraintsBinding {
241 public:
242 T_Desc_Triggerrow_DB_BINDING();
243 virtual string* getTableName(void);
244 private:
245 string TableName;
246 };
247
248 template<>
249 class RowSchemaNConstraintsBinding<T_Desc_Triggerrow> {
250 public:
251 T_Desc_Triggerrow_DB_BINDING schemaNconstraints;
252 };
253
254 //##############
255
256 class T_Desc_Mcrow : public RowInterface {
257 public:
258 T_Desc_Mcrow();
259
260
261 virtual void* getValue(string key);
262 virtual void setValue(string key, void* value);
263
264 private:
265 INTEGER id;
266 STRING description;
267 STRING production;
268 STRING decay_chain;
269 };
270
271 class T_Desc_Mcrow_DB_BINDING : public BaseSchemaNConstraintsBinding {
272 public:
273 T_Desc_Mcrow_DB_BINDING();
274 virtual string* getTableName(void);
275 private:
276 string TableName;
277 };
278
279 template<>
280 class RowSchemaNConstraintsBinding<T_Desc_Mcrow> {
281 public:
282 T_Desc_Mcrow_DB_BINDING schemaNconstraints;
283 };
284
285 //##############
286
287 class T_Desc_Primaryrow : public RowInterface {
288 public:
289 T_Desc_Primaryrow();
290
291
292 virtual void* getValue(string key);
293 virtual void setValue(string key, void* value);
294
295 private:
296 INTEGER id;
297 INTEGER trigger_path;
298 INTEGER mc_channel;
299 CHARACTER is_mc_data;
300 };
301
302 class T_Desc_Primaryrow_DB_BINDING : public BaseSchemaNConstraintsBinding {
303 public:
304 T_Desc_Primaryrow_DB_BINDING();
305 virtual string* getTableName(void);
306 private:
307 string TableName;
308 };
309
310 template<>
311 class RowSchemaNConstraintsBinding<T_Desc_Primaryrow> {
312 public:
313 T_Desc_Primaryrow_DB_BINDING schemaNconstraints;
314 };
315
316 //##############
317
318 class T_Data_Tierrow : public RowInterface {
319 public:
320 T_Data_Tierrow();
321
322
323 virtual void* getValue(string key);
324 virtual void setValue(string key, void* value);
325
326 private:
327 INTEGER id;
328 STRING name;
329 };
330
331 class T_Data_Tierrow_DB_BINDING : public BaseSchemaNConstraintsBinding {
332 public:
333 T_Data_Tierrow_DB_BINDING();
334 virtual string* getTableName(void);
335 private:
336 string TableName;
337 };
338
339 template<>
340 class RowSchemaNConstraintsBinding<T_Data_Tierrow> {
341 public:
342 T_Data_Tierrow_DB_BINDING schemaNconstraints;
343 };
344
345 //##############
346
347 class T_Primary_Datasetrow : public RowInterface {
348 public:
349 T_Primary_Datasetrow();
350
351
352 virtual void* getValue(string key);
353 virtual void setValue(string key, void* value);
354
355 private:
356 INTEGER id;
357 STRING name;
358 INTEGER description;
359 INTEGER physics_group;
360 };
361
362 class T_Primary_Datasetrow_DB_BINDING : public BaseSchemaNConstraintsBinding {
363 public:
364 T_Primary_Datasetrow_DB_BINDING();
365 virtual string* getTableName(void);
366 private:
367 string TableName;
368 };
369
370 template<>
371 class RowSchemaNConstraintsBinding<T_Primary_Datasetrow> {
372 public:
373 T_Primary_Datasetrow_DB_BINDING schemaNconstraints;
374 };
375
376 //##############
377
378 class T_Processing_Pathrow : public RowInterface {
379 public:
380 T_Processing_Pathrow();
381
382
383 virtual void* getValue(string key);
384 virtual void setValue(string key, void* value);
385
386 private:
387 INTEGER id;
388 INTEGER parent;
389 INTEGER app_config;
390 STRING full_path;
391 INTEGER data_tier;
392 };
393
394 class T_Processing_Pathrow_DB_BINDING : public BaseSchemaNConstraintsBinding {
395 public:
396 T_Processing_Pathrow_DB_BINDING();
397 virtual string* getTableName(void);
398 private:
399 string TableName;
400 };
401
402 template<>
403 class RowSchemaNConstraintsBinding<T_Processing_Pathrow> {
404 public:
405 T_Processing_Pathrow_DB_BINDING schemaNconstraints;
406 };
407
408 //##############
409
410 class T_Processed_Datasetrow : public RowInterface {
411 public:
412 T_Processed_Datasetrow();
413
414
415 virtual void* getValue(string key);
416 virtual void setValue(string key, void* value);
417
418 private:
419 INTEGER id;
420 INTEGER primary_dataset;
421 INTEGER processing_path;
422 STRING name;
423 CHARACTER is_open;
424 };
425
426 class T_Processed_Datasetrow_DB_BINDING : public BaseSchemaNConstraintsBinding {
427 public:
428 T_Processed_Datasetrow_DB_BINDING();
429 virtual string* getTableName(void);
430 private:
431 string TableName;
432 };
433
434 template<>
435 class RowSchemaNConstraintsBinding<T_Processed_Datasetrow> {
436 public:
437 T_Processed_Datasetrow_DB_BINDING schemaNconstraints;
438 };
439
440 //##############
441
442 class T_Event_Collectionrow : public RowInterface {
443 public:
444 T_Event_Collectionrow();
445
446
447 virtual void* getValue(string key);
448 virtual void setValue(string key, void* value);
449
450 private:
451 INTEGER id;
452 INTEGER processed_dataset;
453 INTEGER collection_index;
454 };
455
456 class T_Event_Collectionrow_DB_BINDING : public BaseSchemaNConstraintsBinding {
457 public:
458 T_Event_Collectionrow_DB_BINDING();
459 virtual string* getTableName(void);
460 private:
461 string TableName;
462 };
463
464 template<>
465 class RowSchemaNConstraintsBinding<T_Event_Collectionrow> {
466 public:
467 T_Event_Collectionrow_DB_BINDING schemaNconstraints;
468 };
469
470 //##############
471
472 class T_Analysis_Datasetrow : public RowInterface {
473 public:
474 T_Analysis_Datasetrow();
475
476
477 virtual void* getValue(string key);
478 virtual void setValue(string key, void* value);
479
480 private:
481 INTEGER id;
482 INTEGER processed_dataset;
483 STRING name;
484 };
485
486 class T_Analysis_Datasetrow_DB_BINDING : public BaseSchemaNConstraintsBinding {
487 public:
488 T_Analysis_Datasetrow_DB_BINDING();
489 virtual string* getTableName(void);
490 private:
491 string TableName;
492 };
493
494 template<>
495 class RowSchemaNConstraintsBinding<T_Analysis_Datasetrow> {
496 public:
497 T_Analysis_Datasetrow_DB_BINDING schemaNconstraints;
498 };
499
500 //##############
501
502 class T_Anads_Datarow : public RowInterface {
503 public:
504 T_Anads_Datarow();
505
506
507 virtual void* getValue(string key);
508 virtual void setValue(string key, void* value);
509
510 private:
511 INTEGER id;
512 INTEGER analysis_dataset;
513 INTEGER event_collection;
514 };
515
516 class T_Anads_Datarow_DB_BINDING : public BaseSchemaNConstraintsBinding {
517 public:
518 T_Anads_Datarow_DB_BINDING();
519 virtual string* getTableName(void);
520 private:
521 string TableName;
522 };
523
524 template<>
525 class RowSchemaNConstraintsBinding<T_Anads_Datarow> {
526 public:
527 T_Anads_Datarow_DB_BINDING schemaNconstraints;
528 };
529
530 //##############
531
532 class T_Parentage_Typerow : public RowInterface {
533 public:
534 T_Parentage_Typerow();
535
536
537 virtual void* getValue(string key);
538 virtual void setValue(string key, void* value);
539
540 private:
541 INTEGER id;
542 STRING name;
543 };
544
545 class T_Parentage_Typerow_DB_BINDING : public BaseSchemaNConstraintsBinding {
546 public:
547 T_Parentage_Typerow_DB_BINDING();
548 virtual string* getTableName(void);
549 private:
550 string TableName;
551 };
552
553 template<>
554 class RowSchemaNConstraintsBinding<T_Parentage_Typerow> {
555 public:
556 T_Parentage_Typerow_DB_BINDING schemaNconstraints;
557 };
558
559 //##############
560
561 class T_Evcoll_Parentagerow : public RowInterface {
562 public:
563 T_Evcoll_Parentagerow();
564
565
566 virtual void* getValue(string key);
567 virtual void setValue(string key, void* value);
568
569 private:
570 INTEGER parent;
571 INTEGER child;
572 INTEGER type;
573 };
574
575 class T_Evcoll_Parentagerow_DB_BINDING : public BaseSchemaNConstraintsBinding {
576 public:
577 T_Evcoll_Parentagerow_DB_BINDING();
578 virtual string* getTableName(void);
579 private:
580 string TableName;
581 };
582
583 template<>
584 class RowSchemaNConstraintsBinding<T_Evcoll_Parentagerow> {
585 public:
586 T_Evcoll_Parentagerow_DB_BINDING schemaNconstraints;
587 };
588
589 //##############
590
591 class T_Block_Statusrow : public RowInterface {
592 public:
593 T_Block_Statusrow();
594
595
596 virtual void* getValue(string key);
597 virtual void setValue(string key, void* value);
598
599 private:
600 INTEGER id;
601 STRING name;
602 };
603
604 class T_Block_Statusrow_DB_BINDING : public BaseSchemaNConstraintsBinding {
605 public:
606 T_Block_Statusrow_DB_BINDING();
607 virtual string* getTableName(void);
608 private:
609 string TableName;
610 };
611
612 template<>
613 class RowSchemaNConstraintsBinding<T_Block_Statusrow> {
614 public:
615 T_Block_Statusrow_DB_BINDING schemaNconstraints;
616 };
617
618 //##############
619
620 class T_Blockrow : public RowInterface {
621 public:
622 T_Blockrow();
623
624
625 virtual void* getValue(string key);
626 virtual void setValue(string key, void* value);
627
628 private:
629 INTEGER id;
630 INTEGER processed_dataset;
631 INTEGER status;
632 INTEGER files;
633 INTEGER bytes;
634 };
635
636 class T_Blockrow_DB_BINDING : public BaseSchemaNConstraintsBinding {
637 public:
638 T_Blockrow_DB_BINDING();
639 virtual string* getTableName(void);
640 private:
641 string TableName;
642 };
643
644 template<>
645 class RowSchemaNConstraintsBinding<T_Blockrow> {
646 public:
647 T_Blockrow_DB_BINDING schemaNconstraints;
648 };
649
650 //##############
651
652 class T_File_Statusrow : public RowInterface {
653 public:
654 T_File_Statusrow();
655
656
657 virtual void* getValue(string key);
658 virtual void setValue(string key, void* value);
659
660 private:
661 INTEGER id;
662 STRING name;
663 };
664
665 class T_File_Statusrow_DB_BINDING : public BaseSchemaNConstraintsBinding {
666 public:
667 T_File_Statusrow_DB_BINDING();
668 virtual string* getTableName(void);
669 private:
670 string TableName;
671 };
672
673 template<>
674 class RowSchemaNConstraintsBinding<T_File_Statusrow> {
675 public:
676 T_File_Statusrow_DB_BINDING schemaNconstraints;
677 };
678
679 //##############
680
681 class T_File_Typerow : public RowInterface {
682 public:
683 T_File_Typerow();
684
685
686 virtual void* getValue(string key);
687 virtual void setValue(string key, void* value);
688
689 private:
690 INTEGER id;
691 STRING name;
692 };
693
694 class T_File_Typerow_DB_BINDING : public BaseSchemaNConstraintsBinding {
695 public:
696 T_File_Typerow_DB_BINDING();
697 virtual string* getTableName(void);
698 private:
699 string TableName;
700 };
701
702 template<>
703 class RowSchemaNConstraintsBinding<T_File_Typerow> {
704 public:
705 T_File_Typerow_DB_BINDING schemaNconstraints;
706 };
707
708 //##############
709
710 class T_Filerow : public RowInterface {
711 public:
712 T_Filerow();
713
714
715 virtual void* getValue(string key);
716 virtual void setValue(string key, void* value);
717
718 private:
719 INTEGER id;
720 STRING guid;
721 STRING logical_name;
722 STRING filesize;
723 INTEGER status;
724 INTEGER type;
725 INTEGER inblock;
726 };
727
728 class T_Filerow_DB_BINDING : public BaseSchemaNConstraintsBinding {
729 public:
730 T_Filerow_DB_BINDING();
731 virtual string* getTableName(void);
732 private:
733 string TableName;
734 };
735
736 template<>
737 class RowSchemaNConstraintsBinding<T_Filerow> {
738 public:
739 T_Filerow_DB_BINDING schemaNconstraints;
740 };
741
742 //##############
743
744 class T_Evcoll_Filerow : public RowInterface {
745 public:
746 T_Evcoll_Filerow();
747
748
749 virtual void* getValue(string key);
750 virtual void setValue(string key, void* value);
751
752 private:
753 INTEGER id;
754 INTEGER evcoll;
755 INTEGER fileid;
756 };
757
758 class T_Evcoll_Filerow_DB_BINDING : public BaseSchemaNConstraintsBinding {
759 public:
760 T_Evcoll_Filerow_DB_BINDING();
761 virtual string* getTableName(void);
762 private:
763 string TableName;
764 };
765
766 template<>
767 class RowSchemaNConstraintsBinding<T_Evcoll_Filerow> {
768 public:
769 T_Evcoll_Filerow_DB_BINDING schemaNconstraints;
770 };
771
772 //##############
773
774 class T_Validation_Statusrow : public RowInterface {
775 public:
776 T_Validation_Statusrow();
777
778
779 virtual void* getValue(string key);
780 virtual void setValue(string key, void* value);
781
782 private:
783 INTEGER id;
784 STRING name;
785 };
786
787 class T_Validation_Statusrow_DB_BINDING : public BaseSchemaNConstraintsBinding {
788 public:
789 T_Validation_Statusrow_DB_BINDING();
790 virtual string* getTableName(void);
791 private:
792 string TableName;
793 };
794
795 template<>
796 class RowSchemaNConstraintsBinding<T_Validation_Statusrow> {
797 public:
798 T_Validation_Statusrow_DB_BINDING schemaNconstraints;
799 };
800
801 //##############
802
803 class T_Dataset_Statusrow : public RowInterface {
804 public:
805 T_Dataset_Statusrow();
806
807
808 virtual void* getValue(string key);
809 virtual void setValue(string key, void* value);
810
811 private:
812 INTEGER id;
813 STRING name;
814 };
815
816 class T_Dataset_Statusrow_DB_BINDING : public BaseSchemaNConstraintsBinding {
817 public:
818 T_Dataset_Statusrow_DB_BINDING();
819 virtual string* getTableName(void);
820 private:
821 string TableName;
822 };
823
824 template<>
825 class RowSchemaNConstraintsBinding<T_Dataset_Statusrow> {
826 public:
827 T_Dataset_Statusrow_DB_BINDING schemaNconstraints;
828 };
829
830 //##############
831
832 class T_Evcoll_Statusrow : public RowInterface {
833 public:
834 T_Evcoll_Statusrow();
835
836
837 virtual void* getValue(string key);
838 virtual void setValue(string key, void* value);
839
840 private:
841 INTEGER id;
842 STRING name;
843 };
844
845 class T_Evcoll_Statusrow_DB_BINDING : public BaseSchemaNConstraintsBinding {
846 public:
847 T_Evcoll_Statusrow_DB_BINDING();
848 virtual string* getTableName(void);
849 private:
850 string TableName;
851 };
852
853 template<>
854 class RowSchemaNConstraintsBinding<T_Evcoll_Statusrow> {
855 public:
856 T_Evcoll_Statusrow_DB_BINDING schemaNconstraints;
857 };
858
859 //##############
860
861 class T_Run_Qualityrow : public RowInterface {
862 public:
863 T_Run_Qualityrow();
864
865
866 virtual void* getValue(string key);
867 virtual void setValue(string key, void* value);
868
869 private:
870 INTEGER id;
871 STRING name;
872 };
873
874 class T_Run_Qualityrow_DB_BINDING : public BaseSchemaNConstraintsBinding {
875 public:
876 T_Run_Qualityrow_DB_BINDING();
877 virtual string* getTableName(void);
878 private:
879 string TableName;
880 };
881
882 template<>
883 class RowSchemaNConstraintsBinding<T_Run_Qualityrow> {
884 public:
885 T_Run_Qualityrow_DB_BINDING schemaNconstraints;
886 };
887
888 //##############
889
890 class T_Info_Anadsrow : public RowInterface {
891 public:
892 T_Info_Anadsrow();
893
894
895 virtual void* getValue(string key);
896 virtual void setValue(string key, void* value);
897
898 private:
899 INTEGER analysis_dataset;
900 INTEGER events;
901 STRING estimated_luminiosity;
902 INTEGER status;
903 INTEGER validation_status;
904 };
905
906 class T_Info_Anadsrow_DB_BINDING : public BaseSchemaNConstraintsBinding {
907 public:
908 T_Info_Anadsrow_DB_BINDING();
909 virtual string* getTableName(void);
910 private:
911 string TableName;
912 };
913
914 template<>
915 class RowSchemaNConstraintsBinding<T_Info_Anadsrow> {
916 public:
917 T_Info_Anadsrow_DB_BINDING schemaNconstraints;
918 };
919
920 //##############
921
922 class T_Info_Evcollrow : public RowInterface {
923 public:
924 T_Info_Evcollrow();
925
926
927 virtual void* getValue(string key);
928 virtual void setValue(string key, void* value);
929
930 private:
931 INTEGER event_collection;
932 INTEGER events;
933 STRING estimated_luminosity;
934 INTEGER validation_status;
935 STRING name;
936 INTEGER status;
937 };
938
939 class T_Info_Evcollrow_DB_BINDING : public BaseSchemaNConstraintsBinding {
940 public:
941 T_Info_Evcollrow_DB_BINDING();
942 virtual string* getTableName(void);
943 private:
944 string TableName;
945 };
946
947 template<>
948 class RowSchemaNConstraintsBinding<T_Info_Evcollrow> {
949 public:
950 T_Info_Evcollrow_DB_BINDING schemaNconstraints;
951 };
952
953 //##############
954
955 class T_Runrow : public RowInterface {
956 public:
957 T_Runrow();
958
959
960 virtual void* getValue(string key);
961 virtual void setValue(string key, void* value);
962
963 private:
964 INTEGER id;
965 INTEGER run_number;
966 INTEGER run_quality;
967 };
968
969 class T_Runrow_DB_BINDING : public BaseSchemaNConstraintsBinding {
970 public:
971 T_Runrow_DB_BINDING();
972 virtual string* getTableName(void);
973 private:
974 string TableName;
975 };
976
977 template<>
978 class RowSchemaNConstraintsBinding<T_Runrow> {
979 public:
980 T_Runrow_DB_BINDING schemaNconstraints;
981 };
982
983 //##############
984
985 class T_Evcoll_Runrow : public RowInterface {
986 public:
987 T_Evcoll_Runrow();
988
989
990 virtual void* getValue(string key);
991 virtual void setValue(string key, void* value);
992
993 private:
994 INTEGER event_collection;
995 INTEGER run;
996 };
997
998 class T_Evcoll_Runrow_DB_BINDING : public BaseSchemaNConstraintsBinding {
999 public:
1000 T_Evcoll_Runrow_DB_BINDING();
1001 virtual string* getTableName(void);
1002 private:
1003 string TableName;
1004 };
1005
1006 template<>
1007 class RowSchemaNConstraintsBinding<T_Evcoll_Runrow> {
1008 public:
1009 T_Evcoll_Runrow_DB_BINDING schemaNconstraints;
1010 };
1011
1012 //##############
1013
1014 class Insertappsmultirow : public RowInterface {
1015 public:
1016
1017 Insertappsmultirow();
1018 ~Insertappsmultirow();
1019
1020 virtual void* getValue(string key);
1021 virtual void setValue(string key, void* value);
1022
1023 private:
1024
1025 T_App_Familyrow* T_App_Familyobj;
1026 T_Collection_Typerow* T_Collection_Typeobj;
1027 T_Applicationrow* T_Applicationobj;
1028 T_App_Configrow* T_App_Configobj;
1029 };
1030
1031 class Insertappsmultirow_DB_BINDING : public BaseSchemaNConstraintsBinding {
1032 public:
1033 Insertappsmultirow_DB_BINDING();
1034 virtual string* getTableName(void);
1035 private:
1036 string TableName;
1037 };
1038
1039 template<>
1040 class RowSchemaNConstraintsBinding<Insertappsmultirow> {
1041 public:
1042 Insertappsmultirow_DB_BINDING schemaNconstraints;
1043 };
1044
1045 //##############
1046
1047 class Personmultirow : public RowInterface {
1048 public:
1049
1050 Personmultirow();
1051 ~Personmultirow();
1052
1053 virtual void* getValue(string key);
1054 virtual void setValue(string key, void* value);
1055
1056 private:
1057
1058 T_Personrow* T_Personobj;
1059 };
1060
1061 class Personmultirow_DB_BINDING : public BaseSchemaNConstraintsBinding {
1062 public:
1063 Personmultirow_DB_BINDING();
1064 virtual string* getTableName(void);
1065 private:
1066 string TableName;
1067 };
1068
1069 template<>
1070 class RowSchemaNConstraintsBinding<Personmultirow> {
1071 public:
1072 Personmultirow_DB_BINDING schemaNconstraints;
1073 };
1074
1075 //##############
1076
1077 class Physicsgroupmultirow : public RowInterface {
1078 public:
1079
1080 Physicsgroupmultirow();
1081 ~Physicsgroupmultirow();
1082
1083 virtual void* getValue(string key);
1084 virtual void setValue(string key, void* value);
1085
1086 private:
1087
1088 T_Personrow* T_Personobj;
1089 T_Physics_Grouprow* T_Physics_Groupobj;
1090 };
1091
1092 class Physicsgroupmultirow_DB_BINDING : public BaseSchemaNConstraintsBinding {
1093 public:
1094 Physicsgroupmultirow_DB_BINDING();
1095 virtual string* getTableName(void);
1096 private:
1097 string TableName;
1098 };
1099
1100 template<>
1101 class RowSchemaNConstraintsBinding<Physicsgroupmultirow> {
1102 public:
1103 Physicsgroupmultirow_DB_BINDING schemaNconstraints;
1104 };
1105
1106 //##############
1107
1108 class Evcollviewmultirow : public RowInterface {
1109 public:
1110
1111 Evcollviewmultirow();
1112 ~Evcollviewmultirow();
1113
1114 virtual void* getValue(string key);
1115 virtual void setValue(string key, void* value);
1116
1117 private:
1118
1119 T_Event_Collectionrow* T_Event_Collectionobj;
1120 T_Evcoll_Statusrow* T_Evcoll_Statusobj;
1121 T_Validation_Statusrow* T_Validation_Statusobj;
1122 T_Info_Evcollrow* T_Info_Evcollobj;
1123 };
1124
1125 class Evcollviewmultirow_DB_BINDING : public BaseSchemaNConstraintsBinding {
1126 public:
1127 Evcollviewmultirow_DB_BINDING();
1128 virtual string* getTableName(void);
1129 private:
1130 string TableName;
1131 };
1132
1133 template<>
1134 class RowSchemaNConstraintsBinding<Evcollviewmultirow> {
1135 public:
1136 Evcollviewmultirow_DB_BINDING schemaNconstraints;
1137 };
1138
1139 //##############
1140
1141 class Fileviewmultirow : public RowInterface {
1142 public:
1143
1144 Fileviewmultirow();
1145 ~Fileviewmultirow();
1146
1147 virtual void* getValue(string key);
1148 virtual void setValue(string key, void* value);
1149
1150 private:
1151
1152 T_File_Typerow* T_File_Typeobj;
1153 T_File_Statusrow* T_File_Statusobj;
1154 T_Block_Statusrow* T_Block_Statusobj;
1155 T_Blockrow* T_Blockobj;
1156 T_Filerow* T_Fileobj;
1157 T_Evcoll_Filerow* T_Evcoll_Fileobj;
1158 };
1159
1160 class Fileviewmultirow_DB_BINDING : public BaseSchemaNConstraintsBinding {
1161 public:
1162 Fileviewmultirow_DB_BINDING();
1163 virtual string* getTableName(void);
1164 private:
1165 string TableName;
1166 };
1167
1168 template<>
1169 class RowSchemaNConstraintsBinding<Fileviewmultirow> {
1170 public:
1171 Fileviewmultirow_DB_BINDING schemaNconstraints;
1172 };
1173
1174 //##############
1175
1176 class Primarydatasetmultirow : public RowInterface {
1177 public:
1178
1179 Primarydatasetmultirow();
1180 ~Primarydatasetmultirow();
1181
1182 virtual void* getValue(string key);
1183 virtual void setValue(string key, void* value);
1184
1185 private:
1186
1187 T_Desc_Mcrow* T_Desc_Mcobj;
1188 T_Desc_Primaryrow* T_Desc_Primaryobj;
1189 T_Physics_Grouprow* T_Physics_Groupobj;
1190 T_Primary_Datasetrow* T_Primary_Datasetobj;
1191 };
1192
1193 class Primarydatasetmultirow_DB_BINDING : public BaseSchemaNConstraintsBinding {
1194 public:
1195 Primarydatasetmultirow_DB_BINDING();
1196 virtual string* getTableName(void);
1197 private:
1198 string TableName;
1199 };
1200
1201 template<>
1202 class RowSchemaNConstraintsBinding<Primarydatasetmultirow> {
1203 public:
1204 Primarydatasetmultirow_DB_BINDING schemaNconstraints;
1205 };
1206
1207 //##############
1208
1209 class Processingpathmultirow : public RowInterface {
1210 public:
1211
1212 Processingpathmultirow();
1213 ~Processingpathmultirow();
1214
1215 virtual void* getValue(string key);
1216 virtual void setValue(string key, void* value);
1217
1218 private:
1219
1220 T_Data_Tierrow* T_Data_Tierobj;
1221 T_Processing_Pathrow* T_Processing_Pathobj;
1222 T_Primary_Datasetrow* T_Primary_Datasetobj;
1223 T_Processed_Datasetrow* T_Processed_Datasetobj;
1224 };
1225
1226 class Processingpathmultirow_DB_BINDING : public BaseSchemaNConstraintsBinding {
1227 public:
1228 Processingpathmultirow_DB_BINDING();
1229 virtual string* getTableName(void);
1230 private:
1231 string TableName;
1232 };
1233
1234 template<>
1235 class RowSchemaNConstraintsBinding<Processingpathmultirow> {
1236 public:
1237 Processingpathmultirow_DB_BINDING schemaNconstraints;
1238 };
1239
1240 //##############
1241
1242 class Analysisdatasetmultirow : public RowInterface {
1243 public:
1244
1245 Analysisdatasetmultirow();
1246 ~Analysisdatasetmultirow();
1247
1248 virtual void* getValue(string key);
1249 virtual void setValue(string key, void* value);
1250
1251 private:
1252
1253 T_Analysis_Datasetrow* T_Analysis_Datasetobj;
1254 T_Anads_Datarow* T_Anads_Dataobj;
1255 T_Dataset_Statusrow* T_Dataset_Statusobj;
1256 T_Validation_Statusrow* T_Validation_Statusobj;
1257 T_Info_Anadsrow* T_Info_Anadsobj;
1258 };
1259
1260 class Analysisdatasetmultirow_DB_BINDING : public BaseSchemaNConstraintsBinding {
1261 public:
1262 Analysisdatasetmultirow_DB_BINDING();
1263 virtual string* getTableName(void);
1264 private:
1265 string TableName;
1266 };
1267
1268 template<>
1269 class RowSchemaNConstraintsBinding<Analysisdatasetmultirow> {
1270 public:
1271 Analysisdatasetmultirow_DB_BINDING schemaNconstraints;
1272 };
1273
1274 //##############
1275
1276 class Datasetprovenenceevchildmultirow : public RowInterface {
1277 public:
1278
1279 Datasetprovenenceevchildmultirow();
1280 ~Datasetprovenenceevchildmultirow();
1281
1282 virtual void* getValue(string key);
1283 virtual void setValue(string key, void* value);
1284
1285 private:
1286
1287 T_Data_Tierrow* T_Data_Tierobj;
1288 T_Processing_Pathrow* T_Processing_Pathobj;
1289 T_Primary_Datasetrow* T_Primary_Datasetobj;
1290 T_Processed_Datasetrow* T_Processed_Datasetobj;
1291 T_Event_Collectionrow* T_Event_Collectionobj;
1292 T_Parentage_Typerow* T_Parentage_Typeobj;
1293 T_Evcoll_Parentagerow* T_Evcoll_Parentageobj;
1294 };
1295
1296 class Datasetprovenenceevchildmultirow_DB_BINDING : public BaseSchemaNConstraintsBinding {
1297 public:
1298 Datasetprovenenceevchildmultirow_DB_BINDING();
1299 virtual string* getTableName(void);
1300 private:
1301 string TableName;
1302 };
1303
1304 template<>
1305 class RowSchemaNConstraintsBinding<Datasetprovenenceevchildmultirow> {
1306 public:
1307 Datasetprovenenceevchildmultirow_DB_BINDING schemaNconstraints;
1308 };
1309
1310 //##############
1311
1312 class Datasetprovenenceevparentmultirow : public RowInterface {
1313 public:
1314
1315 Datasetprovenenceevparentmultirow();
1316 ~Datasetprovenenceevparentmultirow();
1317
1318 virtual void* getValue(string key);
1319 virtual void setValue(string key, void* value);
1320
1321 private:
1322
1323 T_Data_Tierrow* T_Data_Tierobj;
1324 T_Processing_Pathrow* T_Processing_Pathobj;
1325 T_Primary_Datasetrow* T_Primary_Datasetobj;
1326 T_Processed_Datasetrow* T_Processed_Datasetobj;
1327 T_Event_Collectionrow* T_Event_Collectionobj;
1328 T_Parentage_Typerow* T_Parentage_Typeobj;
1329 T_Evcoll_Parentagerow* T_Evcoll_Parentageobj;
1330 };
1331
1332 class Datasetprovenenceevparentmultirow_DB_BINDING : public BaseSchemaNConstraintsBinding {
1333 public:
1334 Datasetprovenenceevparentmultirow_DB_BINDING();
1335 virtual string* getTableName(void);
1336 private:
1337 string TableName;
1338 };
1339
1340 template<>
1341 class RowSchemaNConstraintsBinding<Datasetprovenenceevparentmultirow> {
1342 public:
1343 Datasetprovenenceevparentmultirow_DB_BINDING schemaNconstraints;
1344 };
1345
1346 //##############
1347
1348 class Crabevcollviewmultirow : public RowInterface {
1349 public:
1350
1351 Crabevcollviewmultirow();
1352 ~Crabevcollviewmultirow();
1353
1354 virtual void* getValue(string key);
1355 virtual void setValue(string key, void* value);
1356
1357 private:
1358
1359 T_Data_Tierrow* T_Data_Tierobj;
1360 T_Processing_Pathrow* T_Processing_Pathobj;
1361 T_Primary_Datasetrow* T_Primary_Datasetobj;
1362 T_Processed_Datasetrow* T_Processed_Datasetobj;
1363 T_Event_Collectionrow* T_Event_Collectionobj;
1364 T_Blockrow* T_Blockobj;
1365 T_Info_Evcollrow* T_Info_Evcollobj;
1366 };
1367
1368 class Crabevcollviewmultirow_DB_BINDING : public BaseSchemaNConstraintsBinding {
1369 public:
1370 Crabevcollviewmultirow_DB_BINDING();
1371 virtual string* getTableName(void);
1372 private:
1373 string TableName;
1374 };
1375
1376 template<>
1377 class RowSchemaNConstraintsBinding<Crabevcollviewmultirow> {
1378 public:
1379 Crabevcollviewmultirow_DB_BINDING schemaNconstraints;
1380 };
1381
1382 //##############
1383 typedef SingleTableInterface<T_Schema_Revisionrow> T_Schema_RevisionTable;
1384 typedef SingleTableInterface<T_Personrow> T_PersonTable;
1385 typedef SingleTableInterface<T_Physics_Grouprow> T_Physics_GroupTable;
1386 typedef SingleTableInterface<T_Collection_Typerow> T_Collection_TypeTable;
1387 typedef SingleTableInterface<T_App_Familyrow> T_App_FamilyTable;
1388 typedef SingleTableInterface<T_Applicationrow> T_ApplicationTable;
1389 typedef SingleTableInterface<T_App_Configrow> T_App_ConfigTable;
1390 typedef SingleTableInterface<T_Desc_Triggerrow> T_Desc_TriggerTable;
1391 typedef SingleTableInterface<T_Desc_Mcrow> T_Desc_McTable;
1392 typedef SingleTableInterface<T_Desc_Primaryrow> T_Desc_PrimaryTable;
1393 typedef SingleTableInterface<T_Data_Tierrow> T_Data_TierTable;
1394 typedef SingleTableInterface<T_Primary_Datasetrow> T_Primary_DatasetTable;
1395 typedef SingleTableInterface<T_Processing_Pathrow> T_Processing_PathTable;
1396 typedef SingleTableInterface<T_Processed_Datasetrow> T_Processed_DatasetTable;
1397 typedef SingleTableInterface<T_Event_Collectionrow> T_Event_CollectionTable;
1398 typedef SingleTableInterface<T_Analysis_Datasetrow> T_Analysis_DatasetTable;
1399 typedef SingleTableInterface<T_Anads_Datarow> T_Anads_DataTable;
1400 typedef SingleTableInterface<T_Parentage_Typerow> T_Parentage_TypeTable;
1401 typedef SingleTableInterface<T_Evcoll_Parentagerow> T_Evcoll_ParentageTable;
1402 typedef SingleTableInterface<T_Block_Statusrow> T_Block_StatusTable;
1403 typedef SingleTableInterface<T_Blockrow> T_BlockTable;
1404 typedef SingleTableInterface<T_File_Statusrow> T_File_StatusTable;
1405 typedef SingleTableInterface<T_File_Typerow> T_File_TypeTable;
1406 typedef SingleTableInterface<T_Filerow> T_FileTable;
1407 typedef SingleTableInterface<T_Evcoll_Filerow> T_Evcoll_FileTable;
1408 typedef SingleTableInterface<T_Validation_Statusrow> T_Validation_StatusTable;
1409 typedef SingleTableInterface<T_Dataset_Statusrow> T_Dataset_StatusTable;
1410 typedef SingleTableInterface<T_Evcoll_Statusrow> T_Evcoll_StatusTable;
1411 typedef SingleTableInterface<T_Run_Qualityrow> T_Run_QualityTable;
1412 typedef SingleTableInterface<T_Info_Anadsrow> T_Info_AnadsTable;
1413 typedef SingleTableInterface<T_Info_Evcollrow> T_Info_EvcollTable;
1414 typedef SingleTableInterface<T_Runrow> T_RunTable;
1415 typedef SingleTableInterface<T_Evcoll_Runrow> T_Evcoll_RunTable;
1416 typedef MultiTableInterface<Insertappsmultirow> InsertappsMultiTable;
1417 typedef MultiTableInterface<Personmultirow> PersonMultiTable;
1418 typedef MultiTableInterface<Physicsgroupmultirow> PhysicsgroupMultiTable;
1419 typedef MultiTableInterface<Evcollviewmultirow> EvcollviewMultiTable;
1420 typedef MultiTableInterface<Fileviewmultirow> FileviewMultiTable;
1421 typedef MultiTableInterface<Primarydatasetmultirow> PrimarydatasetMultiTable;
1422 typedef MultiTableInterface<Processingpathmultirow> ProcessingpathMultiTable;
1423 typedef MultiTableInterface<Analysisdatasetmultirow> AnalysisdatasetMultiTable;
1424 typedef MultiTableInterface<Datasetprovenenceevchildmultirow> DatasetprovenenceevchildMultiTable;
1425 typedef MultiTableInterface<Datasetprovenenceevparentmultirow> DatasetprovenenceevparentMultiTable;
1426 typedef MultiTableInterface<Crabevcollviewmultirow> CrabevcollviewMultiTable;
1427
1428 #endif
1429
1430