LibreOffice Module formula (master) 1
|
This token represents a range reference in a vectorized formula calculation context. More...
#include <vectortoken.hxx>
Public Member Functions | |
DoubleVectorRefToken (std::vector< VectorRefArray > &&rArrays, size_t nArrayLength, size_t nRefRowSize, bool bStartFixed, bool bEndFixed) | |
whether or not the end row position is absolute. More... | |
virtual FormulaToken * | Clone () const override |
const std::vector< VectorRefArray > & | GetArrays () const |
size_t | GetArrayLength () const |
size_t | GetRefRowSize () const |
bool | IsStartFixed () const |
bool | IsEndFixed () const |
![]() | |
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 | |
std::vector< VectorRefArray > | maArrays |
size_t | mnArrayLength |
size_t | mnRefRowSize |
length of all arrays which does not include trailing empty region. More... | |
bool | mbStartFixed:1 |
original reference row size. More... | |
bool | mbEndFixed:1 |
whether or not the start row position is absolute. More... | |
This token represents a range reference in a vectorized formula calculation context.
Definition at line 80 of file vectortoken.hxx.
formula::DoubleVectorRefToken::DoubleVectorRefToken | ( | std::vector< VectorRefArray > && | rArrays, |
size_t | nArrayLength, | ||
size_t | nRefRowSize, | ||
bool | bStartFixed, | ||
bool | bEndFixed | ||
) |
whether or not the end row position is absolute.
Definition at line 66 of file vectortoken.cxx.
References SAL_INFO.
Referenced by Clone().
|
overridevirtual |
Reimplemented from formula::FormulaToken.
Definition at line 76 of file vectortoken.cxx.
References DoubleVectorRefToken(), maArrays, mbEndFixed, mbStartFixed, mnArrayLength, and mnRefRowSize.
size_t formula::DoubleVectorRefToken::GetArrayLength | ( | ) | const |
Definition at line 87 of file vectortoken.cxx.
References mnArrayLength.
const std::vector< VectorRefArray > & formula::DoubleVectorRefToken::GetArrays | ( | ) | const |
Definition at line 82 of file vectortoken.cxx.
References maArrays.
size_t formula::DoubleVectorRefToken::GetRefRowSize | ( | ) | const |
Definition at line 92 of file vectortoken.cxx.
References mnRefRowSize.
bool formula::DoubleVectorRefToken::IsEndFixed | ( | ) | const |
Definition at line 102 of file vectortoken.cxx.
References mbEndFixed.
bool formula::DoubleVectorRefToken::IsStartFixed | ( | ) | const |
Definition at line 97 of file vectortoken.cxx.
References mbStartFixed.
|
private |
Definition at line 82 of file vectortoken.hxx.
Referenced by Clone(), and GetArrays().
|
private |
whether or not the start row position is absolute.
Definition at line 90 of file vectortoken.hxx.
Referenced by Clone(), and IsEndFixed().
|
private |
original reference row size.
The row size may change as it goes down the array if either the start or end position is fixed.
Definition at line 89 of file vectortoken.hxx.
Referenced by Clone(), and IsStartFixed().
|
private |
Definition at line 84 of file vectortoken.hxx.
Referenced by Clone(), and GetArrayLength().
|
private |
length of all arrays which does not include trailing empty region.
Definition at line 85 of file vectortoken.hxx.
Referenced by Clone(), and GetRefRowSize().