summaryrefslogtreecommitdiffstats
path: root/raslib
diff options
context:
space:
mode:
authorAndrei Aiordachioaie <a.aiordachioaie@jacobs-university.de>2009-08-25 13:33:09 +0200
committerPeter Baumann <baumann@rasdaman.org>2009-08-27 09:38:08 +0200
commitfd66ca862d4499378719e2a635c9f97df28b763d (patch)
treee11e40b69e30b4d553cd0bcdedb435849c22e0d0 /raslib
parentbb3139b97d956a8455649af82c0f3b705d2a8e55 (diff)
downloadrasdaman-upstream-fd66ca862d4499378719e2a635c9f97df28b763d.zip
rasdaman-upstream-fd66ca862d4499378719e2a635c9f97df28b763d.tar.gz
rasdaman-upstream-fd66ca862d4499378719e2a635c9f97df28b763d.tar.xz
Tiling & Indexing options added to rasql grammar
Diffstat (limited to 'raslib')
-rw-r--r--raslib/minterval.cc11
-rw-r--r--raslib/minterval.hh1
2 files changed, 12 insertions, 0 deletions
diff --git a/raslib/minterval.cc b/raslib/minterval.cc
index 311c8e9..cab12b7 100644
--- a/raslib/minterval.cc
+++ b/raslib/minterval.cc
@@ -1035,6 +1035,17 @@ std::ostream& operator<<(std::ostream& s, const r_Minterval& d)
d.print_status(s);
return s;
}
+
+std::ostream& operator<<(std::ostream& os, const std::vector<r_Minterval>& vec)
+{
+ os << " Vector { ";
+
+ int size = vec.size();
+ for (int i = 0; i < size; i++)
+ os << vec[i] << std::endl;
+
+ os << " } ";
+}
std::ostream& operator<<(std::ostream& s, const vector<double>& doubleVec)
{
diff --git a/raslib/minterval.hh b/raslib/minterval.hh
index a9b596d..b799132 100644
--- a/raslib/minterval.hh
+++ b/raslib/minterval.hh
@@ -561,6 +561,7 @@ class r_Minterval
Output stream operator for objects of type {\tt const} \Ref{r_Minterval}.
*/
extern std::ostream& operator<<( std::ostream& s, const r_Minterval& d );
+extern std::ostream& operator<<( std::ostream& s, const std::vector<r_Minterval>& d );
#include "raslib/minterval.icc"