- Timestamp:
- 04/10/03 13:13:08 (22 years ago)
- Location:
- trunk/MagicSoft/Mars/mbase
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MContinue.cc
r1935 r1937 30 30 // (use with filters). For more details see the description of the 31 31 // constructors. 32 // 33 // To invert the meaning of the contained filter call SetInverted() 32 34 // 33 35 // Input Containers: … … 157 159 return kFALSE; 158 160 } 161 162 void MContinue::SetInverted(Bool_t i) 163 { 164 GetFilter()->SetInverted(i); 165 } 166 167 Bool_t MContinue::IsInverted() const 168 { 169 return GetFilter()->IsInverted(); 170 } -
trunk/MagicSoft/Mars/mbase/MContinue.h
r1935 r1937 34 34 ~MContinue(); 35 35 36 void SetFilter(MFilter *filter) { if (!TestBit(kIsOwner)) MTask::SetFilter(filter); } 36 // void SetFilter(MFilter *filter) { if (!TestBit(kIsOwner)) MTask::SetFilter(filter); } 37 38 void SetInverted(Bool_t i=kTRUE); 39 Bool_t IsInverted() const; 37 40 38 41 ClassDef(MContinue, 1) //Task returning kCONTINUE -
trunk/MagicSoft/Mars/mbase/MFilter.h
r1936 r1937 22 22 Bool_t IsConditionTrue() const { return fInverted ? !IsExpressionTrue() : IsExpressionTrue(); } 23 23 24 void SetInverted(Bool_t i ) { fInverted=i; }24 void SetInverted(Bool_t i=kTRUE) { fInverted=i; } 25 25 Bool_t IsInverted() const { return fInverted; } 26 26
Note:
See TracChangeset
for help on using the changeset viewer.