]> git.tdb.fi Git - libs/datafile.git/blobdiff - source/writer.h
Add support for compressed datafiles
[libs/datafile.git] / source / writer.h
index df308266d976810217be152efec93d8f2a75b77a..18fb3141b2c8c83edb526da13ef76c981b0c4c1e 100644 (file)
@@ -39,6 +39,10 @@ public:
        */
        void set_binary(bool b);
 
+       /** Enables output compression.  Once enabled, it won't be possible to
+       disable compression. */
+       void set_compressed();
+
        /** Sets the precision of floating point numbers in bits.  Depending on the
        mode not all values may be valid, but any value between 16 and 64 that is
        divisible by 8 is guaranteed to work. */