LibreOffice Module sc (master) 1
|
Transports the result from the interpreter to the formula cell. More...
#include <token.hxx>
Public Member Functions | |
ScMatrixCellResultToken (ScConstMatrixRef pMat, const formula::FormulaToken *pUL) | |
ScMatrixCellResultToken (const ScMatrixCellResultToken &) | |
virtual | ~ScMatrixCellResultToken () override |
virtual double | GetDouble () const override |
virtual const svl::SharedString & | GetString () const override |
virtual const ScMatrix * | GetMatrix () const override |
virtual bool | operator== (const formula::FormulaToken &rToken) const override |
virtual FormulaToken * | Clone () const override |
formula::StackVar | GetUpperLeftType () const |
const formula::FormulaConstTokenRef & | GetUpperLeftToken () 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::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 &) |
Protected Attributes | |
ScConstMatrixRef | xMatrix |
formula::FormulaConstTokenRef | xUpperLeft |
Private Member Functions | |
virtual ScMatrix * | GetMatrix () override |
Transports the result from the interpreter to the formula cell.
ScMatrixCellResultToken::ScMatrixCellResultToken | ( | ScConstMatrixRef | pMat, |
const formula::FormulaToken * | pUL | ||
) |
|
default |
|
overridevirtual |
void ScMatrixCellResultToken::Assign | ( | const ScMatrixCellResultToken & | r | ) |
Definition at line 1014 of file token.cxx.
References xMatrix, and xUpperLeft.
Referenced by ScMatrixFormulaCellToken::Assign().
|
overridevirtual |
Reimplemented from formula::FormulaToken.
Reimplemented in ScMatrixFormulaCellToken.
Definition at line 1009 of file token.cxx.
References ScMatrixCellResultToken().
|
overridevirtual |
Reimplemented from formula::FormulaToken.
Definition at line 985 of file token.cxx.
References xUpperLeft.
|
overridevirtual |
Reimplemented from formula::FormulaToken.
Definition at line 994 of file token.cxx.
References xMatrix.
|
overrideprivatevirtual |
Reimplemented from formula::FormulaToken.
Definition at line 997 of file token.cxx.
References xMatrix.
|
overridevirtual |
Reimplemented from formula::FormulaToken.
Definition at line 989 of file token.cxx.
References xUpperLeft.
|
inline |
Definition at line 318 of file token.hxx.
References xUpperLeft.
|
inline |
Definition at line 312 of file token.hxx.
References formula::svUnknown, and xUpperLeft.
Referenced by ScMatrixFormulaCellToken::SetUpperLeftDouble().
|
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==().
|
protected |
Definition at line 301 of file token.hxx.
Referenced by ScMatrixFormulaCellToken::Assign(), Assign(), GetMatrix(), operator==(), and ScMatrixFormulaCellToken::ResetResult().
|
protected |
Definition at line 302 of file token.hxx.
Referenced by ScMatrixFormulaCellToken::Assign(), Assign(), ScMatrixFormulaCellToken::CloneUpperLeftIfNecessary(), GetDouble(), GetString(), GetUpperLeftToken(), GetUpperLeftType(), operator==(), ScMatrixFormulaCellToken::ResetResult(), and ScMatrixFormulaCellToken::SetUpperLeftDouble().