MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / getGroupInfos

Method getGroupInfos

Engine/AppManager.cpp:4212–4238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4210}
4211
4212bool
4213NATRON_PYTHON_NAMESPACE::getGroupInfos(const std::string& modulePath,
4214 const std::string& pythonModule,
4215 std::string* pluginID,
4216 std::string* pluginLabel,
4217 std::string* iconFilePath,
4218 std::string* grouping,
4219 std::string* description,
4220 bool* isToolset,
4221 unsigned int* version)
4222{
4223#ifdef NATRON_RUN_WITHOUT_PYTHON
4224
4225 return false;
4226#endif
4227
4228 {
4229 std::string tofind(":/Resources");
4230 if (modulePath.substr( 0, tofind.size() ) == tofind) {
4231 std::string resourceFileName = modulePath + pythonModule + ".py";
4232
4233 return getGroupInfosFromQtResourceFile(resourceFileName, modulePath, pythonModule, pluginID, pluginLabel, iconFilePath, grouping, description, isToolset, version);
4234 }
4235 }
4236
4237 return getGroupInfosInternal(modulePath, pythonModule, pluginID, pluginLabel, iconFilePath, grouping, description, isToolset, version);
4238}
4239
4240void
4241NATRON_PYTHON_NAMESPACE::getFunctionArguments(const std::string& pyFunc,

Callers

nothing calls this directly

Calls 3

getGroupInfosInternalFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected