src/sixlowpan/bindings/modulegen__gcc_LP64.py
changeset 11654 5db1372be9a3
parent 11579 4ded0610ab25
equal deleted inserted replaced
11653:11763913913e 11654:5db1372be9a3
    58     module.add_class('Ipv6Address', import_from_module='ns.network')
    58     module.add_class('Ipv6Address', import_from_module='ns.network')
    59     ## ipv6-address.h (module 'network'): ns3::Ipv6Address [class]
    59     ## ipv6-address.h (module 'network'): ns3::Ipv6Address [class]
    60     root_module['ns3::Ipv6Address'].implicitly_converts_to(root_module['ns3::Address'])
    60     root_module['ns3::Ipv6Address'].implicitly_converts_to(root_module['ns3::Address'])
    61     ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix [class]
    61     ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix [class]
    62     module.add_class('Ipv6Prefix', import_from_module='ns.network')
    62     module.add_class('Ipv6Prefix', import_from_module='ns.network')
       
    63     ## mac48-address.h (module 'network'): ns3::Mac48Address [class]
       
    64     module.add_class('Mac48Address', import_from_module='ns.network')
       
    65     ## mac48-address.h (module 'network'): ns3::Mac48Address [class]
       
    66     root_module['ns3::Mac48Address'].implicitly_converts_to(root_module['ns3::Address'])
    63     ## net-device-container.h (module 'network'): ns3::NetDeviceContainer [class]
    67     ## net-device-container.h (module 'network'): ns3::NetDeviceContainer [class]
    64     module.add_class('NetDeviceContainer', import_from_module='ns.network')
    68     module.add_class('NetDeviceContainer', import_from_module='ns.network')
    65     ## object-base.h (module 'core'): ns3::ObjectBase [class]
    69     ## object-base.h (module 'core'): ns3::ObjectBase [class]
    66     module.add_class('ObjectBase', allow_subclassing=True, import_from_module='ns.core')
    70     module.add_class('ObjectBase', allow_subclassing=True, import_from_module='ns.core')
    67     ## object.h (module 'core'): ns3::ObjectDeleter [struct]
    71     ## object.h (module 'core'): ns3::ObjectDeleter [struct]
   242     module.add_class('Ipv6PrefixChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
   246     module.add_class('Ipv6PrefixChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
   243     ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue [class]
   247     ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue [class]
   244     module.add_class('Ipv6PrefixValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
   248     module.add_class('Ipv6PrefixValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
   245     ## random-variable-stream.h (module 'core'): ns3::LogNormalRandomVariable [class]
   249     ## random-variable-stream.h (module 'core'): ns3::LogNormalRandomVariable [class]
   246     module.add_class('LogNormalRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream'])
   250     module.add_class('LogNormalRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream'])
       
   251     ## mac48-address.h (module 'network'): ns3::Mac48AddressChecker [class]
       
   252     module.add_class('Mac48AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
       
   253     ## mac48-address.h (module 'network'): ns3::Mac48AddressValue [class]
       
   254     module.add_class('Mac48AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
   247     ## net-device.h (module 'network'): ns3::NetDevice [class]
   255     ## net-device.h (module 'network'): ns3::NetDevice [class]
   248     module.add_class('NetDevice', import_from_module='ns.network', parent=root_module['ns3::Object'])
   256     module.add_class('NetDevice', import_from_module='ns.network', parent=root_module['ns3::Object'])
   249     ## net-device.h (module 'network'): ns3::NetDevice::PacketType [enumeration]
   257     ## net-device.h (module 'network'): ns3::NetDevice::PacketType [enumeration]
   250     module.add_enum('PacketType', ['PACKET_HOST', 'NS3_PACKET_HOST', 'PACKET_BROADCAST', 'NS3_PACKET_BROADCAST', 'PACKET_MULTICAST', 'NS3_PACKET_MULTICAST', 'PACKET_OTHERHOST', 'NS3_PACKET_OTHERHOST'], outer_class=root_module['ns3::NetDevice'], import_from_module='ns.network')
   258     module.add_enum('PacketType', ['PACKET_HOST', 'NS3_PACKET_HOST', 'PACKET_BROADCAST', 'NS3_PACKET_BROADCAST', 'PACKET_MULTICAST', 'NS3_PACKET_MULTICAST', 'PACKET_OTHERHOST', 'NS3_PACKET_OTHERHOST'], outer_class=root_module['ns3::NetDevice'], import_from_module='ns.network')
   251     ## nix-vector.h (module 'network'): ns3::NixVector [class]
   259     ## nix-vector.h (module 'network'): ns3::NixVector [class]
   284     ## Register a nested module for the namespace Hash
   292     ## Register a nested module for the namespace Hash
   285     
   293     
   286     nested_module = module.add_cpp_namespace('Hash')
   294     nested_module = module.add_cpp_namespace('Hash')
   287     register_types_ns3_Hash(nested_module)
   295     register_types_ns3_Hash(nested_module)
   288     
   296     
       
   297     
       
   298     ## Register a nested module for the namespace TracedValueCallback
       
   299     
       
   300     nested_module = module.add_cpp_namespace('TracedValueCallback')
       
   301     register_types_ns3_TracedValueCallback(nested_module)
       
   302     
   289 
   303 
   290 def register_types_ns3_FatalImpl(module):
   304 def register_types_ns3_FatalImpl(module):
   291     root_module = module.get_root()
   305     root_module = module.get_root()
   292     
   306     
   293 
   307 
   318     module.add_class('Hash32', import_from_module='ns.core', parent=root_module['ns3::Hash::Implementation'])
   332     module.add_class('Hash32', import_from_module='ns.core', parent=root_module['ns3::Hash::Implementation'])
   319     ## hash-function.h (module 'core'): ns3::Hash::Function::Hash64 [class]
   333     ## hash-function.h (module 'core'): ns3::Hash::Function::Hash64 [class]
   320     module.add_class('Hash64', import_from_module='ns.core', parent=root_module['ns3::Hash::Implementation'])
   334     module.add_class('Hash64', import_from_module='ns.core', parent=root_module['ns3::Hash::Implementation'])
   321     ## hash-murmur3.h (module 'core'): ns3::Hash::Function::Murmur3 [class]
   335     ## hash-murmur3.h (module 'core'): ns3::Hash::Function::Murmur3 [class]
   322     module.add_class('Murmur3', import_from_module='ns.core', parent=root_module['ns3::Hash::Implementation'])
   336     module.add_class('Murmur3', import_from_module='ns.core', parent=root_module['ns3::Hash::Implementation'])
       
   337 
       
   338 def register_types_ns3_TracedValueCallback(module):
       
   339     root_module = module.get_root()
       
   340     
       
   341     typehandlers.add_type_alias(u'void ( * ) ( ns3::Time, ns3::Time ) *', u'ns3::TracedValueCallback::Time')
       
   342     typehandlers.add_type_alias(u'void ( * ) ( ns3::Time, ns3::Time ) **', u'ns3::TracedValueCallback::Time*')
       
   343     typehandlers.add_type_alias(u'void ( * ) ( ns3::Time, ns3::Time ) *&', u'ns3::TracedValueCallback::Time&')
   323 
   344 
   324 def register_methods(root_module):
   345 def register_methods(root_module):
   325     register_Ns3Address_methods(root_module, root_module['ns3::Address'])
   346     register_Ns3Address_methods(root_module, root_module['ns3::Address'])
   326     register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList'])
   347     register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList'])
   327     register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item'])
   348     register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item'])
   337     register_Ns3Hasher_methods(root_module, root_module['ns3::Hasher'])
   358     register_Ns3Hasher_methods(root_module, root_module['ns3::Hasher'])
   338     register_Ns3Ipv4Address_methods(root_module, root_module['ns3::Ipv4Address'])
   359     register_Ns3Ipv4Address_methods(root_module, root_module['ns3::Ipv4Address'])
   339     register_Ns3Ipv4Mask_methods(root_module, root_module['ns3::Ipv4Mask'])
   360     register_Ns3Ipv4Mask_methods(root_module, root_module['ns3::Ipv4Mask'])
   340     register_Ns3Ipv6Address_methods(root_module, root_module['ns3::Ipv6Address'])
   361     register_Ns3Ipv6Address_methods(root_module, root_module['ns3::Ipv6Address'])
   341     register_Ns3Ipv6Prefix_methods(root_module, root_module['ns3::Ipv6Prefix'])
   362     register_Ns3Ipv6Prefix_methods(root_module, root_module['ns3::Ipv6Prefix'])
       
   363     register_Ns3Mac48Address_methods(root_module, root_module['ns3::Mac48Address'])
   342     register_Ns3NetDeviceContainer_methods(root_module, root_module['ns3::NetDeviceContainer'])
   364     register_Ns3NetDeviceContainer_methods(root_module, root_module['ns3::NetDeviceContainer'])
   343     register_Ns3ObjectBase_methods(root_module, root_module['ns3::ObjectBase'])
   365     register_Ns3ObjectBase_methods(root_module, root_module['ns3::ObjectBase'])
   344     register_Ns3ObjectDeleter_methods(root_module, root_module['ns3::ObjectDeleter'])
   366     register_Ns3ObjectDeleter_methods(root_module, root_module['ns3::ObjectDeleter'])
   345     register_Ns3ObjectFactory_methods(root_module, root_module['ns3::ObjectFactory'])
   367     register_Ns3ObjectFactory_methods(root_module, root_module['ns3::ObjectFactory'])
   346     register_Ns3PacketMetadata_methods(root_module, root_module['ns3::PacketMetadata'])
   368     register_Ns3PacketMetadata_methods(root_module, root_module['ns3::PacketMetadata'])
   413     register_Ns3Ipv6AddressChecker_methods(root_module, root_module['ns3::Ipv6AddressChecker'])
   435     register_Ns3Ipv6AddressChecker_methods(root_module, root_module['ns3::Ipv6AddressChecker'])
   414     register_Ns3Ipv6AddressValue_methods(root_module, root_module['ns3::Ipv6AddressValue'])
   436     register_Ns3Ipv6AddressValue_methods(root_module, root_module['ns3::Ipv6AddressValue'])
   415     register_Ns3Ipv6PrefixChecker_methods(root_module, root_module['ns3::Ipv6PrefixChecker'])
   437     register_Ns3Ipv6PrefixChecker_methods(root_module, root_module['ns3::Ipv6PrefixChecker'])
   416     register_Ns3Ipv6PrefixValue_methods(root_module, root_module['ns3::Ipv6PrefixValue'])
   438     register_Ns3Ipv6PrefixValue_methods(root_module, root_module['ns3::Ipv6PrefixValue'])
   417     register_Ns3LogNormalRandomVariable_methods(root_module, root_module['ns3::LogNormalRandomVariable'])
   439     register_Ns3LogNormalRandomVariable_methods(root_module, root_module['ns3::LogNormalRandomVariable'])
       
   440     register_Ns3Mac48AddressChecker_methods(root_module, root_module['ns3::Mac48AddressChecker'])
       
   441     register_Ns3Mac48AddressValue_methods(root_module, root_module['ns3::Mac48AddressValue'])
   418     register_Ns3NetDevice_methods(root_module, root_module['ns3::NetDevice'])
   442     register_Ns3NetDevice_methods(root_module, root_module['ns3::NetDevice'])
   419     register_Ns3NixVector_methods(root_module, root_module['ns3::NixVector'])
   443     register_Ns3NixVector_methods(root_module, root_module['ns3::NixVector'])
   420     register_Ns3NormalRandomVariable_methods(root_module, root_module['ns3::NormalRandomVariable'])
   444     register_Ns3NormalRandomVariable_methods(root_module, root_module['ns3::NormalRandomVariable'])
   421     register_Ns3ObjectFactoryChecker_methods(root_module, root_module['ns3::ObjectFactoryChecker'])
   445     register_Ns3ObjectFactoryChecker_methods(root_module, root_module['ns3::ObjectFactoryChecker'])
   422     register_Ns3ObjectFactoryValue_methods(root_module, root_module['ns3::ObjectFactoryValue'])
   446     register_Ns3ObjectFactoryValue_methods(root_module, root_module['ns3::ObjectFactoryValue'])
   901                    [], 
   925                    [], 
   902                    is_const=True)
   926                    is_const=True)
   903     ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase(ns3::Ptr<ns3::CallbackImplBase> impl) [constructor]
   927     ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase(ns3::Ptr<ns3::CallbackImplBase> impl) [constructor]
   904     cls.add_constructor([param('ns3::Ptr< ns3::CallbackImplBase >', 'impl')], 
   928     cls.add_constructor([param('ns3::Ptr< ns3::CallbackImplBase >', 'impl')], 
   905                         visibility='protected')
   929                         visibility='protected')
   906     ## callback.h (module 'core'): static std::string ns3::CallbackBase::Demangle(std::string const & mangled) [member function]
       
   907     cls.add_method('Demangle', 
       
   908                    'std::string', 
       
   909                    [param('std::string const &', 'mangled')], 
       
   910                    is_static=True, visibility='protected')
       
   911     return
   930     return
   912 
   931 
   913 def register_Ns3EventId_methods(root_module, cls):
   932 def register_Ns3EventId_methods(root_module, cls):
   914     cls.add_binary_comparison_operator('!=')
   933     cls.add_binary_comparison_operator('!=')
   915     cls.add_binary_comparison_operator('==')
   934     cls.add_binary_comparison_operator('==')
  1410                    'void', 
  1429                    'void', 
  1411                    [param('std::ostream &', 'os')], 
  1430                    [param('std::ostream &', 'os')], 
  1412                    is_const=True)
  1431                    is_const=True)
  1413     return
  1432     return
  1414 
  1433 
       
  1434 def register_Ns3Mac48Address_methods(root_module, cls):
       
  1435     cls.add_binary_comparison_operator('<')
       
  1436     cls.add_binary_comparison_operator('!=')
       
  1437     cls.add_output_stream_operator()
       
  1438     cls.add_binary_comparison_operator('==')
       
  1439     ## mac48-address.h (module 'network'): ns3::Mac48Address::Mac48Address(ns3::Mac48Address const & arg0) [copy constructor]
       
  1440     cls.add_constructor([param('ns3::Mac48Address const &', 'arg0')])
       
  1441     ## mac48-address.h (module 'network'): ns3::Mac48Address::Mac48Address() [constructor]
       
  1442     cls.add_constructor([])
       
  1443     ## mac48-address.h (module 'network'): ns3::Mac48Address::Mac48Address(char const * str) [constructor]
       
  1444     cls.add_constructor([param('char const *', 'str')])
       
  1445     ## mac48-address.h (module 'network'): static ns3::Mac48Address ns3::Mac48Address::Allocate() [member function]
       
  1446     cls.add_method('Allocate', 
       
  1447                    'ns3::Mac48Address', 
       
  1448                    [], 
       
  1449                    is_static=True)
       
  1450     ## mac48-address.h (module 'network'): static ns3::Mac48Address ns3::Mac48Address::ConvertFrom(ns3::Address const & address) [member function]
       
  1451     cls.add_method('ConvertFrom', 
       
  1452                    'ns3::Mac48Address', 
       
  1453                    [param('ns3::Address const &', 'address')], 
       
  1454                    is_static=True)
       
  1455     ## mac48-address.h (module 'network'): void ns3::Mac48Address::CopyFrom(uint8_t const * buffer) [member function]
       
  1456     cls.add_method('CopyFrom', 
       
  1457                    'void', 
       
  1458                    [param('uint8_t const *', 'buffer')])
       
  1459     ## mac48-address.h (module 'network'): void ns3::Mac48Address::CopyTo(uint8_t * buffer) const [member function]
       
  1460     cls.add_method('CopyTo', 
       
  1461                    'void', 
       
  1462                    [param('uint8_t *', 'buffer')], 
       
  1463                    is_const=True)
       
  1464     ## mac48-address.h (module 'network'): static ns3::Mac48Address ns3::Mac48Address::GetBroadcast() [member function]
       
  1465     cls.add_method('GetBroadcast', 
       
  1466                    'ns3::Mac48Address', 
       
  1467                    [], 
       
  1468                    is_static=True)
       
  1469     ## mac48-address.h (module 'network'): static ns3::Mac48Address ns3::Mac48Address::GetMulticast(ns3::Ipv4Address address) [member function]
       
  1470     cls.add_method('GetMulticast', 
       
  1471                    'ns3::Mac48Address', 
       
  1472                    [param('ns3::Ipv4Address', 'address')], 
       
  1473                    is_static=True)
       
  1474     ## mac48-address.h (module 'network'): static ns3::Mac48Address ns3::Mac48Address::GetMulticast(ns3::Ipv6Address address) [member function]
       
  1475     cls.add_method('GetMulticast', 
       
  1476                    'ns3::Mac48Address', 
       
  1477                    [param('ns3::Ipv6Address', 'address')], 
       
  1478                    is_static=True)
       
  1479     ## mac48-address.h (module 'network'): static ns3::Mac48Address ns3::Mac48Address::GetMulticast6Prefix() [member function]
       
  1480     cls.add_method('GetMulticast6Prefix', 
       
  1481                    'ns3::Mac48Address', 
       
  1482                    [], 
       
  1483                    is_static=True)
       
  1484     ## mac48-address.h (module 'network'): static ns3::Mac48Address ns3::Mac48Address::GetMulticastPrefix() [member function]
       
  1485     cls.add_method('GetMulticastPrefix', 
       
  1486                    'ns3::Mac48Address', 
       
  1487                    [], 
       
  1488                    is_static=True)
       
  1489     ## mac48-address.h (module 'network'): bool ns3::Mac48Address::IsBroadcast() const [member function]
       
  1490     cls.add_method('IsBroadcast', 
       
  1491                    'bool', 
       
  1492                    [], 
       
  1493                    is_const=True)
       
  1494     ## mac48-address.h (module 'network'): bool ns3::Mac48Address::IsGroup() const [member function]
       
  1495     cls.add_method('IsGroup', 
       
  1496                    'bool', 
       
  1497                    [], 
       
  1498                    is_const=True)
       
  1499     ## mac48-address.h (module 'network'): static bool ns3::Mac48Address::IsMatchingType(ns3::Address const & address) [member function]
       
  1500     cls.add_method('IsMatchingType', 
       
  1501                    'bool', 
       
  1502                    [param('ns3::Address const &', 'address')], 
       
  1503                    is_static=True)
       
  1504     return
       
  1505 
  1415 def register_Ns3NetDeviceContainer_methods(root_module, cls):
  1506 def register_Ns3NetDeviceContainer_methods(root_module, cls):
  1416     ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(ns3::NetDeviceContainer const & arg0) [copy constructor]
  1507     ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(ns3::NetDeviceContainer const & arg0) [copy constructor]
  1417     cls.add_constructor([param('ns3::NetDeviceContainer const &', 'arg0')])
  1508     cls.add_constructor([param('ns3::NetDeviceContainer const &', 'arg0')])
  1418     ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer() [constructor]
  1509     ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer() [constructor]
  1419     cls.add_constructor([])
  1510     cls.add_constructor([])
  1748     ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::TagData(ns3::PacketTagList::TagData const & arg0) [copy constructor]
  1839     ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::TagData(ns3::PacketTagList::TagData const & arg0) [copy constructor]
  1749     cls.add_constructor([param('ns3::PacketTagList::TagData const &', 'arg0')])
  1840     cls.add_constructor([param('ns3::PacketTagList::TagData const &', 'arg0')])
  1750     ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::count [variable]
  1841     ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::count [variable]
  1751     cls.add_instance_attribute('count', 'uint32_t', is_const=False)
  1842     cls.add_instance_attribute('count', 'uint32_t', is_const=False)
  1752     ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::data [variable]
  1843     ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::data [variable]
  1753     cls.add_instance_attribute('data', 'uint8_t [ 20 ]', is_const=False)
  1844     cls.add_instance_attribute('data', 'uint8_t [ 21 ]', is_const=False)
  1754     ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::next [variable]
  1845     ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::next [variable]
  1755     cls.add_instance_attribute('next', 'ns3::PacketTagList::TagData *', is_const=False)
  1846     cls.add_instance_attribute('next', 'ns3::PacketTagList::TagData *', is_const=False)
  1756     ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::tid [variable]
  1847     ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::tid [variable]
  1757     cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
  1848     cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
  1758     return
  1849     return
  3827 def register_Ns3CallbackImplBase_methods(root_module, cls):
  3918 def register_Ns3CallbackImplBase_methods(root_module, cls):
  3828     ## callback.h (module 'core'): ns3::CallbackImplBase::CallbackImplBase() [constructor]
  3919     ## callback.h (module 'core'): ns3::CallbackImplBase::CallbackImplBase() [constructor]
  3829     cls.add_constructor([])
  3920     cls.add_constructor([])
  3830     ## callback.h (module 'core'): ns3::CallbackImplBase::CallbackImplBase(ns3::CallbackImplBase const & arg0) [copy constructor]
  3921     ## callback.h (module 'core'): ns3::CallbackImplBase::CallbackImplBase(ns3::CallbackImplBase const & arg0) [copy constructor]
  3831     cls.add_constructor([param('ns3::CallbackImplBase const &', 'arg0')])
  3922     cls.add_constructor([param('ns3::CallbackImplBase const &', 'arg0')])
       
  3923     ## callback.h (module 'core'): std::string ns3::CallbackImplBase::GetTypeid() const [member function]
       
  3924     cls.add_method('GetTypeid', 
       
  3925                    'std::string', 
       
  3926                    [], 
       
  3927                    is_pure_virtual=True, is_const=True, is_virtual=True)
  3832     ## callback.h (module 'core'): bool ns3::CallbackImplBase::IsEqual(ns3::Ptr<ns3::CallbackImplBase const> other) const [member function]
  3928     ## callback.h (module 'core'): bool ns3::CallbackImplBase::IsEqual(ns3::Ptr<ns3::CallbackImplBase const> other) const [member function]
  3833     cls.add_method('IsEqual', 
  3929     cls.add_method('IsEqual', 
  3834                    'bool', 
  3930                    'bool', 
  3835                    [param('ns3::Ptr< ns3::CallbackImplBase const >', 'other')], 
  3931                    [param('ns3::Ptr< ns3::CallbackImplBase const >', 'other')], 
  3836                    is_pure_virtual=True, is_const=True, is_virtual=True)
  3932                    is_pure_virtual=True, is_const=True, is_virtual=True)
       
  3933     ## callback.h (module 'core'): static std::string ns3::CallbackImplBase::Demangle(std::string const & mangled) [member function]
       
  3934     cls.add_method('Demangle', 
       
  3935                    'std::string', 
       
  3936                    [param('std::string const &', 'mangled')], 
       
  3937                    is_static=True, visibility='protected')
  3837     return
  3938     return
  3838 
  3939 
  3839 def register_Ns3CallbackValue_methods(root_module, cls):
  3940 def register_Ns3CallbackValue_methods(root_module, cls):
  3840     ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue(ns3::CallbackValue const & arg0) [copy constructor]
  3941     ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue(ns3::CallbackValue const & arg0) [copy constructor]
  3841     cls.add_constructor([param('ns3::CallbackValue const &', 'arg0')])
  3942     cls.add_constructor([param('ns3::CallbackValue const &', 'arg0')])
  4309     ## random-variable-stream.h (module 'core'): uint32_t ns3::LogNormalRandomVariable::GetInteger() [member function]
  4410     ## random-variable-stream.h (module 'core'): uint32_t ns3::LogNormalRandomVariable::GetInteger() [member function]
  4310     cls.add_method('GetInteger', 
  4411     cls.add_method('GetInteger', 
  4311                    'uint32_t', 
  4412                    'uint32_t', 
  4312                    [], 
  4413                    [], 
  4313                    is_virtual=True)
  4414                    is_virtual=True)
       
  4415     return
       
  4416 
       
  4417 def register_Ns3Mac48AddressChecker_methods(root_module, cls):
       
  4418     ## mac48-address.h (module 'network'): ns3::Mac48AddressChecker::Mac48AddressChecker() [constructor]
       
  4419     cls.add_constructor([])
       
  4420     ## mac48-address.h (module 'network'): ns3::Mac48AddressChecker::Mac48AddressChecker(ns3::Mac48AddressChecker const & arg0) [copy constructor]
       
  4421     cls.add_constructor([param('ns3::Mac48AddressChecker const &', 'arg0')])
       
  4422     return
       
  4423 
       
  4424 def register_Ns3Mac48AddressValue_methods(root_module, cls):
       
  4425     ## mac48-address.h (module 'network'): ns3::Mac48AddressValue::Mac48AddressValue() [constructor]
       
  4426     cls.add_constructor([])
       
  4427     ## mac48-address.h (module 'network'): ns3::Mac48AddressValue::Mac48AddressValue(ns3::Mac48AddressValue const & arg0) [copy constructor]
       
  4428     cls.add_constructor([param('ns3::Mac48AddressValue const &', 'arg0')])
       
  4429     ## mac48-address.h (module 'network'): ns3::Mac48AddressValue::Mac48AddressValue(ns3::Mac48Address const & value) [constructor]
       
  4430     cls.add_constructor([param('ns3::Mac48Address const &', 'value')])
       
  4431     ## mac48-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Mac48AddressValue::Copy() const [member function]
       
  4432     cls.add_method('Copy', 
       
  4433                    'ns3::Ptr< ns3::AttributeValue >', 
       
  4434                    [], 
       
  4435                    is_const=True, is_virtual=True)
       
  4436     ## mac48-address.h (module 'network'): bool ns3::Mac48AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
       
  4437     cls.add_method('DeserializeFromString', 
       
  4438                    'bool', 
       
  4439                    [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
       
  4440                    is_virtual=True)
       
  4441     ## mac48-address.h (module 'network'): ns3::Mac48Address ns3::Mac48AddressValue::Get() const [member function]
       
  4442     cls.add_method('Get', 
       
  4443                    'ns3::Mac48Address', 
       
  4444                    [], 
       
  4445                    is_const=True)
       
  4446     ## mac48-address.h (module 'network'): std::string ns3::Mac48AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
       
  4447     cls.add_method('SerializeToString', 
       
  4448                    'std::string', 
       
  4449                    [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
       
  4450                    is_const=True, is_virtual=True)
       
  4451     ## mac48-address.h (module 'network'): void ns3::Mac48AddressValue::Set(ns3::Mac48Address const & value) [member function]
       
  4452     cls.add_method('Set', 
       
  4453                    'void', 
       
  4454                    [param('ns3::Mac48Address const &', 'value')])
  4314     return
  4455     return
  4315 
  4456 
  4316 def register_Ns3NetDevice_methods(root_module, cls):
  4457 def register_Ns3NetDevice_methods(root_module, cls):
  4317     ## net-device.h (module 'network'): ns3::NetDevice::NetDevice() [constructor]
  4458     ## net-device.h (module 'network'): ns3::NetDevice::NetDevice() [constructor]
  4318     cls.add_constructor([])
  4459     cls.add_constructor([])
  5170 
  5311 
  5171 def register_functions(root_module):
  5312 def register_functions(root_module):
  5172     module = root_module
  5313     module = root_module
  5173     register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module)
  5314     register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module)
  5174     register_functions_ns3_Hash(module.get_submodule('Hash'), root_module)
  5315     register_functions_ns3_Hash(module.get_submodule('Hash'), root_module)
       
  5316     register_functions_ns3_TracedValueCallback(module.get_submodule('TracedValueCallback'), root_module)
  5175     return
  5317     return
  5176 
  5318 
  5177 def register_functions_ns3_FatalImpl(module, root_module):
  5319 def register_functions_ns3_FatalImpl(module, root_module):
  5178     return
  5320     return
  5179 
  5321 
  5180 def register_functions_ns3_Hash(module, root_module):
  5322 def register_functions_ns3_Hash(module, root_module):
  5181     register_functions_ns3_Hash_Function(module.get_submodule('Function'), root_module)
  5323     register_functions_ns3_Hash_Function(module.get_submodule('Function'), root_module)
  5182     return
  5324     return
  5183 
  5325 
  5184 def register_functions_ns3_Hash_Function(module, root_module):
  5326 def register_functions_ns3_Hash_Function(module, root_module):
       
  5327     return
       
  5328 
       
  5329 def register_functions_ns3_TracedValueCallback(module, root_module):
  5185     return
  5330     return
  5186 
  5331 
  5187 def main():
  5332 def main():
  5188     out = FileCodeSink(sys.stdout)
  5333     out = FileCodeSink(sys.stdout)
  5189     root_module = module_init()
  5334     root_module = module_init()