StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StiIsActiveFunctor.cxx
1 #include "StiIsActiveFunctor.h"
2 
3 StiIsActiveFunctor::StiIsActiveFunctor(bool active, bool editable)
4  : _active(active),
5  _editable(editable)
6 {} // StiIsActiveFunctor
7 
8 StiIsActiveFunctor::~StiIsActiveFunctor()
9 {} // ~StiIsActiveFunctor
10 
13 {
14  return _active;
15 }
16 
19 {
20  _active = active;
21 }
22 
25 {
26  return _editable;
27 }
28 
31 {
32  _editable = editable;
33 }
34 
39 bool StiIsActiveFunctor::operator()(double y, double z) const
40 {
41  return _active;
42 }
virtual void setIsEditable(Bool_t value)
Set whether the object is editable.
virtual Bool_t isActive() const
Returns whether the object is active.
virtual Bool_t operator()(Double_t dYlocal, Double_t dZlocal) const
virtual Bool_t isEditable() const
Returns whether the object is editable.
virtual void setIsActive(Bool_t value)
Set whether the object is active.