|
SlHelpers
|
Class to walk the KernCVS repository and report arch, flavor and configs via callbacks passed to the constructor. More...
#include <CollectConfigs.h>
Public Types | |
| using | ConfigMap |
| Map of config name to config value. | |
| using | FlavorMap |
| Map of flavor name to config map. | |
| using | ArchMap |
| Map of arch name to flavor map. | |
Public Member Functions | |
| CollectConfigs (const SlGit::Commit &commit) | |
| CollectConfigs constructor. | |
| CollectConfigs (const CollectConfigs &)=delete | |
| Deleted copy constructor. | |
| CollectConfigs & | operator= (const CollectConfigs &)=delete |
| Deleted copy assignment operator. | |
| CollectConfigs (CollectConfigs &&)=default | |
| Defaulted move constructor. | |
| CollectConfigs & | operator= (CollectConfigs &&)=default |
| Defaulted move assignment operator. | |
| const auto & | getArchMap () const |
| Get the arch map. | |
| const auto & | getFlavorMap (const std::string &arch) const |
Get the flavor map for a given arch. | |
| const auto & | getConfigMap (const std::string &arch, const std::string &flavor) const |
Get the config map for a given arch, flavor. | |
| auto | getConfig (const std::string &arch, const std::string &flavor, const std::string &config) const |
Get the config value for a given arch, flavor and config. | |
| auto | begin () const |
| Get the archs iterator. | |
| auto | end () const |
| Get the archs end iterator. | |
Static Public Member Functions | |
| static CollectConfigs | create (const std::filesystem::path &repoPath, const std::string &rev) |
Create a CollectConfigs from the repoPath and rev. | |
Class to walk the KernCVS repository and report arch, flavor and configs via callbacks passed to the constructor.
Map of arch name to flavor map.
Map of config name to config value.
Map of flavor name to config map.
| SlKernCVS::CollectConfigs::CollectConfigs | ( | const SlGit::Commit & | commit | ) |
CollectConfigs constructor.
| commit | The commit in the KernCVS repository to walk |
|
static |
Create a CollectConfigs from the repoPath and rev.
| repoPath | Path to the KernCVS repository |
| rev | The revision in the KernCVS repository to walk |