Plugin description, category, dependencies, files and directory location.
More...
#include <Plugin.h>
Plugin description, category, dependencies, files and directory location.
◆ find()
Extracts the plugin definition (SC_BEGIN_PLUGIN / SC_END_PLUGIN) comment from a .cpp file.
- Parameters
-
| [in] | text | Content of .cpp file where to look for plugin definition |
| [out] | extracted | Extracted comment block out of text |
- Returns
true if a comment block has been found successfully
◆ getDynamicLibraryAbsolutePath()
| Result SC::PluginDefinition::getDynamicLibraryAbsolutePath |
( |
StringPath & | fullDynamicPath | ) |
const |
Gets absolute path of where compiled dynamic library will exist after plugin is compiled.
- Parameters
-
| fullDynamicPath | absolute path of where compiled dynamic library from plugin |
- Returns
- Valid result if string can be allocated successfully
◆ getDynamicLibraryPDBAbsolutePath()
| Result SC::PluginDefinition::getDynamicLibraryPDBAbsolutePath |
( |
StringPath & | fullDynamicPath | ) |
const |
Gets absolute path of where compiled Program Database File will exist after plugin is compiled.
- Parameters
-
| fullDynamicPath | absolute path of where compiled Program Database File from plugin |
- Returns
- Valid result if string can be allocated successfully
◆ getMainPluginFile() [1/2]
| PluginFile & SC::PluginDefinition::getMainPluginFile |
( |
| ) |
|
|
inline |
Get main plugin file, holding plugin definition.
- Returns
- File holding main plugin definition
◆ getMainPluginFile() [2/2]
| const PluginFile & SC::PluginDefinition::getMainPluginFile |
( |
| ) |
const |
|
inline |
Get main plugin file, holding plugin definition.
- Returns
- PluginFile holding main plugin definition
◆ parse()
Parses an extracted plugin definition text.
- Parameters
-
- Returns
true if the plugin definition can be parsed successfully
◆ build
| FixedVector<PluginBuildOption, 8> SC::PluginDefinition::build |
◆ category
| FixedString<64> SC::PluginDefinition::category |
Category where plugin belongs to.
◆ dependencies
| FixedVector<PluginIdentifier, 8> SC::PluginDefinition::dependencies |
Dependencies necessary to load this plugin.
◆ description
| FixedString<256> SC::PluginDefinition::description |
Long description of plugin.
◆ directory
| StringPath SC::PluginDefinition::directory |
Path to the directory holding the plugin.
◆ files
Source files that compose this plugin.
◆ identity
Uniquely identifier a plugin.
The documentation for this struct was generated from the following file: