bindings/python/ns3_module_common.py
changeset 4241 c35796bc0b4b
parent 4218 debf1a8a96d3
child 4407 ef566eeff84f
equal deleted inserted replaced
4240:f6d7db7580ff 4241:c35796bc0b4b
   188     ## buffer.h: ns3::Buffer::Buffer(uint32_t dataSize) [constructor]
   188     ## buffer.h: ns3::Buffer::Buffer(uint32_t dataSize) [constructor]
   189     cls.add_constructor([param('uint32_t', 'dataSize')])
   189     cls.add_constructor([param('uint32_t', 'dataSize')])
   190     return
   190     return
   191 
   191 
   192 def register_Ns3BufferIterator_methods(root_module, cls):
   192 def register_Ns3BufferIterator_methods(root_module, cls):
       
   193     ## buffer.h: ns3::Buffer::Iterator::Iterator(ns3::Buffer::Iterator const & arg0) [copy constructor]
       
   194     cls.add_constructor([param('ns3::Buffer::Iterator const &', 'arg0')])
   193     ## buffer.h: ns3::Buffer::Iterator::Iterator() [constructor]
   195     ## buffer.h: ns3::Buffer::Iterator::Iterator() [constructor]
   194     cls.add_constructor([])
   196     cls.add_constructor([])
   195     ## buffer.h: void ns3::Buffer::Iterator::Next() [member function]
   197     ## buffer.h: void ns3::Buffer::Iterator::Next() [member function]
   196     cls.add_method('Next', 
   198     cls.add_method('Next', 
   197                    'void', 
   199                    'void', 
   330     ## buffer.h: uint32_t ns3::Buffer::Iterator::GetSize() const [member function]
   332     ## buffer.h: uint32_t ns3::Buffer::Iterator::GetSize() const [member function]
   331     cls.add_method('GetSize', 
   333     cls.add_method('GetSize', 
   332                    'uint32_t', 
   334                    'uint32_t', 
   333                    [], 
   335                    [], 
   334                    is_const=True)
   336                    is_const=True)
   335     cls.add_copy_constructor()
       
   336     return
   337     return
   337 
   338 
   338 def register_Ns3DataRate_methods(root_module, cls):
   339 def register_Ns3DataRate_methods(root_module, cls):
   339     cls.add_output_stream_operator()
   340     cls.add_output_stream_operator()
   340     cls.add_binary_comparison_operator('!=')
   341     cls.add_binary_comparison_operator('!=')
   593     cls.add_instance_attribute('currentTrimedFromStart', 'uint32_t', is_const=False)
   594     cls.add_instance_attribute('currentTrimedFromStart', 'uint32_t', is_const=False)
   594     ## packet-metadata.h: ns3::PacketMetadata::Item::currentTrimedFromEnd [variable]
   595     ## packet-metadata.h: ns3::PacketMetadata::Item::currentTrimedFromEnd [variable]
   595     cls.add_instance_attribute('currentTrimedFromEnd', 'uint32_t', is_const=False)
   596     cls.add_instance_attribute('currentTrimedFromEnd', 'uint32_t', is_const=False)
   596     ## packet-metadata.h: ns3::PacketMetadata::Item::current [variable]
   597     ## packet-metadata.h: ns3::PacketMetadata::Item::current [variable]
   597     cls.add_instance_attribute('current', 'ns3::Buffer::Iterator', is_const=False)
   598     cls.add_instance_attribute('current', 'ns3::Buffer::Iterator', is_const=False)
   598     cls.add_constructor([])
   599     ## packet-metadata.h: ns3::PacketMetadata::Item::Item(ns3::PacketMetadata::Item const & arg0) [copy constructor]
   599     cls.add_copy_constructor()
   600     cls.add_constructor([param('ns3::PacketMetadata::Item const &', 'arg0')])
       
   601     ## packet-metadata.h: ns3::PacketMetadata::Item::Item() [constructor]
       
   602     cls.add_constructor([])
   600     return
   603     return
   601 
   604 
   602 def register_Ns3PacketMetadataItemIterator_methods(root_module, cls):
   605 def register_Ns3PacketMetadataItemIterator_methods(root_module, cls):
       
   606     ## packet-metadata.h: ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata::ItemIterator const & arg0) [copy constructor]
       
   607     cls.add_constructor([param('ns3::PacketMetadata::ItemIterator const &', 'arg0')])
   603     ## packet-metadata.h: ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata const * metadata, ns3::Buffer buffer) [constructor]
   608     ## packet-metadata.h: ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata const * metadata, ns3::Buffer buffer) [constructor]
   604     cls.add_constructor([param('ns3::PacketMetadata const *', 'metadata'), param('ns3::Buffer', 'buffer')])
   609     cls.add_constructor([param('ns3::PacketMetadata const *', 'metadata'), param('ns3::Buffer', 'buffer')])
   605     ## packet-metadata.h: bool ns3::PacketMetadata::ItemIterator::HasNext() const [member function]
   610     ## packet-metadata.h: bool ns3::PacketMetadata::ItemIterator::HasNext() const [member function]
   606     cls.add_method('HasNext', 
   611     cls.add_method('HasNext', 
   607                    'bool', 
   612                    'bool', 
   609                    is_const=True)
   614                    is_const=True)
   610     ## packet-metadata.h: ns3::PacketMetadata::Item ns3::PacketMetadata::ItemIterator::Next() [member function]
   615     ## packet-metadata.h: ns3::PacketMetadata::Item ns3::PacketMetadata::ItemIterator::Next() [member function]
   611     cls.add_method('Next', 
   616     cls.add_method('Next', 
   612                    'ns3::PacketMetadata::Item', 
   617                    'ns3::PacketMetadata::Item', 
   613                    [])
   618                    [])
   614     cls.add_copy_constructor()
       
   615     return
   619     return
   616 
   620 
   617 def register_Ns3Tag_methods(root_module, cls):
   621 def register_Ns3Tag_methods(root_module, cls):
       
   622     ## tag.h: ns3::Tag::Tag(ns3::Tag const & arg0) [copy constructor]
       
   623     cls.add_constructor([param('ns3::Tag const &', 'arg0')])
       
   624     ## tag.h: ns3::Tag::Tag() [constructor]
       
   625     cls.add_constructor([])
   618     ## tag.h: static ns3::TypeId ns3::Tag::GetTypeId() [member function]
   626     ## tag.h: static ns3::TypeId ns3::Tag::GetTypeId() [member function]
   619     cls.add_method('GetTypeId', 
   627     cls.add_method('GetTypeId', 
   620                    'ns3::TypeId', 
   628                    'ns3::TypeId', 
   621                    [], 
   629                    [], 
   622                    is_static=True)
   630                    is_static=True)
   638     ## tag.h: void ns3::Tag::Print(std::ostream & os) const [member function]
   646     ## tag.h: void ns3::Tag::Print(std::ostream & os) const [member function]
   639     cls.add_method('Print', 
   647     cls.add_method('Print', 
   640                    'void', 
   648                    'void', 
   641                    [param('std::ostream &', 'os')], 
   649                    [param('std::ostream &', 'os')], 
   642                    is_pure_virtual=True, is_const=True, is_virtual=True)
   650                    is_pure_virtual=True, is_const=True, is_virtual=True)
   643     cls.add_constructor([])
       
   644     cls.add_copy_constructor()
       
   645     return
   651     return
   646 
   652 
   647 def register_Ns3TagBuffer_methods(root_module, cls):
   653 def register_Ns3TagBuffer_methods(root_module, cls):
       
   654     ## tag-buffer.h: ns3::TagBuffer::TagBuffer(ns3::TagBuffer const & arg0) [copy constructor]
       
   655     cls.add_constructor([param('ns3::TagBuffer const &', 'arg0')])
   648     ## tag-buffer.h: ns3::TagBuffer::TagBuffer(uint8_t * start, uint8_t * end) [constructor]
   656     ## tag-buffer.h: ns3::TagBuffer::TagBuffer(uint8_t * start, uint8_t * end) [constructor]
   649     cls.add_constructor([param('uint8_t *', 'start'), param('uint8_t *', 'end')])
   657     cls.add_constructor([param('uint8_t *', 'start'), param('uint8_t *', 'end')])
   650     ## tag-buffer.h: void ns3::TagBuffer::TrimAtEnd(uint32_t trim) [member function]
   658     ## tag-buffer.h: void ns3::TagBuffer::TrimAtEnd(uint32_t trim) [member function]
   651     cls.add_method('TrimAtEnd', 
   659     cls.add_method('TrimAtEnd', 
   652                    'void', 
   660                    'void', 
   701                    [])
   709                    [])
   702     ## tag-buffer.h: void ns3::TagBuffer::Read(uint8_t * buffer, uint32_t size) [member function]
   710     ## tag-buffer.h: void ns3::TagBuffer::Read(uint8_t * buffer, uint32_t size) [member function]
   703     cls.add_method('Read', 
   711     cls.add_method('Read', 
   704                    'void', 
   712                    'void', 
   705                    [param('uint8_t *', 'buffer'), param('uint32_t', 'size')])
   713                    [param('uint8_t *', 'buffer'), param('uint32_t', 'size')])
   706     cls.add_copy_constructor()
       
   707     return
   714     return
   708 
   715 
   709 def register_Ns3TagIterator_methods(root_module, cls):
   716 def register_Ns3TagIterator_methods(root_module, cls):
       
   717     ## packet.h: ns3::TagIterator::TagIterator(ns3::TagIterator const & arg0) [copy constructor]
       
   718     cls.add_constructor([param('ns3::TagIterator const &', 'arg0')])
   710     ## packet.h: bool ns3::TagIterator::HasNext() const [member function]
   719     ## packet.h: bool ns3::TagIterator::HasNext() const [member function]
   711     cls.add_method('HasNext', 
   720     cls.add_method('HasNext', 
   712                    'bool', 
   721                    'bool', 
   713                    [], 
   722                    [], 
   714                    is_const=True)
   723                    is_const=True)
   717                    'ns3::TagIterator::Item', 
   726                    'ns3::TagIterator::Item', 
   718                    [])
   727                    [])
   719     return
   728     return
   720 
   729 
   721 def register_Ns3TagIteratorItem_methods(root_module, cls):
   730 def register_Ns3TagIteratorItem_methods(root_module, cls):
       
   731     ## packet.h: ns3::TagIterator::Item::Item(ns3::TagIterator::Item const & arg0) [copy constructor]
       
   732     cls.add_constructor([param('ns3::TagIterator::Item const &', 'arg0')])
   722     ## packet.h: ns3::TypeId ns3::TagIterator::Item::GetTypeId() const [member function]
   733     ## packet.h: ns3::TypeId ns3::TagIterator::Item::GetTypeId() const [member function]
   723     cls.add_method('GetTypeId', 
   734     cls.add_method('GetTypeId', 
   724                    'ns3::TypeId', 
   735                    'ns3::TypeId', 
   725                    [], 
   736                    [], 
   726                    is_const=True)
   737                    is_const=True)
   737     ## packet.h: void ns3::TagIterator::Item::GetTag(ns3::Tag & tag) const [member function]
   748     ## packet.h: void ns3::TagIterator::Item::GetTag(ns3::Tag & tag) const [member function]
   738     cls.add_method('GetTag', 
   749     cls.add_method('GetTag', 
   739                    'void', 
   750                    'void', 
   740                    [param('ns3::Tag &', 'tag')], 
   751                    [param('ns3::Tag &', 'tag')], 
   741                    is_const=True)
   752                    is_const=True)
   742     cls.add_copy_constructor()
       
   743     return
   753     return
   744 
   754 
   745 def register_Ns3TagList_methods(root_module, cls):
   755 def register_Ns3TagList_methods(root_module, cls):
   746     ## tag-list.h: ns3::TagList::TagList() [constructor]
   756     ## tag-list.h: ns3::TagList::TagList() [constructor]
   747     cls.add_constructor([])
   757     cls.add_constructor([])
   773                    'void', 
   783                    'void', 
   774                    [param('int32_t', 'adjustment'), param('int32_t', 'prependOffset')])
   784                    [param('int32_t', 'adjustment'), param('int32_t', 'prependOffset')])
   775     return
   785     return
   776 
   786 
   777 def register_Ns3TagListIterator_methods(root_module, cls):
   787 def register_Ns3TagListIterator_methods(root_module, cls):
       
   788     ## tag-list.h: ns3::TagList::Iterator::Iterator(ns3::TagList::Iterator const & arg0) [copy constructor]
       
   789     cls.add_constructor([param('ns3::TagList::Iterator const &', 'arg0')])
   778     ## tag-list.h: bool ns3::TagList::Iterator::HasNext() const [member function]
   790     ## tag-list.h: bool ns3::TagList::Iterator::HasNext() const [member function]
   779     cls.add_method('HasNext', 
   791     cls.add_method('HasNext', 
   780                    'bool', 
   792                    'bool', 
   781                    [], 
   793                    [], 
   782                    is_const=True)
   794                    is_const=True)
   787     ## tag-list.h: uint32_t ns3::TagList::Iterator::GetOffsetStart() const [member function]
   799     ## tag-list.h: uint32_t ns3::TagList::Iterator::GetOffsetStart() const [member function]
   788     cls.add_method('GetOffsetStart', 
   800     cls.add_method('GetOffsetStart', 
   789                    'uint32_t', 
   801                    'uint32_t', 
   790                    [], 
   802                    [], 
   791                    is_const=True)
   803                    is_const=True)
   792     cls.add_copy_constructor()
       
   793     return
   804     return
   794 
   805 
   795 def register_Ns3TagListIteratorItem_methods(root_module, cls):
   806 def register_Ns3TagListIteratorItem_methods(root_module, cls):
   796     ## tag-list.h: ns3::TagList::Iterator::Item::tid [variable]
   807     ## tag-list.h: ns3::TagList::Iterator::Item::tid [variable]
   797     cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
   808     cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
   801     cls.add_instance_attribute('start', 'int32_t', is_const=False)
   812     cls.add_instance_attribute('start', 'int32_t', is_const=False)
   802     ## tag-list.h: ns3::TagList::Iterator::Item::end [variable]
   813     ## tag-list.h: ns3::TagList::Iterator::Item::end [variable]
   803     cls.add_instance_attribute('end', 'int32_t', is_const=False)
   814     cls.add_instance_attribute('end', 'int32_t', is_const=False)
   804     ## tag-list.h: ns3::TagList::Iterator::Item::buf [variable]
   815     ## tag-list.h: ns3::TagList::Iterator::Item::buf [variable]
   805     cls.add_instance_attribute('buf', 'ns3::TagBuffer', is_const=False)
   816     cls.add_instance_attribute('buf', 'ns3::TagBuffer', is_const=False)
       
   817     ## tag-list.h: ns3::TagList::Iterator::Item::Item(ns3::TagList::Iterator::Item const & arg0) [copy constructor]
       
   818     cls.add_constructor([param('ns3::TagList::Iterator::Item const &', 'arg0')])
   806     ## tag-list.h: ns3::TagList::Iterator::Item::Item(ns3::TagBuffer buf) [constructor]
   819     ## tag-list.h: ns3::TagList::Iterator::Item::Item(ns3::TagBuffer buf) [constructor]
   807     cls.add_constructor([param('ns3::TagBuffer', 'buf')])
   820     cls.add_constructor([param('ns3::TagBuffer', 'buf')])
   808     cls.add_copy_constructor()
       
   809     return
   821     return
   810 
   822 
   811 def register_Ns3Chunk_methods(root_module, cls):
   823 def register_Ns3Chunk_methods(root_module, cls):
   812     ## chunk.h: ns3::Chunk::Chunk() [constructor]
       
   813     cls.add_constructor([])
       
   814     ## chunk.h: ns3::Chunk::Chunk(ns3::Chunk const & arg0) [copy constructor]
   824     ## chunk.h: ns3::Chunk::Chunk(ns3::Chunk const & arg0) [copy constructor]
   815     cls.add_constructor([param('ns3::Chunk const &', 'arg0')])
   825     cls.add_constructor([param('ns3::Chunk const &', 'arg0')])
       
   826     ## chunk.h: ns3::Chunk::Chunk() [constructor]
       
   827     cls.add_constructor([])
   816     ## chunk.h: static ns3::TypeId ns3::Chunk::GetTypeId() [member function]
   828     ## chunk.h: static ns3::TypeId ns3::Chunk::GetTypeId() [member function]
   817     cls.add_method('GetTypeId', 
   829     cls.add_method('GetTypeId', 
   818                    'ns3::TypeId', 
   830                    'ns3::TypeId', 
   819                    [], 
   831                    [], 
   820                    is_static=True)
   832                    is_static=True)
   829                    [param('std::ostream &', 'os')], 
   841                    [param('std::ostream &', 'os')], 
   830                    is_pure_virtual=True, is_const=True, is_virtual=True)
   842                    is_pure_virtual=True, is_const=True, is_virtual=True)
   831     return
   843     return
   832 
   844 
   833 def register_Ns3DataRateChecker_methods(root_module, cls):
   845 def register_Ns3DataRateChecker_methods(root_module, cls):
   834     cls.add_constructor([])
   846     ## data-rate.h: ns3::DataRateChecker::DataRateChecker(ns3::DataRateChecker const & arg0) [copy constructor]
   835     cls.add_copy_constructor()
   847     cls.add_constructor([param('ns3::DataRateChecker const &', 'arg0')])
       
   848     ## data-rate.h: ns3::DataRateChecker::DataRateChecker() [constructor]
       
   849     cls.add_constructor([])
   836     return
   850     return
   837 
   851 
   838 def register_Ns3DataRateValue_methods(root_module, cls):
   852 def register_Ns3DataRateValue_methods(root_module, cls):
       
   853     ## data-rate.h: ns3::DataRateValue::DataRateValue(ns3::DataRateValue const & arg0) [copy constructor]
       
   854     cls.add_constructor([param('ns3::DataRateValue const &', 'arg0')])
   839     ## data-rate.h: ns3::DataRateValue::DataRateValue() [constructor]
   855     ## data-rate.h: ns3::DataRateValue::DataRateValue() [constructor]
   840     cls.add_constructor([])
   856     cls.add_constructor([])
   841     ## data-rate.h: ns3::DataRateValue::DataRateValue(ns3::DataRate const & value) [constructor]
   857     ## data-rate.h: ns3::DataRateValue::DataRateValue(ns3::DataRate const & value) [constructor]
   842     cls.add_constructor([param('ns3::DataRate const &', 'value')])
   858     cls.add_constructor([param('ns3::DataRate const &', 'value')])
   843     ## data-rate.h: void ns3::DataRateValue::Set(ns3::DataRate const & value) [member function]
   859     ## data-rate.h: void ns3::DataRateValue::Set(ns3::DataRate const & value) [member function]
   862     ## data-rate.h: bool ns3::DataRateValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
   878     ## data-rate.h: bool ns3::DataRateValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
   863     cls.add_method('DeserializeFromString', 
   879     cls.add_method('DeserializeFromString', 
   864                    'bool', 
   880                    'bool', 
   865                    [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
   881                    [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
   866                    is_virtual=True)
   882                    is_virtual=True)
   867     cls.add_copy_constructor()
       
   868     return
   883     return
   869 
   884 
   870 def register_Ns3Header_methods(root_module, cls):
   885 def register_Ns3Header_methods(root_module, cls):
   871     cls.add_output_stream_operator()
   886     cls.add_output_stream_operator()
   872     ## header.h: ns3::Header::Header() [constructor]
   887     ## header.h: ns3::Header::Header() [constructor]
   899                    [param('ns3::Buffer::Iterator', 'start')], 
   914                    [param('ns3::Buffer::Iterator', 'start')], 
   900                    is_pure_virtual=True, is_const=True, is_virtual=True)
   915                    is_pure_virtual=True, is_const=True, is_virtual=True)
   901     return
   916     return
   902 
   917 
   903 def register_Ns3PcapWriter_methods(root_module, cls):
   918 def register_Ns3PcapWriter_methods(root_module, cls):
       
   919     ## pcap-writer.h: ns3::PcapWriter::PcapWriter(ns3::PcapWriter const & arg0) [copy constructor]
       
   920     cls.add_constructor([param('ns3::PcapWriter const &', 'arg0')])
   904     ## pcap-writer.h: ns3::PcapWriter::PcapWriter() [constructor]
   921     ## pcap-writer.h: ns3::PcapWriter::PcapWriter() [constructor]
   905     cls.add_constructor([])
   922     cls.add_constructor([])
   906     ## pcap-writer.h: void ns3::PcapWriter::Open(std::string const & name) [member function]
   923     ## pcap-writer.h: void ns3::PcapWriter::Open(std::string const & name) [member function]
   907     cls.add_method('Open', 
   924     cls.add_method('Open', 
   908                    'void', 
   925                    'void', 
   925                    [])
   942                    [])
   926     ## pcap-writer.h: void ns3::PcapWriter::WritePacket(ns3::Ptr<const ns3::Packet> packet) [member function]
   943     ## pcap-writer.h: void ns3::PcapWriter::WritePacket(ns3::Ptr<const ns3::Packet> packet) [member function]
   927     cls.add_method('WritePacket', 
   944     cls.add_method('WritePacket', 
   928                    'void', 
   945                    'void', 
   929                    [param('ns3::Ptr< ns3::Packet const >', 'packet')])
   946                    [param('ns3::Ptr< ns3::Packet const >', 'packet')])
   930     cls.add_copy_constructor()
       
   931     return
   947     return
   932 
   948 
   933 def register_Ns3Trailer_methods(root_module, cls):
   949 def register_Ns3Trailer_methods(root_module, cls):
   934     cls.add_output_stream_operator()
   950     cls.add_output_stream_operator()
   935     ## trailer.h: ns3::Trailer::Trailer() [constructor]
   951     ## trailer.h: ns3::Trailer::Trailer() [constructor]
   962                    [param('ns3::Buffer::Iterator', 'start')], 
   978                    [param('ns3::Buffer::Iterator', 'start')], 
   963                    is_pure_virtual=True, is_const=True, is_virtual=True)
   979                    is_pure_virtual=True, is_const=True, is_virtual=True)
   964     return
   980     return
   965 
   981 
   966 def register_Ns3ErrorModel_methods(root_module, cls):
   982 def register_Ns3ErrorModel_methods(root_module, cls):
       
   983     ## error-model.h: ns3::ErrorModel::ErrorModel(ns3::ErrorModel const & arg0) [copy constructor]
       
   984     cls.add_constructor([param('ns3::ErrorModel const &', 'arg0')])
   967     ## error-model.h: static ns3::TypeId ns3::ErrorModel::GetTypeId() [member function]
   985     ## error-model.h: static ns3::TypeId ns3::ErrorModel::GetTypeId() [member function]
   968     cls.add_method('GetTypeId', 
   986     cls.add_method('GetTypeId', 
   969                    'ns3::TypeId', 
   987                    'ns3::TypeId', 
   970                    [], 
   988                    [], 
   971                    is_static=True)
   989                    is_static=True)
  1000     ## error-model.h: void ns3::ErrorModel::DoReset() [member function]
  1018     ## error-model.h: void ns3::ErrorModel::DoReset() [member function]
  1001     cls.add_method('DoReset', 
  1019     cls.add_method('DoReset', 
  1002                    'void', 
  1020                    'void', 
  1003                    [], 
  1021                    [], 
  1004                    is_pure_virtual=True, visibility='private', is_virtual=True)
  1022                    is_pure_virtual=True, visibility='private', is_virtual=True)
  1005     cls.add_copy_constructor()
       
  1006     return
  1023     return
  1007 
  1024 
  1008 def register_Ns3ListErrorModel_methods(root_module, cls):
  1025 def register_Ns3ListErrorModel_methods(root_module, cls):
       
  1026     ## error-model.h: ns3::ListErrorModel::ListErrorModel(ns3::ListErrorModel const & arg0) [copy constructor]
       
  1027     cls.add_constructor([param('ns3::ListErrorModel const &', 'arg0')])
  1009     ## error-model.h: static ns3::TypeId ns3::ListErrorModel::GetTypeId() [member function]
  1028     ## error-model.h: static ns3::TypeId ns3::ListErrorModel::GetTypeId() [member function]
  1010     cls.add_method('GetTypeId', 
  1029     cls.add_method('GetTypeId', 
  1011                    'ns3::TypeId', 
  1030                    'ns3::TypeId', 
  1012                    [], 
  1031                    [], 
  1013                    is_static=True)
  1032                    is_static=True)
  1030     ## error-model.h: void ns3::ListErrorModel::DoReset() [member function]
  1049     ## error-model.h: void ns3::ListErrorModel::DoReset() [member function]
  1031     cls.add_method('DoReset', 
  1050     cls.add_method('DoReset', 
  1032                    'void', 
  1051                    'void', 
  1033                    [], 
  1052                    [], 
  1034                    visibility='private', is_virtual=True)
  1053                    visibility='private', is_virtual=True)
  1035     cls.add_copy_constructor()
       
  1036     return
  1054     return
  1037 
  1055 
  1038 def register_Ns3RateErrorModel_methods(root_module, cls):
  1056 def register_Ns3RateErrorModel_methods(root_module, cls):
       
  1057     ## error-model.h: ns3::RateErrorModel::RateErrorModel(ns3::RateErrorModel const & arg0) [copy constructor]
       
  1058     cls.add_constructor([param('ns3::RateErrorModel const &', 'arg0')])
  1039     ## error-model.h: static ns3::TypeId ns3::RateErrorModel::GetTypeId() [member function]
  1059     ## error-model.h: static ns3::TypeId ns3::RateErrorModel::GetTypeId() [member function]
  1040     cls.add_method('GetTypeId', 
  1060     cls.add_method('GetTypeId', 
  1041                    'ns3::TypeId', 
  1061                    'ns3::TypeId', 
  1042                    [], 
  1062                    [], 
  1043                    is_static=True)
  1063                    is_static=True)
  1088     ## error-model.h: void ns3::RateErrorModel::DoReset() [member function]
  1108     ## error-model.h: void ns3::RateErrorModel::DoReset() [member function]
  1089     cls.add_method('DoReset', 
  1109     cls.add_method('DoReset', 
  1090                    'void', 
  1110                    'void', 
  1091                    [], 
  1111                    [], 
  1092                    visibility='private', is_virtual=True)
  1112                    visibility='private', is_virtual=True)
  1093     cls.add_copy_constructor()
       
  1094     return
  1113     return
  1095 
  1114 
  1096 def register_functions(root_module):
  1115 def register_functions(root_module):
  1097     module = root_module
  1116     module = root_module
  1098     ## data-rate.h: extern ns3::Ptr<ns3::AttributeChecker const> ns3::MakeDataRateChecker() [free function]
  1117     ## data-rate.h: extern ns3::Ptr<ns3::AttributeChecker const> ns3::MakeDataRateChecker() [free function]