MeshLib
 
Loading...
Searching...
No Matches
MR::EmbeddedPython Class Reference

#include <MREmbeddedPython.h>

Classes

struct  Config
 

Static Public Member Functions

static MRPYTHON_API bool init (const Config &config)
 
static MRPYTHON_API bool isAvailable ()
 
static MRPYTHON_API bool isInitialized ()
 
static MRPYTHON_API void finalize ()
 
static MRPYTHON_API bool setupArgv (int argc, char **argv)
 
static MRPYTHON_API bool runString (const std::string &pythonString)
 
static MRPYTHON_API bool runScript (const std::filesystem::path &path)
 
static MRPYTHON_API bool isPythonScript (const std::filesystem::path &path)
 

Member Function Documentation

◆ finalize()

static MRPYTHON_API void MR::EmbeddedPython::finalize ( )
static

◆ init()

static MRPYTHON_API bool MR::EmbeddedPython::init ( const Config & config)
static

◆ isAvailable()

static MRPYTHON_API bool MR::EmbeddedPython::isAvailable ( )
static

◆ isInitialized()

static MRPYTHON_API bool MR::EmbeddedPython::isInitialized ( )
static

◆ isPythonScript()

static MRPYTHON_API bool MR::EmbeddedPython::isPythonScript ( const std::filesystem::path & path)
static

◆ runScript()

static MRPYTHON_API bool MR::EmbeddedPython::runScript ( const std::filesystem::path & path)
static

◆ runString()

static MRPYTHON_API bool MR::EmbeddedPython::runString ( const std::string & pythonString)
static

◆ setupArgv()

static MRPYTHON_API bool MR::EmbeddedPython::setupArgv ( int argc,
char ** argv )
static

The documentation for this class was generated from the following file: