plugify 1.0.0.0
|
Represents a remotely available software package. More...
#include <package.hpp>
Public Member Functions | |
PackageOpt | LatestVersion () const noexcept |
Get the latest available version of the package. | |
PackageOpt | Version (plg::version version) const |
Get a specific version of the package. | |
![]() | |
bool | operator== (const Package &rhs) const noexcept |
Overloaded equality operator for comparing Package instances. | |
Public Attributes | |
std::string | author |
The author of the package. | |
std::string | description |
The description of the package. | |
std::set< PackageVersion > | versions |
The set of available versions for the package. | |
![]() | |
std::string | name |
The name of the package. | |
std::string | type |
The type of the package (e.g., module, plugin). | |
Represents a remotely available software package.
The RemotePackage structure extends the Package structure to include additional information such as author, description, and available versions. It also provides methods to retrieve the latest version or a specific version of the package.
Definition at line 70 of file package.hpp.
|
inlinenoexcept |
Get the latest available version of the package.
Definition at line 79 of file package.hpp.
|
inline |
Get a specific version of the package.
version | The semantic version to retrieve. |
Definition at line 90 of file package.hpp.
std::string plugify::RemotePackage::author |
The author of the package.
Definition at line 71 of file package.hpp.
std::string plugify::RemotePackage::description |
The description of the package.
Definition at line 72 of file package.hpp.
std::set<PackageVersion> plugify::RemotePackage::versions |
The set of available versions for the package.
Definition at line 73 of file package.hpp.