plugify 1.0.0.0
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
plugify::PackageVersion Struct Referencefinal

Represents a version of a software package. More...

#include <package.hpp>

Public Member Functions

bool operator< (const PackageVersion &rhs) const noexcept
 Overloaded less-than operator for comparing PackageVersion instances.
 

Public Attributes

int32_t version
 The version number of the package.
 
std::string checksum
 The checksum of the package.
 
std::string download
 The download URL for the package.
 
std::vector< std::string > platforms
 The platforms supported by the package.
 

Detailed Description

Represents a version of a software package.

The PackageVersion structure holds information about a package version, including the version number, checksum, download URL, supported platforms, and optional dependencies and conflicts.

Definition at line 20 of file package.hpp.

Member Function Documentation

◆ operator<()

bool plugify::PackageVersion::operator< ( const PackageVersion rhs) const
inlinenoexcept

Overloaded less-than operator for comparing PackageVersion instances.

Parameters
rhsThe right-hand side PackageVersion for comparison.
Returns
True if the version of this instance is less than the version of rhs.

Definition at line 31 of file package.hpp.

Member Data Documentation

◆ checksum

std::string plugify::PackageVersion::checksum

The checksum of the package.

Definition at line 22 of file package.hpp.

◆ download

std::string plugify::PackageVersion::download

The download URL for the package.

Definition at line 23 of file package.hpp.

◆ platforms

std::vector<std::string> plugify::PackageVersion::platforms

The platforms supported by the package.

Definition at line 24 of file package.hpp.

◆ version

int32_t plugify::PackageVersion::version

The version number of the package.

Definition at line 21 of file package.hpp.


The documentation for this struct was generated from the following file: