Classes | Namespaces | Macros | Functions
comparison-operators.hpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  pinocchio::apply_op_if< OP, condition, default_return_value >
 
struct  pinocchio::apply_op_if< OP, true, default_return_value >
 

Namespaces

 pinocchio
 Main pinocchio namespace.
 

Macros

#define PINOCCHIO_DEFINE_COMPARISON_OP(name, OP)
 

Functions

 pinocchio::PINOCCHIO_DEFINE_COMPARISON_OP (equal_to_op,==)
 
 pinocchio::PINOCCHIO_DEFINE_COMPARISON_OP (greater_than_op, >)
 
 pinocchio::PINOCCHIO_DEFINE_COMPARISON_OP (greater_than_or_equal_to_op, >=)
 
 pinocchio::PINOCCHIO_DEFINE_COMPARISON_OP (less_than_op,<)
 
 pinocchio::PINOCCHIO_DEFINE_COMPARISON_OP (less_than_or_equal_to_op,<=)
 
 pinocchio::PINOCCHIO_DEFINE_COMPARISON_OP (not_equal_to_op, !=)
 

Macro Definition Documentation

◆ PINOCCHIO_DEFINE_COMPARISON_OP

#define PINOCCHIO_DEFINE_COMPARISON_OP (   name,
  OP 
)
Value:
struct name \
{ \
template<typename T1, typename T2> \
static bool call(const T1 & a, const T2 & b) \
{ \
return a OP b; \
} \
}

Definition at line 11 of file comparison-operators.hpp.

b
Vec3f b
setup.name
name
Definition: cmake/cython/setup.in.py:179
a
Vec3f a
pinocchio::python::internal::call
auto call(R(*f)(Args...), typename convert_type< Args >::type... args)
Definition: pybind11.hpp:137


pinocchio
Author(s):
autogenerated on Fri Nov 1 2024 02:41:49