Revision: 654
http://svn.sourceforge.net/pygccxml/?rev=654&view=rev
Author: roman_yakovenko
Date: 2006-10-12 00:54:49 -0700 (Thu, 12 Oct 2006)
Log Message:
-----------
fixing small indentation problem
Modified Paths:
--------------
pygccxml_dev/docs/query_interface.rest
Modified: pygccxml_dev/docs/query_interface.rest
===================================================================
--- pygccxml_dev/docs/query_interface.rest 2006-10-12 07:31:24 UTC (rev 653)
+++ pygccxml_dev/docs/query_interface.rest 2006-10-12 07:54:49 UTC (rev 654)
@@ -85,7 +85,7 @@
Python string, that contains member function name or full name.
- .. code-block:: Python
+ .. code-block:: Python
do_smth = my_class.member_function( 'do_smth' )
do_smth = my_class.member_function( 'my_namespace::my_class::do_smth' )
@@ -108,10 +108,10 @@
Function return type. This argument can be Python string or an object that
describes C++ type.
- .. code-block:: Python
+ .. code-block:: Python
mem_funcs = my_class.member_functions( return_type='int' )
-
+
i = declarations.int_t()
ref_i = declarations.reference_t( i )
const_ref_i = declarations.const_t( ref_i )
@@ -216,8 +216,10 @@
exclude declaration, from being exported to Python. Next code will exclude
``clone`` member function from being exported:
- ``global_ns.member_functions( 'clone' ).exclude()``
+.. code-block:: Python
+ global_ns.member_functions( 'clone' ).exclude()
+
As you can see this class allows you to write less code. Basically using this
class you don't have to write loops. If will do it for you. Also if you insist to
write loops, ``mdecl_wrapper_t`` class implements ``__len__``, ``__getitem__``
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|