mantaflow  0.10
A framework for fluid simulation
Classes | Functions | Variables
registry.cpp File Reference
#include <string.h>
#include "pythonInclude.h"
#include "structmember.h"
#include "manta.h"

Classes

struct  Pb::Method
 
struct  Pb::GetSet
 
struct  Pb::ClassData
 
struct  Pb::PbObject
 
class  Pb::WrapperRegistry
 Registers all classes and methods exposed to Python. More...
 

Functions

PyObject * Pb::cbGetClass (PbObject *self, void *cl)
 
PyObject * Pb::cbGetTemplate (PbObject *self, void *cl)
 
PyObject * Pb::cbGetCName (PbObject *self, void *cl)
 
void Pb::cbDealloc (PbObject *self)
 
PyObject * Pb::cbNew (PyTypeObject *type, PyObject *args, PyObject *kwds)
 
int Pb::cbDisableConstructor (PyObject *self, PyObject *args, PyObject *kwds)
 
PyMODINIT_FUNC Pb::PyInit_Main (void)
 
void Pb::replaceAll (string &source, string const &find, string const &replace)
 
PyObject * Pb::castPy (PyTypeObject *p)
 
void Pb::setup (const std::string &filename, const std::vector< std::string > &args)
 
void Pb::finalize ()
 
bool Pb::canConvert (PyObject *obj, const string &classname)
 
Manta::PbClass * Pb::objFromPy (PyObject *obj)
 
PyObject * Pb::copyObject (Manta::PbClass *cls, const string &classname)
 
Manta::PbClass * Pb::createPy (const std::string &classname, const std::string &name, Manta::PbArgs &args, Manta::PbClass *parent)
 
void Pb::setReference (Manta::PbClass *cls, PyObject *obj)
 

Variables

const string gDefaultModuleName = "manta"