MCPcopy Create free account
hub / github.com/Exiv2/exiv2 / Impl

Method Impl

src/properties.cpp:5153–5160  ·  view source on GitHub ↗

@brief Constructor for Internal Pimpl structure XmpKey::Impl::Impl

Source from the content-addressed store, hash-verified

5151
5152//! @brief Constructor for Internal Pimpl structure XmpKey::Impl::Impl
5153XmpKey::Impl::Impl(const std::string& prefix, const std::string& property) {
5154 // Validate prefix
5155 if (XmpProperties::ns(prefix).empty())
5156 throw Error(ErrorCode::kerNoNamespaceForPrefix, prefix);
5157
5158 property_ = property;
5159 prefix_ = prefix;
5160}
5161
5162XmpKey::XmpKey(const std::string& key) : p_(std::make_unique<Impl>()) {
5163 p_->decomposeKey(key);

Callers

nothing calls this directly

Calls 2

ErrorFunction · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected