LibreOffice Module sc (master) 1
Public Member Functions | Public Attributes | List of all members
ScMatrixValue Struct Reference

Try NOT to use this struct. More...

#include <scmatrix.hxx>

Collaboration diagram for ScMatrixValue:
[legend]

Public Member Functions

const svl::SharedStringGetString () const
 Only valid if ScMatrix methods indicate so! More...
 
FormulaError GetError () const
 Only valid if ScMatrix methods indicate that this is no string! More...
 
bool GetBoolean () const
 Only valid if ScMatrix methods indicate that this is a boolean. More...
 
 ScMatrixValue ()
 
 ScMatrixValue (const ScMatrixValue &r)=default
 
ScMatrixValueoperator= (const ScMatrixValue &r)=default
 
bool operator== (const ScMatrixValue &r) const
 
bool operator!= (const ScMatrixValue &r) const
 

Public Attributes

double fVal
 
svl::SharedString aStr
 
ScMatValType nType
 

Detailed Description

Try NOT to use this struct.

This struct should go away in a hopefully not so distant future.

Definition at line 52 of file scmatrix.hxx.

Constructor & Destructor Documentation

◆ ScMatrixValue() [1/2]

ScMatrixValue::ScMatrixValue ( )
inline

Definition at line 67 of file scmatrix.hxx.

References Empty.

◆ ScMatrixValue() [2/2]

ScMatrixValue::ScMatrixValue ( const ScMatrixValue r)
default

Member Function Documentation

◆ GetBoolean()

bool ScMatrixValue::GetBoolean ( ) const
inline

Only valid if ScMatrix methods indicate that this is a boolean.

Definition at line 65 of file scmatrix.hxx.

References fVal.

Referenced by XclImpExtName::CreateOleData(), XclExpFmlaCompImpl::ProcessMatrix(), and XclExpCachedMatrix::Save().

◆ GetError()

FormulaError ScMatrixValue::GetError ( ) const
inline

Only valid if ScMatrix methods indicate that this is no string!

Definition at line 62 of file scmatrix.hxx.

References fVal, and GetDoubleErrorValue().

Referenced by ScInterpreter::GetDoubleOrStringFromMatrix(), ScValidationData::GetSelectionFromFormula(), XclExpFmlaCompImpl::ProcessMatrix(), and XclExpCachedMatrix::Save().

◆ GetString()

const svl::SharedString & ScMatrixValue::GetString ( ) const
inline

◆ operator!=()

bool ScMatrixValue::operator!= ( const ScMatrixValue r) const
inline

Definition at line 89 of file scmatrix.hxx.

References operator==().

◆ operator=()

ScMatrixValue & ScMatrixValue::operator= ( const ScMatrixValue r)
default

◆ operator==()

bool ScMatrixValue::operator== ( const ScMatrixValue r) const
inline

Definition at line 71 of file scmatrix.hxx.

References aStr, Boolean, fVal, nType, and Value.

Referenced by operator!=().

Member Data Documentation

◆ aStr

svl::SharedString ScMatrixValue::aStr

◆ fVal

double ScMatrixValue::fVal

◆ nType

ScMatValType ScMatrixValue::nType

The documentation for this struct was generated from the following file: