table of contents
comparison.hpp(3elektra) | Elektra | comparison.hpp(3elektra) |
NAME¶
comparison.hpp - Comparison helper functions.
SYNOPSIS¶
#include <string>
#include <kdb.hpp>
Namespaces¶
kdb
This is the main namespace for the C++ binding and libraries.
kdb::tools
This namespace is for the libtool library.
Functions¶
bool kdb::tools::helper::keyDataEqual (const Key &,
const Key &)
Determines if two keys are equal based on their string value If one of the
two keys is null, false is returned. bool
kdb::tools::helper::keyMetaEqual (Key &, Key &)
Determines if two keys have equal metadata.
Detailed Description¶
Comparison helper functions.
Copyright:
Function Documentation¶
bool kdb::tools::helper::keyDataEqual (const Key & k1, const Key & k2)¶
Determines if two keys are equal based on their string value If one of the two keys is null, false is returned.
Parameters:
k2 the second key to be compared
Returns:
bool kdb::tools::helper::keyMetaEqual (Key & k1, Key & k2)¶
Determines if two keys have equal metadata. The keys are not const because their meta cursor is changed
Parameters:
k2 the second key whose metadata should be compared
Returns:
Author¶
Generated automatically by Doxygen for Elektra from the source code.
Sun May 29 2016 | Version 0.8.14 |