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:
Collaboration diagram for xmloff::token::FastTokenHandler:

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


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 ( )

Definition at line 76 of file fasttokenhandler.cxx.

◆ ~FastTokenHandler()

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

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

◆ getTokenFromUTF8()

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

◆ getUTF8Identifier()

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

Member Data Documentation

◆ mrTokenMap

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

Definition at line 86 of file fasttokenhandler.hxx.

Referenced by getIdentifier(), and getUTF8Identifier().

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