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

#include <token.hxx>

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

Public Member Functions

 ScExternalSingleRefToken (sal_uInt16 nFileId, svl::SharedString aTabName, const ScSingleRefData &r)
 
 ScExternalSingleRefToken ()=delete
 
virtual ~ScExternalSingleRefToken () override
 
 ScExternalSingleRefToken (ScExternalSingleRefToken const &)=default
 
 ScExternalSingleRefToken (ScExternalSingleRefToken &&)=default
 
ScExternalSingleRefTokenoperator= (ScExternalSingleRefToken const &)=delete
 
ScExternalSingleRefTokenoperator= (ScExternalSingleRefToken &&)=delete
 
virtual sal_uInt16 GetIndex () const override
 
virtual const svl::SharedStringGetString () const override
 
virtual const ScSingleRefDataGetSingleRef () const override
 
virtual ScSingleRefDataGetSingleRef () 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 GetDouble () const
 
virtual double & GetDoubleAsReference ()
 
virtual sal_Int16 GetDoubleType () const
 
virtual void SetDoubleType (sal_Int16 nType)
 
virtual const svl::SharedStringGetString () 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 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 FormulaTokenClone () 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_uInt16 mnFileId
 
svl::SharedString maTabName
 
ScSingleRefData maSingleRef
 

Detailed Description

Definition at line 129 of file token.hxx.

Constructor & Destructor Documentation

◆ ScExternalSingleRefToken() [1/4]

ScExternalSingleRefToken::ScExternalSingleRefToken ( sal_uInt16  nFileId,
svl::SharedString  aTabName,
const ScSingleRefData r 
)

Definition at line 722 of file token.cxx.

References ocPush, and svExternalSingleRef.

◆ ScExternalSingleRefToken() [2/4]

ScExternalSingleRefToken::ScExternalSingleRefToken ( )
delete

Referenced by Clone().

◆ ~ScExternalSingleRefToken()

ScExternalSingleRefToken::~ScExternalSingleRefToken ( )
overridevirtual

Definition at line 730 of file token.cxx.

◆ ScExternalSingleRefToken() [3/4]

ScExternalSingleRefToken::ScExternalSingleRefToken ( ScExternalSingleRefToken const &  )
default

◆ ScExternalSingleRefToken() [4/4]

ScExternalSingleRefToken::ScExternalSingleRefToken ( ScExternalSingleRefToken &&  )
default

Member Function Documentation

◆ Clone()

virtual FormulaToken * ScExternalSingleRefToken::Clone ( ) const
inlineoverridevirtual

Reimplemented from formula::FormulaToken.

Definition at line 150 of file token.hxx.

References ScExternalSingleRefToken().

◆ GetIndex()

sal_uInt16 ScExternalSingleRefToken::GetIndex ( ) const
overridevirtual

Reimplemented from formula::FormulaToken.

Definition at line 734 of file token.cxx.

References mnFileId.

◆ GetSingleRef() [1/2]

const ScSingleRefData * ScExternalSingleRefToken::GetSingleRef ( ) const
overridevirtual

Reimplemented from formula::FormulaToken.

Definition at line 744 of file token.cxx.

References maSingleRef.

◆ GetSingleRef() [2/2]

ScSingleRefData * ScExternalSingleRefToken::GetSingleRef ( )
overridevirtual

Reimplemented from formula::FormulaToken.

Definition at line 749 of file token.cxx.

References maSingleRef.

◆ GetString()

const svl::SharedString & ScExternalSingleRefToken::GetString ( ) const
overridevirtual

Reimplemented from formula::FormulaToken.

Definition at line 739 of file token.cxx.

References maTabName.

◆ operator=() [1/2]

ScExternalSingleRefToken & ScExternalSingleRefToken::operator= ( ScExternalSingleRefToken &&  )
delete

◆ operator=() [2/2]

ScExternalSingleRefToken & ScExternalSingleRefToken::operator= ( ScExternalSingleRefToken const &  )
delete

◆ operator==()

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

Member Data Documentation

◆ maSingleRef

ScSingleRefData ScExternalSingleRefToken::maSingleRef
private

Definition at line 133 of file token.hxx.

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

◆ maTabName

svl::SharedString ScExternalSingleRefToken::maTabName
private

Definition at line 132 of file token.hxx.

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

◆ mnFileId

sal_uInt16 ScExternalSingleRefToken::mnFileId
private

Definition at line 131 of file token.hxx.

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


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