|
LibreOffice Module ucb (master) 1
|
#include <regexp.hxx>
Public Types | |
| enum | Kind { KIND_PREFIX , KIND_AUTHORITY , KIND_DOMAIN } |
Public Member Functions | |
| bool | operator== (Regexp const &rOther) const |
| bool | isDefault () const |
| Kind | getKind () const |
| bool | matches (OUString const &rString) const |
| OUString | getRegexp () const |
Static Public Member Functions | |
| static Regexp | parse (OUString const &rRegexp) |
Private Member Functions | |
| Regexp (Kind eTheKind, OUString aThePrefix, bool bTheEmptyDomain, OUString aTheInfix, bool bTheTranslation, OUString aTheReversePrefix) | |
Private Attributes | |
| Kind | m_eKind |
| OUString | m_aPrefix |
| OUString | m_aInfix |
| OUString | m_aReversePrefix |
| bool | m_bEmptyDomain |
| bool | m_bTranslation |
Definition at line 27 of file regexp.hxx.
| Enumerator | |
|---|---|
| KIND_PREFIX | |
| KIND_AUTHORITY | |
| KIND_DOMAIN | |
Definition at line 30 of file regexp.hxx.
|
inlineprivate |
Definition at line 38 of file regexp.cxx.
References KIND_DOMAIN, m_aInfix, m_aReversePrefix, m_bEmptyDomain, m_bTranslation, and m_eKind.
Referenced by parse().
|
inline |
Definition at line 42 of file regexp.hxx.
References m_eKind.
Referenced by ucb_impl::RegexpMap< Val >::add(), and ucb_impl::RegexpMap< Val >::find().
| OUString Regexp::getRegexp | ( | ) | const |
Definition at line 174 of file regexp.cxx.
References aBuffer, KIND_AUTHORITY, KIND_DOMAIN, KIND_PREFIX, m_aInfix, m_aPrefix, m_aReversePrefix, m_bEmptyDomain, m_bTranslation, and m_eKind.
Referenced by ucb_impl::RegexpMapConstIter< Val >::get().
|
inline |
Definition at line 39 of file regexp.hxx.
References KIND_PREFIX, m_aPrefix, and m_eKind.
Referenced by ucb_impl::RegexpMap< Val >::add(), and ucb_impl::RegexpMap< Val >::find().
| bool Regexp::matches | ( | OUString const & | rString | ) | const |
Definition at line 81 of file regexp.cxx.
References KIND_AUTHORITY, KIND_DOMAIN, KIND_PREFIX, m_aInfix, m_aPrefix, m_bEmptyDomain, m_eKind, and p.
|
inline |
Definition at line 64 of file regexp.hxx.
|
static |
Definition at line 292 of file regexp.cxx.
References KIND_AUTHORITY, KIND_DOMAIN, KIND_PREFIX, p, and Regexp().
Referenced by ucb_impl::RegexpMap< Val >::add(), and ucb_impl::RegexpMap< Val >::find().
|
private |
Definition at line 53 of file regexp.hxx.
Referenced by getRegexp(), matches(), operator==(), and Regexp().
|
private |
Definition at line 52 of file regexp.hxx.
Referenced by getRegexp(), isDefault(), matches(), and operator==().
|
private |
Definition at line 54 of file regexp.hxx.
Referenced by getRegexp(), and Regexp().
|
private |
Definition at line 55 of file regexp.hxx.
Referenced by getRegexp(), matches(), and Regexp().
|
private |
Definition at line 56 of file regexp.hxx.
Referenced by getRegexp(), and Regexp().
|
private |
Definition at line 51 of file regexp.hxx.
Referenced by getKind(), getRegexp(), isDefault(), matches(), operator==(), and Regexp().