LibreOffice Module sc (master)  1
Public Member Functions | Private Attributes | Static Private Attributes | List of all members
TokenStack Class Reference

#include <tokstack.hxx>

Public Member Functions

 TokenStack ()
 ~TokenStack ()
TokenStackoperator<< (const TokenId &rNewId)
void operator>> (TokenId &rId)
void Reset ()
bool HasMoreTokens () const
TokenId Get ()

Private Attributes

std::unique_ptr< TokenId[]> pStack
sal_uInt16 nPos

Static Private Attributes

static const sal_uInt16 nSize = 1024

Detailed Description

Definition at line 260 of file tokstack.hxx.

Constructor & Destructor Documentation

TokenStack::TokenStack ( )

Definition at line 32 of file tokstack.cxx.

References Reset().

TokenStack::~TokenStack ( )

Definition at line 38 of file tokstack.cxx.

Member Function Documentation

TokenId TokenStack::Get ( )
bool TokenStack::HasMoreTokens ( ) const

Definition at line 276 of file tokstack.hxx.

Referenced by QProToSc::DoFunc(), LotusToSc::DoFunc(), and ExcelToSc::DoMulArgs().

TokenStack & TokenStack::operator<< ( const TokenId rNewId)

Definition at line 298 of file tokstack.hxx.

References nPos, nSize, pStack, and SAL_WARN.

void TokenStack::operator>> ( TokenId rId)

Definition at line 313 of file tokstack.hxx.

References nPos, pStack, and SAL_WARN.

void TokenStack::Reset ( void  )

Definition at line 327 of file tokstack.hxx.

References nPos.

Referenced by ExcelToSc::GetBoolErr(), ConverterBase::Reset(), and TokenStack().

Member Data Documentation

sal_uInt16 TokenStack::nPos

Definition at line 266 of file tokstack.hxx.

Referenced by Get(), operator<<(), operator>>(), and Reset().

const sal_uInt16 TokenStack::nSize = 1024

Definition at line 267 of file tokstack.hxx.

Referenced by operator<<().

std::unique_ptr<TokenId[]> TokenStack::pStack

Definition at line 265 of file tokstack.hxx.

Referenced by Get(), operator<<(), and operator>>().

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