From eef6fb989188fb14c53dff461dffc9e36bd6ecfb Mon Sep 17 00:00:00 2001 From: Joel de Guzman Date: Wed, 27 Aug 2003 10:09:08 +0000 Subject: [PATCH] def_visitor linked in the reference [SVN r19801] --- doc/v2/def_visitor.html | 8 +- doc/v2/reference.html | 331 ++++++++++++++++++---------------------- 2 files changed, 152 insertions(+), 187 deletions(-) diff --git a/doc/v2/def_visitor.html b/doc/v2/def_visitor.html index fa39b8a6..91361a25 100644 --- a/doc/v2/def_visitor.html +++ b/doc/v2/def_visitor.html @@ -129,7 +129,8 @@ void visit(classT& c, char const* name, OptionalArgs const& options) con

Example

-
    class my_def_visitor : boost::python::def_visitor<my_def_visitor>
+
    class X {/*...*/};
+ class my_def_visitor : boost::python::def_visitor<my_def_visitor> { friend class def_visitor_access; @@ -142,11 +143,10 @@ void visit(classT& c, char const* name, OptionalArgs const& options) con ; } - static void foo(object self); - static void bar(object self); + static void foo(X& self); + static void bar(X& self); }; - class X {/*...*/}; BOOST_PYTHON_MODULE(my_ext) { diff --git a/doc/v2/reference.html b/doc/v2/reference.html index 9d5e3a63..5d38a223 100644 --- a/doc/v2/reference.html +++ b/doc/v2/reference.html @@ -96,193 +96,158 @@

High Level Components

-
-
class.hpp/class_fwd.hpp
- -
+ +
+
class.hpp/class_fwd.hpp
+
+
+
Classes
+
-
Classes
- -
-
-
class_
- -
bases
-
-
-
-
- -
def.hpp
- -
-
-
Functions
- -
-
-
def
-
-
-
-
- -
enum.hpp
- -
-
-
Classes
- -
-
-
enum_
-
-
-
-
- -
errors.hpp
- -
-
-
Classes
- -
-
-
error_already_set
-
-
- -
Functions
- -
-
-
handle_exception
- -
expect_non_null
- -
throw_error_already_set
-
-
-
-
- -
exception_translator.hpp
- -
-
-
Functions
- -
-
-
register_exception_translator
-
-
-
-
- -
init.hpp
- -
-
-
Classes
- -
-
-
init
- -
optional
-
-
-
-
- -
iterator.hpp
- -
-
-
Classes
- -
-
-
iterator
- -
iterators
-
-
- -
Functions
- -
-
-
range
-
-
-
-
- -
module.hpp
- -
-
-
Macros
- -
-
-
BOOST_PYTHON_MODULE
-
-
-
-
- -
operators.hpp
- -
-
-
Classes
- -
-
-
self_t
- -
other
- -
operator_
-
-
- -
Objects
- -
-
-
self
-
-
-
-
- -
scope.hpp
- -
-
-
Classes
- -
-
-
scope
-
-
+
class_
+
bases
+
+
def.hpp
+
+
+
Functions
+
+
+
def
+
+
+
+
+
def_visitor.hpp
+
+
+
Classes
+
+
+
enum.hpp
+
+
+
Classes
+
+
+
enum_
+
+
+
+
+
errors.hpp
+
+
+
Classes
+
+
+
error_already_set
+
+
+
Functions
+
+
+
handle_exception
+
expect_non_null
+
throw_error_already_set
+
+
+
+
+
exception_translator.hpp
+
+
+
Functions
+
+
+
register_exception_translator
+
+
+
+
+
init.hpp
+
+
+
Classes
+
+
+
init
+
optional
+
+
+
+
+
iterator.hpp
+
+
+
Classes
+
+
+
iterator
+
iterators
+
+
+
Functions
+
+
+
range
+
+
+
+
+
module.hpp
+
+
+
Macros
+
+
+
BOOST_PYTHON_MODULE
+
+
+
+
+
operators.hpp
+
+
+
Classes
+
+
+
self_t
+
other
+
operator_
+
+
+
Objects
+
+
+
self
+
+
+
+
+
scope.hpp
+
+
+
Classes
+
+
+
scope
+
+
+
+
+

Object Wrappers