bindings/python/ns3_module_common.py
changeset 3743 d0cf214d050c
parent 3731 317f9dbccc2b
child 3755 c73866625b44
equal deleted inserted replaced
3742:3fd36a505c0e 3743:d0cf214d050c
   441     ## packet.h: uint8_t const * ns3::Packet::PeekData() const [member function]
   441     ## packet.h: uint8_t const * ns3::Packet::PeekData() const [member function]
   442     cls.add_method('PeekData', 
   442     cls.add_method('PeekData', 
   443                    'uint8_t const *', 
   443                    'uint8_t const *', 
   444                    [], 
   444                    [], 
   445                    is_const=True)
   445                    is_const=True)
   446     ## packet.h: uint32_t ns3::Packet::PeekHeader(ns3::Header & header) [member function]
   446     ## packet.h: uint32_t ns3::Packet::PeekHeader(ns3::Header & header) const [member function]
   447     cls.add_method('PeekHeader', 
   447     cls.add_method('PeekHeader', 
   448                    'uint32_t', 
   448                    'uint32_t', 
   449                    [param('ns3::Header &', 'header')])
   449                    [param('ns3::Header &', 'header')], 
       
   450                    is_const=True)
   450     ## packet.h: uint32_t ns3::Packet::PeekTrailer(ns3::Trailer & trailer) [member function]
   451     ## packet.h: uint32_t ns3::Packet::PeekTrailer(ns3::Trailer & trailer) [member function]
   451     cls.add_method('PeekTrailer', 
   452     cls.add_method('PeekTrailer', 
   452                    'uint32_t', 
   453                    'uint32_t', 
   453                    [param('ns3::Trailer &', 'trailer')])
   454                    [param('ns3::Trailer &', 'trailer')])
   454     ## packet.h: void ns3::Packet::Print(std::ostream & os) const [member function]
   455     ## packet.h: void ns3::Packet::Print(std::ostream & os) const [member function]