Lines Matching full:object

33  * Configuration object key to uniquely map to the configuration object
35 * std::string = Configuration object's name
36 * std::vector<std::string> = List of profiles the configuration object
42 * @class ConfigBase - Base configuration object
58 // Set the name of this configuration object in ConfigBase()
72 * object data
74 * @param[in] origObj - Original ConfigBase object to be created from
83 * @brief Get the configuration object's name
85 * @return Name of the configuration object
93 * @brief Get the configuration object's list of profiles
95 * Gets the list of profiles this configuration object belongs to if any
97 * object always being included in the configuration.
99 * @return List of profiles the configuration object belongs to
110 * @details Retrieves a JSON object by the first derived data type that
114 * @param[in] object - A single JSON object
116 * @return A `PropertyVariantType` variant containing the JSON object's
119 static const PropertyVariantType getJsonValue(const json& object) in getJsonValue() argument
121 if (auto boolPtr = object.get_ptr<const bool*>()) in getJsonValue()
125 if (auto intPtr = object.get_ptr<const int64_t*>()) in getJsonValue()
129 if (auto doublePtr = object.get_ptr<const double*>()) in getJsonValue()
133 if (auto stringPtr = object.get_ptr<const std::string*>()) in getJsonValue()
139 "Unsupported data type for JSON object's value", in getJsonValue()
140 entry("JSON_ENTRY=%s", object.dump().c_str()), in getJsonValue()
143 "Unsupported data type for JSON object's value"); in getJsonValue()
147 /* Name of the configuration object */
151 * Profiles this configuration object belongs to (OPTIONAL).
152 * Otherwise always include this object in the configuration
159 * @brief Sets the configuration object's name from the given JSON
161 * @param[in] jsonObj - JSON to get configuration object's name from
167 // Log error on missing configuration object's name in setName()
168 log<level::ERR>("Missing required configuration object's name", in setName()
171 "Missing required configuration object's name"); in setName()