Macros
include/pinocchio/bindings/python/utils/macros.hpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define PINOCCHIO_ADD_PROPERTY(STRUCT_NAME, PROPERTY_NAME, DOC)   def_readwrite(#PROPERTY_NAME, &STRUCT_NAME::PROPERTY_NAME, DOC)
 
#define PINOCCHIO_ADD_PROPERTY_READONLY(STRUCT_NAME, PROPERTY_NAME, DOC)   def_readonly(#PROPERTY_NAME, &STRUCT_NAME::PROPERTY_NAME, DOC)
 
#define PINOCCHIO_ADD_PROPERTY_READONLY_BYVALUE(STRUCT_NAME, PROPERTY_NAME, DOC)
 
#define PINOCCHIO_ADD_STATIC_PROPERTY_READONLY_BYVALUE(STRUCT_NAME, PROPERTY_NAME, DOC)
 

Macro Definition Documentation

◆ PINOCCHIO_ADD_PROPERTY

#define PINOCCHIO_ADD_PROPERTY (   STRUCT_NAME,
  PROPERTY_NAME,
  DOC 
)    def_readwrite(#PROPERTY_NAME, &STRUCT_NAME::PROPERTY_NAME, DOC)

◆ PINOCCHIO_ADD_PROPERTY_READONLY

#define PINOCCHIO_ADD_PROPERTY_READONLY (   STRUCT_NAME,
  PROPERTY_NAME,
  DOC 
)    def_readonly(#PROPERTY_NAME, &STRUCT_NAME::PROPERTY_NAME, DOC)

◆ PINOCCHIO_ADD_PROPERTY_READONLY_BYVALUE

#define PINOCCHIO_ADD_PROPERTY_READONLY_BYVALUE (   STRUCT_NAME,
  PROPERTY_NAME,
  DOC 
)
Value:
add_property( \
#PROPERTY_NAME, \
make_getter( \
&STRUCT_NAME::PROPERTY_NAME, \
::boost::python::return_value_policy<::boost::python::return_by_value>()), \
DOC)

Definition at line 14 of file include/pinocchio/bindings/python/utils/macros.hpp.

◆ PINOCCHIO_ADD_STATIC_PROPERTY_READONLY_BYVALUE

#define PINOCCHIO_ADD_STATIC_PROPERTY_READONLY_BYVALUE (   STRUCT_NAME,
  PROPERTY_NAME,
  DOC 
)
Value:
add_static_property( \
#PROPERTY_NAME, \
make_getter( \
&STRUCT_NAME::PROPERTY_NAME, \
::boost::python::return_value_policy<::boost::python::return_by_value>()), \
DOC)

Definition at line 22 of file include/pinocchio/bindings/python/utils/macros.hpp.



pinocchio
Author(s):
autogenerated on Mon Dec 16 2024 03:41:06