The Metadata Class
Defined in: Keyview_Metadata.hpp
The Metadata
class is the type returned by Document::metadata or Subfile::metadata to represent a list of metadata elements. You should not construct a Metadata
object by calling the constructor.
For backwards compatibility with KeyView 23.2, a Metadata
object behaves much like a const std::multimap<std::string, MetadataElement>
, exposing most of the same functions and returning the same types from them. In particular, this means that iterators returned from Metadata
functions are iterators to std::pair<const std::string, MetadataElement>
rather than iterators to MetadataElement
. For more detailed descriptions of these functions, refer to the C++ standard library documentation for std::multimap
.