| 69 | LDAPFilter::operator bool() const { return d != nullptr; } |
| 70 | |
| 71 | bool |
| 72 | LDAPFilter::Match(ServiceReferenceBase const& reference) const |
| 73 | { |
| 74 | return ((d) ? d->ldapExpr.Evaluate(reference.d.Load()->GetProperties(), false) : false); |
| 75 | } |
| 76 | |
| 77 | // This function has been modified to call the LDAPExpr::Evaluate() function which takes |
| 78 | // an AnyMap rather than a PropertiesHandle to optimize the code. Constructing a Properties |