20 #ifndef INCLUDED_SC_SOURCE_CORE_INC_JUMPMATRIX_HXX
21 #define INCLUDED_SC_SOURCE_CORE_INC_JUMPMATRIX_HXX
29 namespace formula {
class FormulaToken; }
31 typedef ::std::vector< const formula::FormulaToken*>
ScTokenVec;
42 void SetJump(
double fBoolP,
short nStartP,
short nNextP,
short nStopP )
49 void GetJump(
double& rBool,
short& rStart,
short& rNext,
short& rStop )
const
60 std::vector<ScJumpMatrixEntry>
mvJump;
104 void GetJump(
SCSIZE nCol,
SCSIZE nRow,
double& rBool,
short& rStart,
short& rNext,
short& rStop )
const;
105 void SetAllJumps(
double fBool,
short nStart,
short nNext,
short nStop = SHRT_MAX );
123 #endif // INCLUDED_SC_SOURCE_CORE_INC_JUMPMATRIX_HXX
Matrix data type that can store values of mixed types.
std::vector< ScJumpMatrixEntry > mvJump
void SetNewResMat(SCSIZE nNewCols, SCSIZE nNewRows)
ScJumpMatrix & operator=(const ScJumpMatrix &)=delete
void SetJump(SCSIZE nCol, SCSIZE nRow, double fBool, short nStart, short nNext)
::std::vector< svl::SharedString > mvBufferStrings
void PutResultEmpty(SCSIZE nC, SCSIZE nR)
void GetJump(SCSIZE nCol, SCSIZE nRow, double &rBool, short &rStart, short &rNext, short &rStop) const
void GetDimensions(SCSIZE &rCols, SCSIZE &rRows) const
size_t SCSIZE
size_t typedef to be able to find places where code was changed from USHORT to size_t and is used to ...
::boost::intrusive_ptr< ScMatrix > ScMatrixRef
SCSIZE mnBufferEmptyCount
bool Next(SCSIZE &rCol, SCSIZE &rRow)
void SetJump(double fBoolP, short nStartP, short nNextP, short nStopP)
void PutResultEmptyPath(SCSIZE nC, SCSIZE nR)
void SetJumpParameters(ScTokenVec &&p)
bool HasResultMatrix() const
ScMatrix * GetResultMatrix()
also applies pending buffered values
::std::vector< const formula::FormulaToken * > ScTokenVec
void GetPos(SCSIZE &rCol, SCSIZE &rRow) const
void GetResMatDimensions(SCSIZE &rCols, SCSIZE &rRows)
void SetAllJumps(double fBool, short nStart, short nNext, short nStop=SHRT_MAX)
SCSIZE mnBufferEmptyPathCount
void FlushBufferOtherThan(BufferType eType, SCSIZE nC, SCSIZE nR)
Flush different types or non-consecutive buffers.
void GetJump(double &rBool, short &rStart, short &rNext, short &rStop) const
ScJumpMatrix(const ScJumpMatrix &)=delete
void PutResultDouble(double fVal, SCSIZE nC, SCSIZE nR)
void PutResultString(const svl::SharedString &rStr, SCSIZE nC, SCSIZE nR)
::std::vector< ScComplexRefData > ScRefList
::std::vector< double > mvBufferDoubles
const ScTokenVec & GetJumpParameters() const