]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/BASE/AliHLTDataDeflater.h
added interface function to get deflater version; internal cleanup implemented
[u/mrichter/AliRoot.git] / HLT / BASE / AliHLTDataDeflater.h
index 2bfd98860fc44bb2125318bd7c1bef742ec06e38..b5d1e5ec91d5e3f37a2d4560c33bc4b8cb1a7848 100644 (file)
@@ -40,10 +40,7 @@ public:
   int InitBitDataOutput( AliHLTUInt8_t* output, UInt_t outputSize );
 
   /** function to close bit data output */
-  void CloseBitDataOutput()
-  {
-    Pad8Bits();
-  }
+  void CloseBitDataOutput();
 
   /** function to get current byte output position
    * @return unsigned long value for current byte output position
@@ -110,6 +107,9 @@ public:
   /// write bit pattern of a parameter to the current byte and position
   virtual bool OutputParameterBits( int parameterId, AliHLTUInt64_t const & value );
 
+  /// return unique version of the deflater, base class has version 0
+  virtual int GetDeflaterVersion() const {return 0;}
+
 protected:
 
 private: