25 #include <usCoreConfig.h>
30 #pragma warning(disable:4251)
36 class US_Core_EXPORT LDAPPropExpr
40 explicit LDAPPropExpr(
const std::string& expr);
42 LDAPPropExpr& operator!();
44 operator std::string()
const;
50 LDAPPropExpr& operator=(
const LDAPPropExpr&);
52 std::string m_ldapExpr;
84 LDAPProp(
const std::string& property);
94 LDAPPropExpr
operator==(
const std::string& s)
const;
101 return LDAPPropExpr(
"(" + m_property +
"=" + ss.str() +
")");
105 operator LDAPPropExpr ()
const;
112 LDAPPropExpr operator!()
const;
132 LDAPPropExpr
operator!=(
const std::string& s)
const;
137 std::stringstream ss;
151 LDAPPropExpr operator>=(
const std::string& s)
const;
152 LDAPPropExpr operator>=(
const us::Any& s)
const;
156 std::stringstream ss;
158 return operator>=(ss.str());
170 LDAPPropExpr operator<=(
const std::string& s)
const;
171 LDAPPropExpr operator<=(
const us::Any& s)
const;
175 std::stringstream ss;
177 return operator<=(ss.str());
189 LDAPPropExpr Approx(
const std::string& s)
const;
190 LDAPPropExpr Approx(
const us::Any& s)
const;
194 std::stringstream ss;
196 return Approx(ss.str());
204 std::string m_property;
222 US_Core_EXPORT us::LDAPPropExpr
operator&&(
const us::LDAPPropExpr& left,
const us::LDAPPropExpr& right);
233 US_Core_EXPORT us::LDAPPropExpr
operator||(
const us::LDAPPropExpr& left,
const us::LDAPPropExpr& right);
235 #endif // USLDAPPROP_H
LDAPPropExpr Approx(const T &s) const
US_Core_EXPORT us::LDAPPropExpr operator&&(const us::LDAPPropExpr &left, const us::LDAPPropExpr &right)
MITKCORE_EXPORT bool operator!=(const InteractionEvent &a, const InteractionEvent &b)
US_Core_EXPORT us::LDAPPropExpr operator||(const us::LDAPPropExpr &left, const us::LDAPPropExpr &right)
LDAPPropExpr operator<=(const T &s) const
MITKCORE_EXPORT bool operator==(const InteractionEvent &a, const InteractionEvent &b)
LDAPPropExpr operator>=(const T &s) const
LDAPPropExpr operator!=(const T &s) const
LDAPPropExpr operator==(const T &s) const