LibreOffice Module sc (master) 1
Public Member Functions | Private Attributes | List of all members
ScDoubleRefToken Class Referencefinal

#include <token.hxx>

Inheritance diagram for ScDoubleRefToken:
[legend]
Collaboration diagram for ScDoubleRefToken:
[legend]

Public Member Functions

 ScDoubleRefToken (ScSheetLimits &rLimits, const ScComplexRefData &r, OpCode e=ocPush)
 
virtual const ScSingleRefDataGetSingleRef () const override
 
virtual ScSingleRefDataGetSingleRef () override
 
virtual const ScComplexRefDataGetDoubleRef () const override
 
virtual ScComplexRefDataGetDoubleRef () override
 
virtual const ScSingleRefDataGetSingleRef2 () const override
 
virtual ScSingleRefDataGetSingleRef2 () override
 
virtual bool TextEqual (const formula::FormulaToken &rToken) const override
 
virtual bool operator== (const formula::FormulaToken &rToken) const override
 
virtual FormulaTokenClone () 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
 
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::SharedStringGetString () 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 FormulaTokenGetFAPOrigToken () const
 
virtual FormulaError GetError () const
 
virtual void SetError (FormulaError)
 
virtual const ScSingleRefDataGetSingleRef () const
 
virtual ScSingleRefDataGetSingleRef ()
 
virtual const ScComplexRefDataGetDoubleRef () const
 
virtual ScComplexRefDataGetDoubleRef ()
 
virtual const ScSingleRefDataGetSingleRef2 () const
 
virtual ScSingleRefDataGetSingleRef2 ()
 
virtual const ScMatrixGetMatrix () const
 
virtual ScMatrixGetMatrix ()
 
virtual ScJumpMatrixGetJumpMatrix () const
 
virtual const std::vector< ScComplexRefData > * GetRefList () const
 
virtual std::vector< ScComplexRefData > * GetRefList ()
 
virtual FormulaTokenClone () const
 
virtual bool TextEqual (const formula::FormulaToken &rToken) const
 
virtual bool operator== (const FormulaToken &rToken) const
 
void NewOpCode (OpCode e, const PrivateAccess &)
 

Private Attributes

ScSheetLimitsmrSheetLimits
 
ScComplexRefData aDoubleRef
 

Detailed Description

Definition at line 74 of file token.hxx.

Constructor & Destructor Documentation

◆ ScDoubleRefToken()

ScDoubleRefToken::ScDoubleRefToken ( ScSheetLimits rLimits,
const ScComplexRefData r,
OpCode  e = ocPush 
)
inline

Definition at line 80 of file token.hxx.

References svDoubleRef.

Referenced by Clone().

Member Function Documentation

◆ Clone()

virtual FormulaToken * ScDoubleRefToken::Clone ( ) const
inlineoverridevirtual

Reimplemented from formula::FormulaToken.

Definition at line 90 of file token.hxx.

References ScDoubleRefToken().

◆ GetDoubleRef() [1/2]

const ScComplexRefData * ScDoubleRefToken::GetDoubleRef ( ) const
overridevirtual

Reimplemented from formula::FormulaToken.

Definition at line 643 of file token.cxx.

References aDoubleRef.

◆ GetDoubleRef() [2/2]

ScComplexRefData * ScDoubleRefToken::GetDoubleRef ( )
overridevirtual

Reimplemented from formula::FormulaToken.

Definition at line 644 of file token.cxx.

References aDoubleRef.

◆ GetSingleRef() [1/2]

const ScSingleRefData * ScDoubleRefToken::GetSingleRef ( ) const
overridevirtual

Reimplemented from formula::FormulaToken.

Definition at line 641 of file token.cxx.

References aDoubleRef, and ScComplexRefData::Ref1.

◆ GetSingleRef() [2/2]

ScSingleRefData * ScDoubleRefToken::GetSingleRef ( )
overridevirtual

Reimplemented from formula::FormulaToken.

Definition at line 642 of file token.cxx.

References aDoubleRef, and ScComplexRefData::Ref1.

◆ GetSingleRef2() [1/2]

const ScSingleRefData * ScDoubleRefToken::GetSingleRef2 ( ) const
overridevirtual

Reimplemented from formula::FormulaToken.

Definition at line 645 of file token.cxx.

References aDoubleRef, and ScComplexRefData::Ref2.

◆ GetSingleRef2() [2/2]

ScSingleRefData * ScDoubleRefToken::GetSingleRef2 ( )
overridevirtual

Reimplemented from formula::FormulaToken.

Definition at line 646 of file token.cxx.

References aDoubleRef, and ScComplexRefData::Ref2.

◆ operator==()

bool ScDoubleRefToken::operator== ( const formula::FormulaToken rToken) const
overridevirtual

Reimplemented from formula::FormulaToken.

Definition at line 651 of file token.cxx.

References aDoubleRef, formula::FormulaToken::GetDoubleRef(), and operator==().

◆ TextEqual()

bool ScDoubleRefToken::TextEqual ( const formula::FormulaToken rToken) const
overridevirtual

Reimplemented from formula::FormulaToken.

Definition at line 647 of file token.cxx.

References mrSheetLimits, and operator==().

Member Data Documentation

◆ aDoubleRef

ScComplexRefData ScDoubleRefToken::aDoubleRef
private

Definition at line 78 of file token.hxx.

Referenced by GetDoubleRef(), GetSingleRef(), GetSingleRef2(), and operator==().

◆ mrSheetLimits

ScSheetLimits& ScDoubleRefToken::mrSheetLimits
private

Definition at line 77 of file token.hxx.

Referenced by TextEqual().


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