![]() |
Exiv2
|
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. | |
Type information lookup functions. Implemented as a static class.
|
static |
Return the type id for a type name.
References Exiv2::find(), Exiv2::invalidTypeId, and typeName().
Referenced by typeName(), and typeSize().
|
static |
Return the name of the type, 0 if unknown.
References Exiv2::find(), and typeId().
Referenced by Exiv2::Internal::CiffComponent::doPrint(), Exiv2::operator<<(), Exiv2::operator<<(), Exiv2::Internal::toTiffType(), typeId(), Exiv2::Exifdatum::typeName(), Exiv2::Iptcdatum::typeName(), and Exiv2::Xmpdatum::typeName().
|
static |
Return the size in bytes of one element of this type.
References Exiv2::find(), and typeId().
Referenced by Exiv2::Internal::TiffBinaryArray::doCount(), Exiv2::Internal::TiffBinaryArray::doWrite(), Exiv2::ValueType< T >::read(), Exiv2::Internal::TiffReader::readTiffEntry(), Exiv2::Internal::ArrayDef::size(), Exiv2::ValueType< T >::size(), Exiv2::Exifdatum::typeSize(), and Exiv2::Iptcdatum::typeSize().