[pygccxml-commit] SF.net SVN: pygccxml: [734] pyplusplus_dev/docs
Brought to you by:
mbaas,
roman_yakovenko
From: <rom...@us...> - 2006-11-19 12:20:31
|
Revision: 734 http://svn.sourceforge.net/pygccxml/?rev=734&view=rev Author: roman_yakovenko Date: 2006-11-19 04:20:30 -0800 (Sun, 19 Nov 2006) Log Message: ----------- updating documentation Modified Paths: -------------- pyplusplus_dev/docs/peps/dsl_challenge.rest pyplusplus_dev/docs/quotes.rest Modified: pyplusplus_dev/docs/peps/dsl_challenge.rest =================================================================== --- pyplusplus_dev/docs/peps/dsl_challenge.rest 2006-11-18 19:20:05 UTC (rev 733) +++ pyplusplus_dev/docs/peps/dsl_challenge.rest 2006-11-19 12:20:30 UTC (rev 734) @@ -105,42 +105,42 @@ BUI does not work for template instantiated classes and functions. If we change class ``Point`` to be template, the special syntax should be introduced: - .. code-block:: C++ + .. code-block:: C++ - template < class Numeric > - struct Point{ - ... - }; + template < class Numeric > + struct Point{ + ... + }; -.. code-block:: Python + .. code-block:: Python - PointTmpl = mb.module.template('Point') - Point = PointTmpl( 'int' ) + PointTmpl = mb.module.template('Point') + Point = PointTmpl( 'int' ) - This is a trivial example, that is why it looks grate. Consider next class: + This is a trivial example, that is why it looks grate. Consider next class: -. code-block:: C++ + .. code-block:: C++ - template< class String, class Allocator > - class regex{ ... } + template< class String, class Allocator > + class regex{ ... } - The code the user will need to write is: + The code the user will need to write is: - .. code-block:: Python + .. code-block:: Python - regex_tmpl = mb.module.geometry.template( 'regex' ) - #white spaces and scope resolution( :: ) are important - regex_std_string = regex_tmpl( - '::std::basic_string<char,std::char_traits<char>,std::allocator<char> >' - , '::std::allocator<char>' ) + regex_tmpl = mb.module.geometry.template( 'regex' ) + #white spaces and scope resolution( :: ) are important + regex_std_string = regex_tmpl( + '::std::basic_string<char,std::char_traits<char>,std::allocator<char> >' + , '::std::allocator<char>' ) - Using current `Py++`_ interface the user can get reference to the class - instantiation in one line of code: + Using current `Py++`_ interface the user can get reference to the class + instantiation in one line of code: -.. code-block:: Python + .. code-block:: Python - regex_std_string = mb.class_( - lambda decl: decl.name.startswith( 'regex' ) and 'wchar_t' not in decl.name ) + regex_std_string = mb.class_( + lambda decl: decl.name.startswith( 'regex' ) and 'wchar_t' not in decl.name ) * overloaded functions resolution @@ -165,9 +165,9 @@ Using BUI the user is forced to write full declaration name, otherwise he faces next problem: -.. code-block:: Python + .. code-block:: Python - Point = mb.module.Point + Point = mb.module.Point Lets analyze what the ``Point`` value: @@ -182,7 +182,7 @@ .. code-block:: Python - Point.add_registration_code( ... ) + Point.add_registration_code( ... ) Constructor declaration does not define ``add_registration_code`` method. According to Python rules: "Errors should never pass silently", exception Modified: pyplusplus_dev/docs/quotes.rest =================================================================== --- pyplusplus_dev/docs/quotes.rest 2006-11-18 19:20:05 UTC (rev 733) +++ pyplusplus_dev/docs/quotes.rest 2006-11-19 12:20:30 UTC (rev 734) @@ -45,8 +45,41 @@ .. __ : http://www.highend3d.com/maya * Lakin Wecker, the author of `Python-OGRE`_ project, is using `Py++`_ to - create Python bindings for `OGRE`_. + create Python bindings for `OGRE`_. + + `OGRE`_ - is a scene-oriented, flexible 3D engine written in C++ designed to + make it easier and more intuitive for developers to produce applications + utilising hardware-accelerated 3D graphics. +* Andy Miller, another developer of `Python-OGRE`_ project, is using `Py++`_ to + create Python bindings for: + + * `CEGUI`_ - a free library providing windowing and widgets for graphics + APIs / engines where such functionality is not natively available, or + severely lacking. + + .. _`CEGUI` : http://www.cegui.org.uk/wiki/index.php/Main_Page + + * `Newton`_ - Newton Game Dynamics, a closed source (but free) physics and + collisions library. + + .. _`Newton` : http://www.newtondynamics.com/apache2-default/ + + * `ODE`_ - an open source, high performance library for simulating rigid body + dynamics. + + .. _`ODE` : http://www.ode.org/ + + * `OIS`_ - an object oriented input system. + + .. _`OIS` : http://www.wreckedgames.com/wiki/index.php/WreckedLibs:OIS + +* Nicolas Tessore is using `Py++`_ to create Python bindings for `NifTools`_ + project. You can read in his `blog`_ what he thinks about `Py++`_. + + .. _`NifTools` : http://www.niftools.org/wiki/index.php/NIF_File_Format_Library_and_Tools + .. _`blog` : http://ni-te.de/blog/?p=10 + * I am :-). I created Python bindings for next libraries: * `Boost.Date_Time`_ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |