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

#include <token.hxx>

Inheritance diagram for formula::FormulaIndexToken:
[legend]
Collaboration diagram for formula::FormulaIndexToken:
[legend]

Public Member Functions

 FormulaIndexToken (OpCode e, sal_uInt16 n, sal_Int16 nSheet=-1)
 
 FormulaIndexToken (const FormulaIndexToken &r)
 
virtual FormulaToken * Clone () const override
 
virtual sal_uInt16 GetIndex () const override
 
virtual void SetIndex (sal_uInt16 n) override
 
virtual sal_Int16 GetSheet () const override
 
virtual void SetSheet (sal_Int16 n) override
 
virtual bool operator== (const FormulaToken &rToken) const override
 
- Public Member Functions inherited from formula::FormulaToken
 FormulaToken (StackVar eTypeP, OpCode e=ocPush)
 
 FormulaToken (const FormulaToken &r)
 
virtual ~FormulaToken ()
 
void Delete ()
 
void DeleteIfZeroRef ()
 
StackVar GetType () const
 
bool IsFunction () const
 
bool IsExternalRef () const
 
bool IsRef () const
 
sal_uInt8 GetParamCount () const
 
void IncRef () const
 
void DecRef () const
 
oslInterlockedCount GetRef () const
 
OpCode GetOpCode () const
 
bool IsInForceArray () const
 
virtual sal_uInt8 GetByte () const
 Dummy methods to avoid switches and casts where possible, the real token classes have to override the appropriate method[s]. More...
 
virtual void SetByte (sal_uInt8 n)
 
virtual ParamClass GetInForceArray () const
 
virtual void SetInForceArray (ParamClass c)
 
virtual double GetDouble () const
 
virtual double & GetDoubleAsReference ()
 
virtual sal_Int16 GetDoubleType () const
 
virtual void SetDoubleType (sal_Int16 nType)
 
virtual const svl::SharedString & GetString () const
 
virtual void SetString (const svl::SharedString &rStr)
 
virtual sal_uInt16 GetIndex () const
 
virtual void SetIndex (sal_uInt16 n)
 
virtual sal_Int16 GetSheet () const
 
virtual void SetSheet (sal_Int16 n)
 
virtual sal_Unicode GetChar () const
 
virtual short * GetJump () const
 
virtual const OUString & GetExternal () const
 
virtual FormulaToken * GetFAPOrigToken () const
 
virtual FormulaError GetError () const
 
virtual void SetError (FormulaError)
 
virtual const ScSingleRefData * GetSingleRef () const
 
virtual ScSingleRefData * GetSingleRef ()
 
virtual const ScComplexRefData * GetDoubleRef () const
 
virtual ScComplexRefData * GetDoubleRef ()
 
virtual const ScSingleRefData * GetSingleRef2 () const
 
virtual ScSingleRefData * GetSingleRef2 ()
 
virtual const ScMatrix * GetMatrix () const
 
virtual ScMatrix * GetMatrix ()
 
virtual ScJumpMatrix * GetJumpMatrix () const
 
virtual const std::vector< ScComplexRefData > * GetRefList () const
 
virtual std::vector< ScComplexRefData > * GetRefList ()
 
virtual FormulaToken * Clone () const
 
virtual bool TextEqual (const formula::FormulaToken &rToken) const
 
virtual bool operator== (const FormulaToken &rToken) const
 
void NewOpCode (OpCode e, const PrivateAccess &)
 

Private Attributes

sal_uInt16 nIndex
 
sal_Int16 mnSheet
 

Detailed Description

Definition at line 365 of file token.hxx.

Constructor & Destructor Documentation

◆ FormulaIndexToken() [1/2]

formula::FormulaIndexToken::FormulaIndexToken ( OpCode  e,
sal_uInt16  n,
sal_Int16  nSheet = -1 
)
inline

Definition at line 371 of file token.hxx.

References n, and nIndex.

◆ FormulaIndexToken() [2/2]

formula::FormulaIndexToken::FormulaIndexToken ( const FormulaIndexToken &  r)
inline

Definition at line 373 of file token.hxx.

References nIndex.

Member Function Documentation

◆ Clone()

virtual FormulaToken * formula::FormulaIndexToken::Clone ( ) const
inlineoverridevirtual

Reimplemented from formula::FormulaToken.

Definition at line 376 of file token.hxx.

◆ GetIndex()

sal_uInt16 formula::FormulaIndexToken::GetIndex ( ) const
overridevirtual

Reimplemented from formula::FormulaToken.

Definition at line 1988 of file token.cxx.

References nIndex.

◆ GetSheet()

sal_Int16 formula::FormulaIndexToken::GetSheet ( ) const
overridevirtual

Reimplemented from formula::FormulaToken.

Definition at line 1990 of file token.cxx.

References mnSheet.

◆ operator==()

bool formula::FormulaIndexToken::operator== ( const FormulaToken &  rToken) const
overridevirtual

◆ SetIndex()

void formula::FormulaIndexToken::SetIndex ( sal_uInt16  n)
overridevirtual

Reimplemented from formula::FormulaToken.

Definition at line 1989 of file token.cxx.

References n, and nIndex.

◆ SetSheet()

void formula::FormulaIndexToken::SetSheet ( sal_Int16  n)
overridevirtual

Reimplemented from formula::FormulaToken.

Definition at line 1991 of file token.cxx.

References mnSheet, and n.

Member Data Documentation

◆ mnSheet

sal_Int16 formula::FormulaIndexToken::mnSheet
private

Definition at line 369 of file token.hxx.

Referenced by GetSheet(), operator==(), and SetSheet().

◆ nIndex

sal_uInt16 formula::FormulaIndexToken::nIndex
private

Definition at line 368 of file token.hxx.

Referenced by GetIndex(), operator==(), and SetIndex().


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