]>
Commit | Line | Data |
---|---|---|
84c87085 | 1 | /** Data type used for this configuration key. */ |
3b161085 | 2 | const DataType *data_type() const; |
84c87085 | 3 | /** String identifier for this configuration key, suitable for CLI use. */ |
6c6dd732 | 4 | std::string identifier() const; |
84c87085 | 5 | /** Description of this configuration key. */ |
6c6dd732 | 6 | std::string description() const; |
84c87085 | 7 | /** Get configuration key by string identifier. */ |
6c6dd732 | 8 | static const ConfigKey *get_by_identifier(std::string identifier); |
84c87085 | 9 | /** Parse a string argument into the appropriate type for this key. */ |
6c6dd732 DA |
10 | static Glib::VariantBase parse_string(std::string value, enum sr_datatype dt); |
11 | Glib::VariantBase parse_string(std::string value) const; |