Bug 1349 - TypeId.LookupAttributeByName Python bindings missing
This commit is contained in:
@@ -54,7 +54,7 @@ type_annotations = {
|
||||
'params': {'seed':{'direction':'out',
|
||||
'array_length':'6'}}
|
||||
},
|
||||
'bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function]': {
|
||||
'bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function]': {
|
||||
'params': {'info':{'transfer_ownership': 'false'}}
|
||||
},
|
||||
'static bool ns3::TypeId::LookupByNameFailSafe(std::string name, ns3::TypeId * tid) [member function]': {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
callback_classes = [
|
||||
['void', 'unsigned char*', 'long', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['void', 'unsigned char*', 'int', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
['bool', 'std::string', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
|
||||
]
|
||||
|
||||
@@ -1429,7 +1429,7 @@ def register_Ns3TypeId_methods(root_module, cls):
|
||||
## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function]
|
||||
cls.add_method('LookupAttributeByName',
|
||||
'bool',
|
||||
[param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')],
|
||||
[param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info', transfer_ownership=False)],
|
||||
is_const=True)
|
||||
## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function]
|
||||
cls.add_method('LookupByName',
|
||||
|
||||
@@ -1429,7 +1429,7 @@ def register_Ns3TypeId_methods(root_module, cls):
|
||||
## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function]
|
||||
cls.add_method('LookupAttributeByName',
|
||||
'bool',
|
||||
[param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')],
|
||||
[param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info', transfer_ownership=False)],
|
||||
is_const=True)
|
||||
## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function]
|
||||
cls.add_method('LookupByName',
|
||||
|
||||
Reference in New Issue
Block a user