Enumerations
enum ProfileScope
| Name | Value |
|---|---|
| None | 0 |
| Bringup | 1 |
| Board | 2 |
| Core | 3 |
| Product | 4 |
| Builtin | 5 |
Defined at line 26 of file ../../src/zircon/bin/role_manager/src/config.h
Records
Functions
-
fit::result<std::string, ConfiguredProfiles> LoadConfigs (const std::string & config_path)Defined at line 552 of file ../../src/zircon/bin/role_manager/src/config.cc
-
bool ToLong (std::string str, long * out)ToLong attempts to convert the given string into a long and populates *out with the result.
Returns true if str is indeed a long, false otherwise.
Defined at line 657 of file ../../src/zircon/bin/role_manager/src/config.cc
-
bool ToDouble (std::string strdouble * out)ToDouble attempts to convert the given string into a long and populates *out with the result.
Returns true if str is indeed a double, false otherwise.
Note that this will return true for any whole number, so it's important that the caller checks
if the number is a long using ToLong before calling this function.
Defined at line 671 of file ../../src/zircon/bin/role_manager/src/config.cc