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 298 of file formulabase.hxx.

Constructor & Destructor Documentation

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

Definition at line 147 of file formulabase.cxx.

References getLength(), and skipSpaces().

Member Function Documentation

bool oox::xls::ApiTokenIterator::is ( ) const
inline
ApiTokenIterator & oox::xls::ApiTokenIterator::operator++ ( void  )

Definition at line 155 of file formulabase.cxx.

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

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

Definition at line 303 of file formulabase.hxx.

References mpToken.

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

Definition at line 165 of file formulabase.cxx.

References is(), mnSpacesOpCode, and mpToken.

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

Member Data Documentation

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

Pointer behind last token of the token sequence.

Definition at line 313 of file formulabase.hxx.

Referenced by skipSpaces().

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

Definition at line 311 of file formulabase.hxx.

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

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

Pointer to current token of the token sequence.

Definition at line 312 of file formulabase.hxx.

Referenced by is().


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