Lines Matching defs:m_base
1396 enum_base(handle base, handle parent) : m_base(base), m_parent(parent) { }
1399 m_base.attr("__entries") = dict();
1403 m_base.attr("__repr__") = cpp_function(
1414 }, is_method(m_base)
1417 m_base.attr("name") = property(cpp_function(
1425 }, is_method(m_base)
1428 m_base.attr("__doc__") = static_property(cpp_function(
1446 m_base.attr("__members__") = static_property(cpp_function(
1456 m_base.attr(op) = cpp_function( \
1462 is_method(m_base))
1465 m_base.attr(op) = cpp_function( \
1470 is_method(m_base))
1473 m_base.attr(op) = cpp_function( \
1478 is_method(m_base))
1495 m_base.attr("__invert__") = cpp_function(
1496 [](object arg) { return ~(int_(arg)); }, is_method(m_base));
1517 [](object arg) { return int_(arg); }, is_method(m_base));
1519 m_base.attr("__getstate__") = getstate;
1520 m_base.attr("__hash__") = getstate;
1524 dict entries = m_base.attr("__entries");
1527 std::string type_name = (std::string) str(m_base.attr("__name__"));
1532 m_base.attr(name) = value;
1536 dict entries = m_base.attr("__entries");
1541 handle m_base;
1559 : class_<Type>(scope, name, extra...), m_base(*this, scope) {
1562 m_base.init(is_arithmetic, is_convertible);
1581 m_base.export_values();
1587 m_base.value(name, pybind11::cast(value, return_value_policy::copy), doc);
1592 detail::enum_base m_base;