5 #ifndef __pinocchio_python_utils_deprecation_hpp__
6 #define __pinocchio_python_utils_deprecation_hpp__
9 #include <boost/python.hpp>
16 template<
class Policy = boost::python::default_call_policies>
25 template<
class ArgumentPackage>
26 bool precall(ArgumentPackage
const & args)
const
29 return static_cast<const Policy *
>(
this)->
precall(
args);
39 template<
class Policy = boost::python::default_call_policies>
43 const std::string & warning_message =
"This class member has been marked as deprecated and "
44 "will be removed in a future release.")
50 template<
class Policy = boost::python::default_call_policies>
54 const std::string & warning_message =
55 "This function has been marked as deprecated and will be removed in a future release.")
63 #endif // ifndef __pinocchio_python_utils_deprecation_hpp__