libopenraw
Main Page
Related Pages
Namespaces
Classes
Files
File List
lib
orfcontainer.h
1
/*
2
* libopenraw - orfcontainer.h
3
*
4
* Copyright (C) 2006, 2010 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
#ifndef _ORF_CONTAINER_H__
23
#define _ORF_CONTAINER_H__
24
25
#include "ifdfilecontainer.h"
26
27
namespace
OpenRaw {
28
namespace
Internals {
29
30
static
const
char
ORF_SUBTYPE_16BPP =
'O'
;
31
static
const
char
ORF_SUBTYPE_12BPP =
'S'
;
32
33
class
IOFile;
34
35
class
OrfContainer
36
:
public
IFDFileContainer
37
{
38
public
:
39
OrfContainer
(
IO::Stream
*file, off_t offset);
41
virtual
~OrfContainer
();
42
46
virtual
IFDFileContainer::EndianType
47
isMagicHeader
(
const
char
*p,
int
len);
48
49
private
:
50
char
subtype_;
51
/* avoid these being called. */
52
OrfContainer
(
const
OrfContainer
&);
53
OrfContainer
& operator=(
const
OrfContainer
&);
54
};
55
56
}
57
}
58
59
60
#endif
OpenRaw::Internals::IFDFileContainer
Definition:
ifdfilecontainer.h:45
OpenRaw::Internals::OrfContainer::isMagicHeader
virtual IFDFileContainer::EndianType isMagicHeader(const char *p, int len)
Definition:
orfcontainer.cpp:46
OpenRaw::Internals::RawContainer::EndianType
EndianType
Definition:
rawcontainer.h:48
OpenRaw::Internals::OrfContainer::~OrfContainer
virtual ~OrfContainer()
Definition:
orfcontainer.cpp:40
OpenRaw::IO::Stream
base virtual class for IO
Definition:
stream.h:40
OpenRaw::Internals::OrfContainer
Definition:
orfcontainer.h:35
Generated on Wed May 20 2015 15:51:56 for libopenraw by
1.8.7