Home | History | Annotate | Download | only in include

Lines Matching defs:key

9 // - Key/value pairs that are not within a section are assumed to be under
13 // - Empty sections with no key/value pairs will be treated as if they do
24 // The default section name to use if a key/value pair is not defined within
29 std::string key;
60 // the section has no key/value pairs in it, this function will return false.
63 // Returns true if the config file has a key named |key| under |section|.
66 const std::string& key);
68 // Returns the integral value for a given |key| in |section|. If |section|
69 // or |key| do not exist, or the value cannot be fully converted to an integer,
72 const std::string& key, int def_value);
74 // Returns the uint64_t value for a given |key| in |section|. If |section|
75 // or |key| do not exist, or the value cannot be fully converted to an integer,
78 const std::string& key, uint64_t def_value);
80 // Returns the boolean value for a given |key| in |section|. If |section|
81 // or |key| do not exist, or the value cannot be converted to a boolean, this
84 const std::string& key, bool def_value);
86 // Returns the string value for a given |key| in |section|. If |section| or
87 // |key| do not exist, this function returns |def_value|. The returned string
92 const std::string& key,
95 // Sets an integral value for the |key| in |section|. If |key| or |section| do
98 const std::string& key, int value);
100 // Sets a uint64_t value for the |key| in |section|. If |key| or |section| do
103 const std::string& key, uint64_t value);
105 // Sets a boolean value for the |key| in |section|. If |key| or |section| do
108 const std::string& key, bool value);
110 // Sets a string value for the |key| in |section|. If |key| or |section| do
113 const std::string& key, const std::string& value);
122 // Removes one specific |key| residing in |section| of the |config|. Returns
124 // if the section and key were found and the key was removed, false otherwise.
127 const std::string& key);