exif.hpp File Reference

Encoding and decoding of Exif data. More...

#include "metadatum.hpp"
#include "types.hpp"
#include "error.hpp"
#include "value.hpp"
#include "ifd.hpp"
#include "tags.hpp"
#include <string>
#include <vector>
#include <memory>

Include dependency graph for exif.hpp:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Namespaces

namespace  Exiv2

Classes

class  Exiv2::Exifdatum
 Information related to one Exif tag. An Exif metadatum consists of an ExifKey and a Value and provides methods to manipulate these. More...
class  Exiv2::Thumbnail
 Exif Thumbnail image. This abstract base class provides the interface for the thumbnail image that is optionally embedded in the Exif data. This class is used internally by ExifData, it is probably not useful for a client as a standalone class. Instead, use an instance of ExifData to access the Exif thumbnail image. More...
class  Exiv2::TiffThumbnail
 Exif thumbnail image in TIFF format. More...
class  Exiv2::JpegThumbnail
 Exif thumbnail image in JPEG format. More...
class  Exiv2::FindMetadatumByIfdIdIdx
 Unary predicate that matches a Exifdatum with a given ifd id and idx. More...
class  Exiv2::ExifData
 A container for Exif data. This is a top-level class of the Exiv2 library. The container holds Exifdatum objects. More...

Typedefs

typedef std::vector< Exifdatum > ExifMetadata
 Container type to hold all metadata.

Functions

template<typename T>
Exifdatum & setValue (Exifdatum &exifDatum, const T &value)
 Set the value of exifDatum to value. If the object already has a value, it is replaced. Otherwise a new ValueType<T> value is created and set to value.

Detailed Description

Encoding and decoding of Exif data.

Version:
Rev
1040
Author:
Andreas Huggel (ahu) ahuggel@gmx.net
Date:
09-Jan-04, ahu: created

Function Documentation

template<typename T>
Exifdatum & Exiv2::setValue Exifdatum &  exifDatum,
const T &  value
 

Set the value of exifDatum to value. If the object already has a value, it is replaced. Otherwise a new ValueType<T> value is created and set to value.

This is a helper function, called from Exifdatum members. It is meant to be used with T = (u)int16_t, (u)int32_t or (U)Rational. Do not use directly.


Generated on Wed Jul 11 11:16:52 2007 for Exiv2 by  doxygen 1.3.9.1