Exiv2
Loading...
Searching...
No Matches
Exiv2::CommentValue::CharsetInfo Class Reference

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

#include <value.hpp>

Static Public Member Functions

static const char * name (CharsetId charsetId)
 Return the name for a charset id.
static const char * code (CharsetId charsetId)
 Return the code for a charset id.
static CharsetId charsetIdByName (const std::string &name)
 Return the charset id for a name.
static CharsetId charsetIdByCode (const std::string &code)
 Return the charset id for a code.

Detailed Description

Charset information lookup functions. Implemented as a static class.

Member Function Documentation

◆ charsetIdByCode()

CommentValue::CharsetId Exiv2::CommentValue::CharsetInfo::charsetIdByCode ( const std::string & code)
static

Return the charset id for a code.

References code().

Referenced by Exiv2::CommentValue::charsetId().

◆ charsetIdByName()

CommentValue::CharsetId Exiv2::CommentValue::CharsetInfo::charsetIdByName ( const std::string & name)
static

Return the charset id for a name.

References name().

Referenced by Exiv2::CommentValue::read().

◆ code()

const char * Exiv2::CommentValue::CharsetInfo::code ( CharsetId charsetId)
static

Return the code for a charset id.

References Exiv2::CommentValue::charsetId().

Referenced by charsetIdByCode(), and Exiv2::CommentValue::read().

◆ name()

const char * Exiv2::CommentValue::CharsetInfo::name ( CharsetId charsetId)
static

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