Cantera  3.1.0b1
Loading...
Searching...
No Matches
PyFuncInfo Class Reference

A class to hold information needed to call Python functions from delegated methods (see class Delegator). More...

#include <funcWrapper.h>

Detailed Description

A class to hold information needed to call Python functions from delegated methods (see class Delegator).

Definition at line 16 of file funcWrapper.h.

Public Member Functions

 PyFuncInfo (const PyFuncInfo &other)
 
PyObject * func ()
 
void setFunc (PyObject *f)
 
PyObject * exceptionType ()
 
void setExceptionType (PyObject *obj)
 
PyObject * exceptionValue ()
 
void setExceptionValue (PyObject *obj)
 

Private Attributes

PyObject * m_func
 
PyObject * m_exception_type
 
PyObject * m_exception_value
 

Constructor & Destructor Documentation

◆ PyFuncInfo() [1/2]

PyFuncInfo ( )
inline

Definition at line 18 of file funcWrapper.h.

◆ PyFuncInfo() [2/2]

PyFuncInfo ( const PyFuncInfo other)
inline

Definition at line 25 of file funcWrapper.h.

◆ ~PyFuncInfo()

~PyFuncInfo ( )
inline

Definition at line 34 of file funcWrapper.h.

Member Function Documentation

◆ func()

PyObject * func ( )
inline

Definition at line 39 of file funcWrapper.h.

◆ setFunc()

void setFunc ( PyObject *  f)
inline

Definition at line 42 of file funcWrapper.h.

◆ exceptionType()

PyObject * exceptionType ( )
inline

Definition at line 46 of file funcWrapper.h.

◆ setExceptionType()

void setExceptionType ( PyObject *  obj)
inline

Definition at line 49 of file funcWrapper.h.

◆ exceptionValue()

PyObject * exceptionValue ( )
inline

Definition at line 55 of file funcWrapper.h.

◆ setExceptionValue()

void setExceptionValue ( PyObject *  obj)
inline

Definition at line 58 of file funcWrapper.h.

Member Data Documentation

◆ m_func

PyObject* m_func
private

Definition at line 65 of file funcWrapper.h.

◆ m_exception_type

PyObject* m_exception_type
private

Definition at line 66 of file funcWrapper.h.

◆ m_exception_value

PyObject* m_exception_value
private

Definition at line 67 of file funcWrapper.h.


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