ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/DBS/Servers/AppServer/include/ObjectLayerTables.hpp
Revision: 1.6
Committed: Wed Dec 14 20:13:23 2005 UTC (19 years, 4 months ago) by sekhri
Branch: MAIN
Changes since 1.5: +33 -2 lines
Log Message:
CreateBlock and getProcessedDataset api calls implemented and integrated with Top 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.6 STRING checksum;
725 sekhri 1.5 STRING filesize;
726 afaq 1.1 INTEGER status;
727     INTEGER type;
728     INTEGER inblock;
729     };
730    
731     class T_Filerow_DB_BINDING : public BaseSchemaNConstraintsBinding {
732     public:
733     T_Filerow_DB_BINDING();
734     virtual string* getTableName(void);
735     private:
736     string TableName;
737     };
738    
739     template<>
740     class RowSchemaNConstraintsBinding<T_Filerow> {
741     public:
742     T_Filerow_DB_BINDING schemaNconstraints;
743     };
744    
745     //##############
746    
747     class T_Evcoll_Filerow : public RowInterface {
748     public:
749     T_Evcoll_Filerow();
750    
751    
752     virtual void* getValue(string key);
753     virtual void setValue(string key, void* value);
754    
755     private:
756     INTEGER id;
757     INTEGER evcoll;
758     INTEGER fileid;
759     };
760    
761     class T_Evcoll_Filerow_DB_BINDING : public BaseSchemaNConstraintsBinding {
762     public:
763     T_Evcoll_Filerow_DB_BINDING();
764     virtual string* getTableName(void);
765     private:
766     string TableName;
767     };
768    
769     template<>
770     class RowSchemaNConstraintsBinding<T_Evcoll_Filerow> {
771     public:
772     T_Evcoll_Filerow_DB_BINDING schemaNconstraints;
773     };
774    
775     //##############
776    
777     class T_Validation_Statusrow : public RowInterface {
778     public:
779     T_Validation_Statusrow();
780    
781    
782     virtual void* getValue(string key);
783     virtual void setValue(string key, void* value);
784    
785     private:
786     INTEGER id;
787     STRING name;
788     };
789    
790     class T_Validation_Statusrow_DB_BINDING : public BaseSchemaNConstraintsBinding {
791     public:
792     T_Validation_Statusrow_DB_BINDING();
793     virtual string* getTableName(void);
794     private:
795     string TableName;
796     };
797    
798     template<>
799     class RowSchemaNConstraintsBinding<T_Validation_Statusrow> {
800     public:
801     T_Validation_Statusrow_DB_BINDING schemaNconstraints;
802     };
803    
804     //##############
805    
806     class T_Dataset_Statusrow : public RowInterface {
807     public:
808     T_Dataset_Statusrow();
809    
810    
811     virtual void* getValue(string key);
812     virtual void setValue(string key, void* value);
813    
814     private:
815     INTEGER id;
816     STRING name;
817     };
818    
819     class T_Dataset_Statusrow_DB_BINDING : public BaseSchemaNConstraintsBinding {
820     public:
821     T_Dataset_Statusrow_DB_BINDING();
822     virtual string* getTableName(void);
823     private:
824     string TableName;
825     };
826    
827     template<>
828     class RowSchemaNConstraintsBinding<T_Dataset_Statusrow> {
829     public:
830     T_Dataset_Statusrow_DB_BINDING schemaNconstraints;
831     };
832    
833     //##############
834    
835     class T_Evcoll_Statusrow : public RowInterface {
836     public:
837     T_Evcoll_Statusrow();
838    
839    
840     virtual void* getValue(string key);
841     virtual void setValue(string key, void* value);
842    
843     private:
844     INTEGER id;
845     STRING name;
846     };
847    
848     class T_Evcoll_Statusrow_DB_BINDING : public BaseSchemaNConstraintsBinding {
849     public:
850     T_Evcoll_Statusrow_DB_BINDING();
851     virtual string* getTableName(void);
852     private:
853     string TableName;
854     };
855    
856     template<>
857     class RowSchemaNConstraintsBinding<T_Evcoll_Statusrow> {
858     public:
859     T_Evcoll_Statusrow_DB_BINDING schemaNconstraints;
860     };
861    
862     //##############
863    
864     class T_Run_Qualityrow : public RowInterface {
865     public:
866     T_Run_Qualityrow();
867    
868    
869     virtual void* getValue(string key);
870     virtual void setValue(string key, void* value);
871    
872     private:
873     INTEGER id;
874     STRING name;
875     };
876    
877     class T_Run_Qualityrow_DB_BINDING : public BaseSchemaNConstraintsBinding {
878     public:
879     T_Run_Qualityrow_DB_BINDING();
880     virtual string* getTableName(void);
881     private:
882     string TableName;
883     };
884    
885     template<>
886     class RowSchemaNConstraintsBinding<T_Run_Qualityrow> {
887     public:
888     T_Run_Qualityrow_DB_BINDING schemaNconstraints;
889     };
890    
891     //##############
892    
893     class T_Info_Anadsrow : public RowInterface {
894     public:
895     T_Info_Anadsrow();
896    
897    
898     virtual void* getValue(string key);
899     virtual void setValue(string key, void* value);
900    
901     private:
902     INTEGER analysis_dataset;
903     INTEGER events;
904     STRING estimated_luminiosity;
905     INTEGER status;
906     INTEGER validation_status;
907     };
908    
909     class T_Info_Anadsrow_DB_BINDING : public BaseSchemaNConstraintsBinding {
910     public:
911     T_Info_Anadsrow_DB_BINDING();
912     virtual string* getTableName(void);
913     private:
914     string TableName;
915     };
916    
917     template<>
918     class RowSchemaNConstraintsBinding<T_Info_Anadsrow> {
919     public:
920     T_Info_Anadsrow_DB_BINDING schemaNconstraints;
921     };
922    
923     //##############
924    
925     class T_Info_Evcollrow : public RowInterface {
926     public:
927     T_Info_Evcollrow();
928    
929    
930     virtual void* getValue(string key);
931     virtual void setValue(string key, void* value);
932    
933     private:
934     INTEGER event_collection;
935     INTEGER events;
936     STRING estimated_luminosity;
937     INTEGER validation_status;
938     STRING name;
939     INTEGER status;
940     };
941    
942     class T_Info_Evcollrow_DB_BINDING : public BaseSchemaNConstraintsBinding {
943     public:
944     T_Info_Evcollrow_DB_BINDING();
945     virtual string* getTableName(void);
946     private:
947     string TableName;
948     };
949    
950     template<>
951     class RowSchemaNConstraintsBinding<T_Info_Evcollrow> {
952     public:
953     T_Info_Evcollrow_DB_BINDING schemaNconstraints;
954     };
955    
956     //##############
957    
958     class T_Runrow : public RowInterface {
959     public:
960     T_Runrow();
961    
962    
963     virtual void* getValue(string key);
964     virtual void setValue(string key, void* value);
965    
966     private:
967     INTEGER id;
968     INTEGER run_number;
969     INTEGER run_quality;
970     };
971    
972     class T_Runrow_DB_BINDING : public BaseSchemaNConstraintsBinding {
973     public:
974     T_Runrow_DB_BINDING();
975     virtual string* getTableName(void);
976     private:
977     string TableName;
978     };
979    
980     template<>
981     class RowSchemaNConstraintsBinding<T_Runrow> {
982     public:
983     T_Runrow_DB_BINDING schemaNconstraints;
984     };
985    
986     //##############
987    
988     class T_Evcoll_Runrow : public RowInterface {
989     public:
990     T_Evcoll_Runrow();
991    
992    
993     virtual void* getValue(string key);
994     virtual void setValue(string key, void* value);
995    
996     private:
997     INTEGER event_collection;
998     INTEGER run;
999     };
1000    
1001     class T_Evcoll_Runrow_DB_BINDING : public BaseSchemaNConstraintsBinding {
1002     public:
1003     T_Evcoll_Runrow_DB_BINDING();
1004     virtual string* getTableName(void);
1005     private:
1006     string TableName;
1007     };
1008    
1009     template<>
1010     class RowSchemaNConstraintsBinding<T_Evcoll_Runrow> {
1011     public:
1012     T_Evcoll_Runrow_DB_BINDING schemaNconstraints;
1013     };
1014    
1015     //##############
1016    
1017 afaq 1.3 class T_Object_Historyrow : public RowInterface {
1018     public:
1019     T_Object_Historyrow();
1020    
1021    
1022     virtual void* getValue(string key);
1023     virtual void setValue(string key, void* value);
1024    
1025     private:
1026     STRING object_type;
1027     INTEGER object_id;
1028     STRING operation;
1029     FLOAT at;
1030     INTEGER person;
1031     INTEGER mediator;
1032     };
1033    
1034     class T_Object_Historyrow_DB_BINDING : public BaseSchemaNConstraintsBinding {
1035     public:
1036     T_Object_Historyrow_DB_BINDING();
1037     virtual string* getTableName(void);
1038     private:
1039     string TableName;
1040     };
1041    
1042     template<>
1043     class RowSchemaNConstraintsBinding<T_Object_Historyrow> {
1044     public:
1045     T_Object_Historyrow_DB_BINDING schemaNconstraints;
1046     };
1047    
1048     //##############
1049    
1050 afaq 1.1 class Insertappsmultirow : public RowInterface {
1051     public:
1052    
1053     Insertappsmultirow();
1054     ~Insertappsmultirow();
1055    
1056     virtual void* getValue(string key);
1057     virtual void setValue(string key, void* value);
1058    
1059     private:
1060    
1061     T_App_Familyrow* T_App_Familyobj;
1062 afaq 1.2 T_Collection_Typerow* T_Application_Output_Typeobj;
1063     T_Collection_Typerow* T_Application_Input_Typeobj;
1064 afaq 1.1 T_Applicationrow* T_Applicationobj;
1065     T_App_Configrow* T_App_Configobj;
1066     };
1067    
1068     class Insertappsmultirow_DB_BINDING : public BaseSchemaNConstraintsBinding {
1069     public:
1070     Insertappsmultirow_DB_BINDING();
1071     virtual string* getTableName(void);
1072     private:
1073     string TableName;
1074     };
1075    
1076     template<>
1077     class RowSchemaNConstraintsBinding<Insertappsmultirow> {
1078     public:
1079     Insertappsmultirow_DB_BINDING schemaNconstraints;
1080     };
1081    
1082     //##############
1083    
1084     class Personmultirow : public RowInterface {
1085     public:
1086    
1087     Personmultirow();
1088     ~Personmultirow();
1089    
1090     virtual void* getValue(string key);
1091     virtual void setValue(string key, void* value);
1092    
1093     private:
1094    
1095     T_Personrow* T_Personobj;
1096     };
1097    
1098     class Personmultirow_DB_BINDING : public BaseSchemaNConstraintsBinding {
1099     public:
1100     Personmultirow_DB_BINDING();
1101     virtual string* getTableName(void);
1102     private:
1103     string TableName;
1104     };
1105    
1106     template<>
1107     class RowSchemaNConstraintsBinding<Personmultirow> {
1108     public:
1109     Personmultirow_DB_BINDING schemaNconstraints;
1110     };
1111    
1112     //##############
1113    
1114     class Physicsgroupmultirow : public RowInterface {
1115     public:
1116    
1117     Physicsgroupmultirow();
1118     ~Physicsgroupmultirow();
1119    
1120     virtual void* getValue(string key);
1121     virtual void setValue(string key, void* value);
1122    
1123     private:
1124    
1125 sekhri 1.5 T_Personrow* T_Physics_Group_Convenerobj;
1126 afaq 1.1 T_Physics_Grouprow* T_Physics_Groupobj;
1127     };
1128    
1129     class Physicsgroupmultirow_DB_BINDING : public BaseSchemaNConstraintsBinding {
1130     public:
1131     Physicsgroupmultirow_DB_BINDING();
1132     virtual string* getTableName(void);
1133     private:
1134     string TableName;
1135     };
1136    
1137     template<>
1138     class RowSchemaNConstraintsBinding<Physicsgroupmultirow> {
1139     public:
1140     Physicsgroupmultirow_DB_BINDING schemaNconstraints;
1141     };
1142    
1143     //##############
1144    
1145     class Evcollviewmultirow : public RowInterface {
1146     public:
1147    
1148     Evcollviewmultirow();
1149     ~Evcollviewmultirow();
1150    
1151     virtual void* getValue(string key);
1152     virtual void setValue(string key, void* value);
1153    
1154     private:
1155    
1156     T_Event_Collectionrow* T_Event_Collectionobj;
1157     T_Evcoll_Statusrow* T_Evcoll_Statusobj;
1158     T_Validation_Statusrow* T_Validation_Statusobj;
1159     T_Info_Evcollrow* T_Info_Evcollobj;
1160     };
1161    
1162     class Evcollviewmultirow_DB_BINDING : public BaseSchemaNConstraintsBinding {
1163     public:
1164     Evcollviewmultirow_DB_BINDING();
1165     virtual string* getTableName(void);
1166     private:
1167     string TableName;
1168     };
1169    
1170     template<>
1171     class RowSchemaNConstraintsBinding<Evcollviewmultirow> {
1172     public:
1173     Evcollviewmultirow_DB_BINDING schemaNconstraints;
1174     };
1175    
1176     //##############
1177    
1178     class Fileviewmultirow : public RowInterface {
1179     public:
1180    
1181     Fileviewmultirow();
1182     ~Fileviewmultirow();
1183    
1184     virtual void* getValue(string key);
1185     virtual void setValue(string key, void* value);
1186    
1187     private:
1188    
1189     T_File_Typerow* T_File_Typeobj;
1190     T_File_Statusrow* T_File_Statusobj;
1191     T_Filerow* T_Fileobj;
1192     T_Evcoll_Filerow* T_Evcoll_Fileobj;
1193     };
1194    
1195     class Fileviewmultirow_DB_BINDING : public BaseSchemaNConstraintsBinding {
1196     public:
1197     Fileviewmultirow_DB_BINDING();
1198     virtual string* getTableName(void);
1199     private:
1200     string TableName;
1201     };
1202    
1203     template<>
1204     class RowSchemaNConstraintsBinding<Fileviewmultirow> {
1205     public:
1206     Fileviewmultirow_DB_BINDING schemaNconstraints;
1207     };
1208    
1209     //##############
1210    
1211 sekhri 1.6 class Blockviewmultirow : public RowInterface {
1212     public:
1213    
1214     Blockviewmultirow();
1215     ~Blockviewmultirow();
1216    
1217     virtual void* getValue(string key);
1218     virtual void setValue(string key, void* value);
1219    
1220     private:
1221    
1222     T_Block_Statusrow* T_Block_Statusobj;
1223     T_Blockrow* T_Blockobj;
1224     };
1225    
1226     class Blockviewmultirow_DB_BINDING : public BaseSchemaNConstraintsBinding {
1227     public:
1228     Blockviewmultirow_DB_BINDING();
1229     virtual string* getTableName(void);
1230     private:
1231     string TableName;
1232     };
1233    
1234     template<>
1235     class RowSchemaNConstraintsBinding<Blockviewmultirow> {
1236     public:
1237     Blockviewmultirow_DB_BINDING schemaNconstraints;
1238     };
1239    
1240     //##############
1241    
1242 afaq 1.1 class Primarydatasetmultirow : public RowInterface {
1243     public:
1244    
1245     Primarydatasetmultirow();
1246     ~Primarydatasetmultirow();
1247    
1248     virtual void* getValue(string key);
1249     virtual void setValue(string key, void* value);
1250    
1251     private:
1252    
1253 afaq 1.2 T_Desc_Triggerrow* T_Desc_Triggerobj;
1254 afaq 1.1 T_Desc_Mcrow* T_Desc_Mcobj;
1255     T_Desc_Primaryrow* T_Desc_Primaryobj;
1256     T_Physics_Grouprow* T_Physics_Groupobj;
1257     T_Primary_Datasetrow* T_Primary_Datasetobj;
1258     };
1259    
1260     class Primarydatasetmultirow_DB_BINDING : public BaseSchemaNConstraintsBinding {
1261     public:
1262     Primarydatasetmultirow_DB_BINDING();
1263     virtual string* getTableName(void);
1264     private:
1265     string TableName;
1266     };
1267    
1268     template<>
1269     class RowSchemaNConstraintsBinding<Primarydatasetmultirow> {
1270     public:
1271     Primarydatasetmultirow_DB_BINDING schemaNconstraints;
1272     };
1273    
1274     //##############
1275    
1276     class Processingpathmultirow : public RowInterface {
1277     public:
1278    
1279     Processingpathmultirow();
1280     ~Processingpathmultirow();
1281    
1282     virtual void* getValue(string key);
1283     virtual void setValue(string key, void* value);
1284    
1285     private:
1286    
1287 afaq 1.2 T_App_Familyrow* T_App_Familyobj;
1288     T_Collection_Typerow* T_Application_Output_Typeobj;
1289     T_Collection_Typerow* T_Application_Input_Typeobj;
1290 afaq 1.1 T_Data_Tierrow* T_Data_Tierobj;
1291 afaq 1.2 T_Applicationrow* T_Applicationobj;
1292     T_App_Configrow* T_App_Configobj;
1293 afaq 1.1 T_Processing_Pathrow* T_Processing_Pathobj;
1294 sekhri 1.5 T_Primary_Datasetrow* T_Primary_Datasetobj;
1295 afaq 1.1 T_Processed_Datasetrow* T_Processed_Datasetobj;
1296     };
1297    
1298     class Processingpathmultirow_DB_BINDING : public BaseSchemaNConstraintsBinding {
1299     public:
1300     Processingpathmultirow_DB_BINDING();
1301     virtual string* getTableName(void);
1302     private:
1303     string TableName;
1304     };
1305    
1306     template<>
1307     class RowSchemaNConstraintsBinding<Processingpathmultirow> {
1308     public:
1309     Processingpathmultirow_DB_BINDING schemaNconstraints;
1310     };
1311    
1312     //##############
1313    
1314     class Analysisdatasetmultirow : public RowInterface {
1315     public:
1316    
1317     Analysisdatasetmultirow();
1318     ~Analysisdatasetmultirow();
1319    
1320     virtual void* getValue(string key);
1321     virtual void setValue(string key, void* value);
1322    
1323     private:
1324    
1325     T_Analysis_Datasetrow* T_Analysis_Datasetobj;
1326     T_Anads_Datarow* T_Anads_Dataobj;
1327     T_Dataset_Statusrow* T_Dataset_Statusobj;
1328     T_Validation_Statusrow* T_Validation_Statusobj;
1329     T_Info_Anadsrow* T_Info_Anadsobj;
1330     };
1331    
1332     class Analysisdatasetmultirow_DB_BINDING : public BaseSchemaNConstraintsBinding {
1333     public:
1334     Analysisdatasetmultirow_DB_BINDING();
1335     virtual string* getTableName(void);
1336     private:
1337     string TableName;
1338     };
1339    
1340     template<>
1341     class RowSchemaNConstraintsBinding<Analysisdatasetmultirow> {
1342     public:
1343     Analysisdatasetmultirow_DB_BINDING schemaNconstraints;
1344     };
1345    
1346     //##############
1347    
1348     class Datasetprovenenceevchildmultirow : public RowInterface {
1349     public:
1350    
1351     Datasetprovenenceevchildmultirow();
1352     ~Datasetprovenenceevchildmultirow();
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_Parentage_Typerow* T_Parentage_Typeobj;
1365     T_Evcoll_Parentagerow* T_Evcoll_Parentageobj;
1366     };
1367    
1368     class Datasetprovenenceevchildmultirow_DB_BINDING : public BaseSchemaNConstraintsBinding {
1369     public:
1370     Datasetprovenenceevchildmultirow_DB_BINDING();
1371     virtual string* getTableName(void);
1372     private:
1373     string TableName;
1374     };
1375    
1376     template<>
1377     class RowSchemaNConstraintsBinding<Datasetprovenenceevchildmultirow> {
1378     public:
1379     Datasetprovenenceevchildmultirow_DB_BINDING schemaNconstraints;
1380     };
1381    
1382     //##############
1383    
1384     class Datasetprovenenceevparentmultirow : public RowInterface {
1385     public:
1386    
1387     Datasetprovenenceevparentmultirow();
1388     ~Datasetprovenenceevparentmultirow();
1389    
1390     virtual void* getValue(string key);
1391     virtual void setValue(string key, void* value);
1392    
1393     private:
1394    
1395     T_Data_Tierrow* T_Data_Tierobj;
1396     T_Processing_Pathrow* T_Processing_Pathobj;
1397     T_Primary_Datasetrow* T_Primary_Datasetobj;
1398     T_Processed_Datasetrow* T_Processed_Datasetobj;
1399     T_Event_Collectionrow* T_Event_Collectionobj;
1400     T_Parentage_Typerow* T_Parentage_Typeobj;
1401     T_Evcoll_Parentagerow* T_Evcoll_Parentageobj;
1402     };
1403    
1404     class Datasetprovenenceevparentmultirow_DB_BINDING : public BaseSchemaNConstraintsBinding {
1405     public:
1406     Datasetprovenenceevparentmultirow_DB_BINDING();
1407     virtual string* getTableName(void);
1408     private:
1409     string TableName;
1410     };
1411    
1412     template<>
1413     class RowSchemaNConstraintsBinding<Datasetprovenenceevparentmultirow> {
1414     public:
1415     Datasetprovenenceevparentmultirow_DB_BINDING schemaNconstraints;
1416     };
1417    
1418     //##############
1419    
1420     class Crabevcollviewmultirow : public RowInterface {
1421     public:
1422    
1423     Crabevcollviewmultirow();
1424     ~Crabevcollviewmultirow();
1425    
1426     virtual void* getValue(string key);
1427     virtual void setValue(string key, void* value);
1428    
1429     private:
1430    
1431     T_Data_Tierrow* T_Data_Tierobj;
1432     T_Processing_Pathrow* T_Processing_Pathobj;
1433     T_Primary_Datasetrow* T_Primary_Datasetobj;
1434     T_Processed_Datasetrow* T_Processed_Datasetobj;
1435     T_Event_Collectionrow* T_Event_Collectionobj;
1436     T_Blockrow* T_Blockobj;
1437     T_Info_Evcollrow* T_Info_Evcollobj;
1438     };
1439    
1440     class Crabevcollviewmultirow_DB_BINDING : public BaseSchemaNConstraintsBinding {
1441     public:
1442     Crabevcollviewmultirow_DB_BINDING();
1443     virtual string* getTableName(void);
1444     private:
1445     string TableName;
1446     };
1447    
1448     template<>
1449     class RowSchemaNConstraintsBinding<Crabevcollviewmultirow> {
1450     public:
1451     Crabevcollviewmultirow_DB_BINDING schemaNconstraints;
1452     };
1453    
1454     //##############
1455     typedef SingleTableInterface<T_Schema_Revisionrow> T_Schema_RevisionTable;
1456     typedef SingleTableInterface<T_Personrow> T_PersonTable;
1457     typedef SingleTableInterface<T_Physics_Grouprow> T_Physics_GroupTable;
1458     typedef SingleTableInterface<T_Collection_Typerow> T_Collection_TypeTable;
1459     typedef SingleTableInterface<T_App_Familyrow> T_App_FamilyTable;
1460     typedef SingleTableInterface<T_Applicationrow> T_ApplicationTable;
1461     typedef SingleTableInterface<T_App_Configrow> T_App_ConfigTable;
1462     typedef SingleTableInterface<T_Desc_Triggerrow> T_Desc_TriggerTable;
1463     typedef SingleTableInterface<T_Desc_Mcrow> T_Desc_McTable;
1464     typedef SingleTableInterface<T_Desc_Primaryrow> T_Desc_PrimaryTable;
1465     typedef SingleTableInterface<T_Data_Tierrow> T_Data_TierTable;
1466     typedef SingleTableInterface<T_Primary_Datasetrow> T_Primary_DatasetTable;
1467     typedef SingleTableInterface<T_Processing_Pathrow> T_Processing_PathTable;
1468     typedef SingleTableInterface<T_Processed_Datasetrow> T_Processed_DatasetTable;
1469     typedef SingleTableInterface<T_Event_Collectionrow> T_Event_CollectionTable;
1470     typedef SingleTableInterface<T_Analysis_Datasetrow> T_Analysis_DatasetTable;
1471     typedef SingleTableInterface<T_Anads_Datarow> T_Anads_DataTable;
1472     typedef SingleTableInterface<T_Parentage_Typerow> T_Parentage_TypeTable;
1473     typedef SingleTableInterface<T_Evcoll_Parentagerow> T_Evcoll_ParentageTable;
1474     typedef SingleTableInterface<T_Block_Statusrow> T_Block_StatusTable;
1475     typedef SingleTableInterface<T_Blockrow> T_BlockTable;
1476     typedef SingleTableInterface<T_File_Statusrow> T_File_StatusTable;
1477     typedef SingleTableInterface<T_File_Typerow> T_File_TypeTable;
1478     typedef SingleTableInterface<T_Filerow> T_FileTable;
1479     typedef SingleTableInterface<T_Evcoll_Filerow> T_Evcoll_FileTable;
1480     typedef SingleTableInterface<T_Validation_Statusrow> T_Validation_StatusTable;
1481     typedef SingleTableInterface<T_Dataset_Statusrow> T_Dataset_StatusTable;
1482     typedef SingleTableInterface<T_Evcoll_Statusrow> T_Evcoll_StatusTable;
1483     typedef SingleTableInterface<T_Run_Qualityrow> T_Run_QualityTable;
1484     typedef SingleTableInterface<T_Info_Anadsrow> T_Info_AnadsTable;
1485     typedef SingleTableInterface<T_Info_Evcollrow> T_Info_EvcollTable;
1486     typedef SingleTableInterface<T_Runrow> T_RunTable;
1487     typedef SingleTableInterface<T_Evcoll_Runrow> T_Evcoll_RunTable;
1488 afaq 1.3 typedef SingleTableInterface<T_Object_Historyrow> T_Object_HistoryTable;
1489 afaq 1.1 typedef MultiTableInterface<Insertappsmultirow> InsertappsMultiTable;
1490     typedef MultiTableInterface<Personmultirow> PersonMultiTable;
1491     typedef MultiTableInterface<Physicsgroupmultirow> PhysicsgroupMultiTable;
1492     typedef MultiTableInterface<Evcollviewmultirow> EvcollviewMultiTable;
1493     typedef MultiTableInterface<Fileviewmultirow> FileviewMultiTable;
1494 sekhri 1.6 typedef MultiTableInterface<Blockviewmultirow> BlockviewMultiTable;
1495 afaq 1.1 typedef MultiTableInterface<Primarydatasetmultirow> PrimarydatasetMultiTable;
1496     typedef MultiTableInterface<Processingpathmultirow> ProcessingpathMultiTable;
1497     typedef MultiTableInterface<Analysisdatasetmultirow> AnalysisdatasetMultiTable;
1498     typedef MultiTableInterface<Datasetprovenenceevchildmultirow> DatasetprovenenceevchildMultiTable;
1499     typedef MultiTableInterface<Datasetprovenenceevparentmultirow> DatasetprovenenceevparentMultiTable;
1500     typedef MultiTableInterface<Crabevcollviewmultirow> CrabevcollviewMultiTable;
1501    
1502     #endif
1503    
1504