plugify
1.0.0.0
|
A reference class for the PluginReferenceDescriptor
structure.
More...
#include <plugin_reference_descriptor.hpp>
Public Member Functions | |
std::string_view | GetName () const noexcept |
< Inherit constructors from Ref<const PluginReferenceDescriptor>. More... | |
bool | IsOptional () const noexcept |
Checks if the referenced plugin is optional. More... | |
std::span< std::string_view > | GetSupportedPlatforms () const noexcept |
Retrieves the supported platforms for the referenced plugin. More... | |
std::optional< int32_t > | GetRequestedVersion () const noexcept |
Retrieves the requested version of the referenced plugin, if specified. More... | |
Public Member Functions inherited from plugify::Ref< const PluginReferenceDescriptor > | |
Ref (const PluginReferenceDescriptor &impl) noexcept | |
Ref (Ref const &)=default | |
Ref (Ref &&)=default | |
bool | operator== (const Ref &other) const noexcept |
bool | operator== (const const PluginReferenceDescriptor *impl) const noexcept |
Ref & | operator= (const Ref &) &=default |
Ref & | operator= (const Ref &) &&=delete |
Ref & | operator= (Ref &&) &=default |
Ref & | operator= (Ref &&) &&=delete |
operator bool () const noexcept | |
Additional Inherited Members | |
Protected Attributes inherited from plugify::Ref< const PluginReferenceDescriptor > | |
const PluginReferenceDescriptor * | _impl |
A reference class for the PluginReferenceDescriptor
structure.
This class holds a reference to a PluginReferenceDescriptor
object, allowing users to retrieve information about plugin dependencies, such as the plugin name, optionality, supported platforms, and requested version.
Definition at line 20 of file plugin_reference_descriptor.hpp.
|
noexcept |
< Inherit constructors from Ref<const PluginReferenceDescriptor>.
Retrieves the name of the referenced plugin.
|
noexcept |
Retrieves the requested version of the referenced plugin, if specified.
|
noexcept |
Retrieves the supported platforms for the referenced plugin.
|
noexcept |
Checks if the referenced plugin is optional.
true
if the plugin is optional, otherwise false
.