]> git.treefish.org Git - phys/latlib.git/blobdiff - configcache.h
Let outdir be created from rank 0.
[phys/latlib.git] / configcache.h
index 727d1bd325007845bc06bef38b4e0cabcc1a8652..158eb0ae85f87cdea8d1ad8f97a985cb54186f15 100644 (file)
@@ -7,12 +7,6 @@
 #include <sstream>
 #include <ostream>
 
-#include <boost/iostreams/filtering_streambuf.hpp>
-#include <boost/iostreams/stream.hpp>
-#include <boost/iostreams/filter/bzip2.hpp>
-#include <boost/iostreams/device/array.hpp>
-#include <boost/iostreams/copy.hpp>
-
 #define CACHE_MODE_DISABLED 0
 #define CACHE_MODE_READ 1
 #define CACHE_MODE_FULL 2
@@ -53,6 +47,9 @@ class configcache{
   void finishOutFile();
 
  private:
+  struct iobuffers;
+  iobuffers *ioBuffers;
+
   ostream* log;
   infiledesc openFileDesc;
   int getParIndex(const string& parid);
@@ -70,9 +67,6 @@ class configcache{
 
   int readnum;
 
-  boost::iostreams::filtering_istreambuf *inBuffer;
-  boost::iostreams::filtering_ostreambuf *outBuffer;
-
   int inSize;
 
   int configSize;