00001
00014 #ifndef STI_IS_ACTIVE_FUNCTOR
00015 #define STI_IS_ACTIVE_FUNCTOR
00016 #include "Rtypes.h"
00017 class StiIsActiveFunctor
00018 {
00019 public:
00020
00021 StiIsActiveFunctor(Bool_t active=kTRUE,Bool_t editable=kTRUE);
00022 virtual ~StiIsActiveFunctor();
00023 virtual Bool_t isActive() const;
00024 virtual void setIsActive(Bool_t value);
00025 virtual Bool_t isEditable() const;
00026 virtual void setIsEditable(Bool_t value);
00027 virtual Bool_t operator()(Double_t dYlocal, Double_t dZlocal) const;
00028
00029 protected:
00030 Bool_t _active;
00031 Bool_t _editable;
00032 };
00033
00034 #endif // ifndef STI_IS_ACTIVE_FUNCTOR
00035