A handle class for the PluginReferenceDescriptor
structure.
More...
#include <plugin_reference_descriptor.hpp>
A handle class for the PluginReferenceDescriptor
structure.
Definition at line 18 of file plugin_reference_descriptor.hpp.
◆ GetName()
std::string_view plugify::PluginReferenceDescriptorHandle::GetName |
( |
| ) |
const |
|
noexcept |
Retrieves the name of the referenced plugin.
- Returns
- A string view representing the name of the plugin.
◆ GetRequestedVersion()
std::optional< plg::version > plugify::PluginReferenceDescriptorHandle::GetRequestedVersion |
( |
| ) |
const |
|
noexcept |
Retrieves the requested version of the referenced plugin, if specified.
- Returns
- An optional integer representing the requested version. If no version is requested, returns an empty optional.
◆ GetSupportedPlatforms()
std::span< const std::string_view > plugify::PluginReferenceDescriptorHandle::GetSupportedPlatforms |
( |
| ) |
const |
|
noexcept |
Retrieves the supported platforms for the referenced plugin.
- Returns
- A span of string views representing the supported platforms.
◆ IsOptional()
bool plugify::PluginReferenceDescriptorHandle::IsOptional |
( |
| ) |
const |
|
noexcept |
Checks if the referenced plugin is optional.
- Returns
true
if the plugin is optional, otherwise false
.
The documentation for this class was generated from the following file: