Exiv2
Loading...
Searching...
No Matches
Exiv2::TypeInfo Class Reference

Type information lookup functions. Implemented as a static class. More...

#include <types.hpp>

Static Public Member Functions

static const char * typeName (TypeId typeId)
 Return the name of the type, 0 if unknown.
static TypeId typeId (const std::string &typeName)
 Return the type id for a type name.
static size_t typeSize (TypeId typeId)
 Return the size in bytes of one element of this type.

Detailed Description

Type information lookup functions. Implemented as a static class.

Member Function Documentation

◆ typeId()

TypeId Exiv2::TypeInfo::typeId ( const std::string & typeName)
static

Return the type id for a type name.

References Exiv2::find(), Exiv2::invalidTypeId, and typeName().

Referenced by typeName(), and typeSize().

◆ typeName()

const char * Exiv2::TypeInfo::typeName ( TypeId typeId)
static

◆ typeSize()


The documentation for this class was generated from the following files: