Package pyplusplus :: Package code_creators :: Module calldef :: Class free_function_t

type free_function_t

source code

                         object --+            
                                  |            
        code_creator.code_creator_t --+        
                                      |        
registration_based.registration_based_t --+    
                                          |    
  declaration_based.declaration_based_t --+    
                                          |    
                                  calldef_t --+
                                              |
                                             free_function_t

Instance Methods
 
__init__(self, function)
Constructor.
source code
 
create_def_code(self) source code
 
create_function_type_alias_code(self, exported_class_alias=None) source code
 
create_function_ref_code(self, use_function_alias=False) source code

Inherited from calldef_t: create_call_policies, create_doc, create_keywords_args, def_identifier, param_sep, pure_virtual_identifier

Inherited from code_creator.code_creator_t: beautify, create, get_system_headers

Inherited from declaration_based.declaration_based_t: get_user_headers

Static Methods

Inherited from code_creator.code_creator_t: indent, is_comment, unindent, unique_headers

Class Variables

Inherited from code_creator.code_creator_t: LINE_LENGTH, PARAM_SEPARATOR, PYPLUSPLUS_NS_NAME

Properties

Inherited from calldef_t: associated_decl_creators, exported_class_alias, function_type_alias, wrapper

Inherited from code_creator.code_creator_t: parent, target_configuration, top_parent, works_on_instance

Inherited from declaration_based.declaration_based_t: alias, decl_identifier, declaration, documentation

Method Details

__init__(self, function)
(Constructor)

source code 

Constructor.

Parameters:
  • parent - Parent code creator.
Overrides: declaration_based.declaration_based_t.__init__
(inherited documentation)

create_def_code(self)

source code 
Overrides: calldef_t.create_def_code

create_function_type_alias_code(self, exported_class_alias=None)

source code 
Overrides: calldef_t.create_function_type_alias_code

create_function_ref_code(self, use_function_alias=False)

source code 
Overrides: calldef_t.create_function_ref_code