]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/BASE/AliHLTDataInflaterSimple.h
added Print functions
[u/mrichter/AliRoot.git] / HLT / BASE / AliHLTDataInflaterSimple.h
1 //-*- Mode: C++ -*-
2 // $Id$
3 #ifndef ALIHLTDATAINFLATERSIMPLE_H
4 #define ALIHLTDATAINFLATERSIMPLE_H
5 //* This file is property of and copyright by the ALICE HLT Project        * 
6 //* ALICE Experiment at CERN, All rights reserved.                         *
7 //* See cxx source for full Copyright notice                               *
8
9 /// @file   AliHLTDataInflaterSimple.h
10 /// @author Matthias Richter
11 /// @date   2011-09-01
12 /// @brief  Data inflater implementation for format of AliHLTDataDeflaterSimple
13 /// @note   
14
15 #include "AliHLTDataInflater.h"
16 #include "AliHLTDataDeflaterSimple.h"
17
18 class AliHLTDataInflaterSimple : public AliHLTDataInflater
19 {
20 public:
21   /// standard constructor
22   AliHLTDataInflaterSimple();
23   /// destructor
24   ~AliHLTDataInflaterSimple();
25
26   /// add a parameter definition to the configuration, return reference id
27   int AddParameterDefinition(const char* name, int bitLength, int reducedBitLength);
28
29   /// overloaded from AliHLTDataInflater
30   virtual bool NextValue(AliHLTUInt64_t& value, AliHLTUInt32_t& length);
31
32 protected:
33 private:
34   /** copy constructor prohibited */
35   AliHLTDataInflaterSimple(const AliHLTDataInflaterSimple&);
36   /** assignment operator prohibited */
37   AliHLTDataInflaterSimple& operator=(const AliHLTDataInflaterSimple&);
38
39   /// parameter definitions
40   vector<AliHLTDataDeflaterSimple::AliHLTDataDeflaterParameter> fParameterDefinitions; //!
41
42   /// current parameter during reading
43   int fCurrentParameter; //!
44
45   ClassDef(AliHLTDataInflaterSimple, 0)
46 };
47
48 #endif //ALIHLTDATAINFLATERSIMPLE_H