def register_Ns3PacketMetadata_methods(root_module, cls):
    cls.add_constructor([param('uint64_t', 'uid'), param('uint32_t', 'size')])
    cls.add_constructor([param('ns3::PacketMetadata const &', 'o')])
    cls.add_method('AddAtEnd', 'void', [param('ns3::PacketMetadata const &', 'o')])
    cls.add_method('AddHeader', 'void', [param('ns3::Header const &', 'header'), param('uint32_t', 'size')])
    cls.add_method('AddPaddingAtEnd', 'void', [param('uint32_t', 'end')])
    cls.add_method('AddTrailer', 'void', [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')])
    cls.add_method('BeginItem', 'ns3::PacketMetadata::ItemIterator', [param('ns3::Buffer', 'buffer')], is_const=True)
    cls.add_method('CreateFragment', 'ns3::PacketMetadata', [param('uint32_t', 'start'), param('uint32_t', 'end')], is_const=True)
    cls.add_method('Deserialize', 'uint32_t', [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
    cls.add_method('Enable', 'void', [], is_static=True)
    cls.add_method('EnableChecking', 'void', [], is_static=True)
    cls.add_method('GetSerializedSize', 'uint32_t', [], is_const=True)
    cls.add_method('GetUid', 'uint64_t', [], is_const=True)
    cls.add_method('RemoveAtEnd', 'void', [param('uint32_t', 'end')])
    cls.add_method('RemoveAtStart', 'void', [param('uint32_t', 'start')])
    cls.add_method('RemoveHeader', 'void', [param('ns3::Header const &', 'header'), param('uint32_t', 'size')])
    cls.add_method('RemoveTrailer', 'void', [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')])
    cls.add_method('Serialize', 'uint32_t', [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')], is_const=True)
    return
def register_Ns3PacketMetadata_methods(root_module, cls):
    cls.add_constructor([param('uint64_t', 'uid'), param('uint32_t', 'size')])
    cls.add_constructor([param('ns3::PacketMetadata const &', 'o')])
    cls.add_method('AddAtEnd', 'void', [param('ns3::PacketMetadata const &', 'o')])
    cls.add_method('AddHeader', 'void', [param('ns3::Header const &', 'header'), param('uint32_t', 'size')])
    cls.add_method('AddPaddingAtEnd', 'void', [param('uint32_t', 'end')])
    cls.add_method('AddTrailer', 'void', [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')])
    cls.add_method('BeginItem', 'ns3::PacketMetadata::ItemIterator', [param('ns3::Buffer', 'buffer')], is_const=True)
    cls.add_method('CreateFragment', 'ns3::PacketMetadata', [param('uint32_t', 'start'), param('uint32_t', 'end')], is_const=True)
    cls.add_method('Deserialize', 'uint32_t', [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
    cls.add_method('Enable', 'void', [], is_static=True)
    cls.add_method('EnableChecking', 'void', [], is_static=True)
    cls.add_method('GetSerializedSize', 'uint32_t', [], is_const=True)
    cls.add_method('GetUid', 'uint64_t', [], is_const=True)
    cls.add_method('RemoveAtEnd', 'void', [param('uint32_t', 'end')])
    cls.add_method('RemoveAtStart', 'void', [param('uint32_t', 'start')])
    cls.add_method('RemoveHeader', 'void', [param('ns3::Header const &', 'header'), param('uint32_t', 'size')])
    cls.add_method('RemoveTrailer', 'void', [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')])
    cls.add_method('Serialize', 'uint32_t', [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')], is_const=True)
    return