Gyoto::Python Namespace Reference

Helpers for the classes deriving from Gyoto::Python::Base. More...

Classes

class  Base
 Base class for classes in the Python plug-in. More...

Functions

PyObject * PyInstance_GetMethod (PyObject *pInstance, const char *name)
 Return new reference to method, or NULL if method not found.
PyObject * PyImport_Gyoto ()
 Return refernce to the gyoto module, or NULL.
void PyInstance_SetThis (PyObject *pInstance, PyObject *pNew, void *ptr)
 Set "this" attribute in instance.
bool PyCallable_HasVarArg (PyObject *pMethod)
 Check whether method accepts the varargs argument.
PyObject * PyModule_NewFromPythonCode (const char *code)
 Create module from Python source code in a C string.
PyObject * pGyotoSpectrum ()
 Get reference to the Spectrum constructor in the gyoto Python extension.
PyObject * pGyotoMetric ()
 Get reference to the Metric constructor in the gyoto Python extension.
PyObject * pGyotoStandardAstrobj ()
 Get reference to the StandardAstrobj constructor in the gyoto Python extension.
PyObject * pGyotoThinDisk ()
 Get reference to the ThinDisk constructor in the gyoto Python extension.

Detailed Description

Helpers for the classes deriving from Gyoto::Python::Base.


Generated on 6 May 2017 for Gyoto by  doxygen 1.6.1