src/topology-read/bindings/modulegen__gcc_LP64.py
changeset 10795 29506f2221e2
parent 10631 a258a16d4793
child 10956 fa4be182ef17
equal deleted inserted replaced
10794:14430d46a1a6 10795:29506f2221e2
    52     module.add_class('ObjectDeleter', import_from_module='ns.core')
    52     module.add_class('ObjectDeleter', import_from_module='ns.core')
    53     ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter> [class]
    53     ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter> [class]
    54     module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter'], parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
    54     module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter'], parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
    55     ## tag-buffer.h (module 'network'): ns3::TagBuffer [class]
    55     ## tag-buffer.h (module 'network'): ns3::TagBuffer [class]
    56     module.add_class('TagBuffer', import_from_module='ns.network')
    56     module.add_class('TagBuffer', import_from_module='ns.network')
       
    57     ## nstime.h (module 'core'): ns3::TimeWithUnit [class]
       
    58     module.add_class('TimeWithUnit', import_from_module='ns.core')
    57     ## topology-reader-helper.h (module 'topology-read'): ns3::TopologyReaderHelper [class]
    59     ## topology-reader-helper.h (module 'topology-read'): ns3::TopologyReaderHelper [class]
    58     module.add_class('TopologyReaderHelper')
    60     module.add_class('TopologyReaderHelper')
    59     ## type-id.h (module 'core'): ns3::TypeId [class]
    61     ## type-id.h (module 'core'): ns3::TypeId [class]
    60     module.add_class('TypeId', import_from_module='ns.core')
    62     module.add_class('TypeId', import_from_module='ns.core')
    61     ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration]
    63     ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration]
   211     register_Ns3NodeContainer_methods(root_module, root_module['ns3::NodeContainer'])
   213     register_Ns3NodeContainer_methods(root_module, root_module['ns3::NodeContainer'])
   212     register_Ns3ObjectBase_methods(root_module, root_module['ns3::ObjectBase'])
   214     register_Ns3ObjectBase_methods(root_module, root_module['ns3::ObjectBase'])
   213     register_Ns3ObjectDeleter_methods(root_module, root_module['ns3::ObjectDeleter'])
   215     register_Ns3ObjectDeleter_methods(root_module, root_module['ns3::ObjectDeleter'])
   214     register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >'])
   216     register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >'])
   215     register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer'])
   217     register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer'])
       
   218     register_Ns3TimeWithUnit_methods(root_module, root_module['ns3::TimeWithUnit'])
   216     register_Ns3TopologyReaderHelper_methods(root_module, root_module['ns3::TopologyReaderHelper'])
   219     register_Ns3TopologyReaderHelper_methods(root_module, root_module['ns3::TopologyReaderHelper'])
   217     register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId'])
   220     register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId'])
   218     register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation'])
   221     register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation'])
   219     register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation'])
   222     register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation'])
   220     register_Ns3Empty_methods(root_module, root_module['ns3::empty'])
   223     register_Ns3Empty_methods(root_module, root_module['ns3::empty'])
  1059     cls.add_method('WriteU8', 
  1062     cls.add_method('WriteU8', 
  1060                    'void', 
  1063                    'void', 
  1061                    [param('uint8_t', 'v')])
  1064                    [param('uint8_t', 'v')])
  1062     return
  1065     return
  1063 
  1066 
       
  1067 def register_Ns3TimeWithUnit_methods(root_module, cls):
       
  1068     cls.add_output_stream_operator()
       
  1069     ## nstime.h (module 'core'): ns3::TimeWithUnit::TimeWithUnit(ns3::TimeWithUnit const & arg0) [copy constructor]
       
  1070     cls.add_constructor([param('ns3::TimeWithUnit const &', 'arg0')])
       
  1071     ## nstime.h (module 'core'): ns3::TimeWithUnit::TimeWithUnit(ns3::Time const time, ns3::Time::Unit const unit) [constructor]
       
  1072     cls.add_constructor([param('ns3::Time const', 'time'), param('ns3::Time::Unit const', 'unit')])
       
  1073     return
       
  1074 
  1064 def register_Ns3TopologyReaderHelper_methods(root_module, cls):
  1075 def register_Ns3TopologyReaderHelper_methods(root_module, cls):
  1065     ## topology-reader-helper.h (module 'topology-read'): ns3::TopologyReaderHelper::TopologyReaderHelper(ns3::TopologyReaderHelper const & arg0) [copy constructor]
  1076     ## topology-reader-helper.h (module 'topology-read'): ns3::TopologyReaderHelper::TopologyReaderHelper(ns3::TopologyReaderHelper const & arg0) [copy constructor]
  1066     cls.add_constructor([param('ns3::TopologyReaderHelper const &', 'arg0')])
  1077     cls.add_constructor([param('ns3::TopologyReaderHelper const &', 'arg0')])
  1067     ## topology-reader-helper.h (module 'topology-read'): ns3::TopologyReaderHelper::TopologyReaderHelper() [constructor]
  1078     ## topology-reader-helper.h (module 'topology-read'): ns3::TopologyReaderHelper::TopologyReaderHelper() [constructor]
  1068     cls.add_constructor([])
  1079     cls.add_constructor([])
  1515     cls.add_constructor([param('long long unsigned int', 'v')])
  1526     cls.add_constructor([param('long long unsigned int', 'v')])
  1516     ## nstime.h (module 'core'): ns3::Time::Time(std::string const & s) [constructor]
  1527     ## nstime.h (module 'core'): ns3::Time::Time(std::string const & s) [constructor]
  1517     cls.add_constructor([param('std::string const &', 's')])
  1528     cls.add_constructor([param('std::string const &', 's')])
  1518     ## nstime.h (module 'core'): ns3::Time::Time(ns3::int64x64_t const & value) [constructor]
  1529     ## nstime.h (module 'core'): ns3::Time::Time(ns3::int64x64_t const & value) [constructor]
  1519     cls.add_constructor([param('ns3::int64x64_t const &', 'value')])
  1530     cls.add_constructor([param('ns3::int64x64_t const &', 'value')])
       
  1531     ## nstime.h (module 'core'): ns3::TimeWithUnit ns3::Time::As(ns3::Time::Unit const unit) const [member function]
       
  1532     cls.add_method('As', 
       
  1533                    'ns3::TimeWithUnit', 
       
  1534                    [param('ns3::Time::Unit const', 'unit')], 
       
  1535                    is_const=True)
  1520     ## nstime.h (module 'core'): int ns3::Time::Compare(ns3::Time const & o) const [member function]
  1536     ## nstime.h (module 'core'): int ns3::Time::Compare(ns3::Time const & o) const [member function]
  1521     cls.add_method('Compare', 
  1537     cls.add_method('Compare', 
  1522                    'int', 
  1538                    'int', 
  1523                    [param('ns3::Time const &', 'o')], 
  1539                    [param('ns3::Time const &', 'o')], 
  1524                    is_const=True)
  1540                    is_const=True)