LibreOffice Module sax (master) 1
Public Member Functions | Static Public Member Functions | List of all members
sax_fastparser::FastTokenHandlerBase Class Referenceabstract

A native C++ interface to tokenisation. More...

#include <fastattribs.hxx>

Inheritance diagram for sax_fastparser::FastTokenHandlerBase:
[legend]
Collaboration diagram for sax_fastparser::FastTokenHandlerBase:
[legend]

Public Member Functions

virtual ~FastTokenHandlerBase ()
 
virtual sal_Int32 getTokenDirect (const char *pToken, sal_Int32 nLength) const =0
 

Static Public Member Functions

static sal_Int32 getTokenFromChars (const FastTokenHandlerBase *pTokenHandler, std::string_view str)
 Client method to attempt the use of this interface if possible. More...
 

Detailed Description

A native C++ interface to tokenisation.

Definition at line 55 of file fastattribs.hxx.

Constructor & Destructor Documentation

◆ ~FastTokenHandlerBase()

sax_fastparser::FastTokenHandlerBase::~FastTokenHandlerBase ( )
virtual

Definition at line 34 of file fastattribs.cxx.

Member Function Documentation

◆ getTokenDirect()

virtual sal_Int32 sax_fastparser::FastTokenHandlerBase::getTokenDirect ( const char *  pToken,
sal_Int32  nLength 
) const
pure virtual

Referenced by getTokenFromChars().

◆ getTokenFromChars()

sal_Int32 sax_fastparser::FastTokenHandlerBase::getTokenFromChars ( const FastTokenHandlerBase pTokenHandler,
std::string_view  str 
)
static

Client method to attempt the use of this interface if possible.

@xTokenHandler - the token lookup interface @str - string buffer to lookup

Returns
Tokenized form of str

Definition at line 282 of file fastattribs.cxx.

References getTokenDirect().

Referenced by sax_fastparser::FastAttributeList::getOptionalValueToken(), sax_fastparser::FastSaxParserImpl::GetToken(), and sax_fastparser::FastAttributeList::getValueToken().


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