Revision: 879
http://svn.sourceforge.net/pygccxml/?rev=879&view=rev
Author: roman_yakovenko
Date: 2007-01-22 08:55:20 -0800 (Mon, 22 Jan 2007)
Log Message:
-----------
updating docs
Modified Paths:
--------------
pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/automatic_conversion.rest
pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/definition.rest
pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/smart_ptrs.rest
Modified: pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/automatic_conversion.rest
===================================================================
--- pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/automatic_conversion.rest 2007-01-22 08:46:18 UTC (rev 878)
+++ pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/automatic_conversion.rest 2007-01-22 16:55:20 UTC (rev 879)
@@ -10,40 +10,54 @@
.. include:: ./definition.rest
----------------
-Example content
----------------
+-------
+Content
+-------
+This example actually consist from 2 small, well documented examples.
+The first one shows how to handle conversion between tuples: `boost::tuples::tuple`_
+and Python tuple.
+.. _`boost::tuples::tuple` : http://boost.org/libs/tuple/doc/tuple_users_guide.html
+
+The second one shows how to add an automatic conversion from Python tuple to
+some registered class. The class registration allows you to use its functionality
+and enjoy from automatic conversion.
+
Files
-----
-* `solution.cpp`_ file contains definition of a class and few functions, which
- have ``shared_ptr< T >`` and ``shared_ptr< const T>`` as return type or as an
- argument. The file also contains source code that exposes the defined
- functionality to Python.
+* `tuples.hpp`_ file contains Boost.Tuple to\\from Python tuple conversion
+ implementation
+
+* `tuples_tester.cpp`_ file contains few functions, which test the tuples
+ conversion functionality
+* `custom_rvalue.cpp`_ file contains example of registration custom r-value
+ converter
+
* `sconstruct`_ file contains build instructions for scons build tool.
-* `test.py`_ file contains complete unit tests for the exposed classes
+* `test.py`_ file contains complete unit tests for both example
-* `pointer_holder.hpp.patch`_ file contains patch for the library
-
All files contain comments, which describe what and why was done.
-.. _`solution.cpp` : ./solution.cpp.html
+.. _`tuples.hpp` : ./tuples.hpp.html
+.. _`tuples_tester.cpp` : ./tuples_tester.cpp.html
+.. _`custom_rvalue.cpp` : ./custom_rvalue.cpp.html
.. _`sconstruct` : ./sconstruct.html
.. _`test.py` : ./test.py.html
-.. _`pointer_holder.hpp.patch` : ./pointer_holder.hpp.patch.html
--------
Download
--------
-https://sourceforge.net/project/showfiles.php?group_id=118209
+`automatic_conversion.zip`_
+.. _`automatic_conversion.zip` : ./automatic_conversion.zip
+
.. _`Py++` : ./../pyplusplus.html
.. _`pygccxml` : http://www.language-binding.net/pygccxml/pygccxml.html
.. _`SourceForge`: http://sourceforge.net/index.php
Modified: pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/definition.rest
===================================================================
--- pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/definition.rest 2007-01-22 08:46:18 UTC (rev 878)
+++ pyplusplus_dev/docs/troubleshooting_guide/automatic_conversion/definition.rest 2007-01-22 16:55:20 UTC (rev 879)
@@ -1,3 +1,3 @@
-Boost.Python allows to define automatic conversion from\\to Python classes.
+Boost.Python allows to define automatic conversion from\\to C++\\Python types.
While this is very, very useful functionality, the documentation for it does not
-exist. This example will shed some light on "rvalue"\\"lvalue" converters.
\ No newline at end of file
+exist. This example will shed some light on "r-value"\\"l-value" converters.
Modified: pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/smart_ptrs.rest
===================================================================
--- pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/smart_ptrs.rest 2007-01-22 08:46:18 UTC (rev 878)
+++ pyplusplus_dev/docs/troubleshooting_guide/smart_ptrs/smart_ptrs.rest 2007-01-22 16:55:20 UTC (rev 879)
@@ -36,9 +36,11 @@
Download
--------
-https://sourceforge.net/project/showfiles.php?group_id=118209
+`smart_ptrs.zip`_
+.. _`smart_ptrs.zip` : ./smart_ptrs.zip
+
.. _`Py++` : ./../pyplusplus.html
.. _`pygccxml` : http://www.language-binding.net/pygccxml/pygccxml.html
.. _`SourceForge`: http://sourceforge.net/index.php
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|