summaryrefslogtreecommitdiff
path: root/formula
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-10-02 18:16:43 -0400
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-10-03 15:31:20 -0400
commit08d93506c21fc4899392074f853ae3175fb86aee (patch)
treee2dcf1f5e1f649584ab46c7745d2e88f66799720 /formula
parent6b7ae5d5bc8e75f2f318dd11ea09a115dd6552f8 (diff)
Make these methods non-inline again.
Change-Id: I30c7969ab386f4cba2f0b44cbebe306ce6430b15
Diffstat (limited to 'formula')
-rw-r--r--formula/source/core/api/vectortoken.cxx39
1 files changed, 39 insertions, 0 deletions
diff --git a/formula/source/core/api/vectortoken.cxx b/formula/source/core/api/vectortoken.cxx
index 4cf764faf9e2..b0077aa83b45 100644
--- a/formula/source/core/api/vectortoken.cxx
+++ b/formula/source/core/api/vectortoken.cxx
@@ -36,6 +36,10 @@ VectorRefArray::VectorRefArray( const double* pNumArray, rtl_uString** pStrArray
mpStringArray(pStrArray),
mbValid(true) {}
+bool VectorRefArray::isValid() const
+{
+ return mbValid;
+}
SingleVectorRefToken::SingleVectorRefToken( const VectorRefArray& rArray, size_t nReqLength, size_t nArrayLength ) :
FormulaToken(svSingleVectorRef, ocPush), maArray(rArray), mnRequestedLength(nReqLength), mnArrayLength(nArrayLength) {}
@@ -45,6 +49,16 @@ FormulaToken* SingleVectorRefToken::Clone() const
return new SingleVectorRefToken(maArray, mnRequestedLength, mnArrayLength);
}
+const VectorRefArray& SingleVectorRefToken::GetArray() const
+{
+ return maArray;
+}
+
+size_t SingleVectorRefToken::GetArrayLength() const
+{
+ return mnArrayLength;
+}
+
DoubleVectorRefToken::DoubleVectorRefToken(
const std::vector<VectorRefArray>& rArrays, size_t nReqLength, size_t nArrayLength,
size_t nRefRowSize, bool bStartFixed, bool bEndFixed ) :
@@ -58,6 +72,31 @@ FormulaToken* DoubleVectorRefToken::Clone() const
maArrays, mnRequestedLength, mnArrayLength, mnRefRowSize, mbStartFixed, mbEndFixed);
}
+const std::vector<VectorRefArray>& DoubleVectorRefToken::GetArrays() const
+{
+ return maArrays;
+}
+
+size_t DoubleVectorRefToken::GetArrayLength() const
+{
+ return mnArrayLength;
+}
+
+size_t DoubleVectorRefToken::GetRefRowSize() const
+{
+ return mnRefRowSize;
+}
+
+bool DoubleVectorRefToken::IsStartFixed() const
+{
+ return mbStartFixed;
+}
+
+bool DoubleVectorRefToken::IsEndFixed() const
+{
+ return mbEndFixed;
+}
+
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */