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

#include <token.hxx>

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

Public Member Functions

 ScEmptyCellToken (bool bInheritedP, bool bDisplayAsString)
 
bool IsInherited () const
 
bool IsDisplayedAsString () 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

bool bInherited:1
 
bool bDisplayedAsString:1
 

Detailed Description

Definition at line 277 of file token.hxx.

Constructor & Destructor Documentation

ScEmptyCellToken::ScEmptyCellToken ( bool  bInheritedP,
bool  bDisplayAsString 
)
inlineexplicit

Definition at line 282 of file token.hxx.

References svEmptyCell.

Referenced by Clone().

Member Function Documentation

virtual FormulaToken* ScEmptyCellToken::Clone ( ) const
inlineoverridevirtual

Reimplemented from formula::FormulaToken.

Definition at line 291 of file token.hxx.

References ScEmptyCellToken().

double ScEmptyCellToken::GetDouble ( ) const
overridevirtual

Reimplemented from formula::FormulaToken.

Definition at line 965 of file token.cxx.

svl::SharedString ScEmptyCellToken::GetString ( ) const
overridevirtual

Reimplemented from formula::FormulaToken.

Definition at line 967 of file token.cxx.

References svl::SharedString::getEmptyString().

bool ScEmptyCellToken::IsDisplayedAsString ( ) const
inline

Definition at line 287 of file token.hxx.

References bDisplayedAsString.

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

bool ScEmptyCellToken::IsInherited ( ) const
inline

Definition at line 286 of file token.hxx.

References bInherited.

Referenced by operator==().

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

Reimplemented from formula::FormulaToken.

Definition at line 972 of file token.cxx.

References bDisplayedAsString, bInherited, IsDisplayedAsString(), IsInherited(), and operator==().

Member Data Documentation

bool ScEmptyCellToken::bDisplayedAsString
private

Definition at line 280 of file token.hxx.

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

bool ScEmptyCellToken::bInherited
private

Definition at line 279 of file token.hxx.

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


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