cppyabm  1.0.17
An agent-based library to integrate C++ and Python
Classes | Typedefs | Functions
binds.cpp File Reference
#include <iostream>
#include "../Cpp/cpp_example.h"
#include <pybind11/stl.h>
#include <pybind11/stl_bind.h>
#include <pybind11/complex.h>
#include <pybind11/functional.h>
#include "cppyabm/bind_tools.h"

Go to the source code of this file.

Classes

struct  tramCell
 

Typedefs

using tramAgent = bind_tools::tramAgent< Domain, Cell, Tissue >
 Defining a trampoline to allow the extension of the functionality of Cell::step. More...
 

Functions

 EXPOSE_AGENT_CONTAINER (Cell)
 
 PYBIND11_MODULE (myBinds, m)
 Binding function. More...
 

Typedef Documentation

◆ tramAgent

Defining a trampoline to allow the extension of the functionality of Cell::step.

Definition at line 11 of file binds.cpp.

Function Documentation

◆ EXPOSE_AGENT_CONTAINER()

EXPOSE_AGENT_CONTAINER ( Cell  )

Expose agent container

◆ PYBIND11_MODULE()

PYBIND11_MODULE ( myBinds  ,
 
)

Binding function.

The name provided as module, i.e. myBinds, must be the same name given in CmakeLists.txt as argument to pybind11_add_module.

Definition at line 29 of file binds.cpp.