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 "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)
 
 EXPOSE_PATCH_CONTAINER (Tissue)
 
 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_PATCH_CONTAINER()

EXPOSE_PATCH_CONTAINER ( Tissue  )

◆ 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 30 of file binds.cpp.