LibreOffice Module sc (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
oox::xls::ApiTokenIterator Class Reference

Token sequence iterator that is able to skip space tokens. More...

#include <formulabase.hxx>

Public Member Functions

 ApiTokenIterator (const ApiTokenSequence &rTokens, sal_Int32 nSpacesOpCode)
 
bool is () const
 
const ApiTokenoperator-> () const
 
ApiTokenIteratoroperator++ ()
 

Private Member Functions

void skipSpaces ()
 

Private Attributes

const ApiTokenmpToken
 
const ApiTokenmpTokenEnd
 Pointer to current token of the token sequence. More...
 
const sal_Int32 mnSpacesOpCode
 Pointer behind last token of the token sequence. More...
 

Detailed Description

Token sequence iterator that is able to skip space tokens.

Definition at line 297 of file formulabase.hxx.

Constructor & Destructor Documentation

◆ ApiTokenIterator()

oox::xls::ApiTokenIterator::ApiTokenIterator ( const ApiTokenSequence rTokens,
sal_Int32  nSpacesOpCode 
)
explicit

Definition at line 149 of file formulabase.cxx.

References getLength(), and skipSpaces().

Member Function Documentation

◆ is()

bool oox::xls::ApiTokenIterator::is ( ) const
inline

◆ operator++()

ApiTokenIterator & oox::xls::ApiTokenIterator::operator++ ( void  )

Definition at line 157 of file formulabase.cxx.

References is(), mpToken, and skipSpaces().

◆ operator->()

const ApiToken * oox::xls::ApiTokenIterator::operator-> ( ) const
inline

Definition at line 302 of file formulabase.hxx.

References mpToken.

◆ skipSpaces()

void oox::xls::ApiTokenIterator::skipSpaces ( )
private

Definition at line 167 of file formulabase.cxx.

References is(), mnSpacesOpCode, and mpToken.

Referenced by ApiTokenIterator(), and operator++().

Member Data Documentation

◆ mnSpacesOpCode

const sal_Int32 oox::xls::ApiTokenIterator::mnSpacesOpCode
private

Pointer behind last token of the token sequence.

Definition at line 312 of file formulabase.hxx.

Referenced by skipSpaces().

◆ mpToken

const ApiToken* oox::xls::ApiTokenIterator::mpToken
private

Definition at line 310 of file formulabase.hxx.

Referenced by is(), operator++(), operator->(), and skipSpaces().

◆ mpTokenEnd

const ApiToken* oox::xls::ApiTokenIterator::mpTokenEnd
private

Pointer to current token of the token sequence.

Definition at line 311 of file formulabase.hxx.

Referenced by is().


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