Elektra  0.8.15
Namespaces | Functions
keyhelper.hpp File Reference

Key helper functions. More...

#include <string>
#include <kdb.hpp>
#include <toolexcept.hpp>
Include dependency graph for keyhelper.hpp:
This graph shows which files directly or indirectly include this file:

Namespaces

 kdb
 This is the main namespace for the C++ binding and libraries.
 
 kdb::tools
 This namespace is for the libtool library.
 

Functions

Key kdb::tools::helper::rebaseKey (const Key &key, const Key &oldParent, const Key &newParent)
 Rebases the supplied key from the old parent to the new parent. More...
 
std::string kdb::tools::helper::rebasePath (const Key &key, const Key &oldParent, const Key &newParent)
 Rebases the relative path of the passed key from the old parent to the new parent and returns the new path. More...
 
void kdb::tools::helper::removeNamespace (Key &key)
 Removes the namespace. More...
 
Key kdb::tools::helper::commonKeyName (Key key1, Key key2)
 Find common name between two keys. More...
 

Detailed Description

Key helper functions.