31 #ifndef PROPERTIES_HPP_ 32 #define PROPERTIES_HPP_ 35 #include "exiv2lib_export.h" 106 static void unregisterNsUnsafe(
const std::string& ns);
116 static const char* propertyTitle(
const XmpKey& key);
123 static const char* propertyDesc(
const XmpKey& key);
158 static const char* nsDesc(
const std::string& prefix);
184 static void printProperties(std::ostream& os,
const std::string& prefix);
187 static std::ostream& printProperty(std::ostream& os,
220 static void unregisterNs();
283 virtual const char* familyName()
const;
292 virtual uint16_t tag()
const;
303 virtual XmpKey* clone_()
const;
308 std::auto_ptr<Impl> p_;
320 #endif // #ifndef PROPERTIES_HPP_ bool operator==(const TagDetails &td, const LensTypeAndFocalLengthAndMaxAperture <fl)
Compare tag details with a lens entry.
Definition: canonmn_int.cpp:1809
const char * name_
Property name.
Definition: properties.hpp:60
std::string prefix_
The prefix string.
Definition: properties.hpp:75
std::map< std::string, std::string > Dictionary
typedef for string:string map
Definition: datasets.hpp:364
TypeId
Exiv2 value type identifiers.
Definition: types.hpp:130
const char * ns_
Namespace.
Definition: properties.hpp:89
std::auto_ptr< XmpKey > AutoPtr
Shortcut for an XmpKey auto pointer.
Definition: properties.hpp:245
For comparison with prefix.
Definition: properties.hpp:71
const char * xmpValueType_
XMP value type (for info only)
Definition: properties.hpp:62
const char * title_
Property title or label.
Definition: properties.hpp:61
Abstract base class defining the Key of a metadatum. Keys are used to identify and group metadata...
Definition: metadatum.hpp:55
static Exiv2::RWLock rwLock_
lock to be used while modifying properties
Definition: properties.hpp:210
std::string ns_
The namespace string.
Definition: properties.hpp:82
Structure mapping XMP namespaces and (preferred) prefixes.
Definition: properties.hpp:69
static NsRegistry nsRegistry_
Namespace registry.
Definition: properties.hpp:229
XMP property reference, implemented as a static class.
Definition: properties.hpp:96
std::map< std::string, XmpNsInfo > NsRegistry
Type for the namespace registry.
Definition: properties.hpp:222
IPTC dataset and type information.
Concrete keys for XMP metadata.
Definition: properties.hpp:241
const XmpPropertyInfo * xmpPropertyInfo_
List of known properties.
Definition: properties.hpp:91
XmpCategory
Category of an XMP property.
Definition: properties.hpp:53
Class to provide a Read-Write Lock.
Definition: rwlock.hpp:89
const char * groupName(IfdId ifdId)
Return the group name for a group id.
Definition: tags_int.cpp:2155
XmpCategory xmpCategory_
Category (internal or external)
Definition: properties.hpp:64
Information about one XMP property.
Definition: properties.hpp:56
IPTC string type.
Definition: types.hpp:147
Common interface for all types of values used with metadata.
Definition: value.hpp:60
Provides classes and functions to encode and decode Exif and Iptc data. The libexiv2 API consists of ...
Definition: asfvideo.hpp:36
EXIV2API std::ostream & operator<<(std::ostream &os, const DataSet &dataSet)
Output operator for dataSet.
Definition: datasets.cpp:709
const char * prefix_
(Preferred) prefix
Definition: properties.hpp:90
const char * desc_
Brief description of the namespace.
Definition: properties.hpp:92
TypeId typeId_
Exiv2 default type for the property.
Definition: properties.hpp:63
const char * desc_
Property description.
Definition: properties.hpp:65
std::auto_ptr< Key > AutoPtr
Shortcut for a Key auto pointer.
Definition: metadatum.hpp:58
For comparison with namespace.
Definition: properties.hpp:78