bindings/python/ns3_module_core.py
changeset 3929 909b0a724ed3
parent 3914 18ac5bec5c49
child 3951 561a37800333
equal deleted inserted replaced
3928:c05de2ba481f 3929:909b0a724ed3
    10     ## callback.h: ns3::CallbackBase [class]
    10     ## callback.h: ns3::CallbackBase [class]
    11     module.add_class('CallbackBase')
    11     module.add_class('CallbackBase')
    12     ## callback.h: ns3::CallbackImplBase [class]
    12     ## callback.h: ns3::CallbackImplBase [class]
    13     module.add_class('CallbackImplBase', allow_subclassing=True, memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
    13     module.add_class('CallbackImplBase', allow_subclassing=True, memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
    14     ## command-line.h: ns3::CommandLine [class]
    14     ## command-line.h: ns3::CommandLine [class]
    15     module.add_class('CommandLine')
    15     module.add_class('CommandLine', allow_subclassing=True)
    16     ## system-mutex.h: ns3::CriticalSection [class]
    16     ## system-mutex.h: ns3::CriticalSection [class]
    17     module.add_class('CriticalSection')
    17     module.add_class('CriticalSection')
    18     ## global-value.h: ns3::GlobalValue [class]
    18     ## global-value.h: ns3::GlobalValue [class]
    19     module.add_class('GlobalValue')
    19     module.add_class('GlobalValue')
    20     ## int-to-type.h: ns3::IntToType<0> [struct]
    20     ## int-to-type.h: ns3::IntToType<0> [struct]
   348 def register_Ns3CommandLine_methods(root_module, cls):
   348 def register_Ns3CommandLine_methods(root_module, cls):
   349     ## command-line.h: ns3::CommandLine::CommandLine(ns3::CommandLine const & arg0) [copy constructor]
   349     ## command-line.h: ns3::CommandLine::CommandLine(ns3::CommandLine const & arg0) [copy constructor]
   350     cls.add_constructor([param('ns3::CommandLine const &', 'arg0')])
   350     cls.add_constructor([param('ns3::CommandLine const &', 'arg0')])
   351     ## command-line.h: ns3::CommandLine::CommandLine() [constructor]
   351     ## command-line.h: ns3::CommandLine::CommandLine() [constructor]
   352     cls.add_constructor([])
   352     cls.add_constructor([])
       
   353     ## command-line.h: void ns3::CommandLine::AddValue(std::string const & name, std::string const & help, ns3::Callback<bool, std::string, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> callback) [member function]
       
   354     cls.add_method('AddValue', 
       
   355                    'void', 
       
   356                    [param('std::string const &', 'name'), param('std::string const &', 'help'), param('ns3::Callback< bool, std::string, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')])
   353     return
   357     return
   354 
   358 
   355 def register_Ns3CriticalSection_methods(root_module, cls):
   359 def register_Ns3CriticalSection_methods(root_module, cls):
   356     ## system-mutex.h: ns3::CriticalSection::CriticalSection(ns3::CriticalSection const & arg0) [copy constructor]
   360     ## system-mutex.h: ns3::CriticalSection::CriticalSection(ns3::CriticalSection const & arg0) [copy constructor]
   357     cls.add_constructor([param('ns3::CriticalSection const &', 'arg0')])
   361     cls.add_constructor([param('ns3::CriticalSection const &', 'arg0')])