--- a/bindings/python/ns3_module_tap_bridge.py Wed Mar 25 10:40:01 2009 -0700
+++ b/bindings/python/ns3_module_tap_bridge.py Thu Mar 26 17:39:20 2009 -0700
@@ -5,6 +5,8 @@
## tap-bridge.h: ns3::TapBridge [class]
module.add_class('TapBridge', parent=root_module['ns3::NetDevice'])
+ ## tap-bridge.h: ns3::TapBridge::Mode [enumeration]
+ module.add_enum('Mode', ['ILLEGAL', 'CONFIGURE_LOCAL', 'USE_LOCAL', 'USE_BRIDGE'], outer_class=root_module['ns3::TapBridge'])
## Register a nested module for the namespace Config
@@ -76,6 +78,14 @@
cls.add_method('Stop',
'void',
[param('ns3::Time', 'tStop')])
+ ## tap-bridge.h: void ns3::TapBridge::SetMode(ns3::TapBridge::Mode mode) [member function]
+ cls.add_method('SetMode',
+ 'void',
+ [param('ns3::TapBridge::Mode', 'mode')])
+ ## tap-bridge.h: ns3::TapBridge::Mode ns3::TapBridge::GetMode() [member function]
+ cls.add_method('GetMode',
+ 'ns3::TapBridge::Mode',
+ [])
## tap-bridge.h: void ns3::TapBridge::SetName(std::string const name) [member function]
cls.add_method('SetName',
'void',