class
FVisualScriptLibraryRegistry
- Module
- VisualScripting
- Header
#include "VisualScripting/VisualScriptLibrary.h"- Namespace
Mowo
Public functions
| Returns | Name | Description |
|---|---|---|
FVisualScriptLibraryRegistry& | Get | |
void | Register | Replaces a registered library of the same name. |
bool | Unregister | |
std::shared_ptr<const VisualScriptClass> | Find | |
std::vector<std::string> | Names | |
void | Clear | |
uint32_t | Revision | Bumped on every change. |
const VisualScriptMacro* | FindMacro | The macro macroName of library libraryName, or null. |
bool | SplitQualified | "Library::Name" split at the first "::"; false when the name has no library part. |
Function details
Get
C++
static FVisualScriptLibraryRegistry& Get()Register
C++
void Register(std::unique_ptr<VisualScriptClass> library)Replaces a registered library of the same name. The library is marked isLibrary.
Unregister
C++
bool Unregister(const std::string& name)Find
C++
std::shared_ptr<const VisualScriptClass> Find(const std::string& name) constNames
C++
std::vector<std::string> Names() constClear
C++
void Clear()Revision
C++
uint32_t Revision() constBumped on every change.
FindMacro
C++
const VisualScriptMacro* FindMacro(const std::string& libraryName, const std::string& macroName) constThe macro macroName of library libraryName, or null. The library is kept alive by the registry only until it is replaced, so a caller uses the macro before the next registration.
SplitQualified
C++
static bool SplitQualified(const std::string& qualified, std::string& outLibrary, std::string& outName)"Library::Name" split at the first "::"; false when the name has no library part.
Generated from VisualScripting/VisualScriptLibrary.h via visualscripting.json · Dec 5, 2026Version 1.1.0