bindings/python/ns3_module_common.py
changeset 4407 ef566eeff84f
parent 4241 c35796bc0b4b
child 4449 c11b6d768ab3
equal deleted inserted replaced
4406:39f119de91ef 4407:ef566eeff84f
   372     cls.add_constructor([param('ns3::Packet const &', 'o')])
   372     cls.add_constructor([param('ns3::Packet const &', 'o')])
   373     ## packet.h: ns3::Packet::Packet(uint32_t size) [constructor]
   373     ## packet.h: ns3::Packet::Packet(uint32_t size) [constructor]
   374     cls.add_constructor([param('uint32_t', 'size')])
   374     cls.add_constructor([param('uint32_t', 'size')])
   375     ## packet.h: ns3::Packet::Packet(uint8_t const * buffer, uint32_t size) [constructor]
   375     ## packet.h: ns3::Packet::Packet(uint8_t const * buffer, uint32_t size) [constructor]
   376     cls.add_constructor([param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
   376     cls.add_constructor([param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
   377     ## packet.h: void ns3::Packet::AddAtEnd(ns3::Ptr<const ns3::Packet> packet) [member function]
   377     ## packet.h: void ns3::Packet::AddAtEnd(ns3::Ptr<ns3::Packet const> packet) [member function]
   378     cls.add_method('AddAtEnd', 
   378     cls.add_method('AddAtEnd', 
   379                    'void', 
   379                    'void', 
   380                    [param('ns3::Ptr< ns3::Packet const >', 'packet')])
   380                    [param('ns3::Ptr< ns3::Packet const >', 'packet')])
   381     ## packet.h: void ns3::Packet::AddHeader(ns3::Header const & header) [member function]
   381     ## packet.h: void ns3::Packet::AddHeader(ns3::Header const & header) [member function]
   382     cls.add_method('AddHeader', 
   382     cls.add_method('AddHeader', 
   938                    [])
   938                    [])
   939     ## pcap-writer.h: void ns3::PcapWriter::WritePppHeader() [member function]
   939     ## pcap-writer.h: void ns3::PcapWriter::WritePppHeader() [member function]
   940     cls.add_method('WritePppHeader', 
   940     cls.add_method('WritePppHeader', 
   941                    'void', 
   941                    'void', 
   942                    [])
   942                    [])
   943     ## 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<ns3::Packet const> packet) [member function]
   944     cls.add_method('WritePacket', 
   944     cls.add_method('WritePacket', 
   945                    'void', 
   945                    'void', 
   946                    [param('ns3::Ptr< ns3::Packet const >', 'packet')])
   946                    [param('ns3::Ptr< ns3::Packet const >', 'packet')])
   947     return
   947     return
   948 
   948