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 261 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 ( )
inline
bool TokenStack::HasMoreTokens ( ) const
inline

Definition at line 277 of file tokstack.hxx.

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

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

Definition at line 299 of file tokstack.hxx.

References nPos, nSize, pStack, and SAL_WARN.

void TokenStack::operator>> ( TokenId rId)
inline

Definition at line 314 of file tokstack.hxx.

References nPos, pStack, and SAL_WARN.

void TokenStack::Reset ( void  )
inline

Definition at line 328 of file tokstack.hxx.

References nPos.

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

Member Data Documentation

sal_uInt16 TokenStack::nPos
private

Definition at line 267 of file tokstack.hxx.

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

const sal_uInt16 TokenStack::nSize = 1024
staticprivate

Definition at line 268 of file tokstack.hxx.

Referenced by operator<<().

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

Definition at line 266 of file tokstack.hxx.

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


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