Searched refs:ConfigValue (Results 1 – 13 of 13) sorted by relevance
37 using ConfigValue = std::variant<OptBool, OptInt32, OptInt64, OptString, OptIntVec>; variable43 ConfigValue (*getter)();44 bool (*setter)(const ConfigValue&);45 ConfigValue (Config::*parser)(const std::string&);47 ConfigValue value;67 ConfigValue cval(aval); in set()78 ConfigValue cval(val); in setopt()88 std::string toString(const ConfigValue& v) const { in toString()114 ConfigValue parseBool(const std::string& value);115 ConfigValue parseString(const std::string& name);[all …]
63 ConfigValue::ConfigValue() { in ConfigValue() function in ConfigValue68 ConfigValue::Type ConfigValue::getType() const { return type_; } in getType()70 std::string ConfigValue::getString() const { in getString()75 unsigned ConfigValue::getUnsigned() const { in getUnsigned()80 std::vector<uint8_t> ConfigValue::getBytes() const { in getBytes()85 bool ConfigValue::parseFromString(std::string in) { in parseFromString()132 ConfigValue value; in parseFromString()146 ConfigValue& ConfigFile::getValue(const std::string& key) { in getValue()
41 class ConfigValue {45 ConfigValue();70 ConfigValue& getValue(const std::string& key);72 std::map<std::string, ConfigValue> values_;
44 ConfigValue::ConfigValue() { in ConfigValue() function in ConfigValue49 ConfigValue::Type ConfigValue::getType() const { return type_; } in getType()51 std::string ConfigValue::getString() const { in getString()56 unsigned ConfigValue::getUnsigned() const { in getUnsigned()61 std::vector<uint8_t> ConfigValue::getBytes() const { in getBytes()66 bool ConfigValue::parseFromString(std::string in) { in parseFromString()113 ConfigValue value; in parseFromString()127 ConfigValue& ConfigFile::getValue(const std::string& key) { in getValue()
22 class ConfigValue {26 ConfigValue();54 ConfigValue& getValue(const std::string& key);56 std::map<std::string, ConfigValue> values_;
30 ConfigValue Config::parseBool(const std::string& value) { in parseBool()41 ConfigValue Config::parseString(const std::string& value) { in parseString()47 ConfigValue Config::parseInt32(const std::string& value) { in parseInt32()60 ConfigValue Config::parseInt64(const std::string& value) { in parseInt64()73 ConfigValue Config::parseIntVec(const std::string& value) { in parseIntVec()108 ConfigValue Config::getInternal(const std::string& name) { in getInternal()109 ConfigValue res; in getInternal()130 ConfigValue Config::getDefault(const std::string& name) { in getDefault()134 bool Config::setInternal(const std::string& name, const ConfigValue& val) { in setInternal()
44 ConfigValue::Type ConfigValue::getType() const { return type_; } in getType()46 std::string ConfigValue::getString() const { in getString()51 unsigned ConfigValue::getUnsigned() const { in getUnsigned()56 std::vector<uint8_t> ConfigValue::getBytes() const { in getBytes()61 bool ConfigValue::parseFromString(std::string in) { in parseFromString()108 ConfigValue value; in parseFromString()122 ConfigValue& ConfigFile::getValue(const std::string& key) { in getValue()
22 class ConfigValue {53 ConfigValue& getValue(const std::string& key);55 std::map<std::string, ConfigValue> values_;
21 union ConfigValue {39 ConfigValue configValue;
38 hardware.google.ril_ext.CarrierConfig.ConfigValue configValue;39 union ConfigValue {
31 ConfigValue _NAME_##Getter() { \34 bool _NAME_##Setter(const ConfigValue& v) { \
84 ConfigValue _NAME_##Getter() { \87 bool _NAME_##Setter(const ConfigValue& v) { \