summaryrefslogtreecommitdiff
path: root/include/formula
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2013-04-30 15:41:15 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-04-30 15:42:06 -0400
commitd89f93ba774b717413f6b758a7a4684d7b7c8bb6 (patch)
tree3609e31a3b5ba42b9259e81f77e7d61a70bb262b /include/formula
parentd54aa149bd6e07c646383b761901aa047a3d3ea2 (diff)
A little more description for the new tokens.
Change-Id: I9b158bd4302a84202447a74ac90cf4e9f760c6a5
Diffstat (limited to 'include/formula')
-rw-r--r--include/formula/vectortoken.hxx12
1 files changed, 9 insertions, 3 deletions
diff --git a/include/formula/vectortoken.hxx b/include/formula/vectortoken.hxx
index 2679b4ef0e06..d3d05111ccf4 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.