198 module.add_class('PcapHelperForIpv4', allow_subclassing=True) |
198 module.add_class('PcapHelperForIpv4', allow_subclassing=True) |
199 ## internet-trace-helper.h (module 'internet'): ns3::PcapHelperForIpv6 [class] |
199 ## internet-trace-helper.h (module 'internet'): ns3::PcapHelperForIpv6 [class] |
200 module.add_class('PcapHelperForIpv6', allow_subclassing=True) |
200 module.add_class('PcapHelperForIpv6', allow_subclassing=True) |
201 ## random-variable.h (module 'core'): ns3::RandomVariable [class] |
201 ## random-variable.h (module 'core'): ns3::RandomVariable [class] |
202 module.add_class('RandomVariable', import_from_module='ns.core') |
202 module.add_class('RandomVariable', import_from_module='ns.core') |
|
203 ## rng-seed-manager.h (module 'core'): ns3::RngSeedManager [class] |
|
204 module.add_class('RngSeedManager', import_from_module='ns.core') |
203 ## global-route-manager-impl.h (module 'internet'): ns3::SPFVertex [class] |
205 ## global-route-manager-impl.h (module 'internet'): ns3::SPFVertex [class] |
204 module.add_class('SPFVertex') |
206 module.add_class('SPFVertex') |
205 ## global-route-manager-impl.h (module 'internet'): ns3::SPFVertex::VertexType [enumeration] |
207 ## global-route-manager-impl.h (module 'internet'): ns3::SPFVertex::VertexType [enumeration] |
206 module.add_enum('VertexType', ['VertexUnknown', 'VertexRouter', 'VertexNetwork'], outer_class=root_module['ns3::SPFVertex']) |
208 module.add_enum('VertexType', ['VertexUnknown', 'VertexRouter', 'VertexNetwork'], outer_class=root_module['ns3::SPFVertex']) |
207 ## random-variable.h (module 'core'): ns3::SeedManager [class] |
|
208 module.add_class('SeedManager', import_from_module='ns.core') |
|
209 ## sequence-number.h (module 'network'): ns3::SequenceNumber<unsigned int, int> [class] |
209 ## sequence-number.h (module 'network'): ns3::SequenceNumber<unsigned int, int> [class] |
210 module.add_class('SequenceNumber32', import_from_module='ns.network') |
210 module.add_class('SequenceNumber32', import_from_module='ns.network') |
211 ## random-variable.h (module 'core'): ns3::SequentialVariable [class] |
211 ## random-variable.h (module 'core'): ns3::SequentialVariable [class] |
212 module.add_class('SequentialVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) |
212 module.add_class('SequentialVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) |
213 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter> [class] |
213 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter> [class] |
602 module.add_container('std::map< unsigned int, unsigned int >', ('unsigned int', 'unsigned int'), container_type='map') |
602 module.add_container('std::map< unsigned int, unsigned int >', ('unsigned int', 'unsigned int'), container_type='map') |
603 module.add_container('std::vector< ns3::Ipv6Address >', 'ns3::Ipv6Address', container_type='vector') |
603 module.add_container('std::vector< ns3::Ipv6Address >', 'ns3::Ipv6Address', container_type='vector') |
604 typehandlers.add_type_alias('ns3::SequenceNumber< short unsigned int, short int >', 'ns3::SequenceNumber16') |
604 typehandlers.add_type_alias('ns3::SequenceNumber< short unsigned int, short int >', 'ns3::SequenceNumber16') |
605 typehandlers.add_type_alias('ns3::SequenceNumber< short unsigned int, short int >*', 'ns3::SequenceNumber16*') |
605 typehandlers.add_type_alias('ns3::SequenceNumber< short unsigned int, short int >*', 'ns3::SequenceNumber16*') |
606 typehandlers.add_type_alias('ns3::SequenceNumber< short unsigned int, short int >&', 'ns3::SequenceNumber16&') |
606 typehandlers.add_type_alias('ns3::SequenceNumber< short unsigned int, short int >&', 'ns3::SequenceNumber16&') |
|
607 typehandlers.add_type_alias('ns3::RngSeedManager', 'ns3::SeedManager') |
|
608 typehandlers.add_type_alias('ns3::RngSeedManager*', 'ns3::SeedManager*') |
|
609 typehandlers.add_type_alias('ns3::RngSeedManager&', 'ns3::SeedManager&') |
|
610 module.add_typedef(root_module['ns3::RngSeedManager'], 'SeedManager') |
607 typehandlers.add_type_alias('ns3::SequenceNumber< unsigned int, int >', 'ns3::SequenceNumber32') |
611 typehandlers.add_type_alias('ns3::SequenceNumber< unsigned int, int >', 'ns3::SequenceNumber32') |
608 typehandlers.add_type_alias('ns3::SequenceNumber< unsigned int, int >*', 'ns3::SequenceNumber32*') |
612 typehandlers.add_type_alias('ns3::SequenceNumber< unsigned int, int >*', 'ns3::SequenceNumber32*') |
609 typehandlers.add_type_alias('ns3::SequenceNumber< unsigned int, int >&', 'ns3::SequenceNumber32&') |
613 typehandlers.add_type_alias('ns3::SequenceNumber< unsigned int, int >&', 'ns3::SequenceNumber32&') |
610 |
614 |
611 ## Register a nested module for the namespace FatalImpl |
615 ## Register a nested module for the namespace FatalImpl |
687 register_Ns3PcapHelper_methods(root_module, root_module['ns3::PcapHelper']) |
691 register_Ns3PcapHelper_methods(root_module, root_module['ns3::PcapHelper']) |
688 register_Ns3PcapHelperForDevice_methods(root_module, root_module['ns3::PcapHelperForDevice']) |
692 register_Ns3PcapHelperForDevice_methods(root_module, root_module['ns3::PcapHelperForDevice']) |
689 register_Ns3PcapHelperForIpv4_methods(root_module, root_module['ns3::PcapHelperForIpv4']) |
693 register_Ns3PcapHelperForIpv4_methods(root_module, root_module['ns3::PcapHelperForIpv4']) |
690 register_Ns3PcapHelperForIpv6_methods(root_module, root_module['ns3::PcapHelperForIpv6']) |
694 register_Ns3PcapHelperForIpv6_methods(root_module, root_module['ns3::PcapHelperForIpv6']) |
691 register_Ns3RandomVariable_methods(root_module, root_module['ns3::RandomVariable']) |
695 register_Ns3RandomVariable_methods(root_module, root_module['ns3::RandomVariable']) |
|
696 register_Ns3RngSeedManager_methods(root_module, root_module['ns3::RngSeedManager']) |
692 register_Ns3SPFVertex_methods(root_module, root_module['ns3::SPFVertex']) |
697 register_Ns3SPFVertex_methods(root_module, root_module['ns3::SPFVertex']) |
693 register_Ns3SeedManager_methods(root_module, root_module['ns3::SeedManager']) |
|
694 register_Ns3SequenceNumber32_methods(root_module, root_module['ns3::SequenceNumber32']) |
698 register_Ns3SequenceNumber32_methods(root_module, root_module['ns3::SequenceNumber32']) |
695 register_Ns3SequentialVariable_methods(root_module, root_module['ns3::SequentialVariable']) |
699 register_Ns3SequentialVariable_methods(root_module, root_module['ns3::SequentialVariable']) |
696 register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >']) |
700 register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >']) |
697 register_Ns3Simulator_methods(root_module, root_module['ns3::Simulator']) |
701 register_Ns3Simulator_methods(root_module, root_module['ns3::Simulator']) |
698 register_Ns3Tag_methods(root_module, root_module['ns3::Tag']) |
702 register_Ns3Tag_methods(root_module, root_module['ns3::Tag']) |
3979 'double', |
3983 'double', |
3980 [], |
3984 [], |
3981 is_const=True) |
3985 is_const=True) |
3982 return |
3986 return |
3983 |
3987 |
|
3988 def register_Ns3RngSeedManager_methods(root_module, cls): |
|
3989 ## rng-seed-manager.h (module 'core'): ns3::RngSeedManager::RngSeedManager() [constructor] |
|
3990 cls.add_constructor([]) |
|
3991 ## rng-seed-manager.h (module 'core'): ns3::RngSeedManager::RngSeedManager(ns3::RngSeedManager const & arg0) [copy constructor] |
|
3992 cls.add_constructor([param('ns3::RngSeedManager const &', 'arg0')]) |
|
3993 ## rng-seed-manager.h (module 'core'): static uint64_t ns3::RngSeedManager::GetNextStreamIndex() [member function] |
|
3994 cls.add_method('GetNextStreamIndex', |
|
3995 'uint64_t', |
|
3996 [], |
|
3997 is_static=True) |
|
3998 ## rng-seed-manager.h (module 'core'): static uint64_t ns3::RngSeedManager::GetRun() [member function] |
|
3999 cls.add_method('GetRun', |
|
4000 'uint64_t', |
|
4001 [], |
|
4002 is_static=True) |
|
4003 ## rng-seed-manager.h (module 'core'): static uint32_t ns3::RngSeedManager::GetSeed() [member function] |
|
4004 cls.add_method('GetSeed', |
|
4005 'uint32_t', |
|
4006 [], |
|
4007 is_static=True) |
|
4008 ## rng-seed-manager.h (module 'core'): static void ns3::RngSeedManager::SetRun(uint64_t run) [member function] |
|
4009 cls.add_method('SetRun', |
|
4010 'void', |
|
4011 [param('uint64_t', 'run')], |
|
4012 is_static=True) |
|
4013 ## rng-seed-manager.h (module 'core'): static void ns3::RngSeedManager::SetSeed(uint32_t seed) [member function] |
|
4014 cls.add_method('SetSeed', |
|
4015 'void', |
|
4016 [param('uint32_t', 'seed')], |
|
4017 is_static=True) |
|
4018 return |
|
4019 |
3984 def register_Ns3SPFVertex_methods(root_module, cls): |
4020 def register_Ns3SPFVertex_methods(root_module, cls): |
3985 ## global-route-manager-impl.h (module 'internet'): ns3::SPFVertex::SPFVertex() [constructor] |
4021 ## global-route-manager-impl.h (module 'internet'): ns3::SPFVertex::SPFVertex() [constructor] |
3986 cls.add_constructor([]) |
4022 cls.add_constructor([]) |
3987 ## global-route-manager-impl.h (module 'internet'): ns3::SPFVertex::SPFVertex(ns3::GlobalRoutingLSA * lsa) [constructor] |
4023 ## global-route-manager-impl.h (module 'internet'): ns3::SPFVertex::SPFVertex(ns3::GlobalRoutingLSA * lsa) [constructor] |
3988 cls.add_constructor([param('ns3::GlobalRoutingLSA *', 'lsa')]) |
4024 cls.add_constructor([param('ns3::GlobalRoutingLSA *', 'lsa')]) |
4091 is_const=True) |
4127 is_const=True) |
4092 ## global-route-manager-impl.h (module 'internet'): void ns3::SPFVertex::ClearVertexProcessed() [member function] |
4128 ## global-route-manager-impl.h (module 'internet'): void ns3::SPFVertex::ClearVertexProcessed() [member function] |
4093 cls.add_method('ClearVertexProcessed', |
4129 cls.add_method('ClearVertexProcessed', |
4094 'void', |
4130 'void', |
4095 []) |
4131 []) |
4096 return |
|
4097 |
|
4098 def register_Ns3SeedManager_methods(root_module, cls): |
|
4099 ## random-variable.h (module 'core'): ns3::SeedManager::SeedManager() [constructor] |
|
4100 cls.add_constructor([]) |
|
4101 ## random-variable.h (module 'core'): ns3::SeedManager::SeedManager(ns3::SeedManager const & arg0) [copy constructor] |
|
4102 cls.add_constructor([param('ns3::SeedManager const &', 'arg0')]) |
|
4103 ## random-variable.h (module 'core'): static bool ns3::SeedManager::CheckSeed(uint32_t seed) [member function] |
|
4104 cls.add_method('CheckSeed', |
|
4105 'bool', |
|
4106 [param('uint32_t', 'seed')], |
|
4107 is_static=True) |
|
4108 ## random-variable.h (module 'core'): static uint32_t ns3::SeedManager::GetRun() [member function] |
|
4109 cls.add_method('GetRun', |
|
4110 'uint32_t', |
|
4111 [], |
|
4112 is_static=True) |
|
4113 ## random-variable.h (module 'core'): static uint32_t ns3::SeedManager::GetSeed() [member function] |
|
4114 cls.add_method('GetSeed', |
|
4115 'uint32_t', |
|
4116 [], |
|
4117 is_static=True) |
|
4118 ## random-variable.h (module 'core'): static void ns3::SeedManager::SetRun(uint32_t run) [member function] |
|
4119 cls.add_method('SetRun', |
|
4120 'void', |
|
4121 [param('uint32_t', 'run')], |
|
4122 is_static=True) |
|
4123 ## random-variable.h (module 'core'): static void ns3::SeedManager::SetSeed(uint32_t seed) [member function] |
|
4124 cls.add_method('SetSeed', |
|
4125 'void', |
|
4126 [param('uint32_t', 'seed')], |
|
4127 is_static=True) |
|
4128 return |
4132 return |
4129 |
4133 |
4130 def register_Ns3SequenceNumber32_methods(root_module, cls): |
4134 def register_Ns3SequenceNumber32_methods(root_module, cls): |
4131 cls.add_binary_comparison_operator('!=') |
4135 cls.add_binary_comparison_operator('!=') |
4132 cls.add_binary_numeric_operator('+', root_module['ns3::SequenceNumber32'], root_module['ns3::SequenceNumber32'], param('ns3::SequenceNumber< unsigned int, int > const &', 'right')) |
4136 cls.add_binary_numeric_operator('+', root_module['ns3::SequenceNumber32'], root_module['ns3::SequenceNumber32'], param('ns3::SequenceNumber< unsigned int, int > const &', 'right')) |