27 explicit LDAPPropExpr(
const std::string& expr);
28 LDAPPropExpr(
const LDAPPropExpr&) =
default;
30 LDAPPropExpr& operator!();
32 operator std::string()
const;
38 LDAPPropExpr& operator=(
const LDAPPropExpr&);
40 std::string m_ldapExpr;
89 return LDAPPropExpr(
"(" + m_property +
"=" + ss.str() +
")");
94 operator LDAPPropExpr ()
const;
126 std::stringstream ss;
145 std::stringstream ss;
147 return operator>=(ss.str());
164 std::stringstream ss;
166 return operator<=(ss.str());
178 LDAPPropExpr
Approx(
const std::string& s)
const;
183 std::stringstream ss;
185 return Approx(ss.str());
193 std::string m_property;
#define MITKCPPMICROSERVICES_EXPORT
An Any class represents a general type and is capable of storing any type, supporting type-safe extra...
A fluent API for creating LDAP filter strings.
LDAPPropExpr operator>=(const std::string &s) const
LDAP greater or equal '>='.
LDAPPropExpr Approx(const us::Any &s) const
LDAP approximation '~='.
LDAPPropExpr operator<=(const us::Any &s) const
LDAP less or equal '<='.
LDAPPropExpr operator!=(const std::string &s) const
Convenience operator for LDAP inequality.
LDAPPropExpr Approx(const std::string &s) const
LDAP approximation '~='.
LDAPPropExpr operator<=(const std::string &s) const
LDAP less or equal '<='.
LDAPPropExpr operator!=(const us::Any &s) const
Convenience operator for LDAP inequality.
LDAPPropExpr operator>=(const us::Any &s) const
LDAP greater or equal '>='.
LDAPPropExpr operator!=(const T &s) const
Convenience operator for LDAP inequality.
LDAPPropExpr operator<=(const T &s) const
LDAP less or equal '<='.
LDAPPropExpr operator!() const
States the absence of the LDAP property.
LDAPPropExpr operator==(const T &s) const
LDAP equality '='.
LDAPPropExpr operator==(const std::string &s) const
LDAP equality '='.
LDAPProp(const std::string &property)
Create a LDAPProp instance for the named LDAP property.
LDAPPropExpr operator>=(const T &s) const
LDAP greater or equal '>='.
LDAPPropExpr operator==(const us::Any &s) const
LDAP equality '='.
LDAPPropExpr Approx(const T &s) const
LDAP approximation '~='.
MITKCPPMICROSERVICES_EXPORT us::LDAPPropExpr operator&&(const us::LDAPPropExpr &left, const us::LDAPPropExpr &right)
LDAP logical and '&'.
MITKCPPMICROSERVICES_EXPORT us::LDAPPropExpr operator||(const us::LDAPPropExpr &left, const us::LDAPPropExpr &right)
LDAP logical or '|'.
MITKCORE_EXPORT bool operator!=(const InteractionEvent &a, const InteractionEvent &b)