558 |
558 |
559 nested_module = module.add_cpp_namespace('Hash') |
559 nested_module = module.add_cpp_namespace('Hash') |
560 register_types_ns3_Hash(nested_module) |
560 register_types_ns3_Hash(nested_module) |
561 |
561 |
562 |
562 |
|
563 ## Register a nested module for the namespace TracedValueCallback |
|
564 |
|
565 nested_module = module.add_cpp_namespace('TracedValueCallback') |
|
566 register_types_ns3_TracedValueCallback(nested_module) |
|
567 |
|
568 |
563 ## Register a nested module for the namespace internal |
569 ## Register a nested module for the namespace internal |
564 |
570 |
565 nested_module = module.add_cpp_namespace('internal') |
571 nested_module = module.add_cpp_namespace('internal') |
566 register_types_ns3_internal(nested_module) |
572 register_types_ns3_internal(nested_module) |
567 |
573 |
597 module.add_class('Hash32', import_from_module='ns.core', parent=root_module['ns3::Hash::Implementation']) |
603 module.add_class('Hash32', import_from_module='ns.core', parent=root_module['ns3::Hash::Implementation']) |
598 ## hash-function.h (module 'core'): ns3::Hash::Function::Hash64 [class] |
604 ## hash-function.h (module 'core'): ns3::Hash::Function::Hash64 [class] |
599 module.add_class('Hash64', import_from_module='ns.core', parent=root_module['ns3::Hash::Implementation']) |
605 module.add_class('Hash64', import_from_module='ns.core', parent=root_module['ns3::Hash::Implementation']) |
600 ## hash-murmur3.h (module 'core'): ns3::Hash::Function::Murmur3 [class] |
606 ## hash-murmur3.h (module 'core'): ns3::Hash::Function::Murmur3 [class] |
601 module.add_class('Murmur3', import_from_module='ns.core', parent=root_module['ns3::Hash::Implementation']) |
607 module.add_class('Murmur3', import_from_module='ns.core', parent=root_module['ns3::Hash::Implementation']) |
|
608 |
|
609 def register_types_ns3_TracedValueCallback(module): |
|
610 root_module = module.get_root() |
|
611 |
|
612 typehandlers.add_type_alias(u'void ( * ) ( ns3::Time, ns3::Time ) *', u'ns3::TracedValueCallback::Time') |
|
613 typehandlers.add_type_alias(u'void ( * ) ( ns3::Time, ns3::Time ) **', u'ns3::TracedValueCallback::Time*') |
|
614 typehandlers.add_type_alias(u'void ( * ) ( ns3::Time, ns3::Time ) *&', u'ns3::TracedValueCallback::Time&') |
602 |
615 |
603 def register_types_ns3_internal(module): |
616 def register_types_ns3_internal(module): |
604 root_module = module.get_root() |
617 root_module = module.get_root() |
605 |
618 |
606 |
619 |
1400 [], |
1413 [], |
1401 is_const=True) |
1414 is_const=True) |
1402 ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase(ns3::Ptr<ns3::CallbackImplBase> impl) [constructor] |
1415 ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase(ns3::Ptr<ns3::CallbackImplBase> impl) [constructor] |
1403 cls.add_constructor([param('ns3::Ptr< ns3::CallbackImplBase >', 'impl')], |
1416 cls.add_constructor([param('ns3::Ptr< ns3::CallbackImplBase >', 'impl')], |
1404 visibility='protected') |
1417 visibility='protected') |
1405 ## callback.h (module 'core'): static std::string ns3::CallbackBase::Demangle(std::string const & mangled) [member function] |
|
1406 cls.add_method('Demangle', |
|
1407 'std::string', |
|
1408 [param('std::string const &', 'mangled')], |
|
1409 is_static=True, visibility='protected') |
|
1410 return |
1418 return |
1411 |
1419 |
1412 def register_Ns3Cid_methods(root_module, cls): |
1420 def register_Ns3Cid_methods(root_module, cls): |
1413 cls.add_binary_comparison_operator('!=') |
1421 cls.add_binary_comparison_operator('!=') |
1414 cls.add_output_stream_operator() |
1422 cls.add_output_stream_operator() |
3078 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::TagData(ns3::PacketTagList::TagData const & arg0) [copy constructor] |
3086 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::TagData(ns3::PacketTagList::TagData const & arg0) [copy constructor] |
3079 cls.add_constructor([param('ns3::PacketTagList::TagData const &', 'arg0')]) |
3087 cls.add_constructor([param('ns3::PacketTagList::TagData const &', 'arg0')]) |
3080 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::count [variable] |
3088 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::count [variable] |
3081 cls.add_instance_attribute('count', 'uint32_t', is_const=False) |
3089 cls.add_instance_attribute('count', 'uint32_t', is_const=False) |
3082 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::data [variable] |
3090 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::data [variable] |
3083 cls.add_instance_attribute('data', 'uint8_t [ 20 ]', is_const=False) |
3091 cls.add_instance_attribute('data', 'uint8_t [ 21 ]', is_const=False) |
3084 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::next [variable] |
3092 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::next [variable] |
3085 cls.add_instance_attribute('next', 'ns3::PacketTagList::TagData *', is_const=False) |
3093 cls.add_instance_attribute('next', 'ns3::PacketTagList::TagData *', is_const=False) |
3086 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::tid [variable] |
3094 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::tid [variable] |
3087 cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False) |
3095 cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False) |
3088 return |
3096 return |
8780 def register_Ns3CallbackImplBase_methods(root_module, cls): |
8788 def register_Ns3CallbackImplBase_methods(root_module, cls): |
8781 ## callback.h (module 'core'): ns3::CallbackImplBase::CallbackImplBase() [constructor] |
8789 ## callback.h (module 'core'): ns3::CallbackImplBase::CallbackImplBase() [constructor] |
8782 cls.add_constructor([]) |
8790 cls.add_constructor([]) |
8783 ## callback.h (module 'core'): ns3::CallbackImplBase::CallbackImplBase(ns3::CallbackImplBase const & arg0) [copy constructor] |
8791 ## callback.h (module 'core'): ns3::CallbackImplBase::CallbackImplBase(ns3::CallbackImplBase const & arg0) [copy constructor] |
8784 cls.add_constructor([param('ns3::CallbackImplBase const &', 'arg0')]) |
8792 cls.add_constructor([param('ns3::CallbackImplBase const &', 'arg0')]) |
|
8793 ## callback.h (module 'core'): std::string ns3::CallbackImplBase::GetTypeid() const [member function] |
|
8794 cls.add_method('GetTypeid', |
|
8795 'std::string', |
|
8796 [], |
|
8797 is_pure_virtual=True, is_const=True, is_virtual=True) |
8785 ## callback.h (module 'core'): bool ns3::CallbackImplBase::IsEqual(ns3::Ptr<ns3::CallbackImplBase const> other) const [member function] |
8798 ## callback.h (module 'core'): bool ns3::CallbackImplBase::IsEqual(ns3::Ptr<ns3::CallbackImplBase const> other) const [member function] |
8786 cls.add_method('IsEqual', |
8799 cls.add_method('IsEqual', |
8787 'bool', |
8800 'bool', |
8788 [param('ns3::Ptr< ns3::CallbackImplBase const >', 'other')], |
8801 [param('ns3::Ptr< ns3::CallbackImplBase const >', 'other')], |
8789 is_pure_virtual=True, is_const=True, is_virtual=True) |
8802 is_pure_virtual=True, is_const=True, is_virtual=True) |
|
8803 ## callback.h (module 'core'): static std::string ns3::CallbackImplBase::Demangle(std::string const & mangled) [member function] |
|
8804 cls.add_method('Demangle', |
|
8805 'std::string', |
|
8806 [param('std::string const &', 'mangled')], |
|
8807 is_static=True, visibility='protected') |
8790 return |
8808 return |
8791 |
8809 |
8792 def register_Ns3CallbackValue_methods(root_module, cls): |
8810 def register_Ns3CallbackValue_methods(root_module, cls): |
8793 ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue(ns3::CallbackValue const & arg0) [copy constructor] |
8811 ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue(ns3::CallbackValue const & arg0) [copy constructor] |
8794 cls.add_constructor([param('ns3::CallbackValue const &', 'arg0')]) |
8812 cls.add_constructor([param('ns3::CallbackValue const &', 'arg0')]) |
12155 module.add_function('CRC8Calculate', |
12173 module.add_function('CRC8Calculate', |
12156 'uint8_t', |
12174 'uint8_t', |
12157 [param('uint8_t const *', 'data'), param('int', 'length')]) |
12175 [param('uint8_t const *', 'data'), param('int', 'length')]) |
12158 register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) |
12176 register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) |
12159 register_functions_ns3_Hash(module.get_submodule('Hash'), root_module) |
12177 register_functions_ns3_Hash(module.get_submodule('Hash'), root_module) |
|
12178 register_functions_ns3_TracedValueCallback(module.get_submodule('TracedValueCallback'), root_module) |
12160 register_functions_ns3_internal(module.get_submodule('internal'), root_module) |
12179 register_functions_ns3_internal(module.get_submodule('internal'), root_module) |
12161 return |
12180 return |
12162 |
12181 |
12163 def register_functions_ns3_FatalImpl(module, root_module): |
12182 def register_functions_ns3_FatalImpl(module, root_module): |
12164 return |
12183 return |
12166 def register_functions_ns3_Hash(module, root_module): |
12185 def register_functions_ns3_Hash(module, root_module): |
12167 register_functions_ns3_Hash_Function(module.get_submodule('Function'), root_module) |
12186 register_functions_ns3_Hash_Function(module.get_submodule('Function'), root_module) |
12168 return |
12187 return |
12169 |
12188 |
12170 def register_functions_ns3_Hash_Function(module, root_module): |
12189 def register_functions_ns3_Hash_Function(module, root_module): |
|
12190 return |
|
12191 |
|
12192 def register_functions_ns3_TracedValueCallback(module, root_module): |
12171 return |
12193 return |
12172 |
12194 |
12173 def register_functions_ns3_internal(module, root_module): |
12195 def register_functions_ns3_internal(module, root_module): |
12174 return |
12196 return |
12175 |
12197 |