Loading...
Searching...
No Matches
tifffwd_int.hpp
// ***************************************************************** -*- C++ -*-
/*
* Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/
#ifndef TIFFFWD_INT_HPP_
#define TIFFFWD_INT_HPP_
// *****************************************************************************
// included header files
#include "types.hpp"
#include "tags_int.hpp"
// + standard includes
#include <memory>
#include <stack>
#include <vector>
// *****************************************************************************
// Exiv2 namespace extensions
namespace Exiv2 {
class Exifdatum;
namespace Internal {
class TiffHeaderBase;
class TiffComponent;
class TiffEntryBase;
class TiffEntry;
class TiffDataEntry;
class TiffSizeEntry;
class TiffDirectory;
class TiffSubIfd;
class TiffMnEntry;
class TiffBinaryArray;
class TiffBinaryElement;
class TiffIfdMakernote;
class MnHeader;
class TiffVisitor;
class TiffFinder;
class TiffDecoder;
class TiffEncoder;
class TiffReader;
class TiffRwState;
class TiffPathItem;
struct TiffMappingInfo;
class IoWrapper;
class OffsetWriter;
// *****************************************************************************
// type definitions
typedef void (TiffDecoder::*DecoderFct)(const TiffEntryBase*);
typedef void (TiffEncoder::*EncoderFct)(TiffEntryBase*, const Exifdatum*);
typedef DecoderFct (*FindDecoderFct)(const std::string& make,
uint32_t extendedTag,
IfdId group);
typedef EncoderFct (*FindEncoderFct)(
const std::string& make,
uint32_t extendedTag,
IfdId group
);
typedef std::auto_ptr<TiffComponent> (*NewTiffCompFct)(uint16_t tag, IfdId group);
typedef std::stack<TiffPathItem> TiffPath;
typedef std::vector<IfdId> PrimaryGroups;
}} // namespace Internal, Exiv2
#endif // #ifndef TIFFFWD_INT_HPP_
Exiv2::Exifdatum
An Exif metadatum, consisting of an ExifKey and a Value and methods to manipulate these.
Definition exif.hpp:59
Exiv2::Internal::TiffDecoder
TIFF composite visitor to decode metadata from the TIFF tree and add it to an Image,...
Definition tiffvisitor_int.hpp:276
Exiv2::Internal::TiffEncoder
TIFF composite visitor to encode metadata from an image to the TIFF tree. The metadata containers and...
Definition tiffvisitor_int.hpp:376
Exiv2::Internal::TiffEntryBase
This abstract base class provides the common functionality of an IFD directory entry and defines an e...
Definition tiffcomposite_int.hpp:411
Exiv2::Internal::FindDecoderFct
DecoderFct(* FindDecoderFct)(const std::string &make, uint32_t extendedTag, IfdId group)
Type for a function pointer for a function to decode a TIFF component.
Definition tifffwd_int.hpp:85
Exiv2::Internal::NewTiffCompFct
std::auto_ptr< TiffComponent >(* NewTiffCompFct)(uint16_t tag, IfdId group)
Type for a function pointer for a function to create a TIFF component. Use TiffComponent::AutoPtr,...
Definition tifffwd_int.hpp:101
Exiv2::Internal::EncoderFct
void(TiffEncoder::* EncoderFct)(TiffEntryBase *, const Exifdatum *)
Function pointer type for a TiffDecoder member function to decode a TIFF component.
Definition tifffwd_int.hpp:81
Exiv2::Internal::DecoderFct
void(TiffDecoder::* DecoderFct)(const TiffEntryBase *)
Function pointer type for a TiffDecoder member function to decode a TIFF component.
Definition tifffwd_int.hpp:76
Exiv2::Internal::PrimaryGroups
std::vector< IfdId > PrimaryGroups
Type for a list of primary image groups.
Definition tifffwd_int.hpp:107
Exiv2::Internal::TiffPath
std::stack< TiffPathItem > TiffPath
Stack to hold a path from the TIFF root element to a TIFF entry.
Definition tifffwd_int.hpp:104
Exiv2::Internal::IfdId
IfdId
Type to specify the IFD to which a metadata belongs.
Definition tags_int.hpp:46
Exiv2::Internal::FindEncoderFct
EncoderFct(* FindEncoderFct)(const std::string &make, uint32_t extendedTag, IfdId group)
Type for a function pointer for a function to encode a TIFF component.
Definition tifffwd_int.hpp:91
Exiv2
Provides classes and functions to encode and decode Exif and Iptc data. The libexiv2 API consists of ...
Definition asfvideo.hpp:36
Exiv2::make
EXIV2API ExifData::const_iterator make(const ExifData &ed)
Return the camera make.
Definition easyaccess.cpp:437