src/emu/bindings/modulegen__gcc_LP64.py
changeset 9901 9a100979b2df
parent 9708 443bde2aa701
child 10183 308e44d51626
equal deleted inserted replaced
9900:0799c5d3505f 9901:9a100979b2df
    94     module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::PacketTagIterator'])
    94     module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::PacketTagIterator'])
    95     ## packet-tag-list.h (module 'network'): ns3::PacketTagList [class]
    95     ## packet-tag-list.h (module 'network'): ns3::PacketTagList [class]
    96     module.add_class('PacketTagList', import_from_module='ns.network')
    96     module.add_class('PacketTagList', import_from_module='ns.network')
    97     ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData [struct]
    97     ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData [struct]
    98     module.add_class('TagData', import_from_module='ns.network', outer_class=root_module['ns3::PacketTagList'])
    98     module.add_class('TagData', import_from_module='ns.network', outer_class=root_module['ns3::PacketTagList'])
       
    99     ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::TagData_e [enumeration]
       
   100     module.add_enum('TagData_e', ['MAX_SIZE'], outer_class=root_module['ns3::PacketTagList::TagData'], import_from_module='ns.network')
    99     ## pcap-file.h (module 'network'): ns3::PcapFile [class]
   101     ## pcap-file.h (module 'network'): ns3::PcapFile [class]
   100     module.add_class('PcapFile', import_from_module='ns.network')
   102     module.add_class('PcapFile', import_from_module='ns.network')
   101     ## trace-helper.h (module 'network'): ns3::PcapHelper [class]
   103     ## trace-helper.h (module 'network'): ns3::PcapHelper [class]
   102     module.add_class('PcapHelper', import_from_module='ns.network')
   104     module.add_class('PcapHelper', import_from_module='ns.network')
   103     ## trace-helper.h (module 'network'): ns3::PcapHelper [enumeration]
   105     ## trace-helper.h (module 'network'): ns3::PcapHelper [enumeration]
   224     module.add_class('ObjectFactoryValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
   226     module.add_class('ObjectFactoryValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
   225     ## output-stream-wrapper.h (module 'network'): ns3::OutputStreamWrapper [class]
   227     ## output-stream-wrapper.h (module 'network'): ns3::OutputStreamWrapper [class]
   226     module.add_class('OutputStreamWrapper', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> >'])
   228     module.add_class('OutputStreamWrapper', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> >'])
   227     ## packet.h (module 'network'): ns3::Packet [class]
   229     ## packet.h (module 'network'): ns3::Packet [class]
   228     module.add_class('Packet', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >'])
   230     module.add_class('Packet', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >'])
   229     ## nstime.h (module 'core'): ns3::TimeChecker [class]
       
   230     module.add_class('TimeChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
       
   231     ## nstime.h (module 'core'): ns3::TimeValue [class]
   231     ## nstime.h (module 'core'): ns3::TimeValue [class]
   232     module.add_class('TimeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
   232     module.add_class('TimeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
   233     ## type-id.h (module 'core'): ns3::TypeIdChecker [class]
   233     ## type-id.h (module 'core'): ns3::TypeIdChecker [class]
   234     module.add_class('TypeIdChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
   234     module.add_class('TypeIdChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
   235     ## type-id.h (module 'core'): ns3::TypeIdValue [class]
   235     ## type-id.h (module 'core'): ns3::TypeIdValue [class]
   345     register_Ns3Node_methods(root_module, root_module['ns3::Node'])
   345     register_Ns3Node_methods(root_module, root_module['ns3::Node'])
   346     register_Ns3ObjectFactoryChecker_methods(root_module, root_module['ns3::ObjectFactoryChecker'])
   346     register_Ns3ObjectFactoryChecker_methods(root_module, root_module['ns3::ObjectFactoryChecker'])
   347     register_Ns3ObjectFactoryValue_methods(root_module, root_module['ns3::ObjectFactoryValue'])
   347     register_Ns3ObjectFactoryValue_methods(root_module, root_module['ns3::ObjectFactoryValue'])
   348     register_Ns3OutputStreamWrapper_methods(root_module, root_module['ns3::OutputStreamWrapper'])
   348     register_Ns3OutputStreamWrapper_methods(root_module, root_module['ns3::OutputStreamWrapper'])
   349     register_Ns3Packet_methods(root_module, root_module['ns3::Packet'])
   349     register_Ns3Packet_methods(root_module, root_module['ns3::Packet'])
   350     register_Ns3TimeChecker_methods(root_module, root_module['ns3::TimeChecker'])
       
   351     register_Ns3TimeValue_methods(root_module, root_module['ns3::TimeValue'])
   350     register_Ns3TimeValue_methods(root_module, root_module['ns3::TimeValue'])
   352     register_Ns3TypeIdChecker_methods(root_module, root_module['ns3::TypeIdChecker'])
   351     register_Ns3TypeIdChecker_methods(root_module, root_module['ns3::TypeIdChecker'])
   353     register_Ns3TypeIdValue_methods(root_module, root_module['ns3::TypeIdValue'])
   352     register_Ns3TypeIdValue_methods(root_module, root_module['ns3::TypeIdValue'])
   354     register_Ns3AddressChecker_methods(root_module, root_module['ns3::AddressChecker'])
   353     register_Ns3AddressChecker_methods(root_module, root_module['ns3::AddressChecker'])
   355     register_Ns3AddressValue_methods(root_module, root_module['ns3::AddressValue'])
   354     register_Ns3AddressValue_methods(root_module, root_module['ns3::AddressValue'])
  1893                    [param('ns3::Tag &', 'tag')])
  1892                    [param('ns3::Tag &', 'tag')])
  1894     ## packet-tag-list.h (module 'network'): void ns3::PacketTagList::RemoveAll() [member function]
  1893     ## packet-tag-list.h (module 'network'): void ns3::PacketTagList::RemoveAll() [member function]
  1895     cls.add_method('RemoveAll', 
  1894     cls.add_method('RemoveAll', 
  1896                    'void', 
  1895                    'void', 
  1897                    [])
  1896                    [])
       
  1897     ## packet-tag-list.h (module 'network'): bool ns3::PacketTagList::Replace(ns3::Tag & tag) [member function]
       
  1898     cls.add_method('Replace', 
       
  1899                    'bool', 
       
  1900                    [param('ns3::Tag &', 'tag')])
  1898     return
  1901     return
  1899 
  1902 
  1900 def register_Ns3PacketTagListTagData_methods(root_module, cls):
  1903 def register_Ns3PacketTagListTagData_methods(root_module, cls):
  1901     ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::TagData() [constructor]
  1904     ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::TagData() [constructor]
  1902     cls.add_constructor([])
  1905     cls.add_constructor([])
  3059     ## nstime.h (module 'core'): bool ns3::Time::IsZero() const [member function]
  3062     ## nstime.h (module 'core'): bool ns3::Time::IsZero() const [member function]
  3060     cls.add_method('IsZero', 
  3063     cls.add_method('IsZero', 
  3061                    'bool', 
  3064                    'bool', 
  3062                    [], 
  3065                    [], 
  3063                    is_const=True)
  3066                    is_const=True)
       
  3067     ## nstime.h (module 'core'): static ns3::Time ns3::Time::MAX() [member function]
       
  3068     cls.add_method('MAX', 
       
  3069                    'ns3::Time', 
       
  3070                    [], 
       
  3071                    is_static=True)
       
  3072     ## nstime.h (module 'core'): static ns3::Time ns3::Time::MIN() [member function]
       
  3073     cls.add_method('MIN', 
       
  3074                    'ns3::Time', 
       
  3075                    [], 
       
  3076                    is_static=True)
  3064     ## nstime.h (module 'core'): static void ns3::Time::SetResolution(ns3::Time::Unit resolution) [member function]
  3077     ## nstime.h (module 'core'): static void ns3::Time::SetResolution(ns3::Time::Unit resolution) [member function]
  3065     cls.add_method('SetResolution', 
  3078     cls.add_method('SetResolution', 
  3066                    'void', 
  3079                    'void', 
  3067                    [param('ns3::Time::Unit', 'resolution')], 
  3080                    [param('ns3::Time::Unit', 'resolution')], 
  3068                    is_static=True)
  3081                    is_static=True)
  4047                    [param('ns3::Tag &', 'tag')])
  4060                    [param('ns3::Tag &', 'tag')])
  4048     ## packet.h (module 'network'): uint32_t ns3::Packet::RemoveTrailer(ns3::Trailer & trailer) [member function]
  4061     ## packet.h (module 'network'): uint32_t ns3::Packet::RemoveTrailer(ns3::Trailer & trailer) [member function]
  4049     cls.add_method('RemoveTrailer', 
  4062     cls.add_method('RemoveTrailer', 
  4050                    'uint32_t', 
  4063                    'uint32_t', 
  4051                    [param('ns3::Trailer &', 'trailer')])
  4064                    [param('ns3::Trailer &', 'trailer')])
       
  4065     ## packet.h (module 'network'): bool ns3::Packet::ReplacePacketTag(ns3::Tag & tag) [member function]
       
  4066     cls.add_method('ReplacePacketTag', 
       
  4067                    'bool', 
       
  4068                    [param('ns3::Tag &', 'tag')])
  4052     ## packet.h (module 'network'): uint32_t ns3::Packet::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
  4069     ## packet.h (module 'network'): uint32_t ns3::Packet::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
  4053     cls.add_method('Serialize', 
  4070     cls.add_method('Serialize', 
  4054                    'uint32_t', 
  4071                    'uint32_t', 
  4055                    [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')], 
  4072                    [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')], 
  4056                    is_const=True)
  4073                    is_const=True)
  4057     ## packet.h (module 'network'): void ns3::Packet::SetNixVector(ns3::Ptr<ns3::NixVector> arg0) [member function]
  4074     ## packet.h (module 'network'): void ns3::Packet::SetNixVector(ns3::Ptr<ns3::NixVector> arg0) [member function]
  4058     cls.add_method('SetNixVector', 
  4075     cls.add_method('SetNixVector', 
  4059                    'void', 
  4076                    'void', 
  4060                    [param('ns3::Ptr< ns3::NixVector >', 'arg0')])
  4077                    [param('ns3::Ptr< ns3::NixVector >', 'arg0')])
  4061     return
       
  4062 
       
  4063 def register_Ns3TimeChecker_methods(root_module, cls):
       
  4064     ## nstime.h (module 'core'): ns3::TimeChecker::TimeChecker() [constructor]
       
  4065     cls.add_constructor([])
       
  4066     ## nstime.h (module 'core'): ns3::TimeChecker::TimeChecker(ns3::TimeChecker const & arg0) [copy constructor]
       
  4067     cls.add_constructor([param('ns3::TimeChecker const &', 'arg0')])
       
  4068     return
  4078     return
  4069 
  4079 
  4070 def register_Ns3TimeValue_methods(root_module, cls):
  4080 def register_Ns3TimeValue_methods(root_module, cls):
  4071     ## nstime.h (module 'core'): ns3::TimeValue::TimeValue() [constructor]
  4081     ## nstime.h (module 'core'): ns3::TimeValue::TimeValue() [constructor]
  4072     cls.add_constructor([])
  4082     cls.add_constructor([])