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

Transports the result from the interpreter to the formula cell. More...

#include <token.hxx>

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

Public Member Functions

 ScMatrixCellResultToken (ScConstMatrixRef pMat, const formula::FormulaToken *pUL)
 
 ScMatrixCellResultToken (const ScMatrixCellResultToken &)
 
virtual ~ScMatrixCellResultToken () override
 
virtual double GetDouble () const override
 
virtual const svl::SharedStringGetString () const override
 
virtual const ScMatrixGetMatrix () const override
 
virtual bool operator== (const formula::FormulaToken &rToken) const override
 
virtual FormulaTokenClone () const override
 
formula::StackVar GetUpperLeftType () const
 
const formula::FormulaConstTokenRefGetUpperLeftToken () const
 
void Assign (const ScMatrixCellResultToken &r)
 
- 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 &)
 

Protected Attributes

ScConstMatrixRef xMatrix
 
formula::FormulaConstTokenRef xUpperLeft
 

Private Member Functions

virtual ScMatrixGetMatrix () override
 

Detailed Description

Transports the result from the interpreter to the formula cell.

Definition at line 294 of file token.hxx.

Constructor & Destructor Documentation

◆ ScMatrixCellResultToken() [1/2]

ScMatrixCellResultToken::ScMatrixCellResultToken ( ScConstMatrixRef  pMat,
const formula::FormulaToken pUL 
)

Definition at line 980 of file token.cxx.

References svMatrixCell.

Referenced by Clone().

◆ ScMatrixCellResultToken() [2/2]

ScMatrixCellResultToken::ScMatrixCellResultToken ( const ScMatrixCellResultToken )
default

◆ ~ScMatrixCellResultToken()

ScMatrixCellResultToken::~ScMatrixCellResultToken ( )
overridevirtual

Definition at line 987 of file token.cxx.

Member Function Documentation

◆ Assign()

void ScMatrixCellResultToken::Assign ( const ScMatrixCellResultToken r)

Definition at line 1014 of file token.cxx.

References xMatrix, and xUpperLeft.

Referenced by ScMatrixFormulaCellToken::Assign().

◆ Clone()

FormulaToken * ScMatrixCellResultToken::Clone ( ) const
overridevirtual

Reimplemented from formula::FormulaToken.

Reimplemented in ScMatrixFormulaCellToken.

Definition at line 1009 of file token.cxx.

References ScMatrixCellResultToken().

◆ GetDouble()

double ScMatrixCellResultToken::GetDouble ( ) const
overridevirtual

Reimplemented from formula::FormulaToken.

Definition at line 985 of file token.cxx.

References xUpperLeft.

◆ GetMatrix() [1/2]

const ScMatrix * ScMatrixCellResultToken::GetMatrix ( ) const
overridevirtual

Reimplemented from formula::FormulaToken.

Definition at line 994 of file token.cxx.

References xMatrix.

◆ GetMatrix() [2/2]

ScMatrix * ScMatrixCellResultToken::GetMatrix ( )
overrideprivatevirtual

Reimplemented from formula::FormulaToken.

Definition at line 997 of file token.cxx.

References xMatrix.

◆ GetString()

const svl::SharedString & ScMatrixCellResultToken::GetString ( ) const
overridevirtual

Reimplemented from formula::FormulaToken.

Definition at line 989 of file token.cxx.

References xUpperLeft.

◆ GetUpperLeftToken()

const formula::FormulaConstTokenRef & ScMatrixCellResultToken::GetUpperLeftToken ( ) const
inline

Definition at line 318 of file token.hxx.

References xUpperLeft.

◆ GetUpperLeftType()

formula::StackVar ScMatrixCellResultToken::GetUpperLeftType ( ) const
inline

Definition at line 312 of file token.hxx.

References formula::svUnknown, and xUpperLeft.

Referenced by ScMatrixFormulaCellToken::SetUpperLeftDouble().

◆ operator==()

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

Reimplemented from formula::FormulaToken.

Reimplemented in ScMatrixFormulaCellToken.

Definition at line 1002 of file token.cxx.

References operator==(), xMatrix, and xUpperLeft.

Referenced by ScMatrixFormulaCellToken::operator==().

Member Data Documentation

◆ xMatrix

ScConstMatrixRef ScMatrixCellResultToken::xMatrix
protected

◆ xUpperLeft

formula::FormulaConstTokenRef ScMatrixCellResultToken::xUpperLeft
protected

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