Dune-Fufem 2.11-git
Loading...
Searching...
No Matches
reference.hh File Reference
#include <Python.h>
#include <string>
#include <type_traits>
#include <dune/common/exceptions.hh>
#include <dune/common/typetraits.hh>
#include <dune/common/stringutility.hh>

Go to the source code of this file.

Classes

class  Python::Reference
 Wrapper class for python objects. More...
 

Namespaces

namespace  Python
 

Functions

template<class T >
Reference Python::makeObject (const T &t)
 Create python object from C++ object.
 
template<typename... Ts>
Reference Python::makeTuple (const Ts &...)
 
void Python::handlePythonError (const std::string &origin, const std::string &message)
 If a python error occurred throw an exception and clear python error indicator.