libopenraw
decompressor.h
1 /*
2  * libopenraw - decompressor.h
3  *
4  * Copyright (C) 2007 Hubert Figuiere
5  *
6  * This library is free software: you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public License
8  * as published by the Free Software Foundation, either version 3 of
9  * the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library. If not, see
18  * <http://www.gnu.org/licenses/>.
19  */
20 
21 #ifndef __OPENRAW_DECOMPRESS_H__
22 #define __OPENRAW_DECOMPRESS_H__
23 
24 #include <boost/noncopyable.hpp>
25 
26 #include <libopenraw/libopenraw.h>
27 
28 
29 namespace OpenRaw {
30 
31  class RawData;
32 
33  namespace IO {
34  class Stream;
35  }
36 
37  namespace Internals {
38 
39  class RawContainer;
40 
42  : private boost::noncopyable
43  {
44  public:
45  Decompressor(IO::Stream * stream,
46  RawContainer * container);
47  virtual ~Decompressor();
48 
56  virtual RawData *decompress(RawData *in = NULL) = 0;
57  protected:
58  IO::Stream *m_stream;
59  RawContainer *m_container;
60 
62  Decompressor(const Decompressor& f);
65  };
66 
67  }
68 }
69 
70 
71 
72 #endif
CIFF is the container for CRW files. It is an attempt from Canon to make this a standard. I guess it failed.
Definition: arwfile.cpp:33
Decompressor & operator=(const Decompressor &)
virtual RawData * decompress(RawData *in=NULL)=0
base virtual class for IO
Definition: stream.h:40