LibreOffice Module svl (master) 1
Public Member Functions | Private Types | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
SvAddressParser_Impl Class Reference
Collaboration diagram for SvAddressParser_Impl:
[legend]

Public Member Functions

 SvAddressParser_Impl (SvAddressParser *pParser, const OUString &rIn)
 

Private Types

enum  State {
  BEFORE_COLON ,
  BEFORE_LESS ,
  AFTER_LESS ,
  AFTER_GREATER
}
 
enum  TokenType : sal_uInt32 {
  TOKEN_QUOTED = 0x80000000 ,
  TOKEN_DOMAIN ,
  TOKEN_COMMENT ,
  TOKEN_ATOM
}
 

Private Member Functions

void reset ()
 
void addTokenToAddrSpec (ElementType eTokenElem)
 
bool readToken ()
 

Static Private Member Functions

static OUString reparse (sal_Unicode const *pBegin, sal_Unicode const *pEnd)
 

Private Attributes

sal_Unicode const * m_pInputPos
 
sal_Unicode const * m_pInputEnd
 
sal_uInt32 m_nCurToken
 
sal_Unicode const * m_pCurTokenBegin
 
sal_Unicode const * m_pCurTokenEnd
 
ParsedAddrSpec m_aOuterAddrSpec
 
ParsedAddrSpec m_aInnerAddrSpec
 
ParsedAddrSpec * m_pAddrSpec
 
State m_eState
 
TokenType m_eType
 

Detailed Description

Definition at line 66 of file adrparse.cxx.

Member Enumeration Documentation

◆ State

Enumerator
BEFORE_COLON 
BEFORE_LESS 
AFTER_LESS 
AFTER_GREATER 

Definition at line 68 of file adrparse.cxx.

◆ TokenType

enum SvAddressParser_Impl::TokenType : sal_uInt32
private
Enumerator
TOKEN_QUOTED 
TOKEN_DOMAIN 
TOKEN_COMMENT 
TOKEN_ATOM 

Definition at line 70 of file adrparse.cxx.

Constructor & Destructor Documentation

◆ SvAddressParser_Impl()

SvAddressParser_Impl::SvAddressParser_Impl ( SvAddressParser pParser,
const OUString &  rIn 
)

Member Function Documentation

◆ addTokenToAddrSpec()

void SvAddressParser_Impl::addTokenToAddrSpec ( ElementType  eTokenElem)
private

Definition at line 106 of file adrparse.cxx.

References m_pAddrSpec, m_pCurTokenBegin, and m_pCurTokenEnd.

Referenced by SvAddressParser_Impl().

◆ readToken()

bool SvAddressParser_Impl::readToken ( )
private

◆ reparse()

OUString SvAddressParser_Impl::reparse ( sal_Unicode const *  pBegin,
sal_Unicode const *  pEnd 
)
staticprivate

Definition at line 247 of file adrparse.cxx.

References eMode, TOKEN_ATOM, TOKEN_COMMENT, TOKEN_DOMAIN, and TOKEN_QUOTED.

Referenced by SvAddressParser_Impl().

◆ reset()

void SvAddressParser_Impl::reset ( )
inlineprivate

Member Data Documentation

◆ m_aInnerAddrSpec

ParsedAddrSpec SvAddressParser_Impl::m_aInnerAddrSpec
private

Definition at line 79 of file adrparse.cxx.

Referenced by reset(), and SvAddressParser_Impl().

◆ m_aOuterAddrSpec

ParsedAddrSpec SvAddressParser_Impl::m_aOuterAddrSpec
private

Definition at line 78 of file adrparse.cxx.

Referenced by reset(), and SvAddressParser_Impl().

◆ m_eState

State SvAddressParser_Impl::m_eState
private

Definition at line 81 of file adrparse.cxx.

Referenced by reset(), and SvAddressParser_Impl().

◆ m_eType

TokenType SvAddressParser_Impl::m_eType
private

Definition at line 82 of file adrparse.cxx.

Referenced by readToken(), reset(), and SvAddressParser_Impl().

◆ m_nCurToken

sal_uInt32 SvAddressParser_Impl::m_nCurToken
private

Definition at line 75 of file adrparse.cxx.

Referenced by readToken(), and SvAddressParser_Impl().

◆ m_pAddrSpec

ParsedAddrSpec* SvAddressParser_Impl::m_pAddrSpec
private

Definition at line 80 of file adrparse.cxx.

Referenced by addTokenToAddrSpec(), reset(), and SvAddressParser_Impl().

◆ m_pCurTokenBegin

sal_Unicode const* SvAddressParser_Impl::m_pCurTokenBegin
private

Definition at line 76 of file adrparse.cxx.

Referenced by addTokenToAddrSpec(), and readToken().

◆ m_pCurTokenEnd

sal_Unicode const* SvAddressParser_Impl::m_pCurTokenEnd
private

Definition at line 77 of file adrparse.cxx.

Referenced by addTokenToAddrSpec(), and readToken().

◆ m_pInputEnd

sal_Unicode const* SvAddressParser_Impl::m_pInputEnd
private

Definition at line 74 of file adrparse.cxx.

Referenced by readToken(), and SvAddressParser_Impl().

◆ m_pInputPos

sal_Unicode const* SvAddressParser_Impl::m_pInputPos
private

Definition at line 73 of file adrparse.cxx.

Referenced by readToken(), and SvAddressParser_Impl().


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