LibreOffice Module formula (master) 1
|
#include <token.hxx>
Public Member Functions | |
FormulaTypedDoubleToken (double f, sal_Int16 nType) | |
FormulaTypedDoubleToken (const FormulaTypedDoubleToken &r) | |
virtual FormulaToken * | Clone () const override |
virtual sal_Int16 | GetDoubleType () const override |
always returns 0 for "not typed" More... | |
virtual void | SetDoubleType (sal_Int16 nType) override |
virtual bool | operator== (const FormulaToken &rToken) const override |
![]() | |
FormulaDoubleToken (double f) | |
FormulaDoubleToken (const FormulaDoubleToken &r) | |
virtual FormulaToken * | Clone () const override |
virtual double | GetDouble () const override |
virtual double & | GetDoubleAsReference () override |
virtual sal_Int16 | GetDoubleType () const override |
always returns 0 for "not typed" More... | |
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 &) |
Private Attributes | |
sal_Int16 | mnType |
Can hold, for example, a value of SvNumFormatType, or by contract any other classification. More... | |
|
inline |
|
inline |
|
inlineoverridevirtual |
Reimplemented from formula::FormulaDoubleToken.
|
overridevirtual |
always returns 0 for "not typed"
Reimplemented from formula::FormulaDoubleToken.
Definition at line 1919 of file token.cxx.
References mnType.
|
overridevirtual |
Reimplemented from formula::FormulaDoubleToken.
Definition at line 1929 of file token.cxx.
References formula::FormulaToken::GetDoubleType(), mnType, and formula::FormulaDoubleToken::operator==().
|
overridevirtual |
Reimplemented from formula::FormulaToken.
|
private |
Can hold, for example, a value of SvNumFormatType, or by contract any other classification.
Definition at line 319 of file token.hxx.
Referenced by GetDoubleType(), operator==(), and SetDoubleType().