bindings/python/ns3_module_core.py
changeset 3484 ebdeeb7cd463
parent 3474 dac9146297c8
child 3539 427638d49248
--- a/bindings/python/ns3_module_core.py	Fri Jul 25 16:51:40 2008 +0100
+++ b/bindings/python/ns3_module_core.py	Fri Jul 25 16:54:29 2008 +0100
@@ -119,8 +119,6 @@
     module.add_class('TracedCallback', template_parameters=['unsigned int', 'unsigned int', 'ns3::empty', 'ns3::empty'])
     ## random-variable.h: ns3::DeterministicVariable [class]
     module.add_class('DeterministicVariable', parent=root_module['ns3::RandomVariable'])
-    ## log.h: ns3::LogComponent [class]
-    module.add_class('LogComponent')
     ## attribute-list.h: ns3::AttributeList [class]
     module.add_class('AttributeList')
     ## attribute.h: ns3::AttributeValue [class]
@@ -272,7 +270,6 @@
     register_Ns3TracedCallback__Ns3Ptr__lt__ns3Packet_const__gt___Double_Ns3WifiMode_Ns3WifiPreamble_methods(root_module, root_module['ns3::TracedCallback< ns3::Ptr<ns3::Packet const>, double, ns3::WifiMode, ns3::WifiPreamble >'])
     register_Ns3TracedCallback__Unsigned_int_Unsigned_int_Ns3Empty_Ns3Empty_methods(root_module, root_module['ns3::TracedCallback< unsigned int, unsigned int, ns3::empty, ns3::empty >'])
     register_Ns3DeterministicVariable_methods(root_module, root_module['ns3::DeterministicVariable'])
-    register_Ns3LogComponent_methods(root_module, root_module['ns3::LogComponent'])
     register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList'])
     register_Ns3AttributeValue_methods(root_module, root_module['ns3::AttributeValue'])
     register_Ns3UniformVariable_methods(root_module, root_module['ns3::UniformVariable'])
@@ -892,10 +889,10 @@
     return
 
 def register_Ns3ObjectBase_methods(root_module, cls):
+    ## object-base.h: ns3::ObjectBase::ObjectBase() [constructor]
+    cls.add_constructor([])
     ## object-base.h: ns3::ObjectBase::ObjectBase(ns3::ObjectBase const & arg0) [copy constructor]
     cls.add_constructor([param('ns3::ObjectBase&', 'arg0', is_const=True)])
-    ## object-base.h: ns3::ObjectBase::ObjectBase() [constructor]
-    cls.add_constructor([])
     ## object-base.h: static ns3::TypeId ns3::ObjectBase::GetTypeId() [member function]
     cls.add_method('GetTypeId', 
                    'ns3::TypeId', 
@@ -1332,38 +1329,6 @@
     cls.add_constructor([param('double *', 'd'), param('uint32_t', 'c')])
     return
 
-def register_Ns3LogComponent_methods(root_module, cls):
-    ## log.h: ns3::LogComponent::LogComponent(char const * name) [constructor]
-    cls.add_constructor([param('char *', 'name', transfer_ownership=False, is_const=True)])
-    ## log.h: void ns3::LogComponent::EnvVarCheck(char const * name) [member function]
-    cls.add_method('EnvVarCheck', 
-                   'void', 
-                   [param('char *', 'name', transfer_ownership=False, is_const=True)])
-    ## log.h: bool ns3::LogComponent::IsEnabled(ns3::LogLevel level) const [member function]
-    cls.add_method('IsEnabled', 
-                   'bool', 
-                   [param('ns3::LogLevel', 'level')], 
-                   is_const=True)
-    ## log.h: bool ns3::LogComponent::IsNoneEnabled() const [member function]
-    cls.add_method('IsNoneEnabled', 
-                   'bool', 
-                   [], 
-                   is_const=True)
-    ## log.h: void ns3::LogComponent::Enable(ns3::LogLevel level) [member function]
-    cls.add_method('Enable', 
-                   'void', 
-                   [param('ns3::LogLevel', 'level')])
-    ## log.h: void ns3::LogComponent::Disable(ns3::LogLevel level) [member function]
-    cls.add_method('Disable', 
-                   'void', 
-                   [param('ns3::LogLevel', 'level')])
-    ## log.h: char const * ns3::LogComponent::Name() const [member function]
-    cls.add_method('Name', 
-                   retval('char *', is_const=True, caller_owns_return=False), 
-                   [], 
-                   is_const=True)
-    return
-
 def register_Ns3AttributeList_methods(root_module, cls):
     ## attribute-list.h: ns3::AttributeList::AttributeList() [constructor]
     cls.add_constructor([])
@@ -2090,10 +2055,6 @@
     module.add_function('MakeObjectFactoryChecker', 
                         'ns3::Ptr< ns3::AttributeChecker const >', 
                         [])
-    ## log.h: extern ns3::LogTimePrinter ns3::LogGetTimePrinter() [free function]
-    module.add_function('LogGetTimePrinter', 
-                        'ns3::LogTimePrinter *', 
-                        [])
     ## log.h: extern void ns3::LogComponentDisableAll(ns3::LogLevel level) [free function]
     module.add_function('LogComponentDisableAll', 
                         'void', 
@@ -2106,10 +2067,6 @@
     module.add_function('MakeRandomVariableChecker', 
                         'ns3::Ptr< ns3::AttributeChecker const >', 
                         [])
-    ## log.h: extern void ns3::LogSetTimePrinter(ns3::LogTimePrinter arg0) [free function]
-    module.add_function('LogSetTimePrinter', 
-                        'void', 
-                        [param('ns3::LogTimePrinter *', 'arg0')])
     ## log.h: extern void ns3::LogComponentDisable(char const * name, ns3::LogLevel level) [free function]
     module.add_function('LogComponentDisable', 
                         'void', 
@@ -2118,10 +2075,6 @@
     module.add_function('LogComponentEnable', 
                         'void', 
                         [param('char *', 'name', transfer_ownership=False, is_const=True), param('ns3::LogLevel', 'level')])
-    ## log.h: extern void ns3::LogComponentPrintList() [free function]
-    module.add_function('LogComponentPrintList', 
-                        'void', 
-                        [])
     register_functions_ns3_internal(module.get_submodule('internal'), root_module)
     register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
     register_functions_ns3_Config(module.get_submodule('Config'), root_module)