LibreOffice Module xmloff (master) 1
Public Member Functions | Private Attributes | List of all members
xmloff::token::FastTokenHandler Class Referencefinal

#include <fasttokenhandler.hxx>

Inheritance diagram for xmloff::token::FastTokenHandler:
[legend]
Collaboration diagram for xmloff::token::FastTokenHandler:
[legend]

Public Member Functions

 FastTokenHandler ()
 
virtual ~FastTokenHandler () override
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getUTF8Identifier (sal_Int32 nToken) override
 
virtual sal_Int32 SAL_CALL getTokenFromUTF8 (const css::uno::Sequence< sal_Int8 > &Identifier) override
 
const OUString & getIdentifier (sal_Int32 nToken) const
 
virtual sal_Int32 getTokenDirect (const char *pToken, sal_Int32 nLength) const override
 
- Public Member Functions inherited from sax_fastparser::FastTokenHandlerBase
virtual ~FastTokenHandlerBase ()
 
virtual sal_Int32 getTokenDirect (const char *pToken, sal_Int32 nLength) const=0
 

Private Attributes

TokenMapmrTokenMap
 

Additional Inherited Members

- Static Public Member Functions inherited from sax_fastparser::FastTokenHandlerBase
static sal_Int32 getTokenFromChars (const FastTokenHandlerBase *pTokenHandler, std::string_view str)
 

Detailed Description

Definition at line 69 of file fasttokenhandler.hxx.

Constructor & Destructor Documentation

◆ FastTokenHandler()

xmloff::token::FastTokenHandler::FastTokenHandler ( )
explicit

Definition at line 76 of file fasttokenhandler.cxx.

◆ ~FastTokenHandler()

xmloff::token::FastTokenHandler::~FastTokenHandler ( )
overridevirtual

Definition at line 81 of file fasttokenhandler.cxx.

Member Function Documentation

◆ getIdentifier()

const OUString & xmloff::token::FastTokenHandler::getIdentifier ( sal_Int32  nToken) const

Definition at line 91 of file fasttokenhandler.cxx.

References xmloff::token::TokenMap::getTokenName(), mrTokenMap, and nToken.

◆ getTokenDirect()

sal_Int32 xmloff::token::FastTokenHandler::getTokenDirect ( const char *  pToken,
sal_Int32  nLength 
) const
overridevirtual

◆ getTokenFromUTF8()

virtual sal_Int32 SAL_CALL xmloff::token::FastTokenHandler::getTokenFromUTF8 ( const css::uno::Sequence< sal_Int8 > &  Identifier)
overridevirtual

◆ getUTF8Identifier()

uno::Sequence< sal_Int8 > xmloff::token::FastTokenHandler::getUTF8Identifier ( sal_Int32  nToken)
overridevirtual

Member Data Documentation

◆ mrTokenMap

TokenMap& xmloff::token::FastTokenHandler::mrTokenMap
private

Definition at line 86 of file fasttokenhandler.hxx.

Referenced by getIdentifier(), and getUTF8Identifier().


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