A fluent API for creating LDAP filter strings.
More...
#include <usLDAPProp.h>
A fluent API for creating LDAP filter strings.
Examples for creating LDAPFilter objects:
LDAPPropExpr Approx(const std::string &s) const
LDAP approximation '~='.
LDAPProp(const std::string &property)
Create a LDAPProp instance for the named LDAP property.
- See also
- LDAPFilter
Definition at line 63 of file usLDAPProp.h.
◆ LDAPProp()
| us::LDAPProp::LDAPProp |
( |
const std::string & |
property | ) |
|
Create a LDAPProp instance for the named LDAP property.
- Parameters
-
| [in] | property | The name of the LDAP property. |
◆ Approx() [1/3]
| LDAPPropExpr us::LDAPProp::Approx |
( |
const std::string & |
s | ) |
const |
LDAP approximation '~='.
- Parameters
-
| [in] | s | A type convertible to std::string. |
- Returns
- A LDAP expression object.
◆ Approx() [2/3]
template<class T >
| LDAPPropExpr us::LDAPProp::Approx |
( |
const T & |
s | ) |
const |
|
inline |
LDAP approximation '~='.
- Parameters
-
| [in] | s | A type convertible to std::string. |
- Returns
- A LDAP expression object.
Definition at line 181 of file usLDAPProp.h.
◆ Approx() [3/3]
| LDAPPropExpr us::LDAPProp::Approx |
( |
const us::Any & |
s | ) |
const |
LDAP approximation '~='.
- Parameters
-
| [in] | s | A type convertible to std::string. |
- Returns
- A LDAP expression object.
◆ operator LDAPPropExpr()
| us::LDAPProp::operator LDAPPropExpr |
( |
| ) |
const |
Conversion operator to LDAPPropExpr for property presence checks.
◆ operator!()
| LDAPPropExpr us::LDAPProp::operator! |
( |
| ) |
const |
States the absence of the LDAP property.
- Returns
- A LDAP expression object.
◆ operator!=() [1/3]
Convenience operator for LDAP inequality.
Writing either
or
leads to the same string "(!(attr=val))".
- Parameters
-
| [in] | s | A type convertible to std::string. |
- Returns
- A LDAP expression object.
◆ operator!=() [2/3]
Convenience operator for LDAP inequality.
Writing either
or
leads to the same string "(!(attr=val))".
- Parameters
-
| [in] | s | A type convertible to std::string. |
- Returns
- A LDAP expression object.
Definition at line 124 of file usLDAPProp.h.
References mitk::operator!=().
◆ operator!=() [3/3]
Convenience operator for LDAP inequality.
Writing either
or
leads to the same string "(!(attr=val))".
- Parameters
-
| [in] | s | A type convertible to std::string. |
- Returns
- A LDAP expression object.
◆ operator<=() [1/3]
| LDAPPropExpr us::LDAPProp::operator<= |
( |
const std::string & |
s | ) |
const |
LDAP less or equal '<='.
- Parameters
-
| [in] | s | A type convertible to std::string. |
- Returns
- A LDAP expression object.
◆ operator<=() [2/3]
template<class T >
| LDAPPropExpr us::LDAPProp::operator<= |
( |
const T & |
s | ) |
const |
|
inline |
LDAP less or equal '<='.
- Parameters
-
| [in] | s | A type convertible to std::string. |
- Returns
- A LDAP expression object.
Definition at line 162 of file usLDAPProp.h.
◆ operator<=() [3/3]
| LDAPPropExpr us::LDAPProp::operator<= |
( |
const us::Any & |
s | ) |
const |
LDAP less or equal '<='.
- Parameters
-
| [in] | s | A type convertible to std::string. |
- Returns
- A LDAP expression object.
◆ operator==() [1/3]
| LDAPPropExpr us::LDAPProp::operator== |
( |
const std::string & |
s | ) |
const |
LDAP equality '='.
- Parameters
-
| [in] | s | A type convertible to std::string. |
- Returns
- A LDAP expression object.
◆ operator==() [2/3]
template<class T >
| LDAPPropExpr us::LDAPProp::operator== |
( |
const T & |
s | ) |
const |
|
inline |
LDAP equality '='.
- Parameters
-
| [in] | s | A type convertible to std::string. |
- Returns
- A LDAP expression object.
Definition at line 85 of file usLDAPProp.h.
◆ operator==() [3/3]
| LDAPPropExpr us::LDAPProp::operator== |
( |
const us::Any & |
s | ) |
const |
LDAP equality '='.
- Parameters
-
| [in] | s | A type convertible to std::string. |
- Returns
- A LDAP expression object.
◆ operator>=() [1/3]
| LDAPPropExpr us::LDAPProp::operator>= |
( |
const std::string & |
s | ) |
const |
LDAP greater or equal '>='.
- Parameters
-
| [in] | s | A type convertible to std::string. |
- Returns
- A LDAP expression object.
◆ operator>=() [2/3]
template<class T >
| LDAPPropExpr us::LDAPProp::operator>= |
( |
const T & |
s | ) |
const |
|
inline |
LDAP greater or equal '>='.
- Parameters
-
| [in] | s | A type convertible to std::string. |
- Returns
- A LDAP expression object.
Definition at line 143 of file usLDAPProp.h.
◆ operator>=() [3/3]
| LDAPPropExpr us::LDAPProp::operator>= |
( |
const us::Any & |
s | ) |
const |
LDAP greater or equal '>='.
- Parameters
-
| [in] | s | A type convertible to std::string. |
- Returns
- A LDAP expression object.
The documentation for this class was generated from the following file: