5 #ifndef HPP_FCL_PYTHON_UTILS_DEPRECATION_H 6 #define HPP_FCL_PYTHON_UTILS_DEPRECATION_H 9 #include <boost/python.hpp> 16 template <
class Policy = boost::python::default_call_policies>
21 template <
class ArgumentPackage>
24 return static_cast<const Policy*
>(
this)->
precall(args);
34 template <
class Policy = boost::python::default_call_policies>
37 "This class member has been marked as deprecated and " 38 "will be removed in a future release.")
42 template <
class Policy = boost::python::default_call_policies>
45 "This function has been marked as deprecated and " 46 "will be removed in a future release.")
54 #endif // ifndef HPP_FCL_PYTHON_UTILS_DEPRECATION_H Policy::result_converter result_converter
deprecated_warning_policy(const std::string &warning_message="")
Policy::argument_package argument_package
bool precall(ArgumentPackage const &args) const
deprecated_function(const std::string &warning_message="This function has been marked as deprecated and " "will be removed in a future release.")
deprecated_member(const std::string &warning_message="This class member has been marked as deprecated and " "will be removed in a future release.")
const std::string m_warning_message