]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Mention BOOST Iostream.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 21 Dec 2013 13:21:52 +0000 (13:21 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 21 Dec 2013 13:21:52 +0000 (13:21 +0000)
git-svn-id: https://svn.dealii.org/trunk@32078 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/doc/news/changes.h

index a9a29235b41b4444f7fd9edce82bfb8f0438ab58..a9df8959670ad5fb985c4f92a43dd39ec8f2acb6 100644 (file)
@@ -50,6 +50,29 @@ inconvenience this causes.
 
 
 <ol>
+  <li> New: deal.II now links with the
+  <a href="http://www.boost.org/doc/libs/1_55_0/libs/iostreams/doc/index.html">BOOST
+  Iostreams</a> library. Among many other things, this allows to easily
+  read files that have been compressed, as in the following code snippet:
+  @code
+    #include <boost/iostreams/filtering_stream.hpp>
+    #include <boost/iostreams/filter/gzip.hpp>
+    #include <boost/iostreams/device/file.hpp>
+
+    ...
+
+    boost::iostreams::filtering_istream in;
+    in.push(boost::iostreams::basic_gzip_decompressor<>());
+    in.push(boost::iostreams::file_source("myfile.gz"));
+
+    int i;
+    in >> i;
+  @endcode
+  More documentation on how to use BOOST Iostream can be found
+  in the documentation link referenced above.
+  <br>
+  (Wolfgang Bangerth, 2013/12/21)
+  </li>
 </ol>
 
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.