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.


The documentation for this struct was generated from the following files:
Generated on Thu Dec 31 03:58:08 2009 for Exiv2 by  doxygen 1.3.9.1