plugify  1.0.0.0
Public Member Functions | Public Attributes | List of all members
plugify::LocalPackage Struct Referencefinal

Represents a locally installed software package. More...

#include <package.hpp>

Inheritance diagram for plugify::LocalPackage:
Inheritance graph
[legend]
Collaboration diagram for plugify::LocalPackage:
Collaboration graph
[legend]

Public Member Functions

 operator RemotePackage () const
 Conversion operator to convert LocalPackage to RemotePackage. 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::filesystem::path path
 The file path to the locally installed package.
 
int32_t version
 The version number of the locally installed package.
 
std::shared_ptr< Descriptordescriptor
 A shared pointer to the package descriptor.
 
- 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).
 

Detailed Description

Represents a locally installed software package.

The LocalPackage structure extends the Package structure to include information about the local installation, such as the file path, version, and descriptor. It also provides a conversion operator to convert to a RemotePackage for compatibility.

Definition at line 103 of file package.hpp.

Member Function Documentation

◆ operator RemotePackage()

plugify::LocalPackage::operator RemotePackage ( ) const
inlineexplicit

Conversion operator to convert LocalPackage to RemotePackage.

Returns
A RemotePackage instance representing the local package.

Definition at line 112 of file package.hpp.


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