ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/DBS/Servers/AppServer/include/ObjectLayerTables.hpp
Revision: 1.7
Committed: Thu Dec 15 22:52:38 2005 UTC (19 years, 4 months ago) by sekhri
Branch: MAIN
CVS Tags: before_message_removal, preXOverChanges
Changes since 1.6: +6 -2 lines
Log Message:
Added paranteage information in the t_evcoll_paranteage table

File Contents

# User Rev Content
1 afaq 1.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 sekhri 1.7 INTEGER convenor;
87 afaq 1.1 };
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 sekhri 1.5 CHARACTER is_primary;
455 afaq 1.1 };
456    
457     class T_Event_Collectionrow_DB_BINDING : public BaseSchemaNConstraintsBinding {
458     public:
459     T_Event_Collectionrow_DB_BINDING();
460     virtual string* getTableName(void);
461     private:
462     string TableName;
463     };
464    
465     template<>
466     class RowSchemaNConstraintsBinding<T_Event_Collectionrow> {
467     public:
468     T_Event_Collectionrow_DB_BINDING schemaNconstraints;
469     };
470    
471     //##############
472    
473     class T_Analysis_Datasetrow : public RowInterface {
474     public:
475     T_Analysis_Datasetrow();
476    
477    
478     virtual void* getValue(string key);
479     virtual void setValue(string key, void* value);
480    
481     private:
482     INTEGER id;
483     INTEGER processed_dataset;
484     STRING name;
485     };
486    
487     class T_Analysis_Datasetrow_DB_BINDING : public BaseSchemaNConstraintsBinding {
488     public:
489     T_Analysis_Datasetrow_DB_BINDING();
490     virtual string* getTableName(void);
491     private:
492     string TableName;
493     };
494    
495     template<>
496     class RowSchemaNConstraintsBinding<T_Analysis_Datasetrow> {
497     public:
498     T_Analysis_Datasetrow_DB_BINDING schemaNconstraints;
499     };
500    
501     //##############
502    
503     class T_Anads_Datarow : public RowInterface {
504     public:
505     T_Anads_Datarow();
506    
507    
508     virtual void* getValue(string key);
509     virtual void setValue(string key, void* value);
510    
511     private:
512     INTEGER id;
513     INTEGER analysis_dataset;
514     INTEGER event_collection;
515 sekhri 1.5 CHARACTER is_primary;
516 afaq 1.1 };
517    
518     class T_Anads_Datarow_DB_BINDING : public BaseSchemaNConstraintsBinding {
519     public:
520     T_Anads_Datarow_DB_BINDING();
521     virtual string* getTableName(void);
522     private:
523     string TableName;
524     };
525    
526     template<>
527     class RowSchemaNConstraintsBinding<T_Anads_Datarow> {
528     public:
529     T_Anads_Datarow_DB_BINDING schemaNconstraints;
530     };
531    
532     //##############
533    
534     class T_Parentage_Typerow : public RowInterface {
535     public:
536     T_Parentage_Typerow();
537    
538    
539     virtual void* getValue(string key);
540     virtual void setValue(string key, void* value);
541    
542     private:
543     INTEGER id;
544     STRING name;
545     };
546    
547     class T_Parentage_Typerow_DB_BINDING : public BaseSchemaNConstraintsBinding {
548     public:
549     T_Parentage_Typerow_DB_BINDING();
550     virtual string* getTableName(void);
551     private:
552     string TableName;
553     };
554    
555     template<>
556     class RowSchemaNConstraintsBinding<T_Parentage_Typerow> {
557     public:
558     T_Parentage_Typerow_DB_BINDING schemaNconstraints;
559     };
560    
561     //##############
562    
563     class T_Evcoll_Parentagerow : public RowInterface {
564     public:
565     T_Evcoll_Parentagerow();
566    
567    
568     virtual void* getValue(string key);
569     virtual void setValue(string key, void* value);
570    
571     private:
572 sekhri 1.7 INTEGER id;
573 afaq 1.1 INTEGER parent;
574     INTEGER child;
575     INTEGER type;
576     };
577    
578     class T_Evcoll_Parentagerow_DB_BINDING : public BaseSchemaNConstraintsBinding {
579     public:
580     T_Evcoll_Parentagerow_DB_BINDING();
581     virtual string* getTableName(void);
582     private:
583     string TableName;
584     };
585    
586     template<>
587     class RowSchemaNConstraintsBinding<T_Evcoll_Parentagerow> {
588     public:
589     T_Evcoll_Parentagerow_DB_BINDING schemaNconstraints;
590     };
591    
592     //##############
593    
594     class T_Block_Statusrow : public RowInterface {
595     public:
596     T_Block_Statusrow();
597    
598    
599     virtual void* getValue(string key);
600     virtual void setValue(string key, void* value);
601    
602     private:
603     INTEGER id;
604     STRING name;
605     };
606    
607     class T_Block_Statusrow_DB_BINDING : public BaseSchemaNConstraintsBinding {
608     public:
609     T_Block_Statusrow_DB_BINDING();
610     virtual string* getTableName(void);
611     private:
612     string TableName;
613     };
614    
615     template<>
616     class RowSchemaNConstraintsBinding<T_Block_Statusrow> {
617     public:
618     T_Block_Statusrow_DB_BINDING schemaNconstraints;
619     };
620    
621     //##############
622    
623     class T_Blockrow : public RowInterface {
624     public:
625     T_Blockrow();
626    
627    
628     virtual void* getValue(string key);
629     virtual void setValue(string key, void* value);
630    
631     private:
632     INTEGER id;
633     INTEGER processed_dataset;
634     INTEGER status;
635     INTEGER files;
636     INTEGER bytes;
637     };
638    
639     class T_Blockrow_DB_BINDING : public BaseSchemaNConstraintsBinding {
640     public:
641     T_Blockrow_DB_BINDING();
642     virtual string* getTableName(void);
643     private:
644     string TableName;
645     };
646    
647     template<>
648     class RowSchemaNConstraintsBinding<T_Blockrow> {
649     public:
650     T_Blockrow_DB_BINDING schemaNconstraints;
651     };
652    
653     //##############
654    
655     class T_File_Statusrow : public RowInterface {
656     public:
657     T_File_Statusrow();
658    
659    
660     virtual void* getValue(string key);
661     virtual void setValue(string key, void* value);
662    
663     private:
664     INTEGER id;
665     STRING name;
666     };
667    
668     class T_File_Statusrow_DB_BINDING : public BaseSchemaNConstraintsBinding {
669     public:
670     T_File_Statusrow_DB_BINDING();
671     virtual string* getTableName(void);
672     private:
673     string TableName;
674     };
675    
676     template<>
677     class RowSchemaNConstraintsBinding<T_File_Statusrow> {
678     public:
679     T_File_Statusrow_DB_BINDING schemaNconstraints;
680     };
681    
682     //##############
683    
684     class T_File_Typerow : public RowInterface {
685     public:
686     T_File_Typerow();
687    
688    
689     virtual void* getValue(string key);
690     virtual void setValue(string key, void* value);
691    
692     private:
693     INTEGER id;
694     STRING name;
695     };
696    
697     class T_File_Typerow_DB_BINDING : public BaseSchemaNConstraintsBinding {
698     public:
699     T_File_Typerow_DB_BINDING();
700     virtual string* getTableName(void);
701     private:
702     string TableName;
703     };
704    
705     template<>
706     class RowSchemaNConstraintsBinding<T_File_Typerow> {
707     public:
708     T_File_Typerow_DB_BINDING schemaNconstraints;
709     };
710    
711     //##############
712    
713     class T_Filerow : public RowInterface {
714     public:
715     T_Filerow();
716    
717    
718     virtual void* getValue(string key);
719     virtual void setValue(string key, void* value);
720    
721     private:
722     INTEGER id;
723     STRING guid;
724     STRING logical_name;
725 sekhri 1.6 STRING checksum;
726 sekhri 1.5 STRING filesize;
727 afaq 1.1 INTEGER status;
728     INTEGER type;
729     INTEGER inblock;
730     };
731    
732     class T_Filerow_DB_BINDING : public BaseSchemaNConstraintsBinding {
733     public:
734     T_Filerow_DB_BINDING();
735     virtual string* getTableName(void);
736     private:
737     string TableName;
738     };
739    
740     template<>
741     class RowSchemaNConstraintsBinding<T_Filerow> {
742     public:
743     T_Filerow_DB_BINDING schemaNconstraints;
744     };
745    
746     //##############
747    
748     class T_Evcoll_Filerow : public RowInterface {
749     public:
750     T_Evcoll_Filerow();
751    
752    
753     virtual void* getValue(string key);
754     virtual void setValue(string key, void* value);
755    
756     private:
757     INTEGER id;
758     INTEGER evcoll;
759     INTEGER fileid;
760     };
761    
762     class T_Evcoll_Filerow_DB_BINDING : public BaseSchemaNConstraintsBinding {
763     public:
764     T_Evcoll_Filerow_DB_BINDING();
765     virtual string* getTableName(void);
766     private:
767     string TableName;
768     };
769    
770     template<>
771     class RowSchemaNConstraintsBinding<T_Evcoll_Filerow> {
772     public:
773     T_Evcoll_Filerow_DB_BINDING schemaNconstraints;
774     };
775    
776     //##############
777    
778     class T_Validation_Statusrow : public RowInterface {
779     public:
780     T_Validation_Statusrow();
781    
782    
783     virtual void* getValue(string key);
784     virtual void setValue(string key, void* value);
785    
786     private:
787     INTEGER id;
788     STRING name;
789     };
790    
791     class T_Validation_Statusrow_DB_BINDING : public BaseSchemaNConstraintsBinding {
792     public:
793     T_Validation_Statusrow_DB_BINDING();
794     virtual string* getTableName(void);
795     private:
796     string TableName;
797     };
798    
799     template<>
800     class RowSchemaNConstraintsBinding<T_Validation_Statusrow> {
801     public:
802     T_Validation_Statusrow_DB_BINDING schemaNconstraints;
803     };
804    
805     //##############
806    
807     class T_Dataset_Statusrow : public RowInterface {
808     public:
809     T_Dataset_Statusrow();
810    
811    
812     virtual void* getValue(string key);
813     virtual void setValue(string key, void* value);
814    
815     private:
816     INTEGER id;
817     STRING name;
818     };
819    
820     class T_Dataset_Statusrow_DB_BINDING : public BaseSchemaNConstraintsBinding {
821     public:
822     T_Dataset_Statusrow_DB_BINDING();
823     virtual string* getTableName(void);
824     private:
825     string TableName;
826     };
827    
828     template<>
829     class RowSchemaNConstraintsBinding<T_Dataset_Statusrow> {
830     public:
831     T_Dataset_Statusrow_DB_BINDING schemaNconstraints;
832     };
833    
834     //##############
835    
836     class T_Evcoll_Statusrow : public RowInterface {
837     public:
838     T_Evcoll_Statusrow();
839    
840    
841     virtual void* getValue(string key);
842     virtual void setValue(string key, void* value);
843    
844     private:
845     INTEGER id;
846     STRING name;
847     };
848    
849     class T_Evcoll_Statusrow_DB_BINDING : public BaseSchemaNConstraintsBinding {
850     public:
851     T_Evcoll_Statusrow_DB_BINDING();
852     virtual string* getTableName(void);
853     private:
854     string TableName;
855     };
856    
857     template<>
858     class RowSchemaNConstraintsBinding<T_Evcoll_Statusrow> {
859     public:
860     T_Evcoll_Statusrow_DB_BINDING schemaNconstraints;
861     };
862    
863     //##############
864    
865     class T_Run_Qualityrow : public RowInterface {
866     public:
867     T_Run_Qualityrow();
868    
869    
870     virtual void* getValue(string key);
871     virtual void setValue(string key, void* value);
872    
873     private:
874     INTEGER id;
875     STRING name;
876     };
877    
878     class T_Run_Qualityrow_DB_BINDING : public BaseSchemaNConstraintsBinding {
879     public:
880     T_Run_Qualityrow_DB_BINDING();
881     virtual string* getTableName(void);
882     private:
883     string TableName;
884     };
885    
886     template<>
887     class RowSchemaNConstraintsBinding<T_Run_Qualityrow> {
888     public:
889     T_Run_Qualityrow_DB_BINDING schemaNconstraints;
890     };
891    
892     //##############
893    
894     class T_Info_Anadsrow : public RowInterface {
895     public:
896     T_Info_Anadsrow();
897    
898    
899     virtual void* getValue(string key);
900     virtual void setValue(string key, void* value);
901    
902     private:
903     INTEGER analysis_dataset;
904     INTEGER events;
905     STRING estimated_luminiosity;
906     INTEGER status;
907     INTEGER validation_status;
908     };
909    
910     class T_Info_Anadsrow_DB_BINDING : public BaseSchemaNConstraintsBinding {
911     public:
912     T_Info_Anadsrow_DB_BINDING();
913     virtual string* getTableName(void);
914     private:
915     string TableName;
916     };
917    
918     template<>
919     class RowSchemaNConstraintsBinding<T_Info_Anadsrow> {
920     public:
921     T_Info_Anadsrow_DB_BINDING schemaNconstraints;
922     };
923    
924     //##############
925    
926     class T_Info_Evcollrow : public RowInterface {
927     public:
928     T_Info_Evcollrow();
929    
930    
931     virtual void* getValue(string key);
932     virtual void setValue(string key, void* value);
933    
934     private:
935     INTEGER event_collection;
936     INTEGER events;
937     STRING estimated_luminosity;
938     INTEGER validation_status;
939     STRING name;
940     INTEGER status;
941     };
942    
943     class T_Info_Evcollrow_DB_BINDING : public BaseSchemaNConstraintsBinding {
944     public:
945     T_Info_Evcollrow_DB_BINDING();
946     virtual string* getTableName(void);
947     private:
948     string TableName;
949     };
950    
951     template<>
952     class RowSchemaNConstraintsBinding<T_Info_Evcollrow> {
953     public:
954     T_Info_Evcollrow_DB_BINDING schemaNconstraints;
955     };
956    
957     //##############
958    
959     class T_Runrow : public RowInterface {
960     public:
961     T_Runrow();
962    
963    
964     virtual void* getValue(string key);
965     virtual void setValue(string key, void* value);
966    
967     private:
968     INTEGER id;
969     INTEGER run_number;
970     INTEGER run_quality;
971     };
972    
973     class T_Runrow_DB_BINDING : public BaseSchemaNConstraintsBinding {
974     public:
975     T_Runrow_DB_BINDING();
976     virtual string* getTableName(void);
977     private:
978     string TableName;
979     };
980    
981     template<>
982     class RowSchemaNConstraintsBinding<T_Runrow> {
983     public:
984     T_Runrow_DB_BINDING schemaNconstraints;
985     };
986    
987     //##############
988    
989     class T_Evcoll_Runrow : public RowInterface {
990     public:
991     T_Evcoll_Runrow();
992    
993    
994     virtual void* getValue(string key);
995     virtual void setValue(string key, void* value);
996    
997     private:
998     INTEGER event_collection;
999     INTEGER run;
1000     };
1001    
1002     class T_Evcoll_Runrow_DB_BINDING : public BaseSchemaNConstraintsBinding {
1003     public:
1004     T_Evcoll_Runrow_DB_BINDING();
1005     virtual string* getTableName(void);
1006     private:
1007     string TableName;
1008     };
1009    
1010     template<>
1011     class RowSchemaNConstraintsBinding<T_Evcoll_Runrow> {
1012     public:
1013     T_Evcoll_Runrow_DB_BINDING schemaNconstraints;
1014     };
1015    
1016     //##############
1017    
1018 afaq 1.3 class T_Object_Historyrow : public RowInterface {
1019     public:
1020     T_Object_Historyrow();
1021    
1022    
1023     virtual void* getValue(string key);
1024     virtual void setValue(string key, void* value);
1025    
1026     private:
1027     STRING object_type;
1028     INTEGER object_id;
1029     STRING operation;
1030     FLOAT at;
1031     INTEGER person;
1032     INTEGER mediator;
1033     };
1034    
1035     class T_Object_Historyrow_DB_BINDING : public BaseSchemaNConstraintsBinding {
1036     public:
1037     T_Object_Historyrow_DB_BINDING();
1038     virtual string* getTableName(void);
1039     private:
1040     string TableName;
1041     };
1042    
1043     template<>
1044     class RowSchemaNConstraintsBinding<T_Object_Historyrow> {
1045     public:
1046     T_Object_Historyrow_DB_BINDING schemaNconstraints;
1047     };
1048    
1049     //##############
1050    
1051 afaq 1.1 class Insertappsmultirow : public RowInterface {
1052     public:
1053    
1054     Insertappsmultirow();
1055     ~Insertappsmultirow();
1056    
1057     virtual void* getValue(string key);
1058     virtual void setValue(string key, void* value);
1059    
1060     private:
1061    
1062     T_App_Familyrow* T_App_Familyobj;
1063 afaq 1.2 T_Collection_Typerow* T_Application_Output_Typeobj;
1064     T_Collection_Typerow* T_Application_Input_Typeobj;
1065 afaq 1.1 T_Applicationrow* T_Applicationobj;
1066     T_App_Configrow* T_App_Configobj;
1067     };
1068    
1069     class Insertappsmultirow_DB_BINDING : public BaseSchemaNConstraintsBinding {
1070     public:
1071     Insertappsmultirow_DB_BINDING();
1072     virtual string* getTableName(void);
1073     private:
1074     string TableName;
1075     };
1076    
1077     template<>
1078     class RowSchemaNConstraintsBinding<Insertappsmultirow> {
1079     public:
1080     Insertappsmultirow_DB_BINDING schemaNconstraints;
1081     };
1082    
1083     //##############
1084    
1085     class Personmultirow : public RowInterface {
1086     public:
1087    
1088     Personmultirow();
1089     ~Personmultirow();
1090    
1091     virtual void* getValue(string key);
1092     virtual void setValue(string key, void* value);
1093    
1094     private:
1095    
1096     T_Personrow* T_Personobj;
1097     };
1098    
1099     class Personmultirow_DB_BINDING : public BaseSchemaNConstraintsBinding {
1100     public:
1101     Personmultirow_DB_BINDING();
1102     virtual string* getTableName(void);
1103     private:
1104     string TableName;
1105     };
1106    
1107     template<>
1108     class RowSchemaNConstraintsBinding<Personmultirow> {
1109     public:
1110     Personmultirow_DB_BINDING schemaNconstraints;
1111     };
1112    
1113     //##############
1114    
1115     class Physicsgroupmultirow : public RowInterface {
1116     public:
1117    
1118     Physicsgroupmultirow();
1119     ~Physicsgroupmultirow();
1120    
1121     virtual void* getValue(string key);
1122     virtual void setValue(string key, void* value);
1123    
1124     private:
1125    
1126 sekhri 1.7 T_Personrow* T_Personobj;
1127 afaq 1.1 T_Physics_Grouprow* T_Physics_Groupobj;
1128     };
1129    
1130     class Physicsgroupmultirow_DB_BINDING : public BaseSchemaNConstraintsBinding {
1131     public:
1132     Physicsgroupmultirow_DB_BINDING();
1133     virtual string* getTableName(void);
1134     private:
1135     string TableName;
1136     };
1137    
1138     template<>
1139     class RowSchemaNConstraintsBinding<Physicsgroupmultirow> {
1140     public:
1141     Physicsgroupmultirow_DB_BINDING schemaNconstraints;
1142     };
1143    
1144     //##############
1145    
1146     class Evcollviewmultirow : public RowInterface {
1147     public:
1148    
1149     Evcollviewmultirow();
1150     ~Evcollviewmultirow();
1151    
1152     virtual void* getValue(string key);
1153     virtual void setValue(string key, void* value);
1154    
1155     private:
1156    
1157     T_Event_Collectionrow* T_Event_Collectionobj;
1158     T_Evcoll_Statusrow* T_Evcoll_Statusobj;
1159     T_Validation_Statusrow* T_Validation_Statusobj;
1160     T_Info_Evcollrow* T_Info_Evcollobj;
1161 sekhri 1.7 T_Parentage_Typerow* T_Parentage_Typeobj;
1162     T_Evcoll_Parentagerow* T_Evcoll_Parentageobj;
1163 afaq 1.1 };
1164    
1165     class Evcollviewmultirow_DB_BINDING : public BaseSchemaNConstraintsBinding {
1166     public:
1167     Evcollviewmultirow_DB_BINDING();
1168     virtual string* getTableName(void);
1169     private:
1170     string TableName;
1171     };
1172    
1173     template<>
1174     class RowSchemaNConstraintsBinding<Evcollviewmultirow> {
1175     public:
1176     Evcollviewmultirow_DB_BINDING schemaNconstraints;
1177     };
1178    
1179     //##############
1180    
1181     class Fileviewmultirow : public RowInterface {
1182     public:
1183    
1184     Fileviewmultirow();
1185     ~Fileviewmultirow();
1186    
1187     virtual void* getValue(string key);
1188     virtual void setValue(string key, void* value);
1189    
1190     private:
1191    
1192     T_File_Typerow* T_File_Typeobj;
1193     T_File_Statusrow* T_File_Statusobj;
1194     T_Filerow* T_Fileobj;
1195     T_Evcoll_Filerow* T_Evcoll_Fileobj;
1196     };
1197    
1198     class Fileviewmultirow_DB_BINDING : public BaseSchemaNConstraintsBinding {
1199     public:
1200     Fileviewmultirow_DB_BINDING();
1201     virtual string* getTableName(void);
1202     private:
1203     string TableName;
1204     };
1205    
1206     template<>
1207     class RowSchemaNConstraintsBinding<Fileviewmultirow> {
1208     public:
1209     Fileviewmultirow_DB_BINDING schemaNconstraints;
1210     };
1211    
1212     //##############
1213    
1214 sekhri 1.6 class Blockviewmultirow : public RowInterface {
1215     public:
1216    
1217     Blockviewmultirow();
1218     ~Blockviewmultirow();
1219    
1220     virtual void* getValue(string key);
1221     virtual void setValue(string key, void* value);
1222    
1223     private:
1224    
1225     T_Block_Statusrow* T_Block_Statusobj;
1226     T_Blockrow* T_Blockobj;
1227     };
1228    
1229     class Blockviewmultirow_DB_BINDING : public BaseSchemaNConstraintsBinding {
1230     public:
1231     Blockviewmultirow_DB_BINDING();
1232     virtual string* getTableName(void);
1233     private:
1234     string TableName;
1235     };
1236    
1237     template<>
1238     class RowSchemaNConstraintsBinding<Blockviewmultirow> {
1239     public:
1240     Blockviewmultirow_DB_BINDING schemaNconstraints;
1241     };
1242    
1243     //##############
1244    
1245 afaq 1.1 class Primarydatasetmultirow : public RowInterface {
1246     public:
1247    
1248     Primarydatasetmultirow();
1249     ~Primarydatasetmultirow();
1250    
1251     virtual void* getValue(string key);
1252     virtual void setValue(string key, void* value);
1253    
1254     private:
1255    
1256 afaq 1.2 T_Desc_Triggerrow* T_Desc_Triggerobj;
1257 afaq 1.1 T_Desc_Mcrow* T_Desc_Mcobj;
1258     T_Desc_Primaryrow* T_Desc_Primaryobj;
1259     T_Physics_Grouprow* T_Physics_Groupobj;
1260     T_Primary_Datasetrow* T_Primary_Datasetobj;
1261     };
1262    
1263     class Primarydatasetmultirow_DB_BINDING : public BaseSchemaNConstraintsBinding {
1264     public:
1265     Primarydatasetmultirow_DB_BINDING();
1266     virtual string* getTableName(void);
1267     private:
1268     string TableName;
1269     };
1270    
1271     template<>
1272     class RowSchemaNConstraintsBinding<Primarydatasetmultirow> {
1273     public:
1274     Primarydatasetmultirow_DB_BINDING schemaNconstraints;
1275     };
1276    
1277     //##############
1278    
1279     class Processingpathmultirow : public RowInterface {
1280     public:
1281    
1282     Processingpathmultirow();
1283     ~Processingpathmultirow();
1284    
1285     virtual void* getValue(string key);
1286     virtual void setValue(string key, void* value);
1287    
1288     private:
1289    
1290 afaq 1.2 T_App_Familyrow* T_App_Familyobj;
1291     T_Collection_Typerow* T_Application_Output_Typeobj;
1292     T_Collection_Typerow* T_Application_Input_Typeobj;
1293 afaq 1.1 T_Data_Tierrow* T_Data_Tierobj;
1294 afaq 1.2 T_Applicationrow* T_Applicationobj;
1295     T_App_Configrow* T_App_Configobj;
1296 afaq 1.1 T_Processing_Pathrow* T_Processing_Pathobj;
1297 sekhri 1.5 T_Primary_Datasetrow* T_Primary_Datasetobj;
1298 afaq 1.1 T_Processed_Datasetrow* T_Processed_Datasetobj;
1299     };
1300    
1301     class Processingpathmultirow_DB_BINDING : public BaseSchemaNConstraintsBinding {
1302     public:
1303     Processingpathmultirow_DB_BINDING();
1304     virtual string* getTableName(void);
1305     private:
1306     string TableName;
1307     };
1308    
1309     template<>
1310     class RowSchemaNConstraintsBinding<Processingpathmultirow> {
1311     public:
1312     Processingpathmultirow_DB_BINDING schemaNconstraints;
1313     };
1314    
1315     //##############
1316    
1317     class Analysisdatasetmultirow : public RowInterface {
1318     public:
1319    
1320     Analysisdatasetmultirow();
1321     ~Analysisdatasetmultirow();
1322    
1323     virtual void* getValue(string key);
1324     virtual void setValue(string key, void* value);
1325    
1326     private:
1327    
1328     T_Analysis_Datasetrow* T_Analysis_Datasetobj;
1329     T_Anads_Datarow* T_Anads_Dataobj;
1330     T_Dataset_Statusrow* T_Dataset_Statusobj;
1331     T_Validation_Statusrow* T_Validation_Statusobj;
1332     T_Info_Anadsrow* T_Info_Anadsobj;
1333     };
1334    
1335     class Analysisdatasetmultirow_DB_BINDING : public BaseSchemaNConstraintsBinding {
1336     public:
1337     Analysisdatasetmultirow_DB_BINDING();
1338     virtual string* getTableName(void);
1339     private:
1340     string TableName;
1341     };
1342    
1343     template<>
1344     class RowSchemaNConstraintsBinding<Analysisdatasetmultirow> {
1345     public:
1346     Analysisdatasetmultirow_DB_BINDING schemaNconstraints;
1347     };
1348    
1349     //##############
1350    
1351     class Datasetprovenenceevchildmultirow : public RowInterface {
1352     public:
1353    
1354     Datasetprovenenceevchildmultirow();
1355     ~Datasetprovenenceevchildmultirow();
1356    
1357     virtual void* getValue(string key);
1358     virtual void setValue(string key, void* value);
1359    
1360     private:
1361    
1362     T_Data_Tierrow* T_Data_Tierobj;
1363     T_Processing_Pathrow* T_Processing_Pathobj;
1364     T_Primary_Datasetrow* T_Primary_Datasetobj;
1365     T_Processed_Datasetrow* T_Processed_Datasetobj;
1366     T_Event_Collectionrow* T_Event_Collectionobj;
1367     T_Parentage_Typerow* T_Parentage_Typeobj;
1368     T_Evcoll_Parentagerow* T_Evcoll_Parentageobj;
1369     };
1370    
1371     class Datasetprovenenceevchildmultirow_DB_BINDING : public BaseSchemaNConstraintsBinding {
1372     public:
1373     Datasetprovenenceevchildmultirow_DB_BINDING();
1374     virtual string* getTableName(void);
1375     private:
1376     string TableName;
1377     };
1378    
1379     template<>
1380     class RowSchemaNConstraintsBinding<Datasetprovenenceevchildmultirow> {
1381     public:
1382     Datasetprovenenceevchildmultirow_DB_BINDING schemaNconstraints;
1383     };
1384    
1385     //##############
1386    
1387     class Datasetprovenenceevparentmultirow : public RowInterface {
1388     public:
1389    
1390     Datasetprovenenceevparentmultirow();
1391     ~Datasetprovenenceevparentmultirow();
1392    
1393     virtual void* getValue(string key);
1394     virtual void setValue(string key, void* value);
1395    
1396     private:
1397    
1398     T_Data_Tierrow* T_Data_Tierobj;
1399     T_Processing_Pathrow* T_Processing_Pathobj;
1400     T_Primary_Datasetrow* T_Primary_Datasetobj;
1401     T_Processed_Datasetrow* T_Processed_Datasetobj;
1402     T_Event_Collectionrow* T_Event_Collectionobj;
1403     T_Parentage_Typerow* T_Parentage_Typeobj;
1404     T_Evcoll_Parentagerow* T_Evcoll_Parentageobj;
1405     };
1406    
1407     class Datasetprovenenceevparentmultirow_DB_BINDING : public BaseSchemaNConstraintsBinding {
1408     public:
1409     Datasetprovenenceevparentmultirow_DB_BINDING();
1410     virtual string* getTableName(void);
1411     private:
1412     string TableName;
1413     };
1414    
1415     template<>
1416     class RowSchemaNConstraintsBinding<Datasetprovenenceevparentmultirow> {
1417     public:
1418     Datasetprovenenceevparentmultirow_DB_BINDING schemaNconstraints;
1419     };
1420    
1421     //##############
1422    
1423     class Crabevcollviewmultirow : public RowInterface {
1424     public:
1425    
1426     Crabevcollviewmultirow();
1427     ~Crabevcollviewmultirow();
1428    
1429     virtual void* getValue(string key);
1430     virtual void setValue(string key, void* value);
1431    
1432     private:
1433    
1434     T_Data_Tierrow* T_Data_Tierobj;
1435     T_Processing_Pathrow* T_Processing_Pathobj;
1436     T_Primary_Datasetrow* T_Primary_Datasetobj;
1437     T_Processed_Datasetrow* T_Processed_Datasetobj;
1438     T_Event_Collectionrow* T_Event_Collectionobj;
1439 sekhri 1.7 T_Block_Statusrow* T_Block_Statusobj;
1440 afaq 1.1 T_Blockrow* T_Blockobj;
1441     T_Info_Evcollrow* T_Info_Evcollobj;
1442     };
1443    
1444     class Crabevcollviewmultirow_DB_BINDING : public BaseSchemaNConstraintsBinding {
1445     public:
1446     Crabevcollviewmultirow_DB_BINDING();
1447     virtual string* getTableName(void);
1448     private:
1449     string TableName;
1450     };
1451    
1452     template<>
1453     class RowSchemaNConstraintsBinding<Crabevcollviewmultirow> {
1454     public:
1455     Crabevcollviewmultirow_DB_BINDING schemaNconstraints;
1456     };
1457    
1458     //##############
1459     typedef SingleTableInterface<T_Schema_Revisionrow> T_Schema_RevisionTable;
1460     typedef SingleTableInterface<T_Personrow> T_PersonTable;
1461     typedef SingleTableInterface<T_Physics_Grouprow> T_Physics_GroupTable;
1462     typedef SingleTableInterface<T_Collection_Typerow> T_Collection_TypeTable;
1463     typedef SingleTableInterface<T_App_Familyrow> T_App_FamilyTable;
1464     typedef SingleTableInterface<T_Applicationrow> T_ApplicationTable;
1465     typedef SingleTableInterface<T_App_Configrow> T_App_ConfigTable;
1466     typedef SingleTableInterface<T_Desc_Triggerrow> T_Desc_TriggerTable;
1467     typedef SingleTableInterface<T_Desc_Mcrow> T_Desc_McTable;
1468     typedef SingleTableInterface<T_Desc_Primaryrow> T_Desc_PrimaryTable;
1469     typedef SingleTableInterface<T_Data_Tierrow> T_Data_TierTable;
1470     typedef SingleTableInterface<T_Primary_Datasetrow> T_Primary_DatasetTable;
1471     typedef SingleTableInterface<T_Processing_Pathrow> T_Processing_PathTable;
1472     typedef SingleTableInterface<T_Processed_Datasetrow> T_Processed_DatasetTable;
1473     typedef SingleTableInterface<T_Event_Collectionrow> T_Event_CollectionTable;
1474     typedef SingleTableInterface<T_Analysis_Datasetrow> T_Analysis_DatasetTable;
1475     typedef SingleTableInterface<T_Anads_Datarow> T_Anads_DataTable;
1476     typedef SingleTableInterface<T_Parentage_Typerow> T_Parentage_TypeTable;
1477     typedef SingleTableInterface<T_Evcoll_Parentagerow> T_Evcoll_ParentageTable;
1478     typedef SingleTableInterface<T_Block_Statusrow> T_Block_StatusTable;
1479     typedef SingleTableInterface<T_Blockrow> T_BlockTable;
1480     typedef SingleTableInterface<T_File_Statusrow> T_File_StatusTable;
1481     typedef SingleTableInterface<T_File_Typerow> T_File_TypeTable;
1482     typedef SingleTableInterface<T_Filerow> T_FileTable;
1483     typedef SingleTableInterface<T_Evcoll_Filerow> T_Evcoll_FileTable;
1484     typedef SingleTableInterface<T_Validation_Statusrow> T_Validation_StatusTable;
1485     typedef SingleTableInterface<T_Dataset_Statusrow> T_Dataset_StatusTable;
1486     typedef SingleTableInterface<T_Evcoll_Statusrow> T_Evcoll_StatusTable;
1487     typedef SingleTableInterface<T_Run_Qualityrow> T_Run_QualityTable;
1488     typedef SingleTableInterface<T_Info_Anadsrow> T_Info_AnadsTable;
1489     typedef SingleTableInterface<T_Info_Evcollrow> T_Info_EvcollTable;
1490     typedef SingleTableInterface<T_Runrow> T_RunTable;
1491     typedef SingleTableInterface<T_Evcoll_Runrow> T_Evcoll_RunTable;
1492 afaq 1.3 typedef SingleTableInterface<T_Object_Historyrow> T_Object_HistoryTable;
1493 afaq 1.1 typedef MultiTableInterface<Insertappsmultirow> InsertappsMultiTable;
1494     typedef MultiTableInterface<Personmultirow> PersonMultiTable;
1495     typedef MultiTableInterface<Physicsgroupmultirow> PhysicsgroupMultiTable;
1496     typedef MultiTableInterface<Evcollviewmultirow> EvcollviewMultiTable;
1497     typedef MultiTableInterface<Fileviewmultirow> FileviewMultiTable;
1498 sekhri 1.6 typedef MultiTableInterface<Blockviewmultirow> BlockviewMultiTable;
1499 afaq 1.1 typedef MultiTableInterface<Primarydatasetmultirow> PrimarydatasetMultiTable;
1500     typedef MultiTableInterface<Processingpathmultirow> ProcessingpathMultiTable;
1501     typedef MultiTableInterface<Analysisdatasetmultirow> AnalysisdatasetMultiTable;
1502     typedef MultiTableInterface<Datasetprovenenceevchildmultirow> DatasetprovenenceevchildMultiTable;
1503     typedef MultiTableInterface<Datasetprovenenceevparentmultirow> DatasetprovenenceevparentMultiTable;
1504     typedef MultiTableInterface<Crabevcollviewmultirow> CrabevcollviewMultiTable;
1505    
1506     #endif
1507    
1508