#include <properties.hpp>
Static Public Member Functions | |
const char * | propertyTitle (const XmpKey &key) |
Return the title (label) of the property. | |
const char * | propertyDesc (const XmpKey &key) |
Return the description of the property. | |
TypeId | propertyType (const XmpKey &key) |
Return the type for property key. The default for unknown keys is xmpText. | |
const XmpPropertyInfo * | propertyInfo (const XmpKey &key) |
Return information for the property for key. | |
std::string | ns (const std::string &prefix) |
Return the namespace name for the schema associated with prefix. | |
const char * | nsDesc (const std::string &prefix) |
Return the namespace description for the schema associated with prefix. | |
const XmpPropertyInfo * | propertyList (const std::string &prefix) |
Return read-only list of built-in properties for prefix. | |
const XmpNsInfo * | nsInfo (const std::string &prefix) |
Return information about a schema namespace for prefix. Always returns a valid pointer. | |
std::string | prefix (const std::string &ns) |
Return the (preferred) prefix for schema namespace ns. | |
void | printProperties (std::ostream &os, const std::string &prefix) |
Print a list of properties of a schema namespace to output stream os. | |
std::ostream & | printProperty (std::ostream &os, const std::string &key, const Value &value) |
Interpret and print the value of an XMP property. | |
void | registerNs (const std::string &ns, const std::string &prefix) |
Register namespace ns with preferred prefix prefix. | |
void | unregisterNs (const std::string &ns) |
Unregister a custom namespace ns. | |
void | unregisterNs () |
Unregister all custom namespaces. |
|
Return the namespace name for the schema associated with prefix.
|
|
Return the namespace description for the schema associated with prefix.
|
|
Return information about a schema namespace for prefix. Always returns a valid pointer.
|
|
Return the (preferred) prefix for schema namespace ns.
|
|
Return the description of the property.
|
|
Return information for the property for key.
|
|
Return read-only list of built-in properties for prefix.
|
|
Return the title (label) of the property.
|
|
Return the type for property key. The default for unknown keys is xmpText.
|
|
Register namespace ns with preferred prefix prefix. If the namespace is a known or previously registered namespace, the prefix is overwritten.
|
|
Unregister all custom namespaces. The function only unregisters namespaces registered earlier, it does not unregister built-in namespaces.
|
|
Unregister a custom namespace ns. The function only has an effect if there is a namespace ns registered earlier, it does not unregister built-in namespaces.
|