LibPkg
|
The key type. More...
#include <control.h>
Public Member Functions | |
key_type (const string &value) | |
Construct key from string. More... | |
key_type (const char *value) | |
Construct key from C-string. More... | |
int | priority () const |
Get priority. More... | |
Friends | |
class | control |
The key type.
This is a std::string, augmented to include a priority.
Note that the standard comparison operators treat this class as a std::string, so are case sensitive and do not take account of the priority. To obtain the modified sort order, use control::cmp_key.
pkg::control::key_type::key_type | ( | const string & | value | ) |
Construct key from string.
value | the key value |
pkg::control::key_type::key_type | ( | const char * | value | ) |
|
inline |
|
friend |
Reference Manual | LibPkg | Version 0.9.0 (4 Sep 2020) |