mantaflow  0.10
A framework for fluid simulation
Classes | Macros | Typedefs | Functions
registry.h File Reference
#include <string>
#include <vector>

Go to the source code of this file.

Classes

struct  Manta::Namify< T >
 
struct  Pb::Register
 Auto registry of python methods and classes. More...
 

Macros

#define PyObject_Fake
 
#define KEEP_UNUSED(var)   do { (void)var; } while(false);
 

Typedefs

typedef _object PyObject
 
typedef void(* Pb::InitFunc) (PyObject *)
 
typedef PyObject *(* Pb::GenericFunction) (PyObject *self, PyObject *args, PyObject *kwds)
 
typedef PyObject *(* Pb::OperatorFunction) (PyObject *self, PyObject *o)
 
typedef int(* Pb::Constructor) (PyObject *self, PyObject *args, PyObject *kwds)
 
typedef PyObject *(* Pb::Getter) (PyObject *self, void *closure)
 
typedef int(* Pb::Setter) (PyObject *self, PyObject *value, void *closure)
 

Functions

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)
 
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)
 
PyObject * Pb::copyObject (Manta::PbClass *cls, const string &classname)
 
void Pb::MantaEnsureRegistration ()