[Libreoffice-commits] core.git: include/formula
Kohei Yoshida
kohei.yoshida at gmail.com
Tue Apr 30 12:39:33 PDT 2013
include/formula/vectortoken.hxx | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
New commits:
commit d89f93ba774b717413f6b758a7a4684d7b7c8bb6
Author: Kohei Yoshida <kohei.yoshida at gmail.com>
Date: Tue Apr 30 15:41:15 2013 -0400
A little more description for the new tokens.
Change-Id: I9b158bd4302a84202447a74ac90cf4e9f760c6a5
diff --git a/include/formula/vectortoken.hxx b/include/formula/vectortoken.hxx
index 2679b4e..d3d0511 100644
--- a/include/formula/vectortoken.hxx
+++ b/include/formula/vectortoken.hxx
@@ -14,6 +14,10 @@
namespace formula {
+/**
+ * This token represents a single cell reference in a vectorized formula
+ * calculation context.
+ */
class FORMULA_DLLPUBLIC SingleVectorRefToken : public FormulaToken
{
const double* mpArray;
@@ -29,15 +33,17 @@ public:
};
/**
- * This token describes a range reference in a vectorized formula
+ * This token represents a range reference in a vectorized formula
* calculation context.
*/
class FORMULA_DLLPUBLIC DoubleVectorRefToken : public FormulaToken
{
std::vector<const double*> maArrays;
- size_t mnArrayLength;
- size_t mnRefRowSize;
+ size_t mnArrayLength; /// length of all arrays.
+ size_t mnRefRowSize; /// original reference row size. The row size may
+ /// change as it goes down the array if either the
+ /// stard or end position is fixed.
bool mbStartFixed:1; /// whether or not the start row position is absolute.
bool mbEndFixed:1; /// whether or not the end row position is absolute.
More information about the Libreoffice-commits
mailing list