polybori::Interpreter Class Reference

#include <embed.h>

List of all members.

Public Member Functions

 ~Interpreter ()
 Destructor.

Static Public Member Functions

static void init ()
static boost::python::object & globals ()
 acces corresponding context


Detailed Description

This class initializes and finalized the python interpreter.

It also imports polybori and stores the main context.

Note:
If the polybori python module is not at default location you may set the macro PBORI_PYTHONPATH accordingly (before including this header).

Constructor & Destructor Documentation

polybori::Interpreter::~Interpreter (  )  [inline]

Destructor.


Member Function Documentation

static void polybori::Interpreter::init (  )  [inline, static]

Initialize unique (singleton) python interpreter instance, and set Singular type identifier

static boost::python::object& polybori::Interpreter::globals (  )  [inline, static]

acces corresponding context

Referenced by polybori::eval(), polybori::exec(), and polybori::exec_file().


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

Generated on Wed Jan 30 16:39:53 2013 for PolyBoRi by  doxygen 1.5.6