Sane C++ Libraries
C++ Platform Abstraction Libraries
SC::PluginIdentity Struct Reference

Represents the unique signature / identity of a Plugin. More...

#include <Plugin.h>

Public Member Functions

bool operator== (const PluginIdentity &other) const
 Compares two plugins on Identity::identifier. More...
 

Public Attributes

PluginIdentifier identifier
 Unique string identifying the plugin. More...
 
SmallString< 30 > name
 Plugin name. More...
 
SmallString< 10 > version
 Plugin version (x.y.z) More...
 

Detailed Description

Represents the unique signature / identity of a Plugin.

Member Function Documentation

◆ operator==()

bool SC::PluginIdentity::operator== ( const PluginIdentity other) const
inline

Compares two plugins on Identity::identifier.

Parameters
otherOther plugin to compare
Returns
true if the two plugins share the same identifier

Member Data Documentation

◆ identifier

PluginIdentifier SC::PluginIdentity::identifier

Unique string identifying the plugin.

◆ name

SmallString<30> SC::PluginIdentity::name

Plugin name.

◆ version

SmallString<10> SC::PluginIdentity::version

Plugin version (x.y.z)


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