52 module.add_class('CriticalSection', import_from_module='ns.core') |
52 module.add_class('CriticalSection', import_from_module='ns.core') |
53 ## data-rate.h (module 'network'): ns3::DataRate [class] |
53 ## data-rate.h (module 'network'): ns3::DataRate [class] |
54 module.add_class('DataRate', import_from_module='ns.network') |
54 module.add_class('DataRate', import_from_module='ns.network') |
55 ## event-id.h (module 'core'): ns3::EventId [class] |
55 ## event-id.h (module 'core'): ns3::EventId [class] |
56 module.add_class('EventId', import_from_module='ns.core') |
56 module.add_class('EventId', import_from_module='ns.core') |
|
57 ## hash.h (module 'core'): ns3::Hasher [class] |
|
58 module.add_class('Hasher', import_from_module='ns.core') |
57 ## ipv4-address.h (module 'network'): ns3::Ipv4Address [class] |
59 ## ipv4-address.h (module 'network'): ns3::Ipv4Address [class] |
58 module.add_class('Ipv4Address', import_from_module='ns.network') |
60 module.add_class('Ipv4Address', import_from_module='ns.network') |
59 ## ipv4-address.h (module 'network'): ns3::Ipv4Address [class] |
61 ## ipv4-address.h (module 'network'): ns3::Ipv4Address [class] |
60 root_module['ns3::Ipv4Address'].implicitly_converts_to(root_module['ns3::Address']) |
62 root_module['ns3::Ipv4Address'].implicitly_converts_to(root_module['ns3::Address']) |
61 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask [class] |
63 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask [class] |
152 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::CallbackImplBase', 'ns3::empty', 'ns3::DefaultDeleter<ns3::CallbackImplBase>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) |
154 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::CallbackImplBase', 'ns3::empty', 'ns3::DefaultDeleter<ns3::CallbackImplBase>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) |
153 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> > [class] |
155 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> > [class] |
154 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::EventImpl', 'ns3::empty', 'ns3::DefaultDeleter<ns3::EventImpl>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) |
156 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::EventImpl', 'ns3::empty', 'ns3::DefaultDeleter<ns3::EventImpl>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) |
155 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::FdReader, ns3::empty, ns3::DefaultDeleter<ns3::FdReader> > [class] |
157 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::FdReader, ns3::empty, ns3::DefaultDeleter<ns3::FdReader> > [class] |
156 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::FdReader', 'ns3::empty', 'ns3::DefaultDeleter<ns3::FdReader>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) |
158 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::FdReader', 'ns3::empty', 'ns3::DefaultDeleter<ns3::FdReader>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) |
|
159 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Hash::Implementation, ns3::empty, ns3::DefaultDeleter<ns3::Hash::Implementation> > [class] |
|
160 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Hash::Implementation', 'ns3::empty', 'ns3::DefaultDeleter<ns3::Hash::Implementation>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) |
157 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> > [class] |
161 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> > [class] |
158 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::NixVector', 'ns3::empty', 'ns3::DefaultDeleter<ns3::NixVector>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) |
162 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::NixVector', 'ns3::empty', 'ns3::DefaultDeleter<ns3::NixVector>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) |
159 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> > [class] |
163 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> > [class] |
160 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::OutputStreamWrapper', 'ns3::empty', 'ns3::DefaultDeleter<ns3::OutputStreamWrapper>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) |
164 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::OutputStreamWrapper', 'ns3::empty', 'ns3::DefaultDeleter<ns3::OutputStreamWrapper>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) |
161 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> > [class] |
165 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> > [class] |
258 ## Register a nested module for the namespace FatalImpl |
262 ## Register a nested module for the namespace FatalImpl |
259 |
263 |
260 nested_module = module.add_cpp_namespace('FatalImpl') |
264 nested_module = module.add_cpp_namespace('FatalImpl') |
261 register_types_ns3_FatalImpl(nested_module) |
265 register_types_ns3_FatalImpl(nested_module) |
262 |
266 |
|
267 |
|
268 ## Register a nested module for the namespace Hash |
|
269 |
|
270 nested_module = module.add_cpp_namespace('Hash') |
|
271 register_types_ns3_Hash(nested_module) |
|
272 |
263 |
273 |
264 def register_types_ns3_FatalImpl(module): |
274 def register_types_ns3_FatalImpl(module): |
265 root_module = module.get_root() |
275 root_module = module.get_root() |
266 |
276 |
|
277 |
|
278 def register_types_ns3_Hash(module): |
|
279 root_module = module.get_root() |
|
280 |
|
281 ## hash-function.h (module 'core'): ns3::Hash::Implementation [class] |
|
282 module.add_class('Implementation', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::Hash::Implementation, ns3::empty, ns3::DefaultDeleter<ns3::Hash::Implementation> >']) |
|
283 typehandlers.add_type_alias('uint32_t ( * ) ( char const *, size_t ) *', 'ns3::Hash::Hash32Function_ptr') |
|
284 typehandlers.add_type_alias('uint32_t ( * ) ( char const *, size_t ) **', 'ns3::Hash::Hash32Function_ptr*') |
|
285 typehandlers.add_type_alias('uint32_t ( * ) ( char const *, size_t ) *&', 'ns3::Hash::Hash32Function_ptr&') |
|
286 typehandlers.add_type_alias('uint64_t ( * ) ( char const *, size_t ) *', 'ns3::Hash::Hash64Function_ptr') |
|
287 typehandlers.add_type_alias('uint64_t ( * ) ( char const *, size_t ) **', 'ns3::Hash::Hash64Function_ptr*') |
|
288 typehandlers.add_type_alias('uint64_t ( * ) ( char const *, size_t ) *&', 'ns3::Hash::Hash64Function_ptr&') |
|
289 |
|
290 ## Register a nested module for the namespace Function |
|
291 |
|
292 nested_module = module.add_cpp_namespace('Function') |
|
293 register_types_ns3_Hash_Function(nested_module) |
|
294 |
|
295 |
|
296 def register_types_ns3_Hash_Function(module): |
|
297 root_module = module.get_root() |
|
298 |
|
299 ## hash-fnv.h (module 'core'): ns3::Hash::Function::Fnv1a [class] |
|
300 module.add_class('Fnv1a', import_from_module='ns.core', parent=root_module['ns3::Hash::Implementation']) |
|
301 ## hash-function.h (module 'core'): ns3::Hash::Function::Hash32 [class] |
|
302 module.add_class('Hash32', import_from_module='ns.core', parent=root_module['ns3::Hash::Implementation']) |
|
303 ## hash-function.h (module 'core'): ns3::Hash::Function::Hash64 [class] |
|
304 module.add_class('Hash64', import_from_module='ns.core', parent=root_module['ns3::Hash::Implementation']) |
|
305 ## hash-murmur3.h (module 'core'): ns3::Hash::Function::Murmur3 [class] |
|
306 module.add_class('Murmur3', import_from_module='ns.core', parent=root_module['ns3::Hash::Implementation']) |
267 |
307 |
268 def register_methods(root_module): |
308 def register_methods(root_module): |
269 register_Ns3Address_methods(root_module, root_module['ns3::Address']) |
309 register_Ns3Address_methods(root_module, root_module['ns3::Address']) |
270 register_Ns3AsciiTraceHelper_methods(root_module, root_module['ns3::AsciiTraceHelper']) |
310 register_Ns3AsciiTraceHelper_methods(root_module, root_module['ns3::AsciiTraceHelper']) |
271 register_Ns3AsciiTraceHelperForDevice_methods(root_module, root_module['ns3::AsciiTraceHelperForDevice']) |
311 register_Ns3AsciiTraceHelperForDevice_methods(root_module, root_module['ns3::AsciiTraceHelperForDevice']) |
280 register_Ns3ByteTagListIteratorItem_methods(root_module, root_module['ns3::ByteTagList::Iterator::Item']) |
320 register_Ns3ByteTagListIteratorItem_methods(root_module, root_module['ns3::ByteTagList::Iterator::Item']) |
281 register_Ns3CallbackBase_methods(root_module, root_module['ns3::CallbackBase']) |
321 register_Ns3CallbackBase_methods(root_module, root_module['ns3::CallbackBase']) |
282 register_Ns3CriticalSection_methods(root_module, root_module['ns3::CriticalSection']) |
322 register_Ns3CriticalSection_methods(root_module, root_module['ns3::CriticalSection']) |
283 register_Ns3DataRate_methods(root_module, root_module['ns3::DataRate']) |
323 register_Ns3DataRate_methods(root_module, root_module['ns3::DataRate']) |
284 register_Ns3EventId_methods(root_module, root_module['ns3::EventId']) |
324 register_Ns3EventId_methods(root_module, root_module['ns3::EventId']) |
|
325 register_Ns3Hasher_methods(root_module, root_module['ns3::Hasher']) |
285 register_Ns3Ipv4Address_methods(root_module, root_module['ns3::Ipv4Address']) |
326 register_Ns3Ipv4Address_methods(root_module, root_module['ns3::Ipv4Address']) |
286 register_Ns3Ipv4Mask_methods(root_module, root_module['ns3::Ipv4Mask']) |
327 register_Ns3Ipv4Mask_methods(root_module, root_module['ns3::Ipv4Mask']) |
287 register_Ns3Ipv6Address_methods(root_module, root_module['ns3::Ipv6Address']) |
328 register_Ns3Ipv6Address_methods(root_module, root_module['ns3::Ipv6Address']) |
288 register_Ns3Ipv6Prefix_methods(root_module, root_module['ns3::Ipv6Prefix']) |
329 register_Ns3Ipv6Prefix_methods(root_module, root_module['ns3::Ipv6Prefix']) |
289 register_Ns3Mac48Address_methods(root_module, root_module['ns3::Mac48Address']) |
330 register_Ns3Mac48Address_methods(root_module, root_module['ns3::Mac48Address']) |
323 register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeChecker__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >']) |
364 register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeChecker__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >']) |
324 register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >']) |
365 register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >']) |
325 register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >']) |
366 register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >']) |
326 register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >']) |
367 register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >']) |
327 register_Ns3SimpleRefCount__Ns3FdReader_Ns3Empty_Ns3DefaultDeleter__lt__ns3FdReader__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::FdReader, ns3::empty, ns3::DefaultDeleter<ns3::FdReader> >']) |
368 register_Ns3SimpleRefCount__Ns3FdReader_Ns3Empty_Ns3DefaultDeleter__lt__ns3FdReader__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::FdReader, ns3::empty, ns3::DefaultDeleter<ns3::FdReader> >']) |
|
369 register_Ns3SimpleRefCount__Ns3HashImplementation_Ns3Empty_Ns3DefaultDeleter__lt__ns3HashImplementation__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Hash::Implementation, ns3::empty, ns3::DefaultDeleter<ns3::Hash::Implementation> >']) |
328 register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >']) |
370 register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >']) |
329 register_Ns3SimpleRefCount__Ns3OutputStreamWrapper_Ns3Empty_Ns3DefaultDeleter__lt__ns3OutputStreamWrapper__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> >']) |
371 register_Ns3SimpleRefCount__Ns3OutputStreamWrapper_Ns3Empty_Ns3DefaultDeleter__lt__ns3OutputStreamWrapper__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> >']) |
330 register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >']) |
372 register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >']) |
331 register_Ns3SimpleRefCount__Ns3SystemThread_Ns3Empty_Ns3DefaultDeleter__lt__ns3SystemThread__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::SystemThread, ns3::empty, ns3::DefaultDeleter<ns3::SystemThread> >']) |
373 register_Ns3SimpleRefCount__Ns3SystemThread_Ns3Empty_Ns3DefaultDeleter__lt__ns3SystemThread__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::SystemThread, ns3::empty, ns3::DefaultDeleter<ns3::SystemThread> >']) |
332 register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >']) |
374 register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >']) |
369 register_Ns3TypeIdValue_methods(root_module, root_module['ns3::TypeIdValue']) |
411 register_Ns3TypeIdValue_methods(root_module, root_module['ns3::TypeIdValue']) |
370 register_Ns3AddressChecker_methods(root_module, root_module['ns3::AddressChecker']) |
412 register_Ns3AddressChecker_methods(root_module, root_module['ns3::AddressChecker']) |
371 register_Ns3AddressValue_methods(root_module, root_module['ns3::AddressValue']) |
413 register_Ns3AddressValue_methods(root_module, root_module['ns3::AddressValue']) |
372 register_Ns3FdNetDevice_methods(root_module, root_module['ns3::FdNetDevice']) |
414 register_Ns3FdNetDevice_methods(root_module, root_module['ns3::FdNetDevice']) |
373 register_Ns3FdNetDeviceFdReader_methods(root_module, root_module['ns3::FdNetDeviceFdReader']) |
415 register_Ns3FdNetDeviceFdReader_methods(root_module, root_module['ns3::FdNetDeviceFdReader']) |
|
416 register_Ns3HashImplementation_methods(root_module, root_module['ns3::Hash::Implementation']) |
|
417 register_Ns3HashFunctionFnv1a_methods(root_module, root_module['ns3::Hash::Function::Fnv1a']) |
|
418 register_Ns3HashFunctionHash32_methods(root_module, root_module['ns3::Hash::Function::Hash32']) |
|
419 register_Ns3HashFunctionHash64_methods(root_module, root_module['ns3::Hash::Function::Hash64']) |
|
420 register_Ns3HashFunctionMurmur3_methods(root_module, root_module['ns3::Hash::Function::Murmur3']) |
374 return |
421 return |
375 |
422 |
376 def register_Ns3Address_methods(root_module, cls): |
423 def register_Ns3Address_methods(root_module, cls): |
377 cls.add_binary_comparison_operator('<') |
424 cls.add_binary_comparison_operator('<') |
378 cls.add_binary_comparison_operator('!=') |
425 cls.add_binary_comparison_operator('!=') |
1046 ## event-id.h (module 'core'): ns3::EventImpl * ns3::EventId::PeekEventImpl() const [member function] |
1093 ## event-id.h (module 'core'): ns3::EventImpl * ns3::EventId::PeekEventImpl() const [member function] |
1047 cls.add_method('PeekEventImpl', |
1094 cls.add_method('PeekEventImpl', |
1048 'ns3::EventImpl *', |
1095 'ns3::EventImpl *', |
1049 [], |
1096 [], |
1050 is_const=True) |
1097 is_const=True) |
|
1098 return |
|
1099 |
|
1100 def register_Ns3Hasher_methods(root_module, cls): |
|
1101 ## hash.h (module 'core'): ns3::Hasher::Hasher(ns3::Hasher const & arg0) [copy constructor] |
|
1102 cls.add_constructor([param('ns3::Hasher const &', 'arg0')]) |
|
1103 ## hash.h (module 'core'): ns3::Hasher::Hasher() [constructor] |
|
1104 cls.add_constructor([]) |
|
1105 ## hash.h (module 'core'): ns3::Hasher::Hasher(ns3::Ptr<ns3::Hash::Implementation> hp) [constructor] |
|
1106 cls.add_constructor([param('ns3::Ptr< ns3::Hash::Implementation >', 'hp')]) |
|
1107 ## hash.h (module 'core'): uint32_t ns3::Hasher::GetHash32(char const * buffer, size_t const size) [member function] |
|
1108 cls.add_method('GetHash32', |
|
1109 'uint32_t', |
|
1110 [param('char const *', 'buffer'), param('size_t const', 'size')]) |
|
1111 ## hash.h (module 'core'): uint32_t ns3::Hasher::GetHash32(std::string const s) [member function] |
|
1112 cls.add_method('GetHash32', |
|
1113 'uint32_t', |
|
1114 [param('std::string const', 's')]) |
|
1115 ## hash.h (module 'core'): uint64_t ns3::Hasher::GetHash64(char const * buffer, size_t const size) [member function] |
|
1116 cls.add_method('GetHash64', |
|
1117 'uint64_t', |
|
1118 [param('char const *', 'buffer'), param('size_t const', 'size')]) |
|
1119 ## hash.h (module 'core'): uint64_t ns3::Hasher::GetHash64(std::string const s) [member function] |
|
1120 cls.add_method('GetHash64', |
|
1121 'uint64_t', |
|
1122 [param('std::string const', 's')]) |
|
1123 ## hash.h (module 'core'): ns3::Hasher & ns3::Hasher::clear() [member function] |
|
1124 cls.add_method('clear', |
|
1125 'ns3::Hasher &', |
|
1126 []) |
1051 return |
1127 return |
1052 |
1128 |
1053 def register_Ns3Ipv4Address_methods(root_module, cls): |
1129 def register_Ns3Ipv4Address_methods(root_module, cls): |
1054 cls.add_binary_comparison_operator('<') |
1130 cls.add_binary_comparison_operator('<') |
1055 cls.add_binary_comparison_operator('!=') |
1131 cls.add_binary_comparison_operator('!=') |
1352 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsSolicitedMulticast() const [member function] |
1433 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsSolicitedMulticast() const [member function] |
1353 cls.add_method('IsSolicitedMulticast', |
1434 cls.add_method('IsSolicitedMulticast', |
1354 'bool', |
1435 'bool', |
1355 [], |
1436 [], |
1356 is_const=True) |
1437 is_const=True) |
|
1438 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredAddress(ns3::Mac16Address addr, ns3::Ipv6Address prefix) [member function] |
|
1439 cls.add_method('MakeAutoconfiguredAddress', |
|
1440 'ns3::Ipv6Address', |
|
1441 [param('ns3::Mac16Address', 'addr'), param('ns3::Ipv6Address', 'prefix')], |
|
1442 is_static=True) |
1357 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredAddress(ns3::Mac48Address addr, ns3::Ipv6Address prefix) [member function] |
1443 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredAddress(ns3::Mac48Address addr, ns3::Ipv6Address prefix) [member function] |
1358 cls.add_method('MakeAutoconfiguredAddress', |
1444 cls.add_method('MakeAutoconfiguredAddress', |
1359 'ns3::Ipv6Address', |
1445 'ns3::Ipv6Address', |
1360 [param('ns3::Mac48Address', 'addr'), param('ns3::Ipv6Address', 'prefix')], |
1446 [param('ns3::Mac48Address', 'addr'), param('ns3::Ipv6Address', 'prefix')], |
1361 is_static=True) |
1447 is_static=True) |
|
1448 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredAddress(ns3::Mac64Address addr, ns3::Ipv6Address prefix) [member function] |
|
1449 cls.add_method('MakeAutoconfiguredAddress', |
|
1450 'ns3::Ipv6Address', |
|
1451 [param('ns3::Mac64Address', 'addr'), param('ns3::Ipv6Address', 'prefix')], |
|
1452 is_static=True) |
|
1453 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredLinkLocalAddress(ns3::Mac16Address mac) [member function] |
|
1454 cls.add_method('MakeAutoconfiguredLinkLocalAddress', |
|
1455 'ns3::Ipv6Address', |
|
1456 [param('ns3::Mac16Address', 'mac')], |
|
1457 is_static=True) |
1362 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredLinkLocalAddress(ns3::Mac48Address mac) [member function] |
1458 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredLinkLocalAddress(ns3::Mac48Address mac) [member function] |
1363 cls.add_method('MakeAutoconfiguredLinkLocalAddress', |
1459 cls.add_method('MakeAutoconfiguredLinkLocalAddress', |
1364 'ns3::Ipv6Address', |
1460 'ns3::Ipv6Address', |
1365 [param('ns3::Mac48Address', 'mac')], |
1461 [param('ns3::Mac48Address', 'mac')], |
|
1462 is_static=True) |
|
1463 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredLinkLocalAddress(ns3::Mac64Address mac) [member function] |
|
1464 cls.add_method('MakeAutoconfiguredLinkLocalAddress', |
|
1465 'ns3::Ipv6Address', |
|
1466 [param('ns3::Mac64Address', 'mac')], |
1366 is_static=True) |
1467 is_static=True) |
1367 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeIpv4MappedAddress(ns3::Ipv4Address addr) [member function] |
1468 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeIpv4MappedAddress(ns3::Ipv4Address addr) [member function] |
1368 cls.add_method('MakeIpv4MappedAddress', |
1469 cls.add_method('MakeIpv4MappedAddress', |
1369 'ns3::Ipv6Address', |
1470 'ns3::Ipv6Address', |
1370 [param('ns3::Ipv4Address', 'addr')], |
1471 [param('ns3::Ipv4Address', 'addr')], |
2414 ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] |
2520 ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] |
2415 cls.add_method('LookupAttributeByName', |
2521 cls.add_method('LookupAttributeByName', |
2416 'bool', |
2522 'bool', |
2417 [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info', transfer_ownership=False)], |
2523 [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info', transfer_ownership=False)], |
2418 is_const=True) |
2524 is_const=True) |
|
2525 ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByHash(uint32_t hash) [member function] |
|
2526 cls.add_method('LookupByHash', |
|
2527 'ns3::TypeId', |
|
2528 [param('uint32_t', 'hash')], |
|
2529 is_static=True) |
|
2530 ## type-id.h (module 'core'): static bool ns3::TypeId::LookupByHashFailSafe(uint32_t hash, ns3::TypeId * tid) [member function] |
|
2531 cls.add_method('LookupByHashFailSafe', |
|
2532 'bool', |
|
2533 [param('uint32_t', 'hash'), param('ns3::TypeId *', 'tid')], |
|
2534 is_static=True) |
2419 ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] |
2535 ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] |
2420 cls.add_method('LookupByName', |
2536 cls.add_method('LookupByName', |
2421 'ns3::TypeId', |
2537 'ns3::TypeId', |
2422 [param('std::string', 'name')], |
2538 [param('std::string', 'name')], |
2423 is_static=True) |
2539 is_static=True) |
2905 'void', |
3021 'void', |
2906 [], |
3022 [], |
2907 is_static=True) |
3023 is_static=True) |
2908 return |
3024 return |
2909 |
3025 |
|
3026 def register_Ns3SimpleRefCount__Ns3HashImplementation_Ns3Empty_Ns3DefaultDeleter__lt__ns3HashImplementation__gt___methods(root_module, cls): |
|
3027 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Hash::Implementation, ns3::empty, ns3::DefaultDeleter<ns3::Hash::Implementation> >::SimpleRefCount() [constructor] |
|
3028 cls.add_constructor([]) |
|
3029 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Hash::Implementation, ns3::empty, ns3::DefaultDeleter<ns3::Hash::Implementation> >::SimpleRefCount(ns3::SimpleRefCount<ns3::Hash::Implementation, ns3::empty, ns3::DefaultDeleter<ns3::Hash::Implementation> > const & o) [copy constructor] |
|
3030 cls.add_constructor([param('ns3::SimpleRefCount< ns3::Hash::Implementation, ns3::empty, ns3::DefaultDeleter< ns3::Hash::Implementation > > const &', 'o')]) |
|
3031 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::Hash::Implementation, ns3::empty, ns3::DefaultDeleter<ns3::Hash::Implementation> >::Cleanup() [member function] |
|
3032 cls.add_method('Cleanup', |
|
3033 'void', |
|
3034 [], |
|
3035 is_static=True) |
|
3036 return |
|
3037 |
2910 def register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, cls): |
3038 def register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, cls): |
2911 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >::SimpleRefCount() [constructor] |
3039 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >::SimpleRefCount() [constructor] |
2912 cls.add_constructor([]) |
3040 cls.add_constructor([]) |
2913 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >::SimpleRefCount(ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> > const & o) [copy constructor] |
3041 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >::SimpleRefCount(ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> > const & o) [copy constructor] |
2914 cls.add_constructor([param('ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter< ns3::NixVector > > const &', 'o')]) |
3042 cls.add_constructor([param('ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter< ns3::NixVector > > const &', 'o')]) |
3124 ## nstime.h (module 'core'): bool ns3::Time::IsZero() const [member function] |
3252 ## nstime.h (module 'core'): bool ns3::Time::IsZero() const [member function] |
3125 cls.add_method('IsZero', |
3253 cls.add_method('IsZero', |
3126 'bool', |
3254 'bool', |
3127 [], |
3255 [], |
3128 is_const=True) |
3256 is_const=True) |
3129 ## nstime.h (module 'core'): static ns3::Time ns3::Time::MAX() [member function] |
3257 ## nstime.h (module 'core'): static ns3::Time ns3::Time::Max() [member function] |
3130 cls.add_method('MAX', |
3258 cls.add_method('Max', |
3131 'ns3::Time', |
3259 'ns3::Time', |
3132 [], |
3260 [], |
3133 is_static=True) |
3261 is_static=True) |
3134 ## nstime.h (module 'core'): static ns3::Time ns3::Time::MIN() [member function] |
3262 ## nstime.h (module 'core'): static ns3::Time ns3::Time::Min() [member function] |
3135 cls.add_method('MIN', |
3263 cls.add_method('Min', |
3136 'ns3::Time', |
3264 'ns3::Time', |
3137 [], |
3265 [], |
3138 is_static=True) |
3266 is_static=True) |
3139 ## nstime.h (module 'core'): static void ns3::Time::SetResolution(ns3::Time::Unit resolution) [member function] |
3267 ## nstime.h (module 'core'): static void ns3::Time::SetResolution(ns3::Time::Unit resolution) [member function] |
3140 cls.add_method('SetResolution', |
3268 cls.add_method('SetResolution', |
3141 'void', |
3269 'void', |
3142 [param('ns3::Time::Unit', 'resolution')], |
3270 [param('ns3::Time::Unit', 'resolution')], |
|
3271 is_static=True) |
|
3272 ## nstime.h (module 'core'): static bool ns3::Time::StaticInit() [member function] |
|
3273 cls.add_method('StaticInit', |
|
3274 'bool', |
|
3275 [], |
3143 is_static=True) |
3276 is_static=True) |
3144 ## nstime.h (module 'core'): ns3::int64x64_t ns3::Time::To(ns3::Time::Unit timeUnit) const [member function] |
3277 ## nstime.h (module 'core'): ns3::int64x64_t ns3::Time::To(ns3::Time::Unit timeUnit) const [member function] |
3145 cls.add_method('To', |
3278 cls.add_method('To', |
3146 'ns3::int64x64_t', |
3279 'ns3::int64x64_t', |
3147 [param('ns3::Time::Unit', 'timeUnit')], |
3280 [param('ns3::Time::Unit', 'timeUnit')], |
4528 'ns3::FdReader::Data', |
4661 'ns3::FdReader::Data', |
4529 [], |
4662 [], |
4530 visibility='private', is_virtual=True) |
4663 visibility='private', is_virtual=True) |
4531 return |
4664 return |
4532 |
4665 |
|
4666 def register_Ns3HashImplementation_methods(root_module, cls): |
|
4667 ## hash-function.h (module 'core'): ns3::Hash::Implementation::Implementation(ns3::Hash::Implementation const & arg0) [copy constructor] |
|
4668 cls.add_constructor([param('ns3::Hash::Implementation const &', 'arg0')]) |
|
4669 ## hash-function.h (module 'core'): ns3::Hash::Implementation::Implementation() [constructor] |
|
4670 cls.add_constructor([]) |
|
4671 ## hash-function.h (module 'core'): uint32_t ns3::Hash::Implementation::GetHash32(char const * buffer, size_t const size) [member function] |
|
4672 cls.add_method('GetHash32', |
|
4673 'uint32_t', |
|
4674 [param('char const *', 'buffer'), param('size_t const', 'size')], |
|
4675 is_pure_virtual=True, is_virtual=True) |
|
4676 ## hash-function.h (module 'core'): uint64_t ns3::Hash::Implementation::GetHash64(char const * buffer, size_t const size) [member function] |
|
4677 cls.add_method('GetHash64', |
|
4678 'uint64_t', |
|
4679 [param('char const *', 'buffer'), param('size_t const', 'size')], |
|
4680 is_virtual=True) |
|
4681 ## hash-function.h (module 'core'): void ns3::Hash::Implementation::clear() [member function] |
|
4682 cls.add_method('clear', |
|
4683 'void', |
|
4684 [], |
|
4685 is_pure_virtual=True, is_virtual=True) |
|
4686 return |
|
4687 |
|
4688 def register_Ns3HashFunctionFnv1a_methods(root_module, cls): |
|
4689 ## hash-fnv.h (module 'core'): ns3::Hash::Function::Fnv1a::Fnv1a(ns3::Hash::Function::Fnv1a const & arg0) [copy constructor] |
|
4690 cls.add_constructor([param('ns3::Hash::Function::Fnv1a const &', 'arg0')]) |
|
4691 ## hash-fnv.h (module 'core'): ns3::Hash::Function::Fnv1a::Fnv1a() [constructor] |
|
4692 cls.add_constructor([]) |
|
4693 ## hash-fnv.h (module 'core'): uint32_t ns3::Hash::Function::Fnv1a::GetHash32(char const * buffer, size_t const size) [member function] |
|
4694 cls.add_method('GetHash32', |
|
4695 'uint32_t', |
|
4696 [param('char const *', 'buffer'), param('size_t const', 'size')], |
|
4697 is_virtual=True) |
|
4698 ## hash-fnv.h (module 'core'): uint64_t ns3::Hash::Function::Fnv1a::GetHash64(char const * buffer, size_t const size) [member function] |
|
4699 cls.add_method('GetHash64', |
|
4700 'uint64_t', |
|
4701 [param('char const *', 'buffer'), param('size_t const', 'size')], |
|
4702 is_virtual=True) |
|
4703 ## hash-fnv.h (module 'core'): void ns3::Hash::Function::Fnv1a::clear() [member function] |
|
4704 cls.add_method('clear', |
|
4705 'void', |
|
4706 [], |
|
4707 is_virtual=True) |
|
4708 return |
|
4709 |
|
4710 def register_Ns3HashFunctionHash32_methods(root_module, cls): |
|
4711 ## hash-function.h (module 'core'): ns3::Hash::Function::Hash32::Hash32(ns3::Hash::Function::Hash32 const & arg0) [copy constructor] |
|
4712 cls.add_constructor([param('ns3::Hash::Function::Hash32 const &', 'arg0')]) |
|
4713 ## hash-function.h (module 'core'): ns3::Hash::Function::Hash32::Hash32(ns3::Hash::Hash32Function_ptr hp) [constructor] |
|
4714 cls.add_constructor([param('ns3::Hash::Hash32Function_ptr', 'hp')]) |
|
4715 ## hash-function.h (module 'core'): uint32_t ns3::Hash::Function::Hash32::GetHash32(char const * buffer, size_t const size) [member function] |
|
4716 cls.add_method('GetHash32', |
|
4717 'uint32_t', |
|
4718 [param('char const *', 'buffer'), param('size_t const', 'size')], |
|
4719 is_virtual=True) |
|
4720 ## hash-function.h (module 'core'): void ns3::Hash::Function::Hash32::clear() [member function] |
|
4721 cls.add_method('clear', |
|
4722 'void', |
|
4723 [], |
|
4724 is_virtual=True) |
|
4725 return |
|
4726 |
|
4727 def register_Ns3HashFunctionHash64_methods(root_module, cls): |
|
4728 ## hash-function.h (module 'core'): ns3::Hash::Function::Hash64::Hash64(ns3::Hash::Function::Hash64 const & arg0) [copy constructor] |
|
4729 cls.add_constructor([param('ns3::Hash::Function::Hash64 const &', 'arg0')]) |
|
4730 ## hash-function.h (module 'core'): ns3::Hash::Function::Hash64::Hash64(ns3::Hash::Hash64Function_ptr hp) [constructor] |
|
4731 cls.add_constructor([param('ns3::Hash::Hash64Function_ptr', 'hp')]) |
|
4732 ## hash-function.h (module 'core'): uint32_t ns3::Hash::Function::Hash64::GetHash32(char const * buffer, size_t const size) [member function] |
|
4733 cls.add_method('GetHash32', |
|
4734 'uint32_t', |
|
4735 [param('char const *', 'buffer'), param('size_t const', 'size')], |
|
4736 is_virtual=True) |
|
4737 ## hash-function.h (module 'core'): uint64_t ns3::Hash::Function::Hash64::GetHash64(char const * buffer, size_t const size) [member function] |
|
4738 cls.add_method('GetHash64', |
|
4739 'uint64_t', |
|
4740 [param('char const *', 'buffer'), param('size_t const', 'size')], |
|
4741 is_virtual=True) |
|
4742 ## hash-function.h (module 'core'): void ns3::Hash::Function::Hash64::clear() [member function] |
|
4743 cls.add_method('clear', |
|
4744 'void', |
|
4745 [], |
|
4746 is_virtual=True) |
|
4747 return |
|
4748 |
|
4749 def register_Ns3HashFunctionMurmur3_methods(root_module, cls): |
|
4750 ## hash-murmur3.h (module 'core'): ns3::Hash::Function::Murmur3::Murmur3(ns3::Hash::Function::Murmur3 const & arg0) [copy constructor] |
|
4751 cls.add_constructor([param('ns3::Hash::Function::Murmur3 const &', 'arg0')]) |
|
4752 ## hash-murmur3.h (module 'core'): ns3::Hash::Function::Murmur3::Murmur3() [constructor] |
|
4753 cls.add_constructor([]) |
|
4754 ## hash-murmur3.h (module 'core'): uint32_t ns3::Hash::Function::Murmur3::GetHash32(char const * buffer, size_t const size) [member function] |
|
4755 cls.add_method('GetHash32', |
|
4756 'uint32_t', |
|
4757 [param('char const *', 'buffer'), param('size_t const', 'size')], |
|
4758 is_virtual=True) |
|
4759 ## hash-murmur3.h (module 'core'): uint64_t ns3::Hash::Function::Murmur3::GetHash64(char const * buffer, size_t const size) [member function] |
|
4760 cls.add_method('GetHash64', |
|
4761 'uint64_t', |
|
4762 [param('char const *', 'buffer'), param('size_t const', 'size')], |
|
4763 is_virtual=True) |
|
4764 ## hash-murmur3.h (module 'core'): void ns3::Hash::Function::Murmur3::clear() [member function] |
|
4765 cls.add_method('clear', |
|
4766 'void', |
|
4767 [], |
|
4768 is_virtual=True) |
|
4769 return |
|
4770 |
4533 def register_functions(root_module): |
4771 def register_functions(root_module): |
4534 module = root_module |
4772 module = root_module |
4535 register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) |
4773 register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) |
|
4774 register_functions_ns3_Hash(module.get_submodule('Hash'), root_module) |
4536 return |
4775 return |
4537 |
4776 |
4538 def register_functions_ns3_FatalImpl(module, root_module): |
4777 def register_functions_ns3_FatalImpl(module, root_module): |
|
4778 return |
|
4779 |
|
4780 def register_functions_ns3_Hash(module, root_module): |
|
4781 register_functions_ns3_Hash_Function(module.get_submodule('Function'), root_module) |
|
4782 return |
|
4783 |
|
4784 def register_functions_ns3_Hash_Function(module, root_module): |
4539 return |
4785 return |
4540 |
4786 |
4541 def main(): |
4787 def main(): |
4542 out = FileCodeSink(sys.stdout) |
4788 out = FileCodeSink(sys.stdout) |
4543 root_module = module_init() |
4789 root_module = module_init() |