Package pyplusplus :: Package decl_wrappers :: Module calldef_wrapper :: Class constructor_t

type constructor_t

source code

                                     object --+                
                                              |                
pygccxml.declarations.declaration.declaration_t --+            
                                                  |            
            pygccxml.declarations.calldef.calldef_t --+        
                                                      |        
         pygccxml.declarations.calldef.member_calldef_t --+    
                                                          |    
                pygccxml.declarations.calldef.constructor_t --+
                                                              |
                                             object --+       |
                                                      |       |
                            decl_wrapper.decl_wrapper_t --+   |
                                                          |   |
                                                  calldef_t --+
                                                              |
                                                             constructor_t

defines a set of properties, that will instruct Py++ how to expose the constructor

Instance Methods
 
__init__(self, *arguments, **keywords) source code
 
does_define_implicit_conversion(self)
returns true if the constructor can take part in implicit conversions.
source code

Inherited from pygccxml.declarations.calldef.constructor_t: __str__

Inherited from pygccxml.declarations.calldef.member_calldef_t: __eq__, create_decl_string, function_type, get_virtuality, set_virtuality

Inherited from pygccxml.declarations.calldef.calldef_t: i_depend_on_them

Inherited from pygccxml.declarations.declaration.declaration_t: __lt__, __ne__

Inherited from calldef_t: add_transformation, get_call_policies, get_overridable, has_wrapper, mark_as_non_overridable, set_call_policies, set_overridable

Inherited from decl_wrapper.decl_wrapper_t: disable_messages, disable_warnings, exclude, get_already_exposed, get_exportable, include, readme, rename, set_already_exposed, set_exportable, why_not_exportable

Class Variables

Inherited from calldef_t: BOOST_PYTHON_MAX_ARITY

Inherited from decl_wrapper.decl_wrapper_t: SPECIAL_TYPEDEF_PICK_ANY

Properties
  body
string, class-wrapper constructor body
  allow_implicit_conversion
boolean, indicates whether Py++ should generate implicitly_convertible code or notDefault value is calculated from the constructor type.

Inherited from pygccxml.declarations.calldef.constructor_t: is_copy_constructor, is_trivial_constructor

Inherited from pygccxml.declarations.calldef.member_calldef_t: access_type, has_const, has_static, virtuality

Inherited from pygccxml.declarations.calldef.calldef_t: argument_types, arguments, demangled_name, does_throw, exceptions, has_ellipsis, has_extern, optional_args, overloads, required_args, return_type

Inherited from pygccxml.declarations.declaration.declaration_t: attributes, cache, compiler, decl_string, demangled, is_artificial, location, mangled, name, parent, partial_decl_string, partial_name, top_parent

Inherited from calldef_t: call_policies, create_with_signature, non_overridable_reason, overridable, transformations, use_default_arguments, use_keywords

Inherited from decl_wrapper.decl_wrapper_t: alias, already_exposed, disabled_messages, documentation, exportable, ignore, include_files, logger

Method Details

__init__(self, *arguments, **keywords)
(Constructor)

source code 
Overrides: decl_wrapper.decl_wrapper_t.__init__

does_define_implicit_conversion(self)

source code 
returns true if the constructor can take part in implicit conversions.

For more information see:

    * http://boost.org/libs/python/doc/v2/implicit.html#implicitly_convertible-spec

    * http://msdn2.microsoft.com/en-us/library/h1y7x448.aspx


Property Details

body

string, class-wrapper constructor body

Get Method:
_get_body(self)
Set Method:
_set_body(self, body)

allow_implicit_conversion

boolean, indicates whether Py++ should generate implicitly_convertible code or notDefault value is calculated from the constructor type.

Get Method:
_get_allow_implicit_conversion(self)
Set Method:
_set_allow_implicit_conversion(self, allow_implicit_conversion)