rescan click bindings
This commit is contained in:
@@ -26,8 +26,10 @@ def register_types(module):
|
||||
module.add_class('Address', import_from_module='ns.network')
|
||||
## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration]
|
||||
module.add_enum('MaxSize_e', ['MAX_SIZE'], outer_class=root_module['ns3::Address'], import_from_module='ns.network')
|
||||
## attribute-list.h (module 'core'): ns3::AttributeList [class]
|
||||
module.add_class('AttributeList', import_from_module='ns.core')
|
||||
## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class]
|
||||
module.add_class('AttributeConstructionList', import_from_module='ns.core')
|
||||
## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct]
|
||||
module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList'])
|
||||
## buffer.h (module 'network'): ns3::Buffer [class]
|
||||
module.add_class('Buffer', import_from_module='ns.network')
|
||||
## buffer.h (module 'network'): ns3::Buffer::Iterator [class]
|
||||
@@ -94,10 +96,10 @@ def register_types(module):
|
||||
module.add_class('TypeId', import_from_module='ns.core')
|
||||
## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration]
|
||||
module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core')
|
||||
## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct]
|
||||
module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId'])
|
||||
## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class]
|
||||
module.add_class('UnsafeAttributeList', import_from_module='ns.core')
|
||||
## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct]
|
||||
module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId'])
|
||||
## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct]
|
||||
module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId'])
|
||||
## empty.h (module 'core'): ns3::empty [class]
|
||||
module.add_class('empty', import_from_module='ns.core')
|
||||
## chunk.h (module 'network'): ns3::Chunk [class]
|
||||
@@ -128,10 +130,12 @@ def register_types(module):
|
||||
module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::OutputStreamWrapper', 'ns3::empty', 'ns3::DefaultDeleter<ns3::OutputStreamWrapper>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
|
||||
## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> > [class]
|
||||
module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Packet', 'ns3::empty', 'ns3::DefaultDeleter<ns3::Packet>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
|
||||
## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> > [class]
|
||||
module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::TraceSourceAccessor', 'ns3::empty', 'ns3::DefaultDeleter<ns3::TraceSourceAccessor>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
|
||||
## socket.h (module 'network'): ns3::Socket [class]
|
||||
module.add_class('Socket', import_from_module='ns.network', parent=root_module['ns3::Object'])
|
||||
## socket.h (module 'network'): ns3::Socket::SocketErrno [enumeration]
|
||||
module.add_enum('SocketErrno', ['ERROR_NOTERROR', 'ERROR_ISCONN', 'ERROR_NOTCONN', 'ERROR_MSGSIZE', 'ERROR_AGAIN', 'ERROR_SHUTDOWN', 'ERROR_OPNOTSUPP', 'ERROR_AFNOSUPPORT', 'ERROR_INVAL', 'ERROR_BADF', 'ERROR_NOROUTETOHOST', 'ERROR_NODEV', 'ERROR_ADDRNOTAVAIL', 'SOCKET_ERRNO_LAST'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
|
||||
module.add_enum('SocketErrno', ['ERROR_NOTERROR', 'ERROR_ISCONN', 'ERROR_NOTCONN', 'ERROR_MSGSIZE', 'ERROR_AGAIN', 'ERROR_SHUTDOWN', 'ERROR_OPNOTSUPP', 'ERROR_AFNOSUPPORT', 'ERROR_INVAL', 'ERROR_BADF', 'ERROR_NOROUTETOHOST', 'ERROR_NODEV', 'ERROR_ADDRNOTAVAIL', 'ERROR_ADDRINUSE', 'SOCKET_ERRNO_LAST'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
|
||||
## socket.h (module 'network'): ns3::Socket::SocketType [enumeration]
|
||||
module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
|
||||
## socket.h (module 'network'): ns3::SocketAddressTag [class]
|
||||
@@ -140,6 +144,8 @@ def register_types(module):
|
||||
module.add_class('SocketIpTtlTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
|
||||
## socket.h (module 'network'): ns3::SocketSetDontFragmentTag [class]
|
||||
module.add_class('SocketSetDontFragmentTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
|
||||
## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor [class]
|
||||
module.add_class('TraceSourceAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
|
||||
## trailer.h (module 'network'): ns3::Trailer [class]
|
||||
module.add_class('Trailer', import_from_module='ns.network', parent=root_module['ns3::Chunk'])
|
||||
## attribute.h (module 'core'): ns3::AttributeAccessor [class]
|
||||
@@ -208,6 +214,7 @@ def register_types(module):
|
||||
module.add_class('AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
|
||||
## ipv4-click-routing.h (module 'click'): ns3::Ipv4ClickRouting [class]
|
||||
module.add_class('Ipv4ClickRouting', parent=root_module['ns3::Ipv4RoutingProtocol'])
|
||||
module.add_container('std::map< unsigned int, unsigned int >', ('unsigned int', 'unsigned int'), container_type='map')
|
||||
typehandlers.add_type_alias('void ( * ) ( std::ostream & ) *', 'ns3::LogTimePrinter')
|
||||
typehandlers.add_type_alias('void ( * ) ( std::ostream & ) **', 'ns3::LogTimePrinter*')
|
||||
typehandlers.add_type_alias('void ( * ) ( std::ostream & ) *&', 'ns3::LogTimePrinter&')
|
||||
@@ -227,7 +234,8 @@ def register_types_ns3_FatalImpl(module):
|
||||
|
||||
def register_methods(root_module):
|
||||
register_Ns3Address_methods(root_module, root_module['ns3::Address'])
|
||||
register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList'])
|
||||
register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList'])
|
||||
register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item'])
|
||||
register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer'])
|
||||
register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator'])
|
||||
register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator'])
|
||||
@@ -256,8 +264,8 @@ def register_methods(root_module):
|
||||
register_Ns3Tag_methods(root_module, root_module['ns3::Tag'])
|
||||
register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer'])
|
||||
register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId'])
|
||||
register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo'])
|
||||
register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList'])
|
||||
register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation'])
|
||||
register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation'])
|
||||
register_Ns3Empty_methods(root_module, root_module['ns3::empty'])
|
||||
register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk'])
|
||||
register_Ns3Header_methods(root_module, root_module['ns3::Header'])
|
||||
@@ -273,10 +281,12 @@ def register_methods(root_module):
|
||||
register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >'])
|
||||
register_Ns3SimpleRefCount__Ns3OutputStreamWrapper_Ns3Empty_Ns3DefaultDeleter__lt__ns3OutputStreamWrapper__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> >'])
|
||||
register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >'])
|
||||
register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
|
||||
register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
|
||||
register_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag'])
|
||||
register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
|
||||
register_Ns3SocketSetDontFragmentTag_methods(root_module, root_module['ns3::SocketSetDontFragmentTag'])
|
||||
register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor'])
|
||||
register_Ns3Trailer_methods(root_module, root_module['ns3::Trailer'])
|
||||
register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor'])
|
||||
register_Ns3AttributeChecker_methods(root_module, root_module['ns3::AttributeChecker'])
|
||||
@@ -381,41 +391,43 @@ def register_Ns3Address_methods(root_module, cls):
|
||||
is_const=True)
|
||||
return
|
||||
|
||||
def register_Ns3AttributeList_methods(root_module, cls):
|
||||
## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor]
|
||||
def register_Ns3AttributeConstructionList_methods(root_module, cls):
|
||||
## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')])
|
||||
## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor]
|
||||
cls.add_constructor([])
|
||||
## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor]
|
||||
cls.add_constructor([param('ns3::AttributeList const &', 'o')])
|
||||
## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function]
|
||||
cls.add_method('DeserializeFromString',
|
||||
'bool',
|
||||
[param('std::string', 'value')])
|
||||
## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function]
|
||||
cls.add_method('GetGlobal',
|
||||
'ns3::AttributeList *',
|
||||
[],
|
||||
is_static=True)
|
||||
## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function]
|
||||
cls.add_method('Reset',
|
||||
## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr<ns3::AttributeChecker const> checker, ns3::Ptr<ns3::AttributeValue> value) [member function]
|
||||
cls.add_method('Add',
|
||||
'void',
|
||||
[])
|
||||
## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function]
|
||||
cls.add_method('SerializeToString',
|
||||
'std::string',
|
||||
[param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')])
|
||||
## attribute-construction-list.h (module 'core'): std::_List_const_iterator<ns3::AttributeConstructionList::Item> ns3::AttributeConstructionList::Begin() const [member function]
|
||||
cls.add_method('Begin',
|
||||
'std::_List_const_iterator< ns3::AttributeConstructionList::Item >',
|
||||
[],
|
||||
is_const=True)
|
||||
## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function]
|
||||
cls.add_method('Set',
|
||||
'void',
|
||||
[param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
|
||||
## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function]
|
||||
cls.add_method('SetFailSafe',
|
||||
'bool',
|
||||
[param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
|
||||
## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function]
|
||||
cls.add_method('SetWithTid',
|
||||
'void',
|
||||
[param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
|
||||
## attribute-construction-list.h (module 'core'): std::_List_const_iterator<ns3::AttributeConstructionList::Item> ns3::AttributeConstructionList::End() const [member function]
|
||||
cls.add_method('End',
|
||||
'std::_List_const_iterator< ns3::AttributeConstructionList::Item >',
|
||||
[],
|
||||
is_const=True)
|
||||
## attribute-construction-list.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeConstructionList::Find(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
|
||||
cls.add_method('Find',
|
||||
'ns3::Ptr< ns3::AttributeValue >',
|
||||
[param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
|
||||
is_const=True)
|
||||
return
|
||||
|
||||
def register_Ns3AttributeConstructionListItem_methods(root_module, cls):
|
||||
## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor]
|
||||
cls.add_constructor([])
|
||||
## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')])
|
||||
## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable]
|
||||
cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False)
|
||||
## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable]
|
||||
cls.add_instance_attribute('name', 'std::string', is_const=False)
|
||||
## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable]
|
||||
cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False)
|
||||
return
|
||||
|
||||
def register_Ns3Buffer_methods(root_module, cls):
|
||||
@@ -1314,10 +1326,10 @@ def register_Ns3ObjectBase_methods(root_module, cls):
|
||||
cls.add_method('TraceDisconnectWithoutContext',
|
||||
'bool',
|
||||
[param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')])
|
||||
## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function]
|
||||
## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function]
|
||||
cls.add_method('ConstructSelf',
|
||||
'void',
|
||||
[param('ns3::AttributeList const &', 'attributes')],
|
||||
[param('ns3::AttributeConstructionList const &', 'attributes')],
|
||||
visibility='protected')
|
||||
## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function]
|
||||
cls.add_method('NotifyConstructionCompleted',
|
||||
@@ -1681,23 +1693,13 @@ def register_Ns3TypeId_methods(root_module, cls):
|
||||
cls.add_method('AddAttribute',
|
||||
'ns3::TypeId',
|
||||
[param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')])
|
||||
## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr<const ns3::TraceSourceAccessor> accessor) [member function]
|
||||
## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr<ns3::TraceSourceAccessor const> accessor) [member function]
|
||||
cls.add_method('AddTraceSource',
|
||||
'ns3::TypeId',
|
||||
[param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')])
|
||||
## type-id.h (module 'core'): ns3::Ptr<ns3::AttributeAccessor const> ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function]
|
||||
cls.add_method('GetAttributeAccessor',
|
||||
'ns3::Ptr< ns3::AttributeAccessor const >',
|
||||
[param('uint32_t', 'i')],
|
||||
is_const=True)
|
||||
## type-id.h (module 'core'): ns3::Ptr<ns3::AttributeChecker const> ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function]
|
||||
cls.add_method('GetAttributeChecker',
|
||||
'ns3::Ptr< ns3::AttributeChecker const >',
|
||||
[param('uint32_t', 'i')],
|
||||
is_const=True)
|
||||
## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function]
|
||||
cls.add_method('GetAttributeFlags',
|
||||
'uint32_t',
|
||||
## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function]
|
||||
cls.add_method('GetAttribute',
|
||||
'ns3::TypeId::AttributeInformation',
|
||||
[param('uint32_t', 'i')],
|
||||
is_const=True)
|
||||
## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function]
|
||||
@@ -1705,26 +1707,11 @@ def register_Ns3TypeId_methods(root_module, cls):
|
||||
'std::string',
|
||||
[param('uint32_t', 'i')],
|
||||
is_const=True)
|
||||
## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function]
|
||||
cls.add_method('GetAttributeHelp',
|
||||
'std::string',
|
||||
[param('uint32_t', 'i')],
|
||||
is_const=True)
|
||||
## type-id.h (module 'core'): ns3::Ptr<ns3::AttributeValue const> ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function]
|
||||
cls.add_method('GetAttributeInitialValue',
|
||||
'ns3::Ptr< ns3::AttributeValue const >',
|
||||
[param('uint32_t', 'i')],
|
||||
is_const=True)
|
||||
## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function]
|
||||
cls.add_method('GetAttributeN',
|
||||
'uint32_t',
|
||||
[],
|
||||
is_const=True)
|
||||
## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function]
|
||||
cls.add_method('GetAttributeName',
|
||||
'std::string',
|
||||
[param('uint32_t', 'i')],
|
||||
is_const=True)
|
||||
## type-id.h (module 'core'): ns3::Callback<ns3::ObjectBase*,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ns3::TypeId::GetConstructor() const [member function]
|
||||
cls.add_method('GetConstructor',
|
||||
'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >',
|
||||
@@ -1755,14 +1742,9 @@ def register_Ns3TypeId_methods(root_module, cls):
|
||||
'uint32_t',
|
||||
[],
|
||||
is_static=True)
|
||||
## type-id.h (module 'core'): ns3::Ptr<const ns3::TraceSourceAccessor> ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function]
|
||||
cls.add_method('GetTraceSourceAccessor',
|
||||
'ns3::Ptr< ns3::TraceSourceAccessor const >',
|
||||
[param('uint32_t', 'i')],
|
||||
is_const=True)
|
||||
## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function]
|
||||
cls.add_method('GetTraceSourceHelp',
|
||||
'std::string',
|
||||
## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function]
|
||||
cls.add_method('GetTraceSource',
|
||||
'ns3::TypeId::TraceSourceInformation',
|
||||
[param('uint32_t', 'i')],
|
||||
is_const=True)
|
||||
## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function]
|
||||
@@ -1770,11 +1752,6 @@ def register_Ns3TypeId_methods(root_module, cls):
|
||||
'uint32_t',
|
||||
[],
|
||||
is_const=True)
|
||||
## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function]
|
||||
cls.add_method('GetTraceSourceName',
|
||||
'std::string',
|
||||
[param('uint32_t', 'i')],
|
||||
is_const=True)
|
||||
## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function]
|
||||
cls.add_method('GetUid',
|
||||
'uint16_t',
|
||||
@@ -1799,22 +1776,17 @@ def register_Ns3TypeId_methods(root_module, cls):
|
||||
'bool',
|
||||
[param('ns3::TypeId', 'other')],
|
||||
is_const=True)
|
||||
## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function]
|
||||
cls.add_method('LookupAttributeByFullName',
|
||||
'bool',
|
||||
[param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')],
|
||||
is_static=True)
|
||||
## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function]
|
||||
## 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::AttributeInfo *', 'info', transfer_ownership=False)],
|
||||
[param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')],
|
||||
is_const=True)
|
||||
## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function]
|
||||
cls.add_method('LookupByName',
|
||||
'ns3::TypeId',
|
||||
[param('std::string', 'name')],
|
||||
is_static=True)
|
||||
## type-id.h (module 'core'): ns3::Ptr<const ns3::TraceSourceAccessor> ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function]
|
||||
## type-id.h (module 'core'): ns3::Ptr<ns3::TraceSourceAccessor const> ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function]
|
||||
cls.add_method('LookupTraceSourceByName',
|
||||
'ns3::Ptr< ns3::TraceSourceAccessor const >',
|
||||
[param('std::string', 'name')],
|
||||
@@ -1824,6 +1796,10 @@ def register_Ns3TypeId_methods(root_module, cls):
|
||||
'bool',
|
||||
[],
|
||||
is_const=True)
|
||||
## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr<ns3::AttributeValue const> initialValue) [member function]
|
||||
cls.add_method('SetAttributeInitialValue',
|
||||
'bool',
|
||||
[param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')])
|
||||
## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function]
|
||||
cls.add_method('SetGroupName',
|
||||
'ns3::TypeId',
|
||||
@@ -1838,35 +1814,38 @@ def register_Ns3TypeId_methods(root_module, cls):
|
||||
[param('uint16_t', 'tid')])
|
||||
return
|
||||
|
||||
def register_Ns3TypeIdAttributeInfo_methods(root_module, cls):
|
||||
## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor]
|
||||
def register_Ns3TypeIdAttributeInformation_methods(root_module, cls):
|
||||
## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor]
|
||||
cls.add_constructor([])
|
||||
## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')])
|
||||
## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable]
|
||||
## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')])
|
||||
## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable]
|
||||
cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False)
|
||||
## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable]
|
||||
## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable]
|
||||
cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False)
|
||||
## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable]
|
||||
## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable]
|
||||
cls.add_instance_attribute('flags', 'uint32_t', is_const=False)
|
||||
## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable]
|
||||
## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable]
|
||||
cls.add_instance_attribute('help', 'std::string', is_const=False)
|
||||
## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable]
|
||||
cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False)
|
||||
## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable]
|
||||
cls.add_instance_attribute('name', 'std::string', is_const=False)
|
||||
## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable]
|
||||
cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False)
|
||||
return
|
||||
|
||||
def register_Ns3UnsafeAttributeList_methods(root_module, cls):
|
||||
## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor]
|
||||
def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls):
|
||||
## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor]
|
||||
cls.add_constructor([])
|
||||
## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor]
|
||||
cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')])
|
||||
## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function]
|
||||
cls.add_method('GetSafe',
|
||||
'ns3::AttributeList',
|
||||
[param('std::string', 'name')],
|
||||
is_const=True)
|
||||
## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function]
|
||||
cls.add_method('Set',
|
||||
'void',
|
||||
[param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')])
|
||||
## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')])
|
||||
## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable]
|
||||
cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False)
|
||||
## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable]
|
||||
cls.add_instance_attribute('help', 'std::string', is_const=False)
|
||||
## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable]
|
||||
cls.add_instance_attribute('name', 'std::string', is_const=False)
|
||||
return
|
||||
|
||||
def register_Ns3Empty_methods(root_module, cls):
|
||||
@@ -2033,10 +2012,10 @@ def register_Ns3Ipv4Header_methods(root_module, cls):
|
||||
cls.add_method('SetDontFragment',
|
||||
'void',
|
||||
[])
|
||||
## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetFragmentOffset(uint16_t offset) [member function]
|
||||
## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetFragmentOffset(uint16_t offsetBytes) [member function]
|
||||
cls.add_method('SetFragmentOffset',
|
||||
'void',
|
||||
[param('uint16_t', 'offset')])
|
||||
[param('uint16_t', 'offsetBytes')])
|
||||
## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetIdentification(uint16_t identification) [member function]
|
||||
cls.add_method('SetIdentification',
|
||||
'void',
|
||||
@@ -2249,6 +2228,18 @@ def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Pac
|
||||
is_static=True)
|
||||
return
|
||||
|
||||
def register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, cls):
|
||||
## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >::SimpleRefCount() [constructor]
|
||||
cls.add_constructor([])
|
||||
## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >::SimpleRefCount(ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> > const & o) [copy constructor]
|
||||
cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > const &', 'o')])
|
||||
## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >::Cleanup() [member function]
|
||||
cls.add_method('Cleanup',
|
||||
'void',
|
||||
[],
|
||||
is_static=True)
|
||||
return
|
||||
|
||||
def register_Ns3Socket_methods(root_module, cls):
|
||||
## socket.h (module 'network'): ns3::Socket::Socket(ns3::Socket const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::Socket const &', 'arg0')])
|
||||
@@ -2613,6 +2604,33 @@ def register_Ns3SocketSetDontFragmentTag_methods(root_module, cls):
|
||||
is_const=True, is_virtual=True)
|
||||
return
|
||||
|
||||
def register_Ns3TraceSourceAccessor_methods(root_module, cls):
|
||||
## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')])
|
||||
## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor]
|
||||
cls.add_constructor([])
|
||||
## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function]
|
||||
cls.add_method('Connect',
|
||||
'bool',
|
||||
[param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')],
|
||||
is_pure_virtual=True, is_const=True, is_virtual=True)
|
||||
## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function]
|
||||
cls.add_method('ConnectWithoutContext',
|
||||
'bool',
|
||||
[param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')],
|
||||
is_pure_virtual=True, is_const=True, is_virtual=True)
|
||||
## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function]
|
||||
cls.add_method('Disconnect',
|
||||
'bool',
|
||||
[param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')],
|
||||
is_pure_virtual=True, is_const=True, is_virtual=True)
|
||||
## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function]
|
||||
cls.add_method('DisconnectWithoutContext',
|
||||
'bool',
|
||||
[param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')],
|
||||
is_pure_virtual=True, is_const=True, is_virtual=True)
|
||||
return
|
||||
|
||||
def register_Ns3Trailer_methods(root_module, cls):
|
||||
cls.add_output_stream_operator()
|
||||
## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor]
|
||||
@@ -2693,6 +2711,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls):
|
||||
'ns3::Ptr< ns3::AttributeValue >',
|
||||
[],
|
||||
is_pure_virtual=True, is_const=True, is_virtual=True)
|
||||
## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function]
|
||||
cls.add_method('CreateValidValue',
|
||||
'ns3::Ptr< ns3::AttributeValue >',
|
||||
[param('ns3::AttributeValue const &', 'value')],
|
||||
is_const=True)
|
||||
## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function]
|
||||
cls.add_method('GetUnderlyingTypeInformation',
|
||||
'std::string',
|
||||
@@ -3191,10 +3214,15 @@ def register_Ns3Ipv4MulticastRoute_methods(root_module, cls):
|
||||
'ns3::Ipv4Address',
|
||||
[],
|
||||
is_const=True)
|
||||
## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetOutputTtl(uint32_t oif) const [member function]
|
||||
## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetOutputTtl(uint32_t oif) [member function]
|
||||
cls.add_method('GetOutputTtl',
|
||||
'uint32_t',
|
||||
[param('uint32_t', 'oif')],
|
||||
deprecated=True)
|
||||
## ipv4-route.h (module 'internet'): std::map<unsigned int, unsigned int, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, unsigned int> > > ns3::Ipv4MulticastRoute::GetOutputTtlMap() const [member function]
|
||||
cls.add_method('GetOutputTtlMap',
|
||||
'std::map< unsigned int, unsigned int >',
|
||||
[],
|
||||
is_const=True)
|
||||
## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetParent() const [member function]
|
||||
cls.add_method('GetParent',
|
||||
|
||||
@@ -26,8 +26,10 @@ def register_types(module):
|
||||
module.add_class('Address', import_from_module='ns.network')
|
||||
## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration]
|
||||
module.add_enum('MaxSize_e', ['MAX_SIZE'], outer_class=root_module['ns3::Address'], import_from_module='ns.network')
|
||||
## attribute-list.h (module 'core'): ns3::AttributeList [class]
|
||||
module.add_class('AttributeList', import_from_module='ns.core')
|
||||
## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class]
|
||||
module.add_class('AttributeConstructionList', import_from_module='ns.core')
|
||||
## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct]
|
||||
module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList'])
|
||||
## buffer.h (module 'network'): ns3::Buffer [class]
|
||||
module.add_class('Buffer', import_from_module='ns.network')
|
||||
## buffer.h (module 'network'): ns3::Buffer::Iterator [class]
|
||||
@@ -94,10 +96,10 @@ def register_types(module):
|
||||
module.add_class('TypeId', import_from_module='ns.core')
|
||||
## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration]
|
||||
module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core')
|
||||
## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct]
|
||||
module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId'])
|
||||
## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class]
|
||||
module.add_class('UnsafeAttributeList', import_from_module='ns.core')
|
||||
## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct]
|
||||
module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId'])
|
||||
## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct]
|
||||
module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId'])
|
||||
## empty.h (module 'core'): ns3::empty [class]
|
||||
module.add_class('empty', import_from_module='ns.core')
|
||||
## chunk.h (module 'network'): ns3::Chunk [class]
|
||||
@@ -128,10 +130,12 @@ def register_types(module):
|
||||
module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::OutputStreamWrapper', 'ns3::empty', 'ns3::DefaultDeleter<ns3::OutputStreamWrapper>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
|
||||
## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> > [class]
|
||||
module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Packet', 'ns3::empty', 'ns3::DefaultDeleter<ns3::Packet>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
|
||||
## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> > [class]
|
||||
module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::TraceSourceAccessor', 'ns3::empty', 'ns3::DefaultDeleter<ns3::TraceSourceAccessor>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
|
||||
## socket.h (module 'network'): ns3::Socket [class]
|
||||
module.add_class('Socket', import_from_module='ns.network', parent=root_module['ns3::Object'])
|
||||
## socket.h (module 'network'): ns3::Socket::SocketErrno [enumeration]
|
||||
module.add_enum('SocketErrno', ['ERROR_NOTERROR', 'ERROR_ISCONN', 'ERROR_NOTCONN', 'ERROR_MSGSIZE', 'ERROR_AGAIN', 'ERROR_SHUTDOWN', 'ERROR_OPNOTSUPP', 'ERROR_AFNOSUPPORT', 'ERROR_INVAL', 'ERROR_BADF', 'ERROR_NOROUTETOHOST', 'ERROR_NODEV', 'ERROR_ADDRNOTAVAIL', 'SOCKET_ERRNO_LAST'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
|
||||
module.add_enum('SocketErrno', ['ERROR_NOTERROR', 'ERROR_ISCONN', 'ERROR_NOTCONN', 'ERROR_MSGSIZE', 'ERROR_AGAIN', 'ERROR_SHUTDOWN', 'ERROR_OPNOTSUPP', 'ERROR_AFNOSUPPORT', 'ERROR_INVAL', 'ERROR_BADF', 'ERROR_NOROUTETOHOST', 'ERROR_NODEV', 'ERROR_ADDRNOTAVAIL', 'ERROR_ADDRINUSE', 'SOCKET_ERRNO_LAST'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
|
||||
## socket.h (module 'network'): ns3::Socket::SocketType [enumeration]
|
||||
module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
|
||||
## socket.h (module 'network'): ns3::SocketAddressTag [class]
|
||||
@@ -140,6 +144,8 @@ def register_types(module):
|
||||
module.add_class('SocketIpTtlTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
|
||||
## socket.h (module 'network'): ns3::SocketSetDontFragmentTag [class]
|
||||
module.add_class('SocketSetDontFragmentTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
|
||||
## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor [class]
|
||||
module.add_class('TraceSourceAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
|
||||
## trailer.h (module 'network'): ns3::Trailer [class]
|
||||
module.add_class('Trailer', import_from_module='ns.network', parent=root_module['ns3::Chunk'])
|
||||
## attribute.h (module 'core'): ns3::AttributeAccessor [class]
|
||||
@@ -208,6 +214,7 @@ def register_types(module):
|
||||
module.add_class('AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
|
||||
## ipv4-click-routing.h (module 'click'): ns3::Ipv4ClickRouting [class]
|
||||
module.add_class('Ipv4ClickRouting', parent=root_module['ns3::Ipv4RoutingProtocol'])
|
||||
module.add_container('std::map< unsigned int, unsigned int >', ('unsigned int', 'unsigned int'), container_type='map')
|
||||
typehandlers.add_type_alias('void ( * ) ( std::ostream & ) *', 'ns3::LogTimePrinter')
|
||||
typehandlers.add_type_alias('void ( * ) ( std::ostream & ) **', 'ns3::LogTimePrinter*')
|
||||
typehandlers.add_type_alias('void ( * ) ( std::ostream & ) *&', 'ns3::LogTimePrinter&')
|
||||
@@ -227,7 +234,8 @@ def register_types_ns3_FatalImpl(module):
|
||||
|
||||
def register_methods(root_module):
|
||||
register_Ns3Address_methods(root_module, root_module['ns3::Address'])
|
||||
register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList'])
|
||||
register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList'])
|
||||
register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item'])
|
||||
register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer'])
|
||||
register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator'])
|
||||
register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator'])
|
||||
@@ -256,8 +264,8 @@ def register_methods(root_module):
|
||||
register_Ns3Tag_methods(root_module, root_module['ns3::Tag'])
|
||||
register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer'])
|
||||
register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId'])
|
||||
register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo'])
|
||||
register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList'])
|
||||
register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation'])
|
||||
register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation'])
|
||||
register_Ns3Empty_methods(root_module, root_module['ns3::empty'])
|
||||
register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk'])
|
||||
register_Ns3Header_methods(root_module, root_module['ns3::Header'])
|
||||
@@ -273,10 +281,12 @@ def register_methods(root_module):
|
||||
register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >'])
|
||||
register_Ns3SimpleRefCount__Ns3OutputStreamWrapper_Ns3Empty_Ns3DefaultDeleter__lt__ns3OutputStreamWrapper__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> >'])
|
||||
register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >'])
|
||||
register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
|
||||
register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
|
||||
register_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag'])
|
||||
register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
|
||||
register_Ns3SocketSetDontFragmentTag_methods(root_module, root_module['ns3::SocketSetDontFragmentTag'])
|
||||
register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor'])
|
||||
register_Ns3Trailer_methods(root_module, root_module['ns3::Trailer'])
|
||||
register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor'])
|
||||
register_Ns3AttributeChecker_methods(root_module, root_module['ns3::AttributeChecker'])
|
||||
@@ -381,41 +391,43 @@ def register_Ns3Address_methods(root_module, cls):
|
||||
is_const=True)
|
||||
return
|
||||
|
||||
def register_Ns3AttributeList_methods(root_module, cls):
|
||||
## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor]
|
||||
def register_Ns3AttributeConstructionList_methods(root_module, cls):
|
||||
## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')])
|
||||
## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor]
|
||||
cls.add_constructor([])
|
||||
## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor]
|
||||
cls.add_constructor([param('ns3::AttributeList const &', 'o')])
|
||||
## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function]
|
||||
cls.add_method('DeserializeFromString',
|
||||
'bool',
|
||||
[param('std::string', 'value')])
|
||||
## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function]
|
||||
cls.add_method('GetGlobal',
|
||||
'ns3::AttributeList *',
|
||||
[],
|
||||
is_static=True)
|
||||
## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function]
|
||||
cls.add_method('Reset',
|
||||
## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr<ns3::AttributeChecker const> checker, ns3::Ptr<ns3::AttributeValue> value) [member function]
|
||||
cls.add_method('Add',
|
||||
'void',
|
||||
[])
|
||||
## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function]
|
||||
cls.add_method('SerializeToString',
|
||||
'std::string',
|
||||
[param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')])
|
||||
## attribute-construction-list.h (module 'core'): std::_List_const_iterator<ns3::AttributeConstructionList::Item> ns3::AttributeConstructionList::Begin() const [member function]
|
||||
cls.add_method('Begin',
|
||||
'std::_List_const_iterator< ns3::AttributeConstructionList::Item >',
|
||||
[],
|
||||
is_const=True)
|
||||
## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function]
|
||||
cls.add_method('Set',
|
||||
'void',
|
||||
[param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
|
||||
## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function]
|
||||
cls.add_method('SetFailSafe',
|
||||
'bool',
|
||||
[param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
|
||||
## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function]
|
||||
cls.add_method('SetWithTid',
|
||||
'void',
|
||||
[param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
|
||||
## attribute-construction-list.h (module 'core'): std::_List_const_iterator<ns3::AttributeConstructionList::Item> ns3::AttributeConstructionList::End() const [member function]
|
||||
cls.add_method('End',
|
||||
'std::_List_const_iterator< ns3::AttributeConstructionList::Item >',
|
||||
[],
|
||||
is_const=True)
|
||||
## attribute-construction-list.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeConstructionList::Find(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
|
||||
cls.add_method('Find',
|
||||
'ns3::Ptr< ns3::AttributeValue >',
|
||||
[param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
|
||||
is_const=True)
|
||||
return
|
||||
|
||||
def register_Ns3AttributeConstructionListItem_methods(root_module, cls):
|
||||
## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor]
|
||||
cls.add_constructor([])
|
||||
## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')])
|
||||
## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable]
|
||||
cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False)
|
||||
## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable]
|
||||
cls.add_instance_attribute('name', 'std::string', is_const=False)
|
||||
## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable]
|
||||
cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False)
|
||||
return
|
||||
|
||||
def register_Ns3Buffer_methods(root_module, cls):
|
||||
@@ -1314,10 +1326,10 @@ def register_Ns3ObjectBase_methods(root_module, cls):
|
||||
cls.add_method('TraceDisconnectWithoutContext',
|
||||
'bool',
|
||||
[param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')])
|
||||
## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function]
|
||||
## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function]
|
||||
cls.add_method('ConstructSelf',
|
||||
'void',
|
||||
[param('ns3::AttributeList const &', 'attributes')],
|
||||
[param('ns3::AttributeConstructionList const &', 'attributes')],
|
||||
visibility='protected')
|
||||
## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function]
|
||||
cls.add_method('NotifyConstructionCompleted',
|
||||
@@ -1681,23 +1693,13 @@ def register_Ns3TypeId_methods(root_module, cls):
|
||||
cls.add_method('AddAttribute',
|
||||
'ns3::TypeId',
|
||||
[param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')])
|
||||
## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr<const ns3::TraceSourceAccessor> accessor) [member function]
|
||||
## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr<ns3::TraceSourceAccessor const> accessor) [member function]
|
||||
cls.add_method('AddTraceSource',
|
||||
'ns3::TypeId',
|
||||
[param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')])
|
||||
## type-id.h (module 'core'): ns3::Ptr<ns3::AttributeAccessor const> ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function]
|
||||
cls.add_method('GetAttributeAccessor',
|
||||
'ns3::Ptr< ns3::AttributeAccessor const >',
|
||||
[param('uint32_t', 'i')],
|
||||
is_const=True)
|
||||
## type-id.h (module 'core'): ns3::Ptr<ns3::AttributeChecker const> ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function]
|
||||
cls.add_method('GetAttributeChecker',
|
||||
'ns3::Ptr< ns3::AttributeChecker const >',
|
||||
[param('uint32_t', 'i')],
|
||||
is_const=True)
|
||||
## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function]
|
||||
cls.add_method('GetAttributeFlags',
|
||||
'uint32_t',
|
||||
## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function]
|
||||
cls.add_method('GetAttribute',
|
||||
'ns3::TypeId::AttributeInformation',
|
||||
[param('uint32_t', 'i')],
|
||||
is_const=True)
|
||||
## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function]
|
||||
@@ -1705,26 +1707,11 @@ def register_Ns3TypeId_methods(root_module, cls):
|
||||
'std::string',
|
||||
[param('uint32_t', 'i')],
|
||||
is_const=True)
|
||||
## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function]
|
||||
cls.add_method('GetAttributeHelp',
|
||||
'std::string',
|
||||
[param('uint32_t', 'i')],
|
||||
is_const=True)
|
||||
## type-id.h (module 'core'): ns3::Ptr<ns3::AttributeValue const> ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function]
|
||||
cls.add_method('GetAttributeInitialValue',
|
||||
'ns3::Ptr< ns3::AttributeValue const >',
|
||||
[param('uint32_t', 'i')],
|
||||
is_const=True)
|
||||
## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function]
|
||||
cls.add_method('GetAttributeN',
|
||||
'uint32_t',
|
||||
[],
|
||||
is_const=True)
|
||||
## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function]
|
||||
cls.add_method('GetAttributeName',
|
||||
'std::string',
|
||||
[param('uint32_t', 'i')],
|
||||
is_const=True)
|
||||
## type-id.h (module 'core'): ns3::Callback<ns3::ObjectBase*,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ns3::TypeId::GetConstructor() const [member function]
|
||||
cls.add_method('GetConstructor',
|
||||
'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >',
|
||||
@@ -1755,14 +1742,9 @@ def register_Ns3TypeId_methods(root_module, cls):
|
||||
'uint32_t',
|
||||
[],
|
||||
is_static=True)
|
||||
## type-id.h (module 'core'): ns3::Ptr<const ns3::TraceSourceAccessor> ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function]
|
||||
cls.add_method('GetTraceSourceAccessor',
|
||||
'ns3::Ptr< ns3::TraceSourceAccessor const >',
|
||||
[param('uint32_t', 'i')],
|
||||
is_const=True)
|
||||
## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function]
|
||||
cls.add_method('GetTraceSourceHelp',
|
||||
'std::string',
|
||||
## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function]
|
||||
cls.add_method('GetTraceSource',
|
||||
'ns3::TypeId::TraceSourceInformation',
|
||||
[param('uint32_t', 'i')],
|
||||
is_const=True)
|
||||
## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function]
|
||||
@@ -1770,11 +1752,6 @@ def register_Ns3TypeId_methods(root_module, cls):
|
||||
'uint32_t',
|
||||
[],
|
||||
is_const=True)
|
||||
## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function]
|
||||
cls.add_method('GetTraceSourceName',
|
||||
'std::string',
|
||||
[param('uint32_t', 'i')],
|
||||
is_const=True)
|
||||
## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function]
|
||||
cls.add_method('GetUid',
|
||||
'uint16_t',
|
||||
@@ -1799,22 +1776,17 @@ def register_Ns3TypeId_methods(root_module, cls):
|
||||
'bool',
|
||||
[param('ns3::TypeId', 'other')],
|
||||
is_const=True)
|
||||
## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function]
|
||||
cls.add_method('LookupAttributeByFullName',
|
||||
'bool',
|
||||
[param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')],
|
||||
is_static=True)
|
||||
## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function]
|
||||
## 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::AttributeInfo *', 'info', transfer_ownership=False)],
|
||||
[param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')],
|
||||
is_const=True)
|
||||
## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function]
|
||||
cls.add_method('LookupByName',
|
||||
'ns3::TypeId',
|
||||
[param('std::string', 'name')],
|
||||
is_static=True)
|
||||
## type-id.h (module 'core'): ns3::Ptr<const ns3::TraceSourceAccessor> ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function]
|
||||
## type-id.h (module 'core'): ns3::Ptr<ns3::TraceSourceAccessor const> ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function]
|
||||
cls.add_method('LookupTraceSourceByName',
|
||||
'ns3::Ptr< ns3::TraceSourceAccessor const >',
|
||||
[param('std::string', 'name')],
|
||||
@@ -1824,6 +1796,10 @@ def register_Ns3TypeId_methods(root_module, cls):
|
||||
'bool',
|
||||
[],
|
||||
is_const=True)
|
||||
## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr<ns3::AttributeValue const> initialValue) [member function]
|
||||
cls.add_method('SetAttributeInitialValue',
|
||||
'bool',
|
||||
[param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')])
|
||||
## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function]
|
||||
cls.add_method('SetGroupName',
|
||||
'ns3::TypeId',
|
||||
@@ -1838,35 +1814,38 @@ def register_Ns3TypeId_methods(root_module, cls):
|
||||
[param('uint16_t', 'tid')])
|
||||
return
|
||||
|
||||
def register_Ns3TypeIdAttributeInfo_methods(root_module, cls):
|
||||
## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor]
|
||||
def register_Ns3TypeIdAttributeInformation_methods(root_module, cls):
|
||||
## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor]
|
||||
cls.add_constructor([])
|
||||
## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')])
|
||||
## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable]
|
||||
## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')])
|
||||
## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable]
|
||||
cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False)
|
||||
## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable]
|
||||
## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable]
|
||||
cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False)
|
||||
## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable]
|
||||
## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable]
|
||||
cls.add_instance_attribute('flags', 'uint32_t', is_const=False)
|
||||
## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable]
|
||||
## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable]
|
||||
cls.add_instance_attribute('help', 'std::string', is_const=False)
|
||||
## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable]
|
||||
cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False)
|
||||
## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable]
|
||||
cls.add_instance_attribute('name', 'std::string', is_const=False)
|
||||
## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable]
|
||||
cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False)
|
||||
return
|
||||
|
||||
def register_Ns3UnsafeAttributeList_methods(root_module, cls):
|
||||
## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor]
|
||||
def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls):
|
||||
## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor]
|
||||
cls.add_constructor([])
|
||||
## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor]
|
||||
cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')])
|
||||
## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function]
|
||||
cls.add_method('GetSafe',
|
||||
'ns3::AttributeList',
|
||||
[param('std::string', 'name')],
|
||||
is_const=True)
|
||||
## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function]
|
||||
cls.add_method('Set',
|
||||
'void',
|
||||
[param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')])
|
||||
## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')])
|
||||
## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable]
|
||||
cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False)
|
||||
## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable]
|
||||
cls.add_instance_attribute('help', 'std::string', is_const=False)
|
||||
## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable]
|
||||
cls.add_instance_attribute('name', 'std::string', is_const=False)
|
||||
return
|
||||
|
||||
def register_Ns3Empty_methods(root_module, cls):
|
||||
@@ -2033,10 +2012,10 @@ def register_Ns3Ipv4Header_methods(root_module, cls):
|
||||
cls.add_method('SetDontFragment',
|
||||
'void',
|
||||
[])
|
||||
## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetFragmentOffset(uint16_t offset) [member function]
|
||||
## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetFragmentOffset(uint16_t offsetBytes) [member function]
|
||||
cls.add_method('SetFragmentOffset',
|
||||
'void',
|
||||
[param('uint16_t', 'offset')])
|
||||
[param('uint16_t', 'offsetBytes')])
|
||||
## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetIdentification(uint16_t identification) [member function]
|
||||
cls.add_method('SetIdentification',
|
||||
'void',
|
||||
@@ -2249,6 +2228,18 @@ def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Pac
|
||||
is_static=True)
|
||||
return
|
||||
|
||||
def register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, cls):
|
||||
## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >::SimpleRefCount() [constructor]
|
||||
cls.add_constructor([])
|
||||
## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >::SimpleRefCount(ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> > const & o) [copy constructor]
|
||||
cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > const &', 'o')])
|
||||
## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >::Cleanup() [member function]
|
||||
cls.add_method('Cleanup',
|
||||
'void',
|
||||
[],
|
||||
is_static=True)
|
||||
return
|
||||
|
||||
def register_Ns3Socket_methods(root_module, cls):
|
||||
## socket.h (module 'network'): ns3::Socket::Socket(ns3::Socket const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::Socket const &', 'arg0')])
|
||||
@@ -2613,6 +2604,33 @@ def register_Ns3SocketSetDontFragmentTag_methods(root_module, cls):
|
||||
is_const=True, is_virtual=True)
|
||||
return
|
||||
|
||||
def register_Ns3TraceSourceAccessor_methods(root_module, cls):
|
||||
## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')])
|
||||
## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor]
|
||||
cls.add_constructor([])
|
||||
## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function]
|
||||
cls.add_method('Connect',
|
||||
'bool',
|
||||
[param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')],
|
||||
is_pure_virtual=True, is_const=True, is_virtual=True)
|
||||
## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function]
|
||||
cls.add_method('ConnectWithoutContext',
|
||||
'bool',
|
||||
[param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')],
|
||||
is_pure_virtual=True, is_const=True, is_virtual=True)
|
||||
## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function]
|
||||
cls.add_method('Disconnect',
|
||||
'bool',
|
||||
[param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')],
|
||||
is_pure_virtual=True, is_const=True, is_virtual=True)
|
||||
## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function]
|
||||
cls.add_method('DisconnectWithoutContext',
|
||||
'bool',
|
||||
[param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')],
|
||||
is_pure_virtual=True, is_const=True, is_virtual=True)
|
||||
return
|
||||
|
||||
def register_Ns3Trailer_methods(root_module, cls):
|
||||
cls.add_output_stream_operator()
|
||||
## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor]
|
||||
@@ -2693,6 +2711,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls):
|
||||
'ns3::Ptr< ns3::AttributeValue >',
|
||||
[],
|
||||
is_pure_virtual=True, is_const=True, is_virtual=True)
|
||||
## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function]
|
||||
cls.add_method('CreateValidValue',
|
||||
'ns3::Ptr< ns3::AttributeValue >',
|
||||
[param('ns3::AttributeValue const &', 'value')],
|
||||
is_const=True)
|
||||
## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function]
|
||||
cls.add_method('GetUnderlyingTypeInformation',
|
||||
'std::string',
|
||||
@@ -3191,10 +3214,15 @@ def register_Ns3Ipv4MulticastRoute_methods(root_module, cls):
|
||||
'ns3::Ipv4Address',
|
||||
[],
|
||||
is_const=True)
|
||||
## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetOutputTtl(uint32_t oif) const [member function]
|
||||
## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetOutputTtl(uint32_t oif) [member function]
|
||||
cls.add_method('GetOutputTtl',
|
||||
'uint32_t',
|
||||
[param('uint32_t', 'oif')],
|
||||
deprecated=True)
|
||||
## ipv4-route.h (module 'internet'): std::map<unsigned int, unsigned int, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, unsigned int> > > ns3::Ipv4MulticastRoute::GetOutputTtlMap() const [member function]
|
||||
cls.add_method('GetOutputTtlMap',
|
||||
'std::map< unsigned int, unsigned int >',
|
||||
[],
|
||||
is_const=True)
|
||||
## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetParent() const [member function]
|
||||
cls.add_method('GetParent',
|
||||
|
||||
Reference in New Issue
Block a user