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...
struct  Exiv2::DataBufRef
 Auxiliary type to enable copies and assignments, similar to std::auto_ptr_ref. See http://www.josuttis.com/libbook/auto_ptr.html for a discussion. 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...
class  Exiv2::FileCloser
 Utility class that closes a file stream pointer upon destruction. Its primary use is to be a stack variable in functions that need to ensure files get closed. Useful when functions return errors from many locations. More...

Typedefs

typedef uint8_t byte
 1 byte unsigned integer type.
typedef std::pair< uint32_t,
uint32_t > 
URational
 8 byte unsigned rational type.
typedef std::pair< int32_t,
int32_t > 
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:
Rev
402
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 Sun Dec 12 17:54:00 2004 for Exiv2 by  doxygen 1.3.9.1