Lines Matching refs:std

45   virtual void SetBool(const std::string& section, const std::string& property, bool value);
46 …virtual std::optional<bool> GetBool(const std::string& section, const std::string& property) const;
47 virtual void SetUint64(const std::string& section, const std::string& property, uint64_t value);
48 …virtual std::optional<uint64_t> GetUint64(const std::string& section, const std::string& property)…
49 virtual void SetUint32(const std::string& section, const std::string& property, uint32_t value);
50 …virtual std::optional<uint32_t> GetUint32(const std::string& section, const std::string& property)…
51 virtual void SetInt64(const std::string& section, const std::string& property, int64_t value);
52 …virtual std::optional<int64_t> GetInt64(const std::string& section, const std::string& property) c…
53 virtual void SetInt(const std::string& section, const std::string& property, int value);
54 virtual std::optional<int> GetInt(const std::string& section, const std::string& property) const;
55 …virtual void SetBin(const std::string& section, const std::string& property, const std::vector<uin…
56 …virtual std::optional<std::vector<uint8_t>> GetBin(const std::string& section, const std::string& …
58 …template <typename T, typename std::enable_if<std::is_signed_v<T> && std::is_integral_v<T>, int>::…
59 std::optional<T> Get(const std::string& section, const std::string& property) { in Get()
62 return std::nullopt; in Get()
65 return std::nullopt; in Get()
70 …template <typename T, typename std::enable_if<std::is_unsigned_v<T> && std::is_integral_v<T>, int>…
71 std::optional<T> Get(const std::string& section, const std::string& property) { in Get()
74 return std::nullopt; in Get()
77 return std::nullopt; in Get()
82 template <typename T, typename std::enable_if<std::is_same_v<T, std::string>, int>::type = 0>
83 std::optional<T> Get(const std::string& section, const std::string& property) { in Get()
87 …template <typename T, typename std::enable_if<std::is_same_v<T, std::vector<uint8_t>>, int>::type …
88 std::optional<T> Get(const std::string& section, const std::string& property) { in Get()
92 template <typename T, typename std::enable_if<std::is_same_v<T, bool>, int>::type = 0>
93 std::optional<T> Get(const std::string& section, const std::string& property) { in Get()
97 …template <typename T, typename std::enable_if<std::is_base_of_v<Serializable<T>, T>, int>::type = …
98 std::optional<T> Get(const std::string& section, const std::string& property) { in Get()
101 return std::nullopt; in Get()
106 template <typename T, typename std::enable_if<std::is_enum_v<T>, int>::type = 0>
107 std::optional<T> Get(const std::string& section, const std::string& property) { in Get()
110 return std::nullopt; in Get()
117 typename std::enable_if<
118 bluetooth::common::is_specialization_of<T, std::vector>::value &&
119 std::is_base_of_v<Serializable<typename T::value_type>, typename T::value_type>,
121 std::optional<T> Get(const std::string& section, const std::string& property) { in Get()
124 return std::nullopt; in Get()
132 return std::nullopt; in Get()