Exiv2
Loading...
Searching...
No Matches
orfimage_int.hpp
1// SPDX-License-Identifier: GPL-2.0-or-later
2
3#ifndef ORFIMAGE_INT_HPP_
4#define ORFIMAGE_INT_HPP_
5
6// *****************************************************************************
7// included header files
8#include "tiffimage_int.hpp"
9
10// *****************************************************************************
11// namespace extensions
12namespace Exiv2::Internal {
13// *****************************************************************************
14// class definitions
15
19class OrfHeader : public TiffHeaderBase {
20 public:
22
23
24 explicit OrfHeader(ByteOrder byteOrder = littleEndian);
26
28
29 bool read(const byte* pData, size_t size) override;
31
33
34 [[nodiscard]] DataBuf write() const override;
36 private:
37 // DATA
38 uint16_t sig_{0x4f52};
39};
40
41} // namespace Exiv2::Internal
42
43#endif // #ifndef ORFIMAGE_INT_HPP_
Olympus ORF header structure.
Definition orfimage_int.hpp:19
bool read(const byte *pData, size_t size) override
Read the image header from a data buffer. Return false if the data buffer does not contain an image h...
Definition orfimage_int.cpp:9
DataBuf write() const override
Return the image header in binary format. The caller owns this data and DataBuf ensures that it will ...
Definition orfimage_int.cpp:29
Contains internal objects which are not published and are not part of the libexiv2 API.
Definition tiffimage_int.hpp:29
virtual uint32_t size() const
Return the size (in bytes) of the image header.
Definition tiffimage_int.cpp:2216
virtual ByteOrder byteOrder() const
Return the byte order (little or big endian).
Definition tiffimage_int.cpp:2200
Helper structure for the Matroska tags lookup table.
Definition matroskavideo.hpp:39
ByteOrder
Type to express the byte order (little or big endian)
Definition types.hpp:34
Utility class containing a character array. All it does is to take care of memory allocation and dele...
Definition types.hpp:124