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. More... | |
PackageOpt | Version (int32_t version) const |
Get a specific version of the package. More... | |
Public Member Functions inherited from plugify::Package | |
bool | operator== (const Package &rhs) const noexcept |
Overloaded equality operator for comparing Package instances. More... | |
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. | |
Public Attributes inherited from plugify::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 67 of file package.hpp.
|
inlinenoexcept |
Get the latest available version of the package.
Definition at line 76 of file package.hpp.
|
inline |
Get a specific version of the package.
version | The version number to retrieve. |
Definition at line 87 of file package.hpp.