Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Examples

types.hpp File Reference

Type definitions for Exiv2 and related functionality. More...

#include <string>
#include <iosfwd>
#include <utility>
#include <sstream>

Include dependency graph for types.hpp:

Include dependency graph

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

Included by dependency graph

Namespaces

namespace  Exiv2

Classes

struct  Exiv2::TypeInfoTable
 Information pertaining to the defined types. More...
class  Exiv2::TypeInfo
 Type information lookup functions. Implemented as a static class. More...
class  Exiv2::DataBuf
 Utility class containing a character array. All it does is to take care of memory allocation and deletion. Its primary use is meant to be as a stack variable in functions that need a temporary data buffer. Todo: this should be some sort of smart pointer, essentially an std:auto_ptr for a character array. But it isn't. More...

Typedefs

typedef unsigned char byte
 1 byte unsigned integer type.
typedef unsigned short uint16
 2 byte unsigned integer type.
typedef unsigned long uint32
 4 byte unsigned integer type.
typedef short int16
 2 byte signed integer type.
typedef long int32
 4 byte signed integer type.
typedef std::pair< uint32,
uint32
URational
 8 byte unsigned rational type.
typedef std::pair< int32,
int32
Rational
 8 byte signed rational type.

Enumerations

enum  ByteOrder { invalidByteOrder, littleEndian, bigEndian }
 Type to express the byte order (little or big endian).
enum  TypeId {
  invalidTypeId, unsignedByte, asciiString, unsignedShort,
  unsignedLong, unsignedRational, invalid6, undefined,
  signedShort, signedLong, signedRational, string,
  date, time, lastTypeId
}
 Type identifiers for IFD format types.
enum  IfdId {
  ifdIdNotSet, ifd0Id, exifIfdId, gpsIfdId,
  makerIfdId, iopIfdId, ifd1Id, lastIfdId
}
 Type to specify the IFD to which a metadata belongs.

Functions

template<typename T> std::string toString (const T &arg)
 Utility function to convert the argument of any type to a string.

Detailed Description

Type definitions for Exiv2 and related functionality.

Version:
Exiv2-0_5_040913 1.20
Author:
Andreas Huggel (ahu) ahuggel@gmx.net
Date:
09-Jan-04, ahu: created
11-Feb-04, ahu: isolated as a component 31-Jul-04, brad: added Time, Data and String values

Generated on Mon Sep 13 22:01:41 2004 for Exiv2 by doxygen 1.3.8