Exiv2::TagVocabulary Struct Reference

Helper structure for lookup tables for translations of controlled vocabulary strings to their descriptions. More...

#include <tags.hpp>

List of all members.

Public Member Functions

bool operator== (const std::string &key) const
 Comparison operator for use with the find template.

Public Attributes

const char * voc_
 Vocabulary string.
const char * label_
 Description of the vocabulary string.


Detailed Description

Helper structure for lookup tables for translations of controlled vocabulary strings to their descriptions.

Member Function Documentation

bool Exiv2::TagVocabulary::operator== ( const std::string &  key  )  const

Comparison operator for use with the find template.

Compare vocabulary strings like "PR-NON" with keys like "http://ns.useplus.org/ldf/vocab/PR-NON" and return true if the vocabulary string matches the end of the key.

References voc_.


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

Generated on Sun Jan 3 21:40:59 2010 for Exiv2 by  doxygen 1.5.9