MIRA
Public Types | Public Member Functions | Static Public Member Functions | Static Protected Member Functions | List of all members
PythonEnvironment Class Reference

#include <python/PythonInterpreter.h>

Inheritance diagram for PythonEnvironment:
Inheritance graph
[legend]

Public Types

typedef Base::Type Type
 

Public Member Functions

void setVirtualEnvironmentPath (const Path &path)
 Set the virtual Python environment, which should be used by the Python interpreter. More...
 
boost::optional< PathgetVirtualEnvironmentPath () const
 Return the configured virtual Python environment. More...
 
void setInterpreterInitialized ()
 

Static Public Member Functions

static Typeinstance ()
 
static bool isDestroyed ()
 

Static Protected Member Functions

static TypemakeInstance ()
 
static void destroyInstance (void)
 

Member Function Documentation

◆ setVirtualEnvironmentPath()

void setVirtualEnvironmentPath ( const Path path)

Set the virtual Python environment, which should be used by the Python interpreter.

If no virtual environment was set, the interpreter will use the system environment (or the environment from the current shell).

◆ getVirtualEnvironmentPath()

boost::optional<Path> getVirtualEnvironmentPath ( ) const
inline

Return the configured virtual Python environment.

◆ setInterpreterInitialized()

void setInterpreterInitialized ( )
inline

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