Functions that investigate an existing module for the starting function. If the module contains only one funtion, it will be the starting function of the module. If the module holds multiple function definitions it requires one function called "__main__", which will be the starting function of the module.
More...
#include "PythonModuleAPI.h"
Functions that investigate an existing module for the starting function. If the module contains only one funtion, it will be the starting function of the module. If the module holds multiple function definitions it requires one function called "__main__", which will be the starting function of the module.
◆ PythonModuleAPI()
PythonModuleAPI::PythonModuleAPI |
( |
| ) |
|
|
default |
◆ getModuleEntryPoint() [1/2]
std::string PythonModuleAPI::getModuleEntryPoint |
( |
const std::string & | _moduleName | ) |
const |
◆ getModuleEntryPoint() [2/2]
std::string PythonModuleAPI::getModuleEntryPoint |
( |
CPythonObject & | _module | ) |
const |
◆ hasScriptHasEntryPoint()
bool PythonModuleAPI::hasScriptHasEntryPoint |
( |
const CPythonObject & | _module | ) |
const |
◆ instance()
◆ m_defaultEntryPoint
std::string PythonModuleAPI::m_defaultEntryPoint = "__main__" |
The documentation for this class was generated from the following files: