40 module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::ByteTagList::Iterator']) |
40 module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::ByteTagList::Iterator']) |
41 ## callback.h (module 'core'): ns3::CallbackBase [class] |
41 ## callback.h (module 'core'): ns3::CallbackBase [class] |
42 module.add_class('CallbackBase', import_from_module='ns.core') |
42 module.add_class('CallbackBase', import_from_module='ns.core') |
43 ## event-id.h (module 'core'): ns3::EventId [class] |
43 ## event-id.h (module 'core'): ns3::EventId [class] |
44 module.add_class('EventId', import_from_module='ns.core') |
44 module.add_class('EventId', import_from_module='ns.core') |
|
45 ## hash.h (module 'core'): ns3::Hasher [class] |
|
46 module.add_class('Hasher', import_from_module='ns.core') |
45 ## distributed-simulator-impl.h (module 'mpi'): ns3::LbtsMessage [class] |
47 ## distributed-simulator-impl.h (module 'mpi'): ns3::LbtsMessage [class] |
46 module.add_class('LbtsMessage') |
48 module.add_class('LbtsMessage') |
47 ## mpi-interface.h (module 'mpi'): ns3::MpiInterface [class] |
49 ## mpi-interface.h (module 'mpi'): ns3::MpiInterface [class] |
48 module.add_class('MpiInterface') |
50 module.add_class('MpiInterface') |
49 ## object-base.h (module 'core'): ns3::ObjectBase [class] |
51 ## object-base.h (module 'core'): ns3::ObjectBase [class] |
112 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::AttributeValue', 'ns3::empty', 'ns3::DefaultDeleter<ns3::AttributeValue>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) |
114 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::AttributeValue', 'ns3::empty', 'ns3::DefaultDeleter<ns3::AttributeValue>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) |
113 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> > [class] |
115 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> > [class] |
114 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')) |
116 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')) |
115 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> > [class] |
117 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> > [class] |
116 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')) |
118 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')) |
|
119 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Hash::Implementation, ns3::empty, ns3::DefaultDeleter<ns3::Hash::Implementation> > [class] |
|
120 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')) |
117 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> > [class] |
121 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> > [class] |
118 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')) |
122 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')) |
119 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> > [class] |
123 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> > [class] |
120 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Packet', 'ns3::empty', 'ns3::DefaultDeleter<ns3::Packet>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) |
124 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Packet', 'ns3::empty', 'ns3::DefaultDeleter<ns3::Packet>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) |
121 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> > [class] |
125 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> > [class] |
170 ## Register a nested module for the namespace FatalImpl |
174 ## Register a nested module for the namespace FatalImpl |
171 |
175 |
172 nested_module = module.add_cpp_namespace('FatalImpl') |
176 nested_module = module.add_cpp_namespace('FatalImpl') |
173 register_types_ns3_FatalImpl(nested_module) |
177 register_types_ns3_FatalImpl(nested_module) |
174 |
178 |
|
179 |
|
180 ## Register a nested module for the namespace Hash |
|
181 |
|
182 nested_module = module.add_cpp_namespace('Hash') |
|
183 register_types_ns3_Hash(nested_module) |
|
184 |
175 |
185 |
176 def register_types_ns3_FatalImpl(module): |
186 def register_types_ns3_FatalImpl(module): |
177 root_module = module.get_root() |
187 root_module = module.get_root() |
178 |
188 |
|
189 |
|
190 def register_types_ns3_Hash(module): |
|
191 root_module = module.get_root() |
|
192 |
|
193 ## hash-function.h (module 'core'): ns3::Hash::Implementation [class] |
|
194 module.add_class('Implementation', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::Hash::Implementation, ns3::empty, ns3::DefaultDeleter<ns3::Hash::Implementation> >']) |
|
195 typehandlers.add_type_alias('uint32_t ( * ) ( char const *, size_t ) *', 'ns3::Hash::Hash32Function_ptr') |
|
196 typehandlers.add_type_alias('uint32_t ( * ) ( char const *, size_t ) **', 'ns3::Hash::Hash32Function_ptr*') |
|
197 typehandlers.add_type_alias('uint32_t ( * ) ( char const *, size_t ) *&', 'ns3::Hash::Hash32Function_ptr&') |
|
198 typehandlers.add_type_alias('uint64_t ( * ) ( char const *, size_t ) *', 'ns3::Hash::Hash64Function_ptr') |
|
199 typehandlers.add_type_alias('uint64_t ( * ) ( char const *, size_t ) **', 'ns3::Hash::Hash64Function_ptr*') |
|
200 typehandlers.add_type_alias('uint64_t ( * ) ( char const *, size_t ) *&', 'ns3::Hash::Hash64Function_ptr&') |
|
201 |
|
202 ## Register a nested module for the namespace Function |
|
203 |
|
204 nested_module = module.add_cpp_namespace('Function') |
|
205 register_types_ns3_Hash_Function(nested_module) |
|
206 |
|
207 |
|
208 def register_types_ns3_Hash_Function(module): |
|
209 root_module = module.get_root() |
|
210 |
|
211 ## hash-fnv.h (module 'core'): ns3::Hash::Function::Fnv1a [class] |
|
212 module.add_class('Fnv1a', import_from_module='ns.core', parent=root_module['ns3::Hash::Implementation']) |
|
213 ## hash-function.h (module 'core'): ns3::Hash::Function::Hash32 [class] |
|
214 module.add_class('Hash32', import_from_module='ns.core', parent=root_module['ns3::Hash::Implementation']) |
|
215 ## hash-function.h (module 'core'): ns3::Hash::Function::Hash64 [class] |
|
216 module.add_class('Hash64', import_from_module='ns.core', parent=root_module['ns3::Hash::Implementation']) |
|
217 ## hash-murmur3.h (module 'core'): ns3::Hash::Function::Murmur3 [class] |
|
218 module.add_class('Murmur3', import_from_module='ns.core', parent=root_module['ns3::Hash::Implementation']) |
179 |
219 |
180 def register_methods(root_module): |
220 def register_methods(root_module): |
181 register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) |
221 register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) |
182 register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) |
222 register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) |
183 register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer']) |
223 register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer']) |
187 register_Ns3ByteTagList_methods(root_module, root_module['ns3::ByteTagList']) |
227 register_Ns3ByteTagList_methods(root_module, root_module['ns3::ByteTagList']) |
188 register_Ns3ByteTagListIterator_methods(root_module, root_module['ns3::ByteTagList::Iterator']) |
228 register_Ns3ByteTagListIterator_methods(root_module, root_module['ns3::ByteTagList::Iterator']) |
189 register_Ns3ByteTagListIteratorItem_methods(root_module, root_module['ns3::ByteTagList::Iterator::Item']) |
229 register_Ns3ByteTagListIteratorItem_methods(root_module, root_module['ns3::ByteTagList::Iterator::Item']) |
190 register_Ns3CallbackBase_methods(root_module, root_module['ns3::CallbackBase']) |
230 register_Ns3CallbackBase_methods(root_module, root_module['ns3::CallbackBase']) |
191 register_Ns3EventId_methods(root_module, root_module['ns3::EventId']) |
231 register_Ns3EventId_methods(root_module, root_module['ns3::EventId']) |
|
232 register_Ns3Hasher_methods(root_module, root_module['ns3::Hasher']) |
192 register_Ns3LbtsMessage_methods(root_module, root_module['ns3::LbtsMessage']) |
233 register_Ns3LbtsMessage_methods(root_module, root_module['ns3::LbtsMessage']) |
193 register_Ns3MpiInterface_methods(root_module, root_module['ns3::MpiInterface']) |
234 register_Ns3MpiInterface_methods(root_module, root_module['ns3::MpiInterface']) |
194 register_Ns3ObjectBase_methods(root_module, root_module['ns3::ObjectBase']) |
235 register_Ns3ObjectBase_methods(root_module, root_module['ns3::ObjectBase']) |
195 register_Ns3ObjectDeleter_methods(root_module, root_module['ns3::ObjectDeleter']) |
236 register_Ns3ObjectDeleter_methods(root_module, root_module['ns3::ObjectDeleter']) |
196 register_Ns3ObjectFactory_methods(root_module, root_module['ns3::ObjectFactory']) |
237 register_Ns3ObjectFactory_methods(root_module, root_module['ns3::ObjectFactory']) |
220 register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >']) |
261 register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >']) |
221 register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeChecker__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >']) |
262 register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeChecker__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >']) |
222 register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >']) |
263 register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >']) |
223 register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >']) |
264 register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >']) |
224 register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >']) |
265 register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >']) |
|
266 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> >']) |
225 register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >']) |
267 register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >']) |
226 register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >']) |
268 register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >']) |
227 register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >']) |
269 register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >']) |
228 register_Ns3SimulatorImpl_methods(root_module, root_module['ns3::SimulatorImpl']) |
270 register_Ns3SimulatorImpl_methods(root_module, root_module['ns3::SimulatorImpl']) |
229 register_Ns3Time_methods(root_module, root_module['ns3::Time']) |
271 register_Ns3Time_methods(root_module, root_module['ns3::Time']) |
244 register_Ns3ObjectFactoryValue_methods(root_module, root_module['ns3::ObjectFactoryValue']) |
286 register_Ns3ObjectFactoryValue_methods(root_module, root_module['ns3::ObjectFactoryValue']) |
245 register_Ns3Packet_methods(root_module, root_module['ns3::Packet']) |
287 register_Ns3Packet_methods(root_module, root_module['ns3::Packet']) |
246 register_Ns3TimeValue_methods(root_module, root_module['ns3::TimeValue']) |
288 register_Ns3TimeValue_methods(root_module, root_module['ns3::TimeValue']) |
247 register_Ns3TypeIdChecker_methods(root_module, root_module['ns3::TypeIdChecker']) |
289 register_Ns3TypeIdChecker_methods(root_module, root_module['ns3::TypeIdChecker']) |
248 register_Ns3TypeIdValue_methods(root_module, root_module['ns3::TypeIdValue']) |
290 register_Ns3TypeIdValue_methods(root_module, root_module['ns3::TypeIdValue']) |
|
291 register_Ns3HashImplementation_methods(root_module, root_module['ns3::Hash::Implementation']) |
|
292 register_Ns3HashFunctionFnv1a_methods(root_module, root_module['ns3::Hash::Function::Fnv1a']) |
|
293 register_Ns3HashFunctionHash32_methods(root_module, root_module['ns3::Hash::Function::Hash32']) |
|
294 register_Ns3HashFunctionHash64_methods(root_module, root_module['ns3::Hash::Function::Hash64']) |
|
295 register_Ns3HashFunctionMurmur3_methods(root_module, root_module['ns3::Hash::Function::Murmur3']) |
249 return |
296 return |
250 |
297 |
251 def register_Ns3AttributeConstructionList_methods(root_module, cls): |
298 def register_Ns3AttributeConstructionList_methods(root_module, cls): |
252 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] |
299 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] |
253 cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) |
300 cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) |
699 'ns3::EventImpl *', |
746 'ns3::EventImpl *', |
700 [], |
747 [], |
701 is_const=True) |
748 is_const=True) |
702 return |
749 return |
703 |
750 |
|
751 def register_Ns3Hasher_methods(root_module, cls): |
|
752 ## hash.h (module 'core'): ns3::Hasher::Hasher(ns3::Hasher const & arg0) [copy constructor] |
|
753 cls.add_constructor([param('ns3::Hasher const &', 'arg0')]) |
|
754 ## hash.h (module 'core'): ns3::Hasher::Hasher() [constructor] |
|
755 cls.add_constructor([]) |
|
756 ## hash.h (module 'core'): ns3::Hasher::Hasher(ns3::Ptr<ns3::Hash::Implementation> hp) [constructor] |
|
757 cls.add_constructor([param('ns3::Ptr< ns3::Hash::Implementation >', 'hp')]) |
|
758 ## hash.h (module 'core'): uint32_t ns3::Hasher::GetHash32(char const * buffer, size_t const size) [member function] |
|
759 cls.add_method('GetHash32', |
|
760 'uint32_t', |
|
761 [param('char const *', 'buffer'), param('size_t const', 'size')]) |
|
762 ## hash.h (module 'core'): uint32_t ns3::Hasher::GetHash32(std::string const s) [member function] |
|
763 cls.add_method('GetHash32', |
|
764 'uint32_t', |
|
765 [param('std::string const', 's')]) |
|
766 ## hash.h (module 'core'): uint64_t ns3::Hasher::GetHash64(char const * buffer, size_t const size) [member function] |
|
767 cls.add_method('GetHash64', |
|
768 'uint64_t', |
|
769 [param('char const *', 'buffer'), param('size_t const', 'size')]) |
|
770 ## hash.h (module 'core'): uint64_t ns3::Hasher::GetHash64(std::string const s) [member function] |
|
771 cls.add_method('GetHash64', |
|
772 'uint64_t', |
|
773 [param('std::string const', 's')]) |
|
774 ## hash.h (module 'core'): ns3::Hasher & ns3::Hasher::clear() [member function] |
|
775 cls.add_method('clear', |
|
776 'ns3::Hasher &', |
|
777 []) |
|
778 return |
|
779 |
704 def register_Ns3LbtsMessage_methods(root_module, cls): |
780 def register_Ns3LbtsMessage_methods(root_module, cls): |
705 ## distributed-simulator-impl.h (module 'mpi'): ns3::LbtsMessage::LbtsMessage(ns3::LbtsMessage const & arg0) [copy constructor] |
781 ## distributed-simulator-impl.h (module 'mpi'): ns3::LbtsMessage::LbtsMessage(ns3::LbtsMessage const & arg0) [copy constructor] |
706 cls.add_constructor([param('ns3::LbtsMessage const &', 'arg0')]) |
782 cls.add_constructor([param('ns3::LbtsMessage const &', 'arg0')]) |
707 ## distributed-simulator-impl.h (module 'mpi'): ns3::LbtsMessage::LbtsMessage() [constructor] |
783 ## distributed-simulator-impl.h (module 'mpi'): ns3::LbtsMessage::LbtsMessage() [constructor] |
708 cls.add_constructor([]) |
784 cls.add_constructor([]) |
709 ## distributed-simulator-impl.h (module 'mpi'): ns3::LbtsMessage::LbtsMessage(uint32_t rxc, uint32_t txc, uint32_t id, ns3::Time const & t) [constructor] |
785 ## distributed-simulator-impl.h (module 'mpi'): ns3::LbtsMessage::LbtsMessage(uint32_t rxc, uint32_t txc, uint32_t id, bool isFinished, ns3::Time const & t) [constructor] |
710 cls.add_constructor([param('uint32_t', 'rxc'), param('uint32_t', 'txc'), param('uint32_t', 'id'), param('ns3::Time const &', 't')]) |
786 cls.add_constructor([param('uint32_t', 'rxc'), param('uint32_t', 'txc'), param('uint32_t', 'id'), param('bool', 'isFinished'), param('ns3::Time const &', 't')]) |
711 ## distributed-simulator-impl.h (module 'mpi'): uint32_t ns3::LbtsMessage::GetMyId() [member function] |
787 ## distributed-simulator-impl.h (module 'mpi'): uint32_t ns3::LbtsMessage::GetMyId() [member function] |
712 cls.add_method('GetMyId', |
788 cls.add_method('GetMyId', |
713 'uint32_t', |
789 'uint32_t', |
714 []) |
790 []) |
715 ## distributed-simulator-impl.h (module 'mpi'): uint32_t ns3::LbtsMessage::GetRxCount() [member function] |
791 ## distributed-simulator-impl.h (module 'mpi'): uint32_t ns3::LbtsMessage::GetRxCount() [member function] |
1319 ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] |
1404 ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] |
1320 cls.add_method('LookupAttributeByName', |
1405 cls.add_method('LookupAttributeByName', |
1321 'bool', |
1406 'bool', |
1322 [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info', transfer_ownership=False)], |
1407 [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info', transfer_ownership=False)], |
1323 is_const=True) |
1408 is_const=True) |
|
1409 ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByHash(uint32_t hash) [member function] |
|
1410 cls.add_method('LookupByHash', |
|
1411 'ns3::TypeId', |
|
1412 [param('uint32_t', 'hash')], |
|
1413 is_static=True) |
|
1414 ## type-id.h (module 'core'): static bool ns3::TypeId::LookupByHashFailSafe(uint32_t hash, ns3::TypeId * tid) [member function] |
|
1415 cls.add_method('LookupByHashFailSafe', |
|
1416 'bool', |
|
1417 [param('uint32_t', 'hash'), param('ns3::TypeId *', 'tid')], |
|
1418 is_static=True) |
1324 ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] |
1419 ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] |
1325 cls.add_method('LookupByName', |
1420 cls.add_method('LookupByName', |
1326 'ns3::TypeId', |
1421 'ns3::TypeId', |
1327 [param('std::string', 'name')], |
1422 [param('std::string', 'name')], |
1328 is_static=True) |
1423 is_static=True) |
1746 'void', |
1841 'void', |
1747 [], |
1842 [], |
1748 is_static=True) |
1843 is_static=True) |
1749 return |
1844 return |
1750 |
1845 |
|
1846 def register_Ns3SimpleRefCount__Ns3HashImplementation_Ns3Empty_Ns3DefaultDeleter__lt__ns3HashImplementation__gt___methods(root_module, cls): |
|
1847 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Hash::Implementation, ns3::empty, ns3::DefaultDeleter<ns3::Hash::Implementation> >::SimpleRefCount() [constructor] |
|
1848 cls.add_constructor([]) |
|
1849 ## 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] |
|
1850 cls.add_constructor([param('ns3::SimpleRefCount< ns3::Hash::Implementation, ns3::empty, ns3::DefaultDeleter< ns3::Hash::Implementation > > const &', 'o')]) |
|
1851 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::Hash::Implementation, ns3::empty, ns3::DefaultDeleter<ns3::Hash::Implementation> >::Cleanup() [member function] |
|
1852 cls.add_method('Cleanup', |
|
1853 'void', |
|
1854 [], |
|
1855 is_static=True) |
|
1856 return |
|
1857 |
1751 def register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, cls): |
1858 def register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, cls): |
1752 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >::SimpleRefCount() [constructor] |
1859 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >::SimpleRefCount() [constructor] |
1753 cls.add_constructor([]) |
1860 cls.add_constructor([]) |
1754 ## 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] |
1861 ## 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] |
1755 cls.add_constructor([param('ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter< ns3::NixVector > > const &', 'o')]) |
1862 cls.add_constructor([param('ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter< ns3::NixVector > > const &', 'o')]) |
2763 cls.add_method('Set', |
2870 cls.add_method('Set', |
2764 'void', |
2871 'void', |
2765 [param('ns3::TypeId const &', 'value')]) |
2872 [param('ns3::TypeId const &', 'value')]) |
2766 return |
2873 return |
2767 |
2874 |
|
2875 def register_Ns3HashImplementation_methods(root_module, cls): |
|
2876 ## hash-function.h (module 'core'): ns3::Hash::Implementation::Implementation(ns3::Hash::Implementation const & arg0) [copy constructor] |
|
2877 cls.add_constructor([param('ns3::Hash::Implementation const &', 'arg0')]) |
|
2878 ## hash-function.h (module 'core'): ns3::Hash::Implementation::Implementation() [constructor] |
|
2879 cls.add_constructor([]) |
|
2880 ## hash-function.h (module 'core'): uint32_t ns3::Hash::Implementation::GetHash32(char const * buffer, size_t const size) [member function] |
|
2881 cls.add_method('GetHash32', |
|
2882 'uint32_t', |
|
2883 [param('char const *', 'buffer'), param('size_t const', 'size')], |
|
2884 is_pure_virtual=True, is_virtual=True) |
|
2885 ## hash-function.h (module 'core'): uint64_t ns3::Hash::Implementation::GetHash64(char const * buffer, size_t const size) [member function] |
|
2886 cls.add_method('GetHash64', |
|
2887 'uint64_t', |
|
2888 [param('char const *', 'buffer'), param('size_t const', 'size')], |
|
2889 is_virtual=True) |
|
2890 ## hash-function.h (module 'core'): void ns3::Hash::Implementation::clear() [member function] |
|
2891 cls.add_method('clear', |
|
2892 'void', |
|
2893 [], |
|
2894 is_pure_virtual=True, is_virtual=True) |
|
2895 return |
|
2896 |
|
2897 def register_Ns3HashFunctionFnv1a_methods(root_module, cls): |
|
2898 ## hash-fnv.h (module 'core'): ns3::Hash::Function::Fnv1a::Fnv1a(ns3::Hash::Function::Fnv1a const & arg0) [copy constructor] |
|
2899 cls.add_constructor([param('ns3::Hash::Function::Fnv1a const &', 'arg0')]) |
|
2900 ## hash-fnv.h (module 'core'): ns3::Hash::Function::Fnv1a::Fnv1a() [constructor] |
|
2901 cls.add_constructor([]) |
|
2902 ## hash-fnv.h (module 'core'): uint32_t ns3::Hash::Function::Fnv1a::GetHash32(char const * buffer, size_t const size) [member function] |
|
2903 cls.add_method('GetHash32', |
|
2904 'uint32_t', |
|
2905 [param('char const *', 'buffer'), param('size_t const', 'size')], |
|
2906 is_virtual=True) |
|
2907 ## hash-fnv.h (module 'core'): uint64_t ns3::Hash::Function::Fnv1a::GetHash64(char const * buffer, size_t const size) [member function] |
|
2908 cls.add_method('GetHash64', |
|
2909 'uint64_t', |
|
2910 [param('char const *', 'buffer'), param('size_t const', 'size')], |
|
2911 is_virtual=True) |
|
2912 ## hash-fnv.h (module 'core'): void ns3::Hash::Function::Fnv1a::clear() [member function] |
|
2913 cls.add_method('clear', |
|
2914 'void', |
|
2915 [], |
|
2916 is_virtual=True) |
|
2917 return |
|
2918 |
|
2919 def register_Ns3HashFunctionHash32_methods(root_module, cls): |
|
2920 ## hash-function.h (module 'core'): ns3::Hash::Function::Hash32::Hash32(ns3::Hash::Function::Hash32 const & arg0) [copy constructor] |
|
2921 cls.add_constructor([param('ns3::Hash::Function::Hash32 const &', 'arg0')]) |
|
2922 ## hash-function.h (module 'core'): ns3::Hash::Function::Hash32::Hash32(ns3::Hash::Hash32Function_ptr hp) [constructor] |
|
2923 cls.add_constructor([param('ns3::Hash::Hash32Function_ptr', 'hp')]) |
|
2924 ## hash-function.h (module 'core'): uint32_t ns3::Hash::Function::Hash32::GetHash32(char const * buffer, size_t const size) [member function] |
|
2925 cls.add_method('GetHash32', |
|
2926 'uint32_t', |
|
2927 [param('char const *', 'buffer'), param('size_t const', 'size')], |
|
2928 is_virtual=True) |
|
2929 ## hash-function.h (module 'core'): void ns3::Hash::Function::Hash32::clear() [member function] |
|
2930 cls.add_method('clear', |
|
2931 'void', |
|
2932 [], |
|
2933 is_virtual=True) |
|
2934 return |
|
2935 |
|
2936 def register_Ns3HashFunctionHash64_methods(root_module, cls): |
|
2937 ## hash-function.h (module 'core'): ns3::Hash::Function::Hash64::Hash64(ns3::Hash::Function::Hash64 const & arg0) [copy constructor] |
|
2938 cls.add_constructor([param('ns3::Hash::Function::Hash64 const &', 'arg0')]) |
|
2939 ## hash-function.h (module 'core'): ns3::Hash::Function::Hash64::Hash64(ns3::Hash::Hash64Function_ptr hp) [constructor] |
|
2940 cls.add_constructor([param('ns3::Hash::Hash64Function_ptr', 'hp')]) |
|
2941 ## hash-function.h (module 'core'): uint32_t ns3::Hash::Function::Hash64::GetHash32(char const * buffer, size_t const size) [member function] |
|
2942 cls.add_method('GetHash32', |
|
2943 'uint32_t', |
|
2944 [param('char const *', 'buffer'), param('size_t const', 'size')], |
|
2945 is_virtual=True) |
|
2946 ## hash-function.h (module 'core'): uint64_t ns3::Hash::Function::Hash64::GetHash64(char const * buffer, size_t const size) [member function] |
|
2947 cls.add_method('GetHash64', |
|
2948 'uint64_t', |
|
2949 [param('char const *', 'buffer'), param('size_t const', 'size')], |
|
2950 is_virtual=True) |
|
2951 ## hash-function.h (module 'core'): void ns3::Hash::Function::Hash64::clear() [member function] |
|
2952 cls.add_method('clear', |
|
2953 'void', |
|
2954 [], |
|
2955 is_virtual=True) |
|
2956 return |
|
2957 |
|
2958 def register_Ns3HashFunctionMurmur3_methods(root_module, cls): |
|
2959 ## hash-murmur3.h (module 'core'): ns3::Hash::Function::Murmur3::Murmur3(ns3::Hash::Function::Murmur3 const & arg0) [copy constructor] |
|
2960 cls.add_constructor([param('ns3::Hash::Function::Murmur3 const &', 'arg0')]) |
|
2961 ## hash-murmur3.h (module 'core'): ns3::Hash::Function::Murmur3::Murmur3() [constructor] |
|
2962 cls.add_constructor([]) |
|
2963 ## hash-murmur3.h (module 'core'): uint32_t ns3::Hash::Function::Murmur3::GetHash32(char const * buffer, size_t const size) [member function] |
|
2964 cls.add_method('GetHash32', |
|
2965 'uint32_t', |
|
2966 [param('char const *', 'buffer'), param('size_t const', 'size')], |
|
2967 is_virtual=True) |
|
2968 ## hash-murmur3.h (module 'core'): uint64_t ns3::Hash::Function::Murmur3::GetHash64(char const * buffer, size_t const size) [member function] |
|
2969 cls.add_method('GetHash64', |
|
2970 'uint64_t', |
|
2971 [param('char const *', 'buffer'), param('size_t const', 'size')], |
|
2972 is_virtual=True) |
|
2973 ## hash-murmur3.h (module 'core'): void ns3::Hash::Function::Murmur3::clear() [member function] |
|
2974 cls.add_method('clear', |
|
2975 'void', |
|
2976 [], |
|
2977 is_virtual=True) |
|
2978 return |
|
2979 |
2768 def register_functions(root_module): |
2980 def register_functions(root_module): |
2769 module = root_module |
2981 module = root_module |
2770 register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) |
2982 register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) |
|
2983 register_functions_ns3_Hash(module.get_submodule('Hash'), root_module) |
2771 return |
2984 return |
2772 |
2985 |
2773 def register_functions_ns3_FatalImpl(module, root_module): |
2986 def register_functions_ns3_FatalImpl(module, root_module): |
|
2987 return |
|
2988 |
|
2989 def register_functions_ns3_Hash(module, root_module): |
|
2990 register_functions_ns3_Hash_Function(module.get_submodule('Function'), root_module) |
|
2991 return |
|
2992 |
|
2993 def register_functions_ns3_Hash_Function(module, root_module): |
2774 return |
2994 return |
2775 |
2995 |
2776 def main(): |
2996 def main(): |
2777 out = FileCodeSink(sys.stdout) |
2997 out = FileCodeSink(sys.stdout) |
2778 root_module = module_init() |
2998 root_module = module_init() |