bindings/python/ns3_module_common.py
changeset 3574 b6804efbe16b
parent 3567 728eb3f583b3
child 3731 317f9dbccc2b
equal deleted inserted replaced
3573:352cfe96e593 3574:b6804efbe16b
   111 
   111 
   112 def register_Ns3Packet_methods(root_module, cls):
   112 def register_Ns3Packet_methods(root_module, cls):
   113     ## packet.h: ns3::Packet::Packet() [constructor]
   113     ## packet.h: ns3::Packet::Packet() [constructor]
   114     cls.add_constructor([])
   114     cls.add_constructor([])
   115     ## packet.h: ns3::Packet::Packet(ns3::Packet const & o) [copy constructor]
   115     ## packet.h: ns3::Packet::Packet(ns3::Packet const & o) [copy constructor]
   116     cls.add_constructor([param('ns3::Packet&', 'o', is_const=True)])
   116     cls.add_constructor([param('ns3::Packet const &', 'o')])
   117     ## packet.h: ns3::Packet::Packet(uint32_t size) [constructor]
   117     ## packet.h: ns3::Packet::Packet(uint32_t size) [constructor]
   118     cls.add_constructor([param('uint32_t', 'size')])
   118     cls.add_constructor([param('uint32_t', 'size')])
   119     ## packet.h: ns3::Packet::Packet(uint8_t const * buffer, uint32_t size) [constructor]
   119     ## packet.h: ns3::Packet::Packet(uint8_t const * buffer, uint32_t size) [constructor]
   120     cls.add_constructor([param('uint8_t *', 'buffer', transfer_ownership=False, is_const=True), param('uint32_t', 'size')])
   120     cls.add_constructor([param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
   121     ## packet.h: void ns3::Packet::AddAtEnd(ns3::Ptr<const ns3::Packet> packet) [member function]
   121     ## packet.h: void ns3::Packet::AddAtEnd(ns3::Ptr<const ns3::Packet> packet) [member function]
   122     cls.add_method('AddAtEnd', 
   122     cls.add_method('AddAtEnd', 
   123                    'void', 
   123                    'void', 
   124                    [param('ns3::Ptr< const ns3::Packet >', 'packet')])
   124                    [param('ns3::Ptr< const ns3::Packet >', 'packet')])
   125     ## packet.h: void ns3::Packet::AddHeader(ns3::Header const & header) [member function]
   125     ## packet.h: void ns3::Packet::AddHeader(ns3::Header const & header) [member function]
   126     cls.add_method('AddHeader', 
   126     cls.add_method('AddHeader', 
   127                    'void', 
   127                    'void', 
   128                    [param('ns3::Header&', 'header', is_const=True)])
   128                    [param('ns3::Header const &', 'header')])
   129     ## packet.h: void ns3::Packet::AddPaddingAtEnd(uint32_t size) [member function]
   129     ## packet.h: void ns3::Packet::AddPaddingAtEnd(uint32_t size) [member function]
   130     cls.add_method('AddPaddingAtEnd', 
   130     cls.add_method('AddPaddingAtEnd', 
   131                    'void', 
   131                    'void', 
   132                    [param('uint32_t', 'size')])
   132                    [param('uint32_t', 'size')])
   133     ## packet.h: void ns3::Packet::AddTag(ns3::Tag const & tag) const [member function]
   133     ## packet.h: void ns3::Packet::AddTag(ns3::Tag const & tag) const [member function]
   134     cls.add_method('AddTag', 
   134     cls.add_method('AddTag', 
   135                    'void', 
   135                    'void', 
   136                    [param('ns3::Tag&', 'tag', is_const=True)], 
   136                    [param('ns3::Tag const &', 'tag')], 
   137                    is_const=True)
   137                    is_const=True)
   138     ## packet.h: void ns3::Packet::AddTrailer(ns3::Trailer const & trailer) [member function]
   138     ## packet.h: void ns3::Packet::AddTrailer(ns3::Trailer const & trailer) [member function]
   139     cls.add_method('AddTrailer', 
   139     cls.add_method('AddTrailer', 
   140                    'void', 
   140                    'void', 
   141                    [param('ns3::Trailer&', 'trailer', is_const=True)])
   141                    [param('ns3::Trailer const &', 'trailer')])
   142     ## packet.h: ns3::PacketMetadata::ItemIterator ns3::Packet::BeginItem() const [member function]
   142     ## packet.h: ns3::PacketMetadata::ItemIterator ns3::Packet::BeginItem() const [member function]
   143     cls.add_method('BeginItem', 
   143     cls.add_method('BeginItem', 
   144                    'ns3::PacketMetadata::ItemIterator', 
   144                    'ns3::PacketMetadata::ItemIterator', 
   145                    [], 
   145                    [], 
   146                    is_const=True)
   146                    is_const=True)
   174                    [], 
   174                    [], 
   175                    is_static=True)
   175                    is_static=True)
   176     ## packet.h: bool ns3::Packet::FindFirstMatchingTag(ns3::Tag & tag) const [member function]
   176     ## packet.h: bool ns3::Packet::FindFirstMatchingTag(ns3::Tag & tag) const [member function]
   177     cls.add_method('FindFirstMatchingTag', 
   177     cls.add_method('FindFirstMatchingTag', 
   178                    'bool', 
   178                    'bool', 
   179                    [param('ns3::Tag&', 'tag')], 
   179                    [param('ns3::Tag &', 'tag')], 
   180                    is_const=True)
   180                    is_const=True)
   181     ## packet.h: uint32_t ns3::Packet::GetSize() const [member function]
   181     ## packet.h: uint32_t ns3::Packet::GetSize() const [member function]
   182     cls.add_method('GetSize', 
   182     cls.add_method('GetSize', 
   183                    'uint32_t', 
   183                    'uint32_t', 
   184                    [], 
   184                    [], 
   193                    'uint32_t', 
   193                    'uint32_t', 
   194                    [], 
   194                    [], 
   195                    is_const=True)
   195                    is_const=True)
   196     ## packet.h: uint8_t const * ns3::Packet::PeekData() const [member function]
   196     ## packet.h: uint8_t const * ns3::Packet::PeekData() const [member function]
   197     cls.add_method('PeekData', 
   197     cls.add_method('PeekData', 
   198                    retval('uint8_t *', is_const=True, caller_owns_return=False), 
   198                    'uint8_t const *', 
   199                    [], 
   199                    [], 
   200                    is_const=True)
   200                    is_const=True)
   201     ## packet.h: uint32_t ns3::Packet::PeekHeader(ns3::Header & header) [member function]
   201     ## packet.h: uint32_t ns3::Packet::PeekHeader(ns3::Header & header) [member function]
   202     cls.add_method('PeekHeader', 
   202     cls.add_method('PeekHeader', 
   203                    'uint32_t', 
   203                    'uint32_t', 
   204                    [param('ns3::Header&', 'header')])
   204                    [param('ns3::Header &', 'header')])
   205     ## packet.h: uint32_t ns3::Packet::PeekTrailer(ns3::Trailer & trailer) [member function]
   205     ## packet.h: uint32_t ns3::Packet::PeekTrailer(ns3::Trailer & trailer) [member function]
   206     cls.add_method('PeekTrailer', 
   206     cls.add_method('PeekTrailer', 
   207                    'uint32_t', 
   207                    'uint32_t', 
   208                    [param('ns3::Trailer&', 'trailer')])
   208                    [param('ns3::Trailer &', 'trailer')])
   209     ## packet.h: void ns3::Packet::Print(std::ostream & os) const [member function]
   209     ## packet.h: void ns3::Packet::Print(std::ostream & os) const [member function]
   210     cls.add_method('Print', 
   210     cls.add_method('Print', 
   211                    'void', 
   211                    'void', 
   212                    [param('std::ostream&', 'os')], 
   212                    [param('std::ostream &', 'os')], 
   213                    is_const=True)
   213                    is_const=True)
   214     ## packet.h: void ns3::Packet::PrintTags(std::ostream & os) const [member function]
   214     ## packet.h: void ns3::Packet::PrintTags(std::ostream & os) const [member function]
   215     cls.add_method('PrintTags', 
   215     cls.add_method('PrintTags', 
   216                    'void', 
   216                    'void', 
   217                    [param('std::ostream&', 'os')], 
   217                    [param('std::ostream &', 'os')], 
   218                    is_const=True)
   218                    is_const=True)
   219     ## packet.h: void ns3::Packet::RemoveAllTags() [member function]
   219     ## packet.h: void ns3::Packet::RemoveAllTags() [member function]
   220     cls.add_method('RemoveAllTags', 
   220     cls.add_method('RemoveAllTags', 
   221                    'void', 
   221                    'void', 
   222                    [])
   222                    [])
   229                    'void', 
   229                    'void', 
   230                    [param('uint32_t', 'size')])
   230                    [param('uint32_t', 'size')])
   231     ## packet.h: uint32_t ns3::Packet::RemoveHeader(ns3::Header & header) [member function]
   231     ## packet.h: uint32_t ns3::Packet::RemoveHeader(ns3::Header & header) [member function]
   232     cls.add_method('RemoveHeader', 
   232     cls.add_method('RemoveHeader', 
   233                    'uint32_t', 
   233                    'uint32_t', 
   234                    [param('ns3::Header&', 'header')])
   234                    [param('ns3::Header &', 'header')])
   235     ## packet.h: uint32_t ns3::Packet::RemoveTrailer(ns3::Trailer & trailer) [member function]
   235     ## packet.h: uint32_t ns3::Packet::RemoveTrailer(ns3::Trailer & trailer) [member function]
   236     cls.add_method('RemoveTrailer', 
   236     cls.add_method('RemoveTrailer', 
   237                    'uint32_t', 
   237                    'uint32_t', 
   238                    [param('ns3::Trailer&', 'trailer')])
   238                    [param('ns3::Trailer &', 'trailer')])
   239     ## packet.h: ns3::Buffer ns3::Packet::Serialize() const [member function]
   239     ## packet.h: ns3::Buffer ns3::Packet::Serialize() const [member function]
   240     cls.add_method('Serialize', 
   240     cls.add_method('Serialize', 
   241                    'ns3::Buffer', 
   241                    'ns3::Buffer', 
   242                    [], 
   242                    [], 
   243                    is_const=True)
   243                    is_const=True)
   244     cls.add_output_stream_operator()
   244     cls.add_output_stream_operator()
   245     return
   245     return
   246 
   246 
   247 def register_Ns3TagIterator_methods(root_module, cls):
   247 def register_Ns3TagIterator_methods(root_module, cls):
   248     ## packet.h: ns3::TagIterator::TagIterator(ns3::TagIterator const & arg0) [copy constructor]
   248     ## packet.h: ns3::TagIterator::TagIterator(ns3::TagIterator const & arg0) [copy constructor]
   249     cls.add_constructor([param('ns3::TagIterator&', 'arg0', is_const=True)])
   249     cls.add_constructor([param('ns3::TagIterator const &', 'arg0')])
   250     ## packet.h: bool ns3::TagIterator::HasNext() const [member function]
   250     ## packet.h: bool ns3::TagIterator::HasNext() const [member function]
   251     cls.add_method('HasNext', 
   251     cls.add_method('HasNext', 
   252                    'bool', 
   252                    'bool', 
   253                    [], 
   253                    [], 
   254                    is_const=True)
   254                    is_const=True)
   258                    [])
   258                    [])
   259     return
   259     return
   260 
   260 
   261 def register_Ns3TagIteratorItem_methods(root_module, cls):
   261 def register_Ns3TagIteratorItem_methods(root_module, cls):
   262     ## packet.h: ns3::TagIterator::Item::Item(ns3::TagIterator::Item const & arg0) [copy constructor]
   262     ## packet.h: ns3::TagIterator::Item::Item(ns3::TagIterator::Item const & arg0) [copy constructor]
   263     cls.add_constructor([param('ns3::TagIterator::Item&', 'arg0', is_const=True)])
   263     cls.add_constructor([param('ns3::TagIterator::Item const &', 'arg0')])
   264     ## packet.h: ns3::TypeId ns3::TagIterator::Item::GetTypeId() const [member function]
   264     ## packet.h: ns3::TypeId ns3::TagIterator::Item::GetTypeId() const [member function]
   265     cls.add_method('GetTypeId', 
   265     cls.add_method('GetTypeId', 
   266                    'ns3::TypeId', 
   266                    'ns3::TypeId', 
   267                    [], 
   267                    [], 
   268                    is_const=True)
   268                    is_const=True)
   277                    [], 
   277                    [], 
   278                    is_const=True)
   278                    is_const=True)
   279     ## packet.h: void ns3::TagIterator::Item::GetTag(ns3::Tag & tag) const [member function]
   279     ## packet.h: void ns3::TagIterator::Item::GetTag(ns3::Tag & tag) const [member function]
   280     cls.add_method('GetTag', 
   280     cls.add_method('GetTag', 
   281                    'void', 
   281                    'void', 
   282                    [param('ns3::Tag&', 'tag')], 
   282                    [param('ns3::Tag &', 'tag')], 
   283                    is_const=True)
   283                    is_const=True)
   284     return
   284     return
   285 
   285 
   286 def register_Ns3TagList_methods(root_module, cls):
   286 def register_Ns3TagList_methods(root_module, cls):
   287     ## tag-list.h: ns3::TagList::TagList() [constructor]
   287     ## tag-list.h: ns3::TagList::TagList() [constructor]
   288     cls.add_constructor([])
   288     cls.add_constructor([])
   289     ## tag-list.h: ns3::TagList::TagList(ns3::TagList const & o) [copy constructor]
   289     ## tag-list.h: ns3::TagList::TagList(ns3::TagList const & o) [copy constructor]
   290     cls.add_constructor([param('ns3::TagList&', 'o', is_const=True)])
   290     cls.add_constructor([param('ns3::TagList const &', 'o')])
   291     ## tag-list.h: ns3::TagBuffer ns3::TagList::Add(ns3::TypeId tid, uint32_t bufferSize, int32_t start, int32_t end) [member function]
   291     ## tag-list.h: ns3::TagBuffer ns3::TagList::Add(ns3::TypeId tid, uint32_t bufferSize, int32_t start, int32_t end) [member function]
   292     cls.add_method('Add', 
   292     cls.add_method('Add', 
   293                    'ns3::TagBuffer', 
   293                    'ns3::TagBuffer', 
   294                    [param('ns3::TypeId', 'tid'), param('uint32_t', 'bufferSize'), param('int32_t', 'start'), param('int32_t', 'end')])
   294                    [param('ns3::TypeId', 'tid'), param('uint32_t', 'bufferSize'), param('int32_t', 'start'), param('int32_t', 'end')])
   295     ## tag-list.h: void ns3::TagList::Add(ns3::TagList const & o) [member function]
   295     ## tag-list.h: void ns3::TagList::Add(ns3::TagList const & o) [member function]
   296     cls.add_method('Add', 
   296     cls.add_method('Add', 
   297                    'void', 
   297                    'void', 
   298                    [param('ns3::TagList&', 'o', is_const=True)])
   298                    [param('ns3::TagList const &', 'o')])
   299     ## tag-list.h: void ns3::TagList::RemoveAll() [member function]
   299     ## tag-list.h: void ns3::TagList::RemoveAll() [member function]
   300     cls.add_method('RemoveAll', 
   300     cls.add_method('RemoveAll', 
   301                    'void', 
   301                    'void', 
   302                    [])
   302                    [])
   303     ## tag-list.h: ns3::TagList::Iterator ns3::TagList::Begin(int32_t offsetStart, int32_t offsetEnd) const [member function]
   303     ## tag-list.h: ns3::TagList::Iterator ns3::TagList::Begin(int32_t offsetStart, int32_t offsetEnd) const [member function]
   315                    [param('int32_t', 'adjustment'), param('int32_t', 'prependOffset')])
   315                    [param('int32_t', 'adjustment'), param('int32_t', 'prependOffset')])
   316     return
   316     return
   317 
   317 
   318 def register_Ns3TagListIterator_methods(root_module, cls):
   318 def register_Ns3TagListIterator_methods(root_module, cls):
   319     ## tag-list.h: ns3::TagList::Iterator::Iterator(ns3::TagList::Iterator const & arg0) [copy constructor]
   319     ## tag-list.h: ns3::TagList::Iterator::Iterator(ns3::TagList::Iterator const & arg0) [copy constructor]
   320     cls.add_constructor([param('ns3::TagList::Iterator&', 'arg0', is_const=True)])
   320     cls.add_constructor([param('ns3::TagList::Iterator const &', 'arg0')])
   321     ## tag-list.h: bool ns3::TagList::Iterator::HasNext() const [member function]
   321     ## tag-list.h: bool ns3::TagList::Iterator::HasNext() const [member function]
   322     cls.add_method('HasNext', 
   322     cls.add_method('HasNext', 
   323                    'bool', 
   323                    'bool', 
   324                    [], 
   324                    [], 
   325                    is_const=True)
   325                    is_const=True)
   344     ## tag-list.h: ns3::TagList::Iterator::Item::end [variable]
   344     ## tag-list.h: ns3::TagList::Iterator::Item::end [variable]
   345     cls.add_instance_attribute('end', 'int32_t', is_const=False)
   345     cls.add_instance_attribute('end', 'int32_t', is_const=False)
   346     ## tag-list.h: ns3::TagList::Iterator::Item::buf [variable]
   346     ## tag-list.h: ns3::TagList::Iterator::Item::buf [variable]
   347     cls.add_instance_attribute('buf', 'ns3::TagBuffer', is_const=False)
   347     cls.add_instance_attribute('buf', 'ns3::TagBuffer', is_const=False)
   348     ## tag-list.h: ns3::TagList::Iterator::Item::Item(ns3::TagList::Iterator::Item const & arg0) [copy constructor]
   348     ## tag-list.h: ns3::TagList::Iterator::Item::Item(ns3::TagList::Iterator::Item const & arg0) [copy constructor]
   349     cls.add_constructor([param('ns3::TagList::Iterator::Item&', 'arg0', is_const=True)])
   349     cls.add_constructor([param('ns3::TagList::Iterator::Item const &', 'arg0')])
   350     ## tag-list.h: ns3::TagList::Iterator::Item::Item(ns3::TagBuffer buf) [constructor]
   350     ## tag-list.h: ns3::TagList::Iterator::Item::Item(ns3::TagBuffer buf) [constructor]
   351     cls.add_constructor([param('ns3::TagBuffer', 'buf')])
   351     cls.add_constructor([param('ns3::TagBuffer', 'buf')])
   352     return
   352     return
   353 
   353 
   354 def register_Ns3TagBuffer_methods(root_module, cls):
   354 def register_Ns3TagBuffer_methods(root_module, cls):
   355     ## tag-buffer.h: ns3::TagBuffer::TagBuffer(ns3::TagBuffer const & arg0) [copy constructor]
   355     ## tag-buffer.h: ns3::TagBuffer::TagBuffer(ns3::TagBuffer const & arg0) [copy constructor]
   356     cls.add_constructor([param('ns3::TagBuffer&', 'arg0', is_const=True)])
   356     cls.add_constructor([param('ns3::TagBuffer const &', 'arg0')])
   357     ## tag-buffer.h: ns3::TagBuffer::TagBuffer(uint8_t * start, uint8_t * end) [constructor]
   357     ## tag-buffer.h: ns3::TagBuffer::TagBuffer(uint8_t * start, uint8_t * end) [constructor]
   358     cls.add_constructor([param('uint8_t *', 'start'), param('uint8_t *', 'end')])
   358     cls.add_constructor([param('uint8_t *', 'start'), param('uint8_t *', 'end')])
   359     ## tag-buffer.h: void ns3::TagBuffer::TrimAtEnd(uint32_t trim) [member function]
   359     ## tag-buffer.h: void ns3::TagBuffer::TrimAtEnd(uint32_t trim) [member function]
   360     cls.add_method('TrimAtEnd', 
   360     cls.add_method('TrimAtEnd', 
   361                    'void', 
   361                    'void', 
   385                    'void', 
   385                    'void', 
   386                    [param('double', 'v')])
   386                    [param('double', 'v')])
   387     ## tag-buffer.h: void ns3::TagBuffer::Write(uint8_t const * buffer, uint32_t size) [member function]
   387     ## tag-buffer.h: void ns3::TagBuffer::Write(uint8_t const * buffer, uint32_t size) [member function]
   388     cls.add_method('Write', 
   388     cls.add_method('Write', 
   389                    'void', 
   389                    'void', 
   390                    [param('uint8_t *', 'buffer', transfer_ownership=False, is_const=True), param('uint32_t', 'size')])
   390                    [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
   391     ## tag-buffer.h: uint8_t ns3::TagBuffer::ReadU8() [member function]
   391     ## tag-buffer.h: uint8_t ns3::TagBuffer::ReadU8() [member function]
   392     cls.add_method('ReadU8', 
   392     cls.add_method('ReadU8', 
   393                    'uint8_t', 
   393                    'uint8_t', 
   394                    [])
   394                    [])
   395     ## tag-buffer.h: uint16_t ns3::TagBuffer::ReadU16() [member function]
   395     ## tag-buffer.h: uint16_t ns3::TagBuffer::ReadU16() [member function]
   420                    'uint32_t', 
   420                    'uint32_t', 
   421                    [], 
   421                    [], 
   422                    is_const=True)
   422                    is_const=True)
   423     ## buffer.h: uint8_t const * ns3::Buffer::PeekData() const [member function]
   423     ## buffer.h: uint8_t const * ns3::Buffer::PeekData() const [member function]
   424     cls.add_method('PeekData', 
   424     cls.add_method('PeekData', 
   425                    retval('uint8_t *', is_const=True, caller_owns_return=False), 
   425                    'uint8_t const *', 
   426                    [], 
   426                    [], 
   427                    is_const=True)
   427                    is_const=True)
   428     ## buffer.h: bool ns3::Buffer::AddAtStart(uint32_t start) [member function]
   428     ## buffer.h: bool ns3::Buffer::AddAtStart(uint32_t start) [member function]
   429     cls.add_method('AddAtStart', 
   429     cls.add_method('AddAtStart', 
   430                    'bool', 
   430                    'bool', 
   434                    'bool', 
   434                    'bool', 
   435                    [param('uint32_t', 'end')])
   435                    [param('uint32_t', 'end')])
   436     ## buffer.h: void ns3::Buffer::AddAtEnd(ns3::Buffer const & o) [member function]
   436     ## buffer.h: void ns3::Buffer::AddAtEnd(ns3::Buffer const & o) [member function]
   437     cls.add_method('AddAtEnd', 
   437     cls.add_method('AddAtEnd', 
   438                    'void', 
   438                    'void', 
   439                    [param('ns3::Buffer&', 'o', is_const=True)])
   439                    [param('ns3::Buffer const &', 'o')])
   440     ## buffer.h: void ns3::Buffer::RemoveAtStart(uint32_t start) [member function]
   440     ## buffer.h: void ns3::Buffer::RemoveAtStart(uint32_t start) [member function]
   441     cls.add_method('RemoveAtStart', 
   441     cls.add_method('RemoveAtStart', 
   442                    'void', 
   442                    'void', 
   443                    [param('uint32_t', 'start')])
   443                    [param('uint32_t', 'start')])
   444     ## buffer.h: void ns3::Buffer::RemoveAtEnd(uint32_t end) [member function]
   444     ## buffer.h: void ns3::Buffer::RemoveAtEnd(uint32_t end) [member function]
   474     cls.add_method('GetCurrentEndOffset', 
   474     cls.add_method('GetCurrentEndOffset', 
   475                    'int32_t', 
   475                    'int32_t', 
   476                    [], 
   476                    [], 
   477                    is_const=True)
   477                    is_const=True)
   478     ## buffer.h: ns3::Buffer::Buffer(ns3::Buffer const & o) [copy constructor]
   478     ## buffer.h: ns3::Buffer::Buffer(ns3::Buffer const & o) [copy constructor]
   479     cls.add_constructor([param('ns3::Buffer&', 'o', is_const=True)])
   479     cls.add_constructor([param('ns3::Buffer const &', 'o')])
   480     ## buffer.h: ns3::Buffer::Buffer() [constructor]
   480     ## buffer.h: ns3::Buffer::Buffer() [constructor]
   481     cls.add_constructor([])
   481     cls.add_constructor([])
   482     ## buffer.h: ns3::Buffer::Buffer(uint32_t dataSize) [constructor]
   482     ## buffer.h: ns3::Buffer::Buffer(uint32_t dataSize) [constructor]
   483     cls.add_constructor([param('uint32_t', 'dataSize')])
   483     cls.add_constructor([param('uint32_t', 'dataSize')])
   484     return
   484     return
   485 
   485 
   486 def register_Ns3BufferIterator_methods(root_module, cls):
   486 def register_Ns3BufferIterator_methods(root_module, cls):
   487     ## buffer.h: ns3::Buffer::Iterator::Iterator(ns3::Buffer::Iterator const & arg0) [copy constructor]
   487     ## buffer.h: ns3::Buffer::Iterator::Iterator(ns3::Buffer::Iterator const & arg0) [copy constructor]
   488     cls.add_constructor([param('ns3::Buffer::Iterator&', 'arg0', is_const=True)])
   488     cls.add_constructor([param('ns3::Buffer::Iterator const &', 'arg0')])
   489     ## buffer.h: ns3::Buffer::Iterator::Iterator() [constructor]
   489     ## buffer.h: ns3::Buffer::Iterator::Iterator() [constructor]
   490     cls.add_constructor([])
   490     cls.add_constructor([])
   491     ## buffer.h: void ns3::Buffer::Iterator::Next() [member function]
   491     ## buffer.h: void ns3::Buffer::Iterator::Next() [member function]
   492     cls.add_method('Next', 
   492     cls.add_method('Next', 
   493                    'void', 
   493                    'void', 
   505                    'void', 
   505                    'void', 
   506                    [param('uint32_t', 'delta')])
   506                    [param('uint32_t', 'delta')])
   507     ## buffer.h: uint32_t ns3::Buffer::Iterator::GetDistanceFrom(ns3::Buffer::Iterator const & o) const [member function]
   507     ## buffer.h: uint32_t ns3::Buffer::Iterator::GetDistanceFrom(ns3::Buffer::Iterator const & o) const [member function]
   508     cls.add_method('GetDistanceFrom', 
   508     cls.add_method('GetDistanceFrom', 
   509                    'uint32_t', 
   509                    'uint32_t', 
   510                    [param('ns3::Buffer::Iterator&', 'o', is_const=True)], 
   510                    [param('ns3::Buffer::Iterator const &', 'o')], 
   511                    is_const=True)
   511                    is_const=True)
   512     ## buffer.h: bool ns3::Buffer::Iterator::IsEnd() const [member function]
   512     ## buffer.h: bool ns3::Buffer::Iterator::IsEnd() const [member function]
   513     cls.add_method('IsEnd', 
   513     cls.add_method('IsEnd', 
   514                    'bool', 
   514                    'bool', 
   515                    [], 
   515                    [], 
   564                    'void', 
   564                    'void', 
   565                    [param('uint64_t', 'data')])
   565                    [param('uint64_t', 'data')])
   566     ## buffer.h: void ns3::Buffer::Iterator::Write(uint8_t const * buffer, uint32_t size) [member function]
   566     ## buffer.h: void ns3::Buffer::Iterator::Write(uint8_t const * buffer, uint32_t size) [member function]
   567     cls.add_method('Write', 
   567     cls.add_method('Write', 
   568                    'void', 
   568                    'void', 
   569                    [param('uint8_t *', 'buffer', transfer_ownership=False, is_const=True), param('uint32_t', 'size')])
   569                    [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
   570     ## buffer.h: void ns3::Buffer::Iterator::Write(ns3::Buffer::Iterator start, ns3::Buffer::Iterator end) [member function]
   570     ## buffer.h: void ns3::Buffer::Iterator::Write(ns3::Buffer::Iterator start, ns3::Buffer::Iterator end) [member function]
   571     cls.add_method('Write', 
   571     cls.add_method('Write', 
   572                    'void', 
   572                    'void', 
   573                    [param('ns3::Buffer::Iterator', 'start'), param('ns3::Buffer::Iterator', 'end')])
   573                    [param('ns3::Buffer::Iterator', 'start'), param('ns3::Buffer::Iterator', 'end')])
   574     ## buffer.h: uint8_t ns3::Buffer::Iterator::ReadU8() [member function]
   574     ## buffer.h: uint8_t ns3::Buffer::Iterator::ReadU8() [member function]
   630                    is_const=True)
   630                    is_const=True)
   631     return
   631     return
   632 
   632 
   633 def register_Ns3Chunk_methods(root_module, cls):
   633 def register_Ns3Chunk_methods(root_module, cls):
   634     ## chunk.h: ns3::Chunk::Chunk(ns3::Chunk const & arg0) [copy constructor]
   634     ## chunk.h: ns3::Chunk::Chunk(ns3::Chunk const & arg0) [copy constructor]
   635     cls.add_constructor([param('ns3::Chunk&', 'arg0', is_const=True)])
   635     cls.add_constructor([param('ns3::Chunk const &', 'arg0')])
   636     ## chunk.h: ns3::Chunk::Chunk() [constructor]
   636     ## chunk.h: ns3::Chunk::Chunk() [constructor]
   637     cls.add_constructor([])
   637     cls.add_constructor([])
   638     ## chunk.h: static ns3::TypeId ns3::Chunk::GetTypeId() [member function]
   638     ## chunk.h: static ns3::TypeId ns3::Chunk::GetTypeId() [member function]
   639     cls.add_method('GetTypeId', 
   639     cls.add_method('GetTypeId', 
   640                    'ns3::TypeId', 
   640                    'ns3::TypeId', 
   646                    [param('ns3::Buffer::Iterator', 'start')], 
   646                    [param('ns3::Buffer::Iterator', 'start')], 
   647                    is_pure_virtual=True, is_virtual=True)
   647                    is_pure_virtual=True, is_virtual=True)
   648     ## chunk.h: void ns3::Chunk::Print(std::ostream & os) const [member function]
   648     ## chunk.h: void ns3::Chunk::Print(std::ostream & os) const [member function]
   649     cls.add_method('Print', 
   649     cls.add_method('Print', 
   650                    'void', 
   650                    'void', 
   651                    [param('std::ostream&', 'os')], 
   651                    [param('std::ostream &', 'os')], 
   652                    is_pure_virtual=True, is_const=True, is_virtual=True)
   652                    is_pure_virtual=True, is_const=True, is_virtual=True)
   653     return
   653     return
   654 
   654 
   655 def register_Ns3DataRate_methods(root_module, cls):
   655 def register_Ns3DataRate_methods(root_module, cls):
   656     ## data-rate.h: ns3::DataRate::DataRate(ns3::DataRate const & arg0) [copy constructor]
   656     ## data-rate.h: ns3::DataRate::DataRate(ns3::DataRate const & arg0) [copy constructor]
   657     cls.add_constructor([param('ns3::DataRate&', 'arg0', is_const=True)])
   657     cls.add_constructor([param('ns3::DataRate const &', 'arg0')])
   658     ## data-rate.h: ns3::DataRate::DataRate() [constructor]
   658     ## data-rate.h: ns3::DataRate::DataRate() [constructor]
   659     cls.add_constructor([])
   659     cls.add_constructor([])
   660     ## data-rate.h: ns3::DataRate::DataRate(uint64_t bps) [constructor]
   660     ## data-rate.h: ns3::DataRate::DataRate(uint64_t bps) [constructor]
   661     cls.add_constructor([param('uint64_t', 'bps')])
   661     cls.add_constructor([param('uint64_t', 'bps')])
   662     ## data-rate.h: ns3::DataRate::DataRate(std::string rate) [constructor]
   662     ## data-rate.h: ns3::DataRate::DataRate(std::string rate) [constructor]
   674     cls.add_output_stream_operator()
   674     cls.add_output_stream_operator()
   675     return
   675     return
   676 
   676 
   677 def register_Ns3Tag_methods(root_module, cls):
   677 def register_Ns3Tag_methods(root_module, cls):
   678     ## tag.h: ns3::Tag::Tag(ns3::Tag const & arg0) [copy constructor]
   678     ## tag.h: ns3::Tag::Tag(ns3::Tag const & arg0) [copy constructor]
   679     cls.add_constructor([param('ns3::Tag&', 'arg0', is_const=True)])
   679     cls.add_constructor([param('ns3::Tag const &', 'arg0')])
   680     ## tag.h: ns3::Tag::Tag() [constructor]
   680     ## tag.h: ns3::Tag::Tag() [constructor]
   681     cls.add_constructor([])
   681     cls.add_constructor([])
   682     ## tag.h: static ns3::TypeId ns3::Tag::GetTypeId() [member function]
   682     ## tag.h: static ns3::TypeId ns3::Tag::GetTypeId() [member function]
   683     cls.add_method('GetTypeId', 
   683     cls.add_method('GetTypeId', 
   684                    'ns3::TypeId', 
   684                    'ns3::TypeId', 
   700                    [param('ns3::TagBuffer', 'i')], 
   700                    [param('ns3::TagBuffer', 'i')], 
   701                    is_pure_virtual=True, is_virtual=True)
   701                    is_pure_virtual=True, is_virtual=True)
   702     ## tag.h: void ns3::Tag::Print(std::ostream & os) const [member function]
   702     ## tag.h: void ns3::Tag::Print(std::ostream & os) const [member function]
   703     cls.add_method('Print', 
   703     cls.add_method('Print', 
   704                    'void', 
   704                    'void', 
   705                    [param('std::ostream&', 'os')], 
   705                    [param('std::ostream &', 'os')], 
   706                    is_pure_virtual=True, is_const=True, is_virtual=True)
   706                    is_pure_virtual=True, is_const=True, is_virtual=True)
   707     return
   707     return
   708 
   708 
   709 def register_Ns3PcapWriter_methods(root_module, cls):
   709 def register_Ns3PcapWriter_methods(root_module, cls):
   710     ## pcap-writer.h: ns3::PcapWriter::PcapWriter(ns3::PcapWriter const & arg0) [copy constructor]
   710     ## pcap-writer.h: ns3::PcapWriter::PcapWriter(ns3::PcapWriter const & arg0) [copy constructor]
   711     cls.add_constructor([param('ns3::PcapWriter&', 'arg0', is_const=True)])
   711     cls.add_constructor([param('ns3::PcapWriter const &', 'arg0')])
   712     ## pcap-writer.h: ns3::PcapWriter::PcapWriter() [constructor]
   712     ## pcap-writer.h: ns3::PcapWriter::PcapWriter() [constructor]
   713     cls.add_constructor([])
   713     cls.add_constructor([])
   714     ## pcap-writer.h: void ns3::PcapWriter::Open(std::string const & name) [member function]
   714     ## pcap-writer.h: void ns3::PcapWriter::Open(std::string const & name) [member function]
   715     cls.add_method('Open', 
   715     cls.add_method('Open', 
   716                    'void', 
   716                    'void', 
   717                    [param('std::string&', 'name', is_const=True)])
   717                    [param('std::string const &', 'name')])
   718     ## pcap-writer.h: void ns3::PcapWriter::WriteEthernetHeader() [member function]
   718     ## pcap-writer.h: void ns3::PcapWriter::WriteEthernetHeader() [member function]
   719     cls.add_method('WriteEthernetHeader', 
   719     cls.add_method('WriteEthernetHeader', 
   720                    'void', 
   720                    'void', 
   721                    [])
   721                    [])
   722     ## pcap-writer.h: void ns3::PcapWriter::WriteIpHeader() [member function]
   722     ## pcap-writer.h: void ns3::PcapWriter::WriteIpHeader() [member function]
   737                    [param('ns3::Ptr< const ns3::Packet >', 'packet')])
   737                    [param('ns3::Ptr< const ns3::Packet >', 'packet')])
   738     return
   738     return
   739 
   739 
   740 def register_Ns3DataRateChecker_methods(root_module, cls):
   740 def register_Ns3DataRateChecker_methods(root_module, cls):
   741     ## data-rate.h: ns3::DataRateChecker::DataRateChecker(ns3::DataRateChecker const & arg0) [copy constructor]
   741     ## data-rate.h: ns3::DataRateChecker::DataRateChecker(ns3::DataRateChecker const & arg0) [copy constructor]
   742     cls.add_constructor([param('ns3::DataRateChecker&', 'arg0', is_const=True)])
   742     cls.add_constructor([param('ns3::DataRateChecker const &', 'arg0')])
   743     ## data-rate.h: ns3::DataRateChecker::DataRateChecker() [constructor]
   743     ## data-rate.h: ns3::DataRateChecker::DataRateChecker() [constructor]
   744     cls.add_constructor([])
   744     cls.add_constructor([])
   745     return
   745     return
   746 
   746 
   747 def register_Ns3ErrorModel_methods(root_module, cls):
   747 def register_Ns3ErrorModel_methods(root_module, cls):
   748     ## error-model.h: ns3::ErrorModel::ErrorModel(ns3::ErrorModel const & arg0) [copy constructor]
   748     ## error-model.h: ns3::ErrorModel::ErrorModel(ns3::ErrorModel const & arg0) [copy constructor]
   749     cls.add_constructor([param('ns3::ErrorModel&', 'arg0', is_const=True)])
   749     cls.add_constructor([param('ns3::ErrorModel const &', 'arg0')])
   750     ## error-model.h: static ns3::TypeId ns3::ErrorModel::GetTypeId() [member function]
   750     ## error-model.h: static ns3::TypeId ns3::ErrorModel::GetTypeId() [member function]
   751     cls.add_method('GetTypeId', 
   751     cls.add_method('GetTypeId', 
   752                    'ns3::TypeId', 
   752                    'ns3::TypeId', 
   753                    [], 
   753                    [], 
   754                    is_static=True)
   754                    is_static=True)
   789 
   789 
   790 def register_Ns3Header_methods(root_module, cls):
   790 def register_Ns3Header_methods(root_module, cls):
   791     ## header.h: ns3::Header::Header() [constructor]
   791     ## header.h: ns3::Header::Header() [constructor]
   792     cls.add_constructor([])
   792     cls.add_constructor([])
   793     ## header.h: ns3::Header::Header(ns3::Header const & arg0) [copy constructor]
   793     ## header.h: ns3::Header::Header(ns3::Header const & arg0) [copy constructor]
   794     cls.add_constructor([param('ns3::Header&', 'arg0', is_const=True)])
   794     cls.add_constructor([param('ns3::Header const &', 'arg0')])
   795     ## header.h: uint32_t ns3::Header::Deserialize(ns3::Buffer::Iterator start) [member function]
   795     ## header.h: uint32_t ns3::Header::Deserialize(ns3::Buffer::Iterator start) [member function]
   796     cls.add_method('Deserialize', 
   796     cls.add_method('Deserialize', 
   797                    'uint32_t', 
   797                    'uint32_t', 
   798                    [param('ns3::Buffer::Iterator', 'start')], 
   798                    [param('ns3::Buffer::Iterator', 'start')], 
   799                    is_pure_virtual=True, is_virtual=True)
   799                    is_pure_virtual=True, is_virtual=True)
   808                    [], 
   808                    [], 
   809                    is_static=True)
   809                    is_static=True)
   810     ## header.h: void ns3::Header::Print(std::ostream & os) const [member function]
   810     ## header.h: void ns3::Header::Print(std::ostream & os) const [member function]
   811     cls.add_method('Print', 
   811     cls.add_method('Print', 
   812                    'void', 
   812                    'void', 
   813                    [param('std::ostream&', 'os')], 
   813                    [param('std::ostream &', 'os')], 
   814                    is_pure_virtual=True, is_const=True, is_virtual=True)
   814                    is_pure_virtual=True, is_const=True, is_virtual=True)
   815     ## header.h: void ns3::Header::Serialize(ns3::Buffer::Iterator start) const [member function]
   815     ## header.h: void ns3::Header::Serialize(ns3::Buffer::Iterator start) const [member function]
   816     cls.add_method('Serialize', 
   816     cls.add_method('Serialize', 
   817                    'void', 
   817                    'void', 
   818                    [param('ns3::Buffer::Iterator', 'start')], 
   818                    [param('ns3::Buffer::Iterator', 'start')], 
   822 
   822 
   823 def register_Ns3Trailer_methods(root_module, cls):
   823 def register_Ns3Trailer_methods(root_module, cls):
   824     ## trailer.h: ns3::Trailer::Trailer() [constructor]
   824     ## trailer.h: ns3::Trailer::Trailer() [constructor]
   825     cls.add_constructor([])
   825     cls.add_constructor([])
   826     ## trailer.h: ns3::Trailer::Trailer(ns3::Trailer const & arg0) [copy constructor]
   826     ## trailer.h: ns3::Trailer::Trailer(ns3::Trailer const & arg0) [copy constructor]
   827     cls.add_constructor([param('ns3::Trailer&', 'arg0', is_const=True)])
   827     cls.add_constructor([param('ns3::Trailer const &', 'arg0')])
   828     ## trailer.h: uint32_t ns3::Trailer::Deserialize(ns3::Buffer::Iterator end) [member function]
   828     ## trailer.h: uint32_t ns3::Trailer::Deserialize(ns3::Buffer::Iterator end) [member function]
   829     cls.add_method('Deserialize', 
   829     cls.add_method('Deserialize', 
   830                    'uint32_t', 
   830                    'uint32_t', 
   831                    [param('ns3::Buffer::Iterator', 'end')], 
   831                    [param('ns3::Buffer::Iterator', 'end')], 
   832                    is_pure_virtual=True, is_virtual=True)
   832                    is_pure_virtual=True, is_virtual=True)
   841                    [], 
   841                    [], 
   842                    is_static=True)
   842                    is_static=True)
   843     ## trailer.h: void ns3::Trailer::Print(std::ostream & os) const [member function]
   843     ## trailer.h: void ns3::Trailer::Print(std::ostream & os) const [member function]
   844     cls.add_method('Print', 
   844     cls.add_method('Print', 
   845                    'void', 
   845                    'void', 
   846                    [param('std::ostream&', 'os')], 
   846                    [param('std::ostream &', 'os')], 
   847                    is_pure_virtual=True, is_const=True, is_virtual=True)
   847                    is_pure_virtual=True, is_const=True, is_virtual=True)
   848     ## trailer.h: void ns3::Trailer::Serialize(ns3::Buffer::Iterator start) const [member function]
   848     ## trailer.h: void ns3::Trailer::Serialize(ns3::Buffer::Iterator start) const [member function]
   849     cls.add_method('Serialize', 
   849     cls.add_method('Serialize', 
   850                    'void', 
   850                    'void', 
   851                    [param('ns3::Buffer::Iterator', 'start')], 
   851                    [param('ns3::Buffer::Iterator', 'start')], 
   853     cls.add_output_stream_operator()
   853     cls.add_output_stream_operator()
   854     return
   854     return
   855 
   855 
   856 def register_Ns3ListErrorModel_methods(root_module, cls):
   856 def register_Ns3ListErrorModel_methods(root_module, cls):
   857     ## error-model.h: ns3::ListErrorModel::ListErrorModel(ns3::ListErrorModel const & arg0) [copy constructor]
   857     ## error-model.h: ns3::ListErrorModel::ListErrorModel(ns3::ListErrorModel const & arg0) [copy constructor]
   858     cls.add_constructor([param('ns3::ListErrorModel&', 'arg0', is_const=True)])
   858     cls.add_constructor([param('ns3::ListErrorModel const &', 'arg0')])
   859     ## error-model.h: static ns3::TypeId ns3::ListErrorModel::GetTypeId() [member function]
   859     ## error-model.h: static ns3::TypeId ns3::ListErrorModel::GetTypeId() [member function]
   860     cls.add_method('GetTypeId', 
   860     cls.add_method('GetTypeId', 
   861                    'ns3::TypeId', 
   861                    'ns3::TypeId', 
   862                    [], 
   862                    [], 
   863                    is_static=True)
   863                    is_static=True)
   869                    [], 
   869                    [], 
   870                    is_const=True)
   870                    is_const=True)
   871     ## error-model.h: void ns3::ListErrorModel::SetList(std::list<unsigned int, std::allocator<unsigned int> > const & packetlist) [member function]
   871     ## error-model.h: void ns3::ListErrorModel::SetList(std::list<unsigned int, std::allocator<unsigned int> > const & packetlist) [member function]
   872     cls.add_method('SetList', 
   872     cls.add_method('SetList', 
   873                    'void', 
   873                    'void', 
   874                    [param('std::list< unsigned int >&', 'packetlist', is_const=True)])
   874                    [param('std::list< unsigned int >', 'packetlist')])
   875     ## error-model.h: bool ns3::ListErrorModel::DoCorrupt(ns3::Ptr<ns3::Packet> p) [member function]
   875     ## error-model.h: bool ns3::ListErrorModel::DoCorrupt(ns3::Ptr<ns3::Packet> p) [member function]
   876     cls.add_method('DoCorrupt', 
   876     cls.add_method('DoCorrupt', 
   877                    'bool', 
   877                    'bool', 
   878                    [param('ns3::Ptr< ns3::Packet >', 'p')], 
   878                    [param('ns3::Ptr< ns3::Packet >', 'p')], 
   879                    visibility='private', is_virtual=True)
   879                    visibility='private', is_virtual=True)
   884                    visibility='private', is_virtual=True)
   884                    visibility='private', is_virtual=True)
   885     return
   885     return
   886 
   886 
   887 def register_Ns3DataRateValue_methods(root_module, cls):
   887 def register_Ns3DataRateValue_methods(root_module, cls):
   888     ## data-rate.h: ns3::DataRateValue::DataRateValue(ns3::DataRateValue const & arg0) [copy constructor]
   888     ## data-rate.h: ns3::DataRateValue::DataRateValue(ns3::DataRateValue const & arg0) [copy constructor]
   889     cls.add_constructor([param('ns3::DataRateValue&', 'arg0', is_const=True)])
   889     cls.add_constructor([param('ns3::DataRateValue const &', 'arg0')])
   890     ## data-rate.h: ns3::DataRateValue::DataRateValue() [constructor]
   890     ## data-rate.h: ns3::DataRateValue::DataRateValue() [constructor]
   891     cls.add_constructor([])
   891     cls.add_constructor([])
   892     ## data-rate.h: ns3::DataRateValue::DataRateValue(ns3::DataRate const & value) [constructor]
   892     ## data-rate.h: ns3::DataRateValue::DataRateValue(ns3::DataRate const & value) [constructor]
   893     cls.add_constructor([param('ns3::DataRate&', 'value', is_const=True)])
   893     cls.add_constructor([param('ns3::DataRate const &', 'value')])
   894     ## data-rate.h: void ns3::DataRateValue::Set(ns3::DataRate const & value) [member function]
   894     ## data-rate.h: void ns3::DataRateValue::Set(ns3::DataRate const & value) [member function]
   895     cls.add_method('Set', 
   895     cls.add_method('Set', 
   896                    'void', 
   896                    'void', 
   897                    [param('ns3::DataRate&', 'value', is_const=True)])
   897                    [param('ns3::DataRate const &', 'value')])
   898     ## data-rate.h: ns3::DataRate ns3::DataRateValue::Get() const [member function]
   898     ## data-rate.h: ns3::DataRate ns3::DataRateValue::Get() const [member function]
   899     cls.add_method('Get', 
   899     cls.add_method('Get', 
   900                    'ns3::DataRate', 
   900                    'ns3::DataRate', 
   901                    [], 
   901                    [], 
   902                    is_const=True)
   902                    is_const=True)
   917                    is_virtual=True)
   917                    is_virtual=True)
   918     return
   918     return
   919 
   919 
   920 def register_Ns3RateErrorModel_methods(root_module, cls):
   920 def register_Ns3RateErrorModel_methods(root_module, cls):
   921     ## error-model.h: ns3::RateErrorModel::RateErrorModel(ns3::RateErrorModel const & arg0) [copy constructor]
   921     ## error-model.h: ns3::RateErrorModel::RateErrorModel(ns3::RateErrorModel const & arg0) [copy constructor]
   922     cls.add_constructor([param('ns3::RateErrorModel&', 'arg0', is_const=True)])
   922     cls.add_constructor([param('ns3::RateErrorModel const &', 'arg0')])
   923     ## error-model.h: static ns3::TypeId ns3::RateErrorModel::GetTypeId() [member function]
   923     ## error-model.h: static ns3::TypeId ns3::RateErrorModel::GetTypeId() [member function]
   924     cls.add_method('GetTypeId', 
   924     cls.add_method('GetTypeId', 
   925                    'ns3::TypeId', 
   925                    'ns3::TypeId', 
   926                    [], 
   926                    [], 
   927                    is_static=True)
   927                    is_static=True)
   946                    'void', 
   946                    'void', 
   947                    [param('double', 'rate')])
   947                    [param('double', 'rate')])
   948     ## error-model.h: void ns3::RateErrorModel::SetRandomVariable(ns3::RandomVariable const & ranvar) [member function]
   948     ## error-model.h: void ns3::RateErrorModel::SetRandomVariable(ns3::RandomVariable const & ranvar) [member function]
   949     cls.add_method('SetRandomVariable', 
   949     cls.add_method('SetRandomVariable', 
   950                    'void', 
   950                    'void', 
   951                    [param('ns3::RandomVariable&', 'ranvar', is_const=True)])
   951                    [param('ns3::RandomVariable const &', 'ranvar')])
   952     ## error-model.h: bool ns3::RateErrorModel::DoCorrupt(ns3::Ptr<ns3::Packet> p) [member function]
   952     ## error-model.h: bool ns3::RateErrorModel::DoCorrupt(ns3::Ptr<ns3::Packet> p) [member function]
   953     cls.add_method('DoCorrupt', 
   953     cls.add_method('DoCorrupt', 
   954                    'bool', 
   954                    'bool', 
   955                    [param('ns3::Ptr< ns3::Packet >', 'p')], 
   955                    [param('ns3::Ptr< ns3::Packet >', 'p')], 
   956                    visibility='private', is_virtual=True)
   956                    visibility='private', is_virtual=True)