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

#include <token.hxx>

Inheritance diagram for ScHybridCellToken:
Collaboration diagram for ScHybridCellToken:

Public Member Functions

 ScHybridCellToken (double f, const svl::SharedString &rStr, const OUString &rFormula, bool bEmptyDisplayedAsString)
const OUString & GetFormula () const
bool IsEmptyDisplayedAsString () const
virtual double GetDouble () const override
virtual svl::SharedString GetString () const 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 & GetDoubleAsReference ()
virtual sal_Int16 GetDoubleType () const
virtual void SetDoubleType (sal_Int16 nType)
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 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 bool TextEqual (const formula::FormulaToken &rToken) const
void NewOpCode (OpCode e, const PrivateAccess &)

Private Attributes

double mfDouble
svl::SharedString maString
OUString maFormula
bool mbEmptyDisplayedAsString

Detailed Description

Definition at line 379 of file token.hxx.

Constructor & Destructor Documentation

ScHybridCellToken::ScHybridCellToken ( double  f,
const svl::SharedString rStr,
const OUString &  rFormula,
bool  bEmptyDisplayedAsString 

Definition at line 1111 of file token.cxx.

References assert(), svl::SharedString::getString(), maFormula, and svHybridCell.

Referenced by Clone().

Member Function Documentation

virtual FormulaToken* ScHybridCellToken::Clone ( ) const

Reimplemented from formula::FormulaToken.

Definition at line 396 of file token.hxx.

References ScHybridCellToken().

double ScHybridCellToken::GetDouble ( ) const

Reimplemented from formula::FormulaToken.

Definition at line 1122 of file token.cxx.

References mfDouble.

const OUString& ScHybridCellToken::GetFormula ( ) const

Definition at line 390 of file token.hxx.

References maFormula.

Referenced by ScFormulaResult::GetHybridFormula(), and operator==().

svl::SharedString ScHybridCellToken::GetString ( ) const

Reimplemented from formula::FormulaToken.

Definition at line 1124 of file token.cxx.

References maString.

bool ScHybridCellToken::IsEmptyDisplayedAsString ( ) const

Definition at line 391 of file token.hxx.

References mbEmptyDisplayedAsString.

Referenced by ScFormulaResult::IsEmptyDisplayedAsString().

bool ScHybridCellToken::operator== ( const formula::FormulaToken rToken) const

Member Data Documentation

OUString ScHybridCellToken::maFormula

Definition at line 384 of file token.hxx.

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

svl::SharedString ScHybridCellToken::maString

Definition at line 383 of file token.hxx.

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

bool ScHybridCellToken::mbEmptyDisplayedAsString

Definition at line 385 of file token.hxx.

Referenced by IsEmptyDisplayedAsString().

double ScHybridCellToken::mfDouble

Definition at line 382 of file token.hxx.

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

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