libopenraw
erffile.h
1 /*
2  * libopenraw - erffile.h
3  *
4  * Copyright (C) 2007-2008 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 
22 
23 
24 #ifndef __ERFFILE_H_
25 #define __ERFFILE_H_
26 
27 #include "tiffepfile.h"
28 
29 namespace OpenRaw {
30 
31  class Thumbnail;
32 
33  namespace Internals {
34  class IOFile;
35  class IFDFileContainer;
36 
37  class ERFFile
38  : public TiffEpFile
39  {
40  public:
41  static RawFile *factory(IO::Stream *);
43  virtual ~ERFFile();
44 
45  protected:
46  virtual ::or_error _getRawData(RawData & data, uint32_t options);
47 
48  private:
49 
50  ERFFile(const ERFFile&);
51  ERFFile & operator=(const ERFFile &);
52 
53  static const IFDFile::camera_ids_t s_def[];
54  };
55  }
56 
57 }
58 
59 #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
virtual ::or_error _getRawData(RawData &data, uint32_t options)
Definition: erffile.cpp:64
base virtual class for IO
Definition: stream.h:40