libopenraw
Main Page
Related Pages
Namespaces
Classes
Files
File List
lib
cr2file.h
1
/*
2
* libopenraw - cr2file.h
3
*
4
* Copyright (C) 2006, 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 __CR2FILE_H_
25
#define __CR2FILE_H_
26
27
#include "ifdfile.h"
28
#include "rawfilefactory.h"
29
#include "ifdfilecontainer.h"
30
31
namespace
OpenRaw {
32
33
class
Thumbnail;
34
35
namespace
Internals {
36
37
class
Cr2File
38
:
public
IFDFile
39
{
40
public
:
41
static
RawFile
*factory(
IO::Stream
* s);
42
Cr2File
(
IO::Stream
*s);
43
virtual
~
Cr2File
();
44
45
protected
:
46
virtual
IFDDir::Ref _locateCfaIfd();
47
virtual
IFDDir::Ref _locateMainIfd();
48
49
private
:
50
51
Cr2File
(
const
Cr2File
&);
52
Cr2File
& operator=(
const
Cr2File
&);
53
54
virtual ::or_error _getRawData(
RawData
& data, uint32_t options);
55
56
static
const
IFDFile::camera_ids_t
s_def[];
57
};
58
59
}
60
}
61
62
#endif
OpenRaw::RawFile
Definition:
rawfile.h:43
OpenRaw::Internals::IFDFile
generic IFD based raw file.
Definition:
ifdfile.h:62
OpenRaw::RawFile::camera_ids_t
Definition:
rawfile.h:117
OpenRaw::RawData
Definition:
rawdata.h:34
OpenRaw::IO::Stream
base virtual class for IO
Definition:
stream.h:40
OpenRaw::Internals::Cr2File
Definition:
cr2file.h:37
Generated on Sat Oct 19 2013 07:46:54 for libopenraw by
1.8.5