From 3f90d9595ab5510b6f767c461b158dd537b0d2e8 Mon Sep 17 00:00:00 2001 From: Mathieu Lacage Date: Thu, 16 Apr 2009 09:25:32 +0200 Subject: [PATCH] scan python --- bindings/python/ns3_module_core.py | 8 ++++---- bindings/python/ns3_module_wifi.py | 20 ++++++++++---------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/bindings/python/ns3_module_core.py b/bindings/python/ns3_module_core.py index 71322205c..82c9a71c1 100644 --- a/bindings/python/ns3_module_core.py +++ b/bindings/python/ns3_module_core.py @@ -1984,7 +1984,7 @@ def register_Ns3TracedValue__Unsigned_int_methods(root_module, cls): cls.add_method('ConnectWithoutContext', 'void', [param('ns3::CallbackBase const &', 'cb')]) - ## traced-value.h: void ns3::TracedValue::Connect(ns3::CallbackBase const & cb, std::basic_string,std::allocator > path) [member function] + ## traced-value.h: void ns3::TracedValue::Connect(ns3::CallbackBase const & cb, std::string path) [member function] cls.add_method('Connect', 'void', [param('ns3::CallbackBase const &', 'cb'), param('std::string', 'path')]) @@ -1992,7 +1992,7 @@ def register_Ns3TracedValue__Unsigned_int_methods(root_module, cls): cls.add_method('DisconnectWithoutContext', 'void', [param('ns3::CallbackBase const &', 'cb')]) - ## traced-value.h: void ns3::TracedValue::Disconnect(ns3::CallbackBase const & cb, std::basic_string,std::allocator > path) [member function] + ## traced-value.h: void ns3::TracedValue::Disconnect(ns3::CallbackBase const & cb, std::string path) [member function] cls.add_method('Disconnect', 'void', [param('ns3::CallbackBase const &', 'cb'), param('std::string', 'path')]) @@ -2140,7 +2140,7 @@ def register_functions(root_module): module.add_function('TypeNameGet', 'std::string', [], - template_parameters=['long']) + template_parameters=['long long']) ## type-name.h: extern std::string ns3::TypeNameGet() [free function] module.add_function('TypeNameGet', 'std::string', @@ -2160,7 +2160,7 @@ def register_functions(root_module): module.add_function('TypeNameGet', 'std::string', [], - template_parameters=['unsigned long']) + template_parameters=['unsigned long long']) ## type-name.h: extern std::string ns3::TypeNameGet() [free function] module.add_function('TypeNameGet', 'std::string', diff --git a/bindings/python/ns3_module_wifi.py b/bindings/python/ns3_module_wifi.py index 564128159..85394a0a4 100644 --- a/bindings/python/ns3_module_wifi.py +++ b/bindings/python/ns3_module_wifi.py @@ -228,8 +228,8 @@ def register_Ns3InterferenceHelper_methods(root_module, cls): 'ns3::Ptr< ns3::ErrorRateModel >', [], is_const=True) - ## interference-helper.h: double ns3::InterferenceHelper::GetNoiseFloorW() const [member function] - cls.add_method('GetNoiseFloorW', + ## interference-helper.h: double ns3::InterferenceHelper::GetNoiseFigure() const [member function] + cls.add_method('GetNoiseFigure', 'double', [], is_const=True) @@ -237,10 +237,10 @@ def register_Ns3InterferenceHelper_methods(root_module, cls): cls.add_method('SetErrorRateModel', 'void', [param('ns3::Ptr< ns3::ErrorRateModel >', 'rate')]) - ## interference-helper.h: void ns3::InterferenceHelper::SetNoiseFloorW(double noiseFloor) [member function] - cls.add_method('SetNoiseFloorW', + ## interference-helper.h: void ns3::InterferenceHelper::SetNoiseFigure(double value) [member function] + cls.add_method('SetNoiseFigure', 'void', - [param('double', 'noiseFloor')]) + [param('double', 'value')]) return def register_Ns3InterferenceHelperSnrPer_methods(root_module, cls): @@ -1707,10 +1707,10 @@ def register_Ns3YansWifiPhy_methods(root_module, cls): cls.add_method('SetStandard', 'void', [param('ns3::WifiPhyStandard', 'standard')]) - ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetRxNoise(double ratio) [member function] - cls.add_method('SetRxNoise', + ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetRxNoiseFigure(double noiseFigureDb) [member function] + cls.add_method('SetRxNoiseFigure', 'void', - [param('double', 'ratio')]) + [param('double', 'noiseFigureDb')]) ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetTxPowerStart(double start) [member function] cls.add_method('SetTxPowerStart', 'void', @@ -1751,8 +1751,8 @@ def register_Ns3YansWifiPhy_methods(root_module, cls): cls.add_method('SetMobility', 'void', [param('ns3::Ptr< ns3::Object >', 'mobility')]) - ## yans-wifi-phy.h: double ns3::YansWifiPhy::GetRxNoise() const [member function] - cls.add_method('GetRxNoise', + ## yans-wifi-phy.h: double ns3::YansWifiPhy::GetRxNoiseFigure() const [member function] + cls.add_method('GetRxNoiseFigure', 'double', [], is_const=True)