2014-08-01 16:40:56 +00:00
|
|
|
/** Data type used for this configuration key. */
|
2014-09-11 20:25:52 +00:00
|
|
|
const DataType *data_type() const;
|
2014-08-01 16:40:56 +00:00
|
|
|
/** String identifier for this configuration key, suitable for CLI use. */
|
2019-01-30 11:27:23 +00:00
|
|
|
std::string identifier() const;
|
2014-08-01 16:40:56 +00:00
|
|
|
/** Description of this configuration key. */
|
2019-01-30 11:27:23 +00:00
|
|
|
std::string description() const;
|
2014-08-01 16:40:56 +00:00
|
|
|
/** Get configuration key by string identifier. */
|
2019-01-30 11:27:23 +00:00
|
|
|
static const ConfigKey *get_by_identifier(std::string identifier);
|
2014-08-01 16:40:56 +00:00
|
|
|
/** Parse a string argument into the appropriate type for this key. */
|
2019-01-30 11:27:23 +00:00
|
|
|
static Glib::VariantBase parse_string(std::string value, enum sr_datatype dt);
|
|
|
|
Glib::VariantBase parse_string(std::string value) const;
|