Map between CVE and bugzilla numbers.
More...
#include <CveBscMap.h>
|
| using | Map |
| | CVE -> Bugzilla mapping.
|
|
|
| CveBscMap (const CveBscMap &)=delete |
|
CveBscMap & | operator= (const CveBscMap &)=delete |
|
| CveBscMap (CveBscMap &&)=default |
| | Move constructor.
|
|
CveBscMap & | operator= (CveBscMap &&)=default |
| | Move assignment operator.
|
| | CveBscMap (const std::filesystem::path &cve2Bugzilla) |
| | Create a new CveBscMap map from cve2Bugzilla.
|
| std::string_view | getBsc (std::string_view cve) const |
| | Get bugzilla number for a CVE cve.
|
| std::string_view | getCve (std::string_view bsc) const |
| | Get CVE number for a bugzilla bsc.
|
Map between CVE and bugzilla numbers.
◆ Map
Initial value:
Equality test for string and string_view to be used in containers.
Definition String.h:281
Hash for string and string_view to be used in hashing containers.
Definition String.h:254
CVE -> Bugzilla mapping.
◆ CveBscMap()
| SlCVEs::CveBscMap::CveBscMap |
( |
const std::filesystem::path & | cve2Bugzilla | ) |
|
Create a new CveBscMap map from cve2Bugzilla.
- Parameters
-
| cve2Bugzilla | File to parse |
◆ getBsc()
| std::string_view SlCVEs::CveBscMap::getBsc |
( |
std::string_view | cve | ) |
const |
|
inline |
Get bugzilla number for a CVE cve.
- Parameters
-
- Returns
- Bugzilla number or an empty string
◆ getCve()
| std::string_view SlCVEs::CveBscMap::getCve |
( |
std::string_view | bsc | ) |
const |
|
inline |
Get CVE number for a bugzilla bsc.
- Parameters
-
- Returns
- CVE number or an empty string
The documentation for this class was generated from the following file:
- /home/abuild/rpmbuild/BUILD/slhelpers-20260812.7f9c207-build/slhelpers-20260812.7f9c207/include/cves/CveBscMap.h