LibreOffice Module ucb (master) 1
Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
ucb_impl::Regexp Class Reference

#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
 

Detailed Description

Definition at line 27 of file regexp.hxx.

Member Enumeration Documentation

◆ Kind

Enumerator
KIND_PREFIX 
KIND_AUTHORITY 
KIND_DOMAIN 

Definition at line 30 of file regexp.hxx.

Constructor & Destructor Documentation

◆ Regexp()

Regexp::Regexp ( Kind  eTheKind,
OUString  aThePrefix,
bool  bTheEmptyDomain,
OUString  aTheInfix,
bool  bTheTranslation,
OUString  aTheReversePrefix 
)
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().

Member Function Documentation

◆ getKind()

Kind ucb_impl::Regexp::getKind ( ) const
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().

◆ getRegexp()

OUString Regexp::getRegexp ( ) const

◆ isDefault()

bool ucb_impl::Regexp::isDefault ( ) const
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().

◆ matches()

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.

◆ operator==()

bool ucb_impl::Regexp::operator== ( Regexp const &  rOther) const
inline

Definition at line 64 of file regexp.hxx.

References m_aInfix, m_aPrefix, and m_eKind.

◆ parse()

Regexp Regexp::parse ( OUString const &  rRegexp)
static

Member Data Documentation

◆ m_aInfix

OUString ucb_impl::Regexp::m_aInfix
private

Definition at line 53 of file regexp.hxx.

Referenced by getRegexp(), matches(), operator==(), and Regexp().

◆ m_aPrefix

OUString ucb_impl::Regexp::m_aPrefix
private

Definition at line 52 of file regexp.hxx.

Referenced by getRegexp(), isDefault(), matches(), and operator==().

◆ m_aReversePrefix

OUString ucb_impl::Regexp::m_aReversePrefix
private

Definition at line 54 of file regexp.hxx.

Referenced by getRegexp(), and Regexp().

◆ m_bEmptyDomain

bool ucb_impl::Regexp::m_bEmptyDomain
private

Definition at line 55 of file regexp.hxx.

Referenced by getRegexp(), matches(), and Regexp().

◆ m_bTranslation

bool ucb_impl::Regexp::m_bTranslation
private

Definition at line 56 of file regexp.hxx.

Referenced by getRegexp(), and Regexp().

◆ m_eKind

Kind ucb_impl::Regexp::m_eKind
private

Definition at line 51 of file regexp.hxx.

Referenced by getKind(), getRegexp(), isDefault(), matches(), operator==(), and Regexp().


The documentation for this class was generated from the following files: