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

Method regNamespace

app/actions.cpp:1298–1305  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1296}
1297
1298void Modify::regNamespace(const ModifyCmd& modifyCmd) {
1299 // If modify is used when extracting to stdout then ignore verbose
1300 if (Params::instance().verbose_ &&
1301 !(Params::instance().action_ & Action::extract && Params::instance().target_ & Params::ctStdInOut)) {
1302 std::cout << _("Reg ") << modifyCmd.key_ << "=\"" << modifyCmd.value_ << "\"" << std::endl;
1303 }
1304 Exiv2::XmpProperties::registerNs(modifyCmd.value_, modifyCmd.key_);
1305}
1306
1307Task::UniquePtr Modify::clone() const {
1308 return std::make_unique<Modify>(*this);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected