LibreOffice Module formula (master) 1
|
#include <token.hxx>
Public Member Functions | |
FormulaByteToken (OpCode e, sal_uInt8 n, ParamClass c) | |
FormulaByteToken (OpCode e, sal_uInt8 n) | |
FormulaByteToken (OpCode e) | |
FormulaByteToken (const FormulaByteToken &r) | |
virtual FormulaToken * | Clone () const override |
virtual sal_uInt8 | GetByte () const override |
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) override |
virtual ParamClass | GetInForceArray () const override |
virtual void | SetInForceArray (ParamClass c) override |
virtual bool | operator== (const FormulaToken &rToken) const override |
![]() | |
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 &) |
Protected Member Functions | |
FormulaByteToken (OpCode e, sal_uInt8 n, StackVar v, ParamClass c) | |
Private Attributes | |
sal_uInt8 | nByte |
ParamClass | eInForceArray |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
|
inlineoverridevirtual |
Reimplemented from formula::FormulaToken.
Reimplemented in formula::FormulaFAPToken, formula::FormulaStringOpToken, and formula::FormulaExternalToken.
|
overridevirtual |
Dummy methods to avoid switches and casts where possible, the real token classes have to override the appropriate method[s].
The only methods valid anytime if not overridden are:
Any other non-overridden method pops up an assertion.
Reimplemented from formula::FormulaToken.
Definition at line 365 of file token.cxx.
References nByte.
|
overridevirtual |
Reimplemented from formula::FormulaToken.
Definition at line 367 of file token.cxx.
References eInForceArray.
|
overridevirtual |
Reimplemented from formula::FormulaToken.
Reimplemented in formula::FormulaFAPToken, formula::FormulaStringOpToken, and formula::FormulaExternalToken.
Definition at line 369 of file token.cxx.
References eInForceArray, formula::FormulaToken::GetByte(), formula::FormulaToken::GetInForceArray(), nByte, and formula::FormulaToken::operator==().
Referenced by formula::FormulaFAPToken::operator==(), formula::FormulaStringOpToken::operator==(), and formula::FormulaExternalToken::operator==().
|
overridevirtual |
Reimplemented from formula::FormulaToken.
|
overridevirtual |
Reimplemented from formula::FormulaToken.
Definition at line 368 of file token.cxx.
References eInForceArray.
|
private |
Definition at line 253 of file token.hxx.
Referenced by GetInForceArray(), operator==(), and SetInForceArray().
|
private |
Definition at line 252 of file token.hxx.
Referenced by GetByte(), operator==(), and SetByte().