LibreOffice Module formula (master) 1
Public Member Functions | Private Attributes | List of all members
formula::FormulaTokenArrayPlainIterator Class Reference

#include <tokenarray.hxx>

Collaboration diagram for formula::FormulaTokenArrayPlainIterator:
[legend]

Public Member Functions

 FormulaTokenArrayPlainIterator (const FormulaTokenArray &rFTA)
 
void Reset ()
 
sal_uInt16 GetIndex () const
 
FormulaTokenFirst ()
 
void Jump (sal_uInt16 nIndex)
 
void StepBack ()
 
FormulaTokenNext ()
 
FormulaTokenNextNoSpaces ()
 
FormulaTokenGetNextName ()
 
FormulaTokenGetNextReference ()
 
FormulaTokenGetNextReferenceRPN ()
 
FormulaTokenGetNextReferenceOrName ()
 
FormulaTokenGetNextColRowName ()
 
FormulaTokenPeekNext ()
 
FormulaTokenPeekPrevNoSpaces () const
 
FormulaTokenPeekNextNoSpaces () const
 Only after Reset/First/Next/Last/Prev! More...
 
FormulaTokenFirstRPN ()
 Only after Reset/First/Next/Last/Prev! More...
 
FormulaTokenNextRPN ()
 
FormulaTokenLastRPN ()
 
FormulaTokenPrevRPN ()
 
void AfterRemoveToken (sal_uInt16 nOffset, sal_uInt16 nCount)
 

Private Attributes

const FormulaTokenArraympFTA
 
sal_uInt16 mnIndex
 

Detailed Description

Definition at line 599 of file tokenarray.hxx.

Constructor & Destructor Documentation

◆ FormulaTokenArrayPlainIterator()

formula::FormulaTokenArrayPlainIterator::FormulaTokenArrayPlainIterator ( const FormulaTokenArray rFTA)
inline

Definition at line 606 of file tokenarray.hxx.

References mnIndex.

Member Function Documentation

◆ AfterRemoveToken()

void formula::FormulaTokenArrayPlainIterator::AfterRemoveToken ( sal_uInt16  nOffset,
sal_uInt16  nCount 
)

Definition at line 1888 of file token.cxx.

References formula::FormulaTokenArray::GetLen(), mnIndex, mpFTA, and nCount.

Referenced by formula::FormulaCompiler::Factor().

◆ First()

FormulaToken * formula::FormulaTokenArrayPlainIterator::First ( )
inline

◆ FirstRPN()

FormulaToken * formula::FormulaTokenArrayPlainIterator::FirstRPN ( )
inline

Only after Reset/First/Next/Last/Prev!

Definition at line 650 of file tokenarray.hxx.

References mnIndex.

◆ GetIndex()

sal_uInt16 formula::FormulaTokenArrayPlainIterator::GetIndex ( ) const
inline

◆ GetNextColRowName()

FormulaToken * formula::FormulaTokenArrayPlainIterator::GetNextColRowName ( )

Definition at line 1754 of file token.cxx.

References formula::FormulaTokenArray::GetArray(), GetLen(), mnIndex, mpFTA, ocColRowName, and t.

◆ GetNextName()

FormulaToken * formula::FormulaTokenArrayPlainIterator::GetNextName ( )

◆ GetNextReference()

FormulaToken * formula::FormulaTokenArrayPlainIterator::GetNextReference ( )

◆ GetNextReferenceOrName()

FormulaToken * formula::FormulaTokenArrayPlainIterator::GetNextReferenceOrName ( )

◆ GetNextReferenceRPN()

FormulaToken * formula::FormulaTokenArrayPlainIterator::GetNextReferenceRPN ( )

◆ Jump()

void formula::FormulaTokenArrayPlainIterator::Jump ( sal_uInt16  nIndex)
inline

◆ LastRPN()

FormulaToken * formula::FormulaTokenArrayPlainIterator::LastRPN ( )
inline

Definition at line 658 of file tokenarray.hxx.

References formula::FormulaTokenArray::GetCodeLen(), and mnIndex.

◆ Next()

FormulaToken * formula::FormulaTokenArrayPlainIterator::Next ( void  )

◆ NextNoSpaces()

FormulaToken * formula::FormulaTokenArrayPlainIterator::NextNoSpaces ( )

◆ NextRPN()

FormulaToken * formula::FormulaTokenArrayPlainIterator::NextRPN ( )

Definition at line 1832 of file token.cxx.

References formula::FormulaTokenArray::GetCode(), mnIndex, and mpFTA.

◆ PeekNext()

FormulaToken * formula::FormulaTokenArrayPlainIterator::PeekNext ( )

◆ PeekNextNoSpaces()

FormulaToken * formula::FormulaTokenArrayPlainIterator::PeekNextNoSpaces ( ) const

◆ PeekPrevNoSpaces()

FormulaToken * formula::FormulaTokenArrayPlainIterator::PeekPrevNoSpaces ( ) const

◆ PrevRPN()

FormulaToken * formula::FormulaTokenArrayPlainIterator::PrevRPN ( )

Definition at line 1840 of file token.cxx.

References formula::FormulaTokenArray::GetCode(), mnIndex, and mpFTA.

◆ Reset()

void formula::FormulaTokenArrayPlainIterator::Reset ( void  )
inline

Definition at line 612 of file tokenarray.hxx.

References mnIndex.

Referenced by formula::FormulaCompiler::CompileTokenArray().

◆ StepBack()

void formula::FormulaTokenArrayPlainIterator::StepBack ( )
inline

Definition at line 633 of file tokenarray.hxx.

References mnIndex.

Referenced by formula::FormulaCompiler::GetToken().

Member Data Documentation

◆ mnIndex

sal_uInt16 formula::FormulaTokenArrayPlainIterator::mnIndex
private

◆ mpFTA

const FormulaTokenArray* formula::FormulaTokenArrayPlainIterator::mpFTA
private

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