cpp: Add convenience update function to a key
authorAndre Heinecke <aheinecke@intevation.de>
Mon, 5 Sep 2016 10:53:02 +0000 (12:53 +0200)
committerAndre Heinecke <aheinecke@intevation.de>
Mon, 5 Sep 2016 10:53:02 +0000 (12:53 +0200)
commit79439e76cc5b302222874a1f9e93665cb12801ac
treeb7998459cd89adf858ee8725aefbd216d89fd26c
parent444d85ace0dddff5c511961927052d9946035b00
cpp: Add convenience update function to a key

* lang/cpp/src/key.cpp (Key::update): New.
* lang/cpp/src/key.h: Update accordingly.

--
This function helps if you have an incomplete key or want
to make sure all info in a key is complete (e.g. validity / tofuinfo)
lang/cpp/src/key.cpp
lang/cpp/src/key.h