src/nix-vector-routing/bindings/modulegen__gcc_LP64.py
changeset 10795 29506f2221e2
parent 10631 a258a16d4793
child 10956 fa4be182ef17
equal deleted inserted replaced
10794:14430d46a1a6 10795:29506f2221e2
   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]
   370     register_Ns3PacketTagListTagData_methods(root_module, root_module['ns3::PacketTagList::TagData'])
   372     register_Ns3PacketTagListTagData_methods(root_module, root_module['ns3::PacketTagList::TagData'])
   371     register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >'])
   373     register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >'])
   372     register_Ns3Simulator_methods(root_module, root_module['ns3::Simulator'])
   374     register_Ns3Simulator_methods(root_module, root_module['ns3::Simulator'])
   373     register_Ns3Tag_methods(root_module, root_module['ns3::Tag'])
   375     register_Ns3Tag_methods(root_module, root_module['ns3::Tag'])
   374     register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer'])
   376     register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer'])
       
   377     register_Ns3TimeWithUnit_methods(root_module, root_module['ns3::TimeWithUnit'])
   375     register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId'])
   378     register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId'])
   376     register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation'])
   379     register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation'])
   377     register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation'])
   380     register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation'])
   378     register_Ns3Empty_methods(root_module, root_module['ns3::empty'])
   381     register_Ns3Empty_methods(root_module, root_module['ns3::empty'])
   379     register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t'])
   382     register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t'])
  2321     cls.add_method('WriteU8', 
  2324     cls.add_method('WriteU8', 
  2322                    'void', 
  2325                    'void', 
  2323                    [param('uint8_t', 'v')])
  2326                    [param('uint8_t', 'v')])
  2324     return
  2327     return
  2325 
  2328 
       
  2329 def register_Ns3TimeWithUnit_methods(root_module, cls):
       
  2330     cls.add_output_stream_operator()
       
  2331     ## nstime.h (module 'core'): ns3::TimeWithUnit::TimeWithUnit(ns3::TimeWithUnit const & arg0) [copy constructor]
       
  2332     cls.add_constructor([param('ns3::TimeWithUnit const &', 'arg0')])
       
  2333     ## nstime.h (module 'core'): ns3::TimeWithUnit::TimeWithUnit(ns3::Time const time, ns3::Time::Unit const unit) [constructor]
       
  2334     cls.add_constructor([param('ns3::Time const', 'time'), param('ns3::Time::Unit const', 'unit')])
       
  2335     return
       
  2336 
  2326 def register_Ns3TypeId_methods(root_module, cls):
  2337 def register_Ns3TypeId_methods(root_module, cls):
  2327     cls.add_binary_comparison_operator('<')
  2338     cls.add_binary_comparison_operator('<')
  2328     cls.add_binary_comparison_operator('!=')
  2339     cls.add_binary_comparison_operator('!=')
  2329     cls.add_output_stream_operator()
  2340     cls.add_output_stream_operator()
  2330     cls.add_binary_comparison_operator('==')
  2341     cls.add_binary_comparison_operator('==')
  3685     cls.add_constructor([param('long long unsigned int', 'v')])
  3696     cls.add_constructor([param('long long unsigned int', 'v')])
  3686     ## nstime.h (module 'core'): ns3::Time::Time(std::string const & s) [constructor]
  3697     ## nstime.h (module 'core'): ns3::Time::Time(std::string const & s) [constructor]
  3687     cls.add_constructor([param('std::string const &', 's')])
  3698     cls.add_constructor([param('std::string const &', 's')])
  3688     ## nstime.h (module 'core'): ns3::Time::Time(ns3::int64x64_t const & value) [constructor]
  3699     ## nstime.h (module 'core'): ns3::Time::Time(ns3::int64x64_t const & value) [constructor]
  3689     cls.add_constructor([param('ns3::int64x64_t const &', 'value')])
  3700     cls.add_constructor([param('ns3::int64x64_t const &', 'value')])
       
  3701     ## nstime.h (module 'core'): ns3::TimeWithUnit ns3::Time::As(ns3::Time::Unit const unit) const [member function]
       
  3702     cls.add_method('As', 
       
  3703                    'ns3::TimeWithUnit', 
       
  3704                    [param('ns3::Time::Unit const', 'unit')], 
       
  3705                    is_const=True)
  3690     ## nstime.h (module 'core'): int ns3::Time::Compare(ns3::Time const & o) const [member function]
  3706     ## nstime.h (module 'core'): int ns3::Time::Compare(ns3::Time const & o) const [member function]
  3691     cls.add_method('Compare', 
  3707     cls.add_method('Compare', 
  3692                    'int', 
  3708                    'int', 
  3693                    [param('ns3::Time const &', 'o')], 
  3709                    [param('ns3::Time const &', 'o')], 
  3694                    is_const=True)
  3710                    is_const=True)
  5131     ## packet.h (module 'network'): uint32_t ns3::Packet::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
  5147     ## packet.h (module 'network'): uint32_t ns3::Packet::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
  5132     cls.add_method('Serialize', 
  5148     cls.add_method('Serialize', 
  5133                    'uint32_t', 
  5149                    'uint32_t', 
  5134                    [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')], 
  5150                    [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')], 
  5135                    is_const=True)
  5151                    is_const=True)
  5136     ## packet.h (module 'network'): void ns3::Packet::SetNixVector(ns3::Ptr<ns3::NixVector> arg0) [member function]
  5152     ## packet.h (module 'network'): void ns3::Packet::SetNixVector(ns3::Ptr<ns3::NixVector> nixVector) [member function]
  5137     cls.add_method('SetNixVector', 
  5153     cls.add_method('SetNixVector', 
  5138                    'void', 
  5154                    'void', 
  5139                    [param('ns3::Ptr< ns3::NixVector >', 'arg0')])
  5155                    [param('ns3::Ptr< ns3::NixVector >', 'nixVector')])
  5140     return
  5156     return
  5141 
  5157 
  5142 def register_Ns3TimeValue_methods(root_module, cls):
  5158 def register_Ns3TimeValue_methods(root_module, cls):
  5143     ## nstime.h (module 'core'): ns3::TimeValue::TimeValue() [constructor]
  5159     ## nstime.h (module 'core'): ns3::TimeValue::TimeValue() [constructor]
  5144     cls.add_constructor([])
  5160     cls.add_constructor([])