[Liblas-commits] hg: export specific specializations to satisfy linking in test s...

liblas-commits at liblas.org liblas-commits at liblas.org
Mon Nov 1 17:25:12 EDT 2010


changeset b4b205b33c97 in /Volumes/Data/www/liblas.org/hg
details: http://hg.liblas.orghg?cmd=changeset;node=b4b205b33c97
summary: export specific specializations to satisfy linking in test suite

diffstat:

 include/liblas/iterator.hpp  |   3 +++
 include/liblas/lasbounds.hpp |  13 ++++++++++++-
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (50 lines):

diff -r 5283f808adf4 -r b4b205b33c97 include/liblas/iterator.hpp
--- a/include/liblas/iterator.hpp	Mon Nov 01 15:53:50 2010 -0500
+++ b/include/liblas/iterator.hpp	Mon Nov 01 16:24:52 2010 -0500
@@ -307,6 +307,9 @@
 /// Public specialization of LASWriter output iterator for liblas::LASPoint type.
 typedef writer_iterator<Point> laswriter_iterator;
 
+template class LAS_DLL reader_iterator<Point>;
+template class LAS_DLL writer_iterator<Point>;
+
 } // namespace liblas
 
 #endif // LIBLAS_ITERATOR_HPP_INCLUDED
diff -r 5283f808adf4 -r b4b205b33c97 include/liblas/lasbounds.hpp
--- a/include/liblas/lasbounds.hpp	Mon Nov 01 15:53:50 2010 -0500
+++ b/include/liblas/lasbounds.hpp	Mon Nov 01 16:24:52 2010 -0500
@@ -159,6 +159,13 @@
         if (v > max)
             max = v;
     }
+
+    void grow(Range const& r) 
+    {
+        grow(r.min);
+        grow(r.max);
+    }
+
     T length() const
     {
         return max - min;
@@ -166,7 +173,7 @@
 };
     
 template <typename T>
-class LAS_DLL Bounds
+class Bounds
 {
 public:
 
@@ -578,6 +585,10 @@
 };
 
 
+
 } // namespace liblas
 
+template class LAS_DLL liblas::Range<double>;
+template class LAS_DLL liblas::Bounds<double>;
+
 #endif // ndef LIBLAS_LASBOUNDS_HPP_INCLUDED


More information about the Liblas-commits mailing list