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>
24 template <
class ArgumentPackage>
25 bool precall(ArgumentPackage
const & args)
const 28 return static_cast<const Policy*
>(
this)->
precall(args);
39 template<
class Policy = boost::python::default_call_policies>
43 =
"This class member has been marked as deprecated and will be removed in a future release.")
48 template<
class Policy = boost::python::default_call_policies>
52 =
"This function has been marked as deprecated and will be removed in a future release.")
59 #endif // ifndef __pinocchio_python_utils_deprecation_hpp__
deprecated_warning_policy(const std::string &warning_message="")
Policy::result_converter result_converter
const std::string m_warning_message
bool precall(ArgumentPackage const &args) const
Main pinocchio namespace.
Policy::argument_package argument_package
deprecated_member(const std::string &warning_message="This class member has been marked as deprecated and will be removed in a future release.")
deprecated_function(const std::string &warning_message="This function has been marked as deprecated and will be removed in a future release.")