ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/DBS/Servers/AppServer/include/ObjectLayerTables.hpp
Revision: 1.5
Committed: Tue Dec 13 23:13:39 2005 UTC (19 years, 4 months ago) by sekhri
Branch: MAIN
Changes since 1.4: +6 -3 lines
Log Message:
Added insertEventCollection and insertFiles API to work with Sinsisa high level api

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