bindings/python/ns3_module_core.py
changeset 4228 b9158015b8aa
parent 4223 86a97665dcb0
child 4230 1a7aced59ed6
equal deleted inserted replaced
4227:b30027eeb387 4228:b9158015b8aa
   622                    [])
   622                    [])
   623     ## rng-stream.h: int32_t ns3::RngStream::RandInt(int32_t i, int32_t j) [member function]
   623     ## rng-stream.h: int32_t ns3::RngStream::RandInt(int32_t i, int32_t j) [member function]
   624     cls.add_method('RandInt', 
   624     cls.add_method('RandInt', 
   625                    'int32_t', 
   625                    'int32_t', 
   626                    [param('int32_t', 'i'), param('int32_t', 'j')])
   626                    [param('int32_t', 'i'), param('int32_t', 'j')])
       
   627     ## rng-stream.h: static bool ns3::RngStream::SetPackageSeed(uint32_t seed) [member function]
       
   628     cls.add_method('SetPackageSeed', 
       
   629                    'bool', 
       
   630                    [param('uint32_t', 'seed')], 
       
   631                    is_static=True)
   627     ## rng-stream.h: static bool ns3::RngStream::SetPackageSeed(uint32_t const * seed) [member function]
   632     ## rng-stream.h: static bool ns3::RngStream::SetPackageSeed(uint32_t const * seed) [member function]
   628     cls.add_method('SetPackageSeed', 
   633     cls.add_method('SetPackageSeed', 
   629                    'bool', 
   634                    'bool', 
   630                    [param('uint32_t const *', 'seed')], 
   635                    [param('uint32_t const *', 'seed')], 
   631                    is_static=True)
   636                    is_static=True)
       
   637     ## rng-stream.h: static void ns3::RngStream::GetPackageSeed(uint32_t * seed) [member function]
       
   638     cls.add_method('GetPackageSeed', 
       
   639                    'void', 
       
   640                    [param('uint32_t *', 'seed')], 
       
   641                    is_static=True)
       
   642     ## rng-stream.h: static void ns3::RngStream::SetPackageRun(uint32_t run) [member function]
       
   643     cls.add_method('SetPackageRun', 
       
   644                    'void', 
       
   645                    [param('uint32_t', 'run')], 
       
   646                    is_static=True)
       
   647     ## rng-stream.h: static uint32_t ns3::RngStream::GetPackageRun() [member function]
       
   648     cls.add_method('GetPackageRun', 
       
   649                    'uint32_t', 
       
   650                    [], 
       
   651                    is_static=True)
   632     ## rng-stream.h: static bool ns3::RngStream::CheckSeed(uint32_t const * seed) [member function]
   652     ## rng-stream.h: static bool ns3::RngStream::CheckSeed(uint32_t const * seed) [member function]
   633     cls.add_method('CheckSeed', 
   653     cls.add_method('CheckSeed', 
   634                    'bool', 
   654                    'bool', 
   635                    [param('uint32_t const *', 'seed')], 
   655                    [param('uint32_t const *', 'seed')], 
       
   656                    is_static=True)
       
   657     ## rng-stream.h: static bool ns3::RngStream::CheckSeed(uint32_t seed) [member function]
       
   658     cls.add_method('CheckSeed', 
       
   659                    'bool', 
       
   660                    [param('uint32_t', 'seed')], 
   636                    is_static=True)
   661                    is_static=True)
   637     return
   662     return
   638 
   663 
   639 def register_Ns3SeedManager_methods(root_module, cls):
   664 def register_Ns3SeedManager_methods(root_module, cls):
   640     ## random-variable.h: static void ns3::SeedManager::SetSeed(uint32_t seed) [member function]
   665     ## random-variable.h: static void ns3::SeedManager::SetSeed(uint32_t seed) [member function]