AdvisoryCollection

class AdvisoryCollection

Public Functions

AdvisoryCollection(const AdvisoryCollection &src)
AdvisoryCollection &operator=(const AdvisoryCollection &src)
AdvisoryCollection(AdvisoryCollection &&src) noexcept
AdvisoryCollection &operator=(AdvisoryCollection &&src) noexcept
~AdvisoryCollection()
bool is_applicable() const

Whether this AdvisoryCollection is applicable. True when at least one AdvisoryModule in this AdvisoryCollection is active on the system, False otherwise.

AdvisoryId get_advisory_id() const

Get AdvisoryId of Advisory this AdvisoryCollection belongs to.

Returns:

AdvisoryId of this AdvisoryCollection.

std::vector<AdvisoryPackage> get_packages()

Get all AdvisoryPackages stored in this AdvisoryCollection

Returns:

std::vector of AdvisorPackages used as output.

std::vector<AdvisoryModule> get_modules()

Get all AdvisoryModules stored in this AdvisoryCollection

Returns:

std::vector of AdvisorModules.

Advisory get_advisory() const

Get Advisory this AdvisoryCollection belongs to.

Returns:

newly construted Advisory object of this AdvisoryCollection.