MCPcopy Create free account
hub / github.com/christophhart/HISE / Entry

Method Entry

hi_scripting/scripting/scriptnode/api/DspNetwork.cpp:1892–1905  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1890}
1891
1892DspNetwork::CodeManager::Entry::Entry(const Identifier& t, const File& targetFile, ProcessorWithScriptingContent* sp):
1893 type(t),
1894 parameterFile(targetFile.withFileExtension("xml")),
1895 resourceType(ExternalScriptFile::ResourceType::FileBased)
1896{
1897 targetFile.create();
1898
1899 ValueTree pTree;
1900
1901 if (auto xml = XmlDocument::parse(parameterFile))
1902 pTree = ValueTree::fromXml(*xml);
1903
1904 init(new snex::ui::WorkbenchData::DefaultCodeProvider(wb.get(), targetFile), pTree, sp);
1905}
1906
1907struct EmbeddedSnippetCodeProvider: public snex::ui::WorkbenchData::CodeProvider
1908{

Callers

nothing calls this directly

Calls 9

getExternalScriptFileMethod · 0.80
getMainController_Method · 0.80
getAllContentMethod · 0.80
parseFunction · 0.50
initFunction · 0.50
withFileExtensionMethod · 0.45
createMethod · 0.45
getMethod · 0.45
getFileMethod · 0.45

Tested by

no test coverage detected