My Project
Public Member Functions
PyRunOnCPP Class Reference

Execute Python script. This class must not be called from Python. More...

#include <PyRunOnCPP.hh>

List of all members.

Public Member Functions

 PyRunOnCPP ()
 ~PyRunOnCPP ()
Int4 PyRun (vector< string > script)
Int4 PyRun (string script)

Detailed Description

Execute Python script. This class must not be called from Python.

This class must not be called from Python !!

This class executes python scripts with C-library provided by Python development tools. Because this class uses the library of python development environment, python scripts are executed in the same process of this class.


Constructor & Destructor Documentation

Constructor

Destructor. This method terminates the python process connected in this class.


Member Function Documentation

Int4 PyRunOnCPP::PyRun ( vector< string >  script)

Python script, the argument, is passed to the python called by the constructor.

Int4 PyRunOnCPP::PyRun ( string  script)

Python script, the argument, is passed to the python called by the constructor. The argument should not contain indents. If you want to input "for-loop" or "if", you should use "PyRun(vector<string>)".


The documentation for this class was generated from the following files:
 All Classes Functions Variables Friends