Changeset 1936 for trunk/MagicSoft/Mars/mfilter
- Timestamp:
- 04/10/03 10:43:24 (22 years ago)
- Location:
- trunk/MagicSoft/Mars/mfilter
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mfilter/MF.cc
r1863 r1936 449 449 Bool_t MF::IsExpressionTrue() const 450 450 { 451 return fF->Is ExpressionTrue();451 return fF->IsConditionTrue(); 452 452 } 453 453 -
trunk/MagicSoft/Mars/mfilter/MFilterList.cc
r1668 r1936 105 105 return kTRUE; 106 106 107 Bool_t rc = filter->Is ExpressionTrue();107 Bool_t rc = filter->IsConditionTrue(); 108 108 109 109 // … … 114 114 case kEAnd: 115 115 while ((filter=(MFilter*)Next())) 116 rc &= filter->Is ExpressionTrue();116 rc &= filter->IsConditionTrue(); 117 117 break; 118 118 119 119 case kEOr: 120 120 while ((filter=(MFilter*)Next())) 121 rc |= filter->Is ExpressionTrue();121 rc |= filter->IsConditionTrue(); 122 122 break; 123 123 124 124 case kEXor: 125 125 while ((filter=(MFilter*)Next())) 126 rc ^= filter->Is ExpressionTrue();126 rc ^= filter->IsConditionTrue(); 127 127 break; 128 128 129 129 case kELAnd: 130 130 while ((filter=(MFilter*)Next())) 131 rc = (rc && filter->Is ExpressionTrue());131 rc = (rc && filter->IsConditionTrue()); 132 132 break; 133 133 134 134 case kELOr: 135 135 while ((filter=(MFilter*)Next())) 136 rc = (rc || filter->Is ExpressionTrue());136 rc = (rc || filter->IsConditionTrue()); 137 137 break; 138 138 }
Note:
See TracChangeset
for help on using the changeset viewer.