pinocchio 4.1.0
A fast and flexible implementation of Rigid Body Dynamics algorithms and their analytical derivatives
Loading...
Searching...
No Matches
ComparableVisitor< C, has_comparison_operators > Struct Template Reference

Add the Python method == and != to allow a comparison of this. More...

#include <pinocchio/bindings/python/utils/comparable.hpp>

Inheritance diagram for ComparableVisitor< C, has_comparison_operators >:
Collaboration diagram for ComparableVisitor< C, has_comparison_operators >:

Public Member Functions

template<class PyClass>
void visit (PyClass &cl) const

Detailed Description

template<class C, bool has_comparison_operators = true>
struct pinocchio::python::ComparableVisitor< C, has_comparison_operators >

Add the Python method == and != to allow a comparison of this.

Definition at line 20 of file comparable.hpp.

Member Function Documentation

◆ visit()

template<class C, bool has_comparison_operators = true>
template<class PyClass>
void visit(PyClass &cl)const
inline

Definition at line 24 of file comparable.hpp.


The documentation for this struct was generated from the following file: