src/point-to-point/bindings/modulegen__gcc_ILP32.py
changeset 10795 29506f2221e2
parent 10631 a258a16d4793
child 10956 fa4be182ef17
equal deleted inserted replaced
10794:14430d46a1a6 10795:29506f2221e2
   101     ## pcap-file.h (module 'network'): ns3::PcapFile [class]
   101     ## pcap-file.h (module 'network'): ns3::PcapFile [class]
   102     module.add_class('PcapFile', import_from_module='ns.network')
   102     module.add_class('PcapFile', import_from_module='ns.network')
   103     ## trace-helper.h (module 'network'): ns3::PcapHelper [class]
   103     ## trace-helper.h (module 'network'): ns3::PcapHelper [class]
   104     module.add_class('PcapHelper', import_from_module='ns.network')
   104     module.add_class('PcapHelper', import_from_module='ns.network')
   105     ## trace-helper.h (module 'network'): ns3::PcapHelper [enumeration]
   105     ## trace-helper.h (module 'network'): ns3::PcapHelper [enumeration]
   106     module.add_enum('', ['DLT_NULL', 'DLT_EN10MB', 'DLT_PPP', 'DLT_RAW', 'DLT_IEEE802_11', 'DLT_PRISM_HEADER', 'DLT_IEEE802_11_RADIO'], outer_class=root_module['ns3::PcapHelper'], import_from_module='ns.network')
   106     module.add_enum('', ['DLT_NULL', 'DLT_EN10MB', 'DLT_PPP', 'DLT_RAW', 'DLT_IEEE802_11', 'DLT_PRISM_HEADER', 'DLT_IEEE802_11_RADIO', 'DLT_IEEE802_15_4'], outer_class=root_module['ns3::PcapHelper'], import_from_module='ns.network')
   107     ## trace-helper.h (module 'network'): ns3::PcapHelperForDevice [class]
   107     ## trace-helper.h (module 'network'): ns3::PcapHelperForDevice [class]
   108     module.add_class('PcapHelperForDevice', allow_subclassing=True, import_from_module='ns.network')
   108     module.add_class('PcapHelperForDevice', allow_subclassing=True, import_from_module='ns.network')
   109     ## point-to-point-helper.h (module 'point-to-point'): ns3::PointToPointHelper [class]
   109     ## point-to-point-helper.h (module 'point-to-point'): ns3::PointToPointHelper [class]
   110     module.add_class('PointToPointHelper', parent=[root_module['ns3::PcapHelperForDevice'], root_module['ns3::AsciiTraceHelperForDevice']])
   110     module.add_class('PointToPointHelper', parent=[root_module['ns3::PcapHelperForDevice'], root_module['ns3::AsciiTraceHelperForDevice']])
   111     ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter> [class]
   111     ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter> [class]
   114     module.add_class('Simulator', destructor_visibility='private', import_from_module='ns.core')
   114     module.add_class('Simulator', destructor_visibility='private', import_from_module='ns.core')
   115     ## tag.h (module 'network'): ns3::Tag [class]
   115     ## tag.h (module 'network'): ns3::Tag [class]
   116     module.add_class('Tag', import_from_module='ns.network', parent=root_module['ns3::ObjectBase'])
   116     module.add_class('Tag', import_from_module='ns.network', parent=root_module['ns3::ObjectBase'])
   117     ## tag-buffer.h (module 'network'): ns3::TagBuffer [class]
   117     ## tag-buffer.h (module 'network'): ns3::TagBuffer [class]
   118     module.add_class('TagBuffer', import_from_module='ns.network')
   118     module.add_class('TagBuffer', import_from_module='ns.network')
       
   119     ## nstime.h (module 'core'): ns3::TimeWithUnit [class]
       
   120     module.add_class('TimeWithUnit', import_from_module='ns.core')
   119     ## type-id.h (module 'core'): ns3::TypeId [class]
   121     ## type-id.h (module 'core'): ns3::TypeId [class]
   120     module.add_class('TypeId', import_from_module='ns.core')
   122     module.add_class('TypeId', import_from_module='ns.core')
   121     ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration]
   123     ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration]
   122     module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core')
   124     module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core')
   123     ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct]
   125     ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct]
   382     register_Ns3PointToPointHelper_methods(root_module, root_module['ns3::PointToPointHelper'])
   384     register_Ns3PointToPointHelper_methods(root_module, root_module['ns3::PointToPointHelper'])
   383     register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >'])
   385     register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >'])
   384     register_Ns3Simulator_methods(root_module, root_module['ns3::Simulator'])
   386     register_Ns3Simulator_methods(root_module, root_module['ns3::Simulator'])
   385     register_Ns3Tag_methods(root_module, root_module['ns3::Tag'])
   387     register_Ns3Tag_methods(root_module, root_module['ns3::Tag'])
   386     register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer'])
   388     register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer'])
       
   389     register_Ns3TimeWithUnit_methods(root_module, root_module['ns3::TimeWithUnit'])
   387     register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId'])
   390     register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId'])
   388     register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation'])
   391     register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation'])
   389     register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation'])
   392     register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation'])
   390     register_Ns3Empty_methods(root_module, root_module['ns3::empty'])
   393     register_Ns3Empty_methods(root_module, root_module['ns3::empty'])
   391     register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t'])
   394     register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t'])
  2466     cls.add_method('WriteU8', 
  2469     cls.add_method('WriteU8', 
  2467                    'void', 
  2470                    'void', 
  2468                    [param('uint8_t', 'v')])
  2471                    [param('uint8_t', 'v')])
  2469     return
  2472     return
  2470 
  2473 
       
  2474 def register_Ns3TimeWithUnit_methods(root_module, cls):
       
  2475     cls.add_output_stream_operator()
       
  2476     ## nstime.h (module 'core'): ns3::TimeWithUnit::TimeWithUnit(ns3::TimeWithUnit const & arg0) [copy constructor]
       
  2477     cls.add_constructor([param('ns3::TimeWithUnit const &', 'arg0')])
       
  2478     ## nstime.h (module 'core'): ns3::TimeWithUnit::TimeWithUnit(ns3::Time const time, ns3::Time::Unit const unit) [constructor]
       
  2479     cls.add_constructor([param('ns3::Time const', 'time'), param('ns3::Time::Unit const', 'unit')])
       
  2480     return
       
  2481 
  2471 def register_Ns3TypeId_methods(root_module, cls):
  2482 def register_Ns3TypeId_methods(root_module, cls):
  2472     cls.add_binary_comparison_operator('<')
  2483     cls.add_binary_comparison_operator('<')
  2473     cls.add_binary_comparison_operator('!=')
  2484     cls.add_binary_comparison_operator('!=')
  2474     cls.add_output_stream_operator()
  2485     cls.add_output_stream_operator()
  2475     cls.add_binary_comparison_operator('==')
  2486     cls.add_binary_comparison_operator('==')
  3298     cls.add_constructor([param('long long unsigned int', 'v')])
  3309     cls.add_constructor([param('long long unsigned int', 'v')])
  3299     ## nstime.h (module 'core'): ns3::Time::Time(std::string const & s) [constructor]
  3310     ## nstime.h (module 'core'): ns3::Time::Time(std::string const & s) [constructor]
  3300     cls.add_constructor([param('std::string const &', 's')])
  3311     cls.add_constructor([param('std::string const &', 's')])
  3301     ## nstime.h (module 'core'): ns3::Time::Time(ns3::int64x64_t const & value) [constructor]
  3312     ## nstime.h (module 'core'): ns3::Time::Time(ns3::int64x64_t const & value) [constructor]
  3302     cls.add_constructor([param('ns3::int64x64_t const &', 'value')])
  3313     cls.add_constructor([param('ns3::int64x64_t const &', 'value')])
       
  3314     ## nstime.h (module 'core'): ns3::TimeWithUnit ns3::Time::As(ns3::Time::Unit const unit) const [member function]
       
  3315     cls.add_method('As', 
       
  3316                    'ns3::TimeWithUnit', 
       
  3317                    [param('ns3::Time::Unit const', 'unit')], 
       
  3318                    is_const=True)
  3303     ## nstime.h (module 'core'): int ns3::Time::Compare(ns3::Time const & o) const [member function]
  3319     ## nstime.h (module 'core'): int ns3::Time::Compare(ns3::Time const & o) const [member function]
  3304     cls.add_method('Compare', 
  3320     cls.add_method('Compare', 
  3305                    'int', 
  3321                    'int', 
  3306                    [param('ns3::Time const &', 'o')], 
  3322                    [param('ns3::Time const &', 'o')], 
  3307                    is_const=True)
  3323                    is_const=True)
  4097                    is_const=True)
  4113                    is_const=True)
  4098     ## error-model.h (module 'network'): void ns3::ErrorModel::Reset() [member function]
  4114     ## error-model.h (module 'network'): void ns3::ErrorModel::Reset() [member function]
  4099     cls.add_method('Reset', 
  4115     cls.add_method('Reset', 
  4100                    'void', 
  4116                    'void', 
  4101                    [])
  4117                    [])
  4102     ## error-model.h (module 'network'): bool ns3::ErrorModel::DoCorrupt(ns3::Ptr<ns3::Packet> arg0) [member function]
  4118     ## error-model.h (module 'network'): bool ns3::ErrorModel::DoCorrupt(ns3::Ptr<ns3::Packet> p) [member function]
  4103     cls.add_method('DoCorrupt', 
  4119     cls.add_method('DoCorrupt', 
  4104                    'bool', 
  4120                    'bool', 
  4105                    [param('ns3::Ptr< ns3::Packet >', 'arg0')], 
  4121                    [param('ns3::Ptr< ns3::Packet >', 'p')], 
  4106                    is_pure_virtual=True, visibility='private', is_virtual=True)
  4122                    is_pure_virtual=True, visibility='private', is_virtual=True)
  4107     ## error-model.h (module 'network'): void ns3::ErrorModel::DoReset() [member function]
  4123     ## error-model.h (module 'network'): void ns3::ErrorModel::DoReset() [member function]
  4108     cls.add_method('DoReset', 
  4124     cls.add_method('DoReset', 
  4109                    'void', 
  4125                    'void', 
  4110                    [], 
  4126                    [], 
  5014     ## packet.h (module 'network'): uint32_t ns3::Packet::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
  5030     ## packet.h (module 'network'): uint32_t ns3::Packet::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
  5015     cls.add_method('Serialize', 
  5031     cls.add_method('Serialize', 
  5016                    'uint32_t', 
  5032                    'uint32_t', 
  5017                    [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')], 
  5033                    [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')], 
  5018                    is_const=True)
  5034                    is_const=True)
  5019     ## packet.h (module 'network'): void ns3::Packet::SetNixVector(ns3::Ptr<ns3::NixVector> arg0) [member function]
  5035     ## packet.h (module 'network'): void ns3::Packet::SetNixVector(ns3::Ptr<ns3::NixVector> nixVector) [member function]
  5020     cls.add_method('SetNixVector', 
  5036     cls.add_method('SetNixVector', 
  5021                    'void', 
  5037                    'void', 
  5022                    [param('ns3::Ptr< ns3::NixVector >', 'arg0')])
  5038                    [param('ns3::Ptr< ns3::NixVector >', 'nixVector')])
  5023     return
  5039     return
  5024 
  5040 
  5025 def register_Ns3ParetoRandomVariable_methods(root_module, cls):
  5041 def register_Ns3ParetoRandomVariable_methods(root_module, cls):
  5026     ## random-variable-stream.h (module 'core'): static ns3::TypeId ns3::ParetoRandomVariable::GetTypeId() [member function]
  5042     ## random-variable-stream.h (module 'core'): static ns3::TypeId ns3::ParetoRandomVariable::GetTypeId() [member function]
  5027     cls.add_method('GetTypeId', 
  5043     cls.add_method('GetTypeId',