Template Struct deprecation_warning_policy

Inheritance Relationships

Base Type

  • public boost::python::default_call_policies

Derived Types

Struct Documentation

template<DeprecationType deprecation_type = DeprecationType::DEPRECATION, class BasePolicy = bp::default_call_policies>
struct deprecation_warning_policy : public boost::python::default_call_policies

A Boost.Python call policy which triggers a Python warning on precall.

Subclassed by eigenpy::deprecated_function< deprecation_type, BasePolicy >, eigenpy::deprecated_member< deprecation_type, BasePolicy >

Public Types

using result_converter = typename BasePolicy::result_converter
using argument_package = typename BasePolicy::argument_package

Public Functions

inline deprecation_warning_policy(const std::string &warning_msg)
inline std::string what() const
inline const BasePolicy *derived() const
template<class ArgPackage>
inline bool precall(const ArgPackage &args) const

Protected Attributes

const std::string m_what