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

Token storing matrix that represents values in sheet range. More...

#include <token.hxx>

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

Public Member Functions

 ScMatrixRangeToken (const sc::RangeMatrix &rMat)
 
 ScMatrixRangeToken (const ScMatrixRangeToken &)
 
virtual sal_uInt8 GetByte () const override
 
virtual const ScMatrixGetMatrix () const override
 
virtual ScMatrixGetMatrix () override
 
virtual const ScComplexRefDataGetDoubleRef () const override
 
virtual ScComplexRefDataGetDoubleRef () 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

ScMatrixRef mpMatrix
 
ScComplexRefData maRef
 

Detailed Description

Token storing matrix that represents values in sheet range.

It stores both the values in matrix form, and the range address the matrix represents.

Definition at line 112 of file token.hxx.

Constructor & Destructor Documentation

◆ ScMatrixRangeToken() [1/2]

ScMatrixRangeToken::ScMatrixRangeToken ( const sc::RangeMatrix rMat)

◆ ScMatrixRangeToken() [2/2]

ScMatrixRangeToken::ScMatrixRangeToken ( const ScMatrixRangeToken )
default

Member Function Documentation

◆ Clone()

FormulaToken * ScMatrixRangeToken::Clone ( ) const
overridevirtual

Reimplemented from formula::FormulaToken.

Definition at line 716 of file token.cxx.

References ScMatrixRangeToken().

◆ GetByte()

sal_uInt8 ScMatrixRangeToken::GetByte ( ) const
overridevirtual

Reimplemented from formula::FormulaToken.

Definition at line 686 of file token.cxx.

References MATRIX_TOKEN_HAS_RANGE.

◆ GetDoubleRef() [1/2]

const ScComplexRefData * ScMatrixRangeToken::GetDoubleRef ( ) const
overridevirtual

Reimplemented from formula::FormulaToken.

Definition at line 701 of file token.cxx.

References maRef.

◆ GetDoubleRef() [2/2]

ScComplexRefData * ScMatrixRangeToken::GetDoubleRef ( )
overridevirtual

Reimplemented from formula::FormulaToken.

Definition at line 706 of file token.cxx.

References maRef.

◆ GetMatrix() [1/2]

const ScMatrix * ScMatrixRangeToken::GetMatrix ( ) const
overridevirtual

Reimplemented from formula::FormulaToken.

Definition at line 691 of file token.cxx.

References mpMatrix.

◆ GetMatrix() [2/2]

ScMatrix * ScMatrixRangeToken::GetMatrix ( )
overridevirtual

Reimplemented from formula::FormulaToken.

Definition at line 696 of file token.cxx.

References mpMatrix.

◆ operator==()

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

Reimplemented from formula::FormulaToken.

Definition at line 711 of file token.cxx.

References formula::FormulaToken::GetMatrix(), mpMatrix, and operator==().

Member Data Documentation

◆ maRef

ScComplexRefData ScMatrixRangeToken::maRef
private

Definition at line 115 of file token.hxx.

Referenced by GetDoubleRef(), and ScMatrixRangeToken().

◆ mpMatrix

ScMatrixRef ScMatrixRangeToken::mpMatrix
private

Definition at line 114 of file token.hxx.

Referenced by GetMatrix(), and operator==().


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