#ifndef VEGA_VConditionSetFMDB #define VEGA_VConditionSetFMDB //*-- Author : Damir Buskulic 11/07/00 #include "VConditionSet.h" #include "VConditionFormula.h" #include "VFrameMetaDB.h" ////////////////////////////////////////////////////////////////////////// // // // VConditionSetFMDB // // // // Class for managing sets of conditions, i.e. conditions // // that may have overlap(s) in time // // // ////////////////////////////////////////////////////////////////////////// class TObjArray; class VConditionFormula; class VFrameMetaDB; class VConditionSetFMDB : public VConditionSet { public : VConditionSetFMDB(); VConditionSetFMDB(VFrameMetaDB* metadb, VConditionFormula* condf = 0, VConditionFormula* self = 0); VConditionSetFMDB(VFrameMetaDB* metadb, const char* condfs, const char* selfs = 0); virtual ~VConditionSetFMDB(); virtual Double_t Eval(const char* formula); virtual void SetActive(Int_t conditionnumber); virtual void SetInactive(Int_t conditionnumber) {(*mActiveConditions)[conditionnumber] = 0;} virtual void SetSelection(Int_t conditionnumber); virtual void SetCurCondition(Int_t conditionnumber, VFrCondition* cond); virtual Int_t NearestGESet(Double_t time); virtual Int_t NearestGEFormSet(Double_t time); virtual Int_t NextSet(); virtual Int_t NextFormSet(); virtual Double_t GetIntersectionStart(); virtual Double_t GetIntersectionEnd(); virtual Double_t GetIntersectSelectStart(); virtual Double_t GetIntersectSelectEnd(); virtual Double_t GetLastConditionResult(); virtual Double_t GetLastSelectionResult(); virtual Int_t GetGroup(); ClassDef(VConditionSetFMDB,0) // Helper for managing sets of conditions (selections) }; #endif