bindings/python/ns3_module_core.py
changeset 3753 a84a48233eb3
parent 3731 317f9dbccc2b
child 3756 a10cc38ff52e
equal deleted inserted replaced
3744:bb6876ea0851 3753:a84a48233eb3
   943     ## type-id.h: static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function]
   943     ## type-id.h: static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function]
   944     cls.add_method('LookupByName', 
   944     cls.add_method('LookupByName', 
   945                    'ns3::TypeId', 
   945                    'ns3::TypeId', 
   946                    [param('std::string', 'name')], 
   946                    [param('std::string', 'name')], 
   947                    is_static=True)
   947                    is_static=True)
   948     ## type-id.h: static bool ns3::TypeId::LookupByNameFailSafe(std::string name, ns3::TypeId * tid) [member function]
       
   949     cls.add_method('LookupByNameFailSafe', 
       
   950                    'bool', 
       
   951                    [param('std::string', 'name'), param('ns3::TypeId *', 'tid', transfer_ownership=False)], 
       
   952                    is_static=True)
       
   953     ## type-id.h: ns3::Ptr<ns3::TraceSourceAccessor const> ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function]
   948     ## type-id.h: ns3::Ptr<ns3::TraceSourceAccessor const> ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function]
   954     cls.add_method('LookupTraceSourceByName', 
   949     cls.add_method('LookupTraceSourceByName', 
   955                    'ns3::Ptr< ns3::TraceSourceAccessor const >', 
   950                    'ns3::Ptr< ns3::TraceSourceAccessor const >', 
   956                    [param('std::string', 'name')], 
   951                    [param('std::string', 'name')], 
   957                    is_const=True)
   952                    is_const=True)