From 909193081ecb697edb862a6eff82853dd444b724 Mon Sep 17 00:00:00 2001 From: Tom Henderson Date: Sun, 27 Sep 2020 17:57:53 -0700 Subject: [PATCH] core: Rescan API definitions --- src/core/bindings/modulegen__gcc_ILP32.py | 244 ++++++++++------------ src/core/bindings/modulegen__gcc_LP64.py | 244 ++++++++++------------ 2 files changed, 222 insertions(+), 266 deletions(-) diff --git a/src/core/bindings/modulegen__gcc_ILP32.py b/src/core/bindings/modulegen__gcc_ILP32.py index b2a08b089..edf9d4143 100644 --- a/src/core/bindings/modulegen__gcc_ILP32.py +++ b/src/core/bindings/modulegen__gcc_ILP32.py @@ -121,7 +121,7 @@ def register_types(module): ## show-progress.h (module 'core'): ns3::ShowProgress [class] module.add_class('ShowProgress') ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'), parent=root_module['ns3::ObjectBase'], template_parameters=['ns3::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter']) + module.add_class('SimpleRefCount', memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'), template_parameters=['ns3::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter'], automatic_type_narrowing=True, parent=root_module['ns3::ObjectBase']) ## simulator.h (module 'core'): ns3::Simulator [class] module.add_class('Simulator', destructor_visibility='private') ## simulator.h (module 'core'): ns3::Simulator [enumeration] @@ -170,8 +170,6 @@ def register_types(module): module.add_class('Vector2D') ## vector.h (module 'core'): ns3::Vector3D [class] module.add_class('Vector3D') - ## version.h (module 'core'): ns3::Version [class] - module.add_class('Version') ## watchdog.h (module 'core'): ns3::Watchdog [class] module.add_class('Watchdog') ## empty.h (module 'core'): ns3::empty [class] @@ -197,25 +195,25 @@ def register_types(module): ## random-variable-stream.h (module 'core'): ns3::SequentialRandomVariable [class] module.add_class('SequentialRandomVariable', parent=root_module['ns3::RandomVariableStream']) ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'), parent=root_module['ns3::empty'], template_parameters=['ns3::AttributeAccessor', 'ns3::empty', 'ns3::DefaultDeleter']) + module.add_class('SimpleRefCount', memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'), template_parameters=['ns3::AttributeAccessor', 'ns3::empty', 'ns3::DefaultDeleter'], automatic_type_narrowing=True, parent=root_module['ns3::empty']) ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'), parent=root_module['ns3::empty'], template_parameters=['ns3::AttributeChecker', 'ns3::empty', 'ns3::DefaultDeleter']) + module.add_class('SimpleRefCount', memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'), template_parameters=['ns3::AttributeChecker', 'ns3::empty', 'ns3::DefaultDeleter'], automatic_type_narrowing=True, parent=root_module['ns3::empty']) ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'), parent=root_module['ns3::empty'], template_parameters=['ns3::AttributeValue', 'ns3::empty', 'ns3::DefaultDeleter']) + module.add_class('SimpleRefCount', memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'), template_parameters=['ns3::AttributeValue', 'ns3::empty', 'ns3::DefaultDeleter'], automatic_type_narrowing=True, parent=root_module['ns3::empty']) ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'), parent=root_module['ns3::empty'], template_parameters=['ns3::CallbackImplBase', 'ns3::empty', 'ns3::DefaultDeleter']) + module.add_class('SimpleRefCount', memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'), template_parameters=['ns3::CallbackImplBase', 'ns3::empty', 'ns3::DefaultDeleter'], automatic_type_narrowing=True, parent=root_module['ns3::empty']) ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'), parent=root_module['ns3::empty'], template_parameters=['ns3::EventImpl', 'ns3::empty', 'ns3::DefaultDeleter']) + module.add_class('SimpleRefCount', memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'), template_parameters=['ns3::EventImpl', 'ns3::empty', 'ns3::DefaultDeleter'], automatic_type_narrowing=True, parent=root_module['ns3::empty']) ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'), parent=root_module['ns3::empty'], template_parameters=['ns3::FdReader', 'ns3::empty', 'ns3::DefaultDeleter']) + module.add_class('SimpleRefCount', memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'), template_parameters=['ns3::FdReader', 'ns3::empty', 'ns3::DefaultDeleter'], automatic_type_narrowing=True, parent=root_module['ns3::empty']) ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'), parent=root_module['ns3::empty'], template_parameters=['ns3::Hash::Implementation', 'ns3::empty', 'ns3::DefaultDeleter']) + module.add_class('SimpleRefCount', memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'), template_parameters=['ns3::Hash::Implementation', 'ns3::empty', 'ns3::DefaultDeleter'], automatic_type_narrowing=True, parent=root_module['ns3::empty']) ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'), parent=root_module['ns3::empty'], template_parameters=['ns3::RefCountBase', 'ns3::empty', 'ns3::DefaultDeleter']) + module.add_class('SimpleRefCount', memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'), template_parameters=['ns3::RefCountBase', 'ns3::empty', 'ns3::DefaultDeleter'], automatic_type_narrowing=True, parent=root_module['ns3::empty']) ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'), parent=root_module['ns3::empty'], template_parameters=['ns3::SystemThread', 'ns3::empty', 'ns3::DefaultDeleter']) + module.add_class('SimpleRefCount', memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'), template_parameters=['ns3::SystemThread', 'ns3::empty', 'ns3::DefaultDeleter'], automatic_type_narrowing=True, parent=root_module['ns3::empty']) ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'), parent=root_module['ns3::empty'], template_parameters=['ns3::TraceSourceAccessor', 'ns3::empty', 'ns3::DefaultDeleter']) + module.add_class('SimpleRefCount', memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'), template_parameters=['ns3::TraceSourceAccessor', 'ns3::empty', 'ns3::DefaultDeleter'], automatic_type_narrowing=True, parent=root_module['ns3::empty']) ## simulator-impl.h (module 'core'): ns3::SimulatorImpl [class] module.add_class('SimulatorImpl', parent=root_module['ns3::Object']) ## synchronizer.h (module 'core'): ns3::Synchronizer [class] @@ -243,6 +241,8 @@ def register_types(module): module.add_class('AttributeAccessor', parent=root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter >']) ## attribute.h (module 'core'): ns3::AttributeChecker [class] module.add_class('AttributeChecker', automatic_type_narrowing=True, parent=root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter >'], allow_subclassing=False) + ## attribute-container.h (module 'core'): ns3::AttributeContainerChecker [class] + module.add_class('AttributeContainerChecker', parent=root_module['ns3::AttributeChecker']) ## attribute.h (module 'core'): ns3::AttributeValue [class] module.add_class('AttributeValue', automatic_type_narrowing=True, parent=root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter >'], allow_subclassing=False) ## boolean.h (module 'core'): ns3::BooleanChecker [class] @@ -312,6 +312,11 @@ def register_types(module): typehandlers.add_type_alias('std::map< unsigned long long, ns3::Ptr< ns3::Object > > const_iterator', 'ns3::ObjectPtrContainerValue::Iterator') typehandlers.add_type_alias('std::map< unsigned long long, ns3::Ptr< ns3::Object > > const_iterator*', 'ns3::ObjectPtrContainerValue::Iterator*') typehandlers.add_type_alias('std::map< unsigned long long, ns3::Ptr< ns3::Object > > const_iterator&', 'ns3::ObjectPtrContainerValue::Iterator&') + ## pair.h (module 'core'): ns3::PairChecker [class] + module.add_class('PairChecker', parent=root_module['ns3::AttributeChecker']) + typehandlers.add_type_alias('std::pair< ns3::Ptr< ns3::AttributeChecker const >, ns3::Ptr< ns3::AttributeChecker const > >', 'ns3::PairChecker::checker_pair_type') + typehandlers.add_type_alias('std::pair< ns3::Ptr< ns3::AttributeChecker const >, ns3::Ptr< ns3::AttributeChecker const > >*', 'ns3::PairChecker::checker_pair_type*') + typehandlers.add_type_alias('std::pair< ns3::Ptr< ns3::AttributeChecker const >, ns3::Ptr< ns3::AttributeChecker const > >&', 'ns3::PairChecker::checker_pair_type&') ## random-variable-stream.h (module 'core'): ns3::ParetoRandomVariable [class] module.add_class('ParetoRandomVariable', parent=root_module['ns3::RandomVariableStream']) ## pointer.h (module 'core'): ns3::PointerChecker [class] @@ -589,7 +594,6 @@ def register_methods(root_module): register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3Vector2D_methods(root_module, root_module['ns3::Vector2D']) register_Ns3Vector3D_methods(root_module, root_module['ns3::Vector3D']) - register_Ns3Version_methods(root_module, root_module['ns3::Version']) register_Ns3Watchdog_methods(root_module, root_module['ns3::Watchdog']) register_Ns3Empty_methods(root_module, root_module['ns3::empty']) register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t']) @@ -623,6 +627,7 @@ def register_methods(root_module): register_Ns3ZipfRandomVariable_methods(root_module, root_module['ns3::ZipfRandomVariable']) register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor']) register_Ns3AttributeChecker_methods(root_module, root_module['ns3::AttributeChecker']) + register_Ns3AttributeContainerChecker_methods(root_module, root_module['ns3::AttributeContainerChecker']) register_Ns3AttributeValue_methods(root_module, root_module['ns3::AttributeValue']) register_Ns3BooleanChecker_methods(root_module, root_module['ns3::BooleanChecker']) register_Ns3BooleanValue_methods(root_module, root_module['ns3::BooleanValue']) @@ -656,6 +661,7 @@ def register_methods(root_module): register_Ns3ObjectPtrContainerAccessor_methods(root_module, root_module['ns3::ObjectPtrContainerAccessor']) register_Ns3ObjectPtrContainerChecker_methods(root_module, root_module['ns3::ObjectPtrContainerChecker']) register_Ns3ObjectPtrContainerValue_methods(root_module, root_module['ns3::ObjectPtrContainerValue']) + register_Ns3PairChecker_methods(root_module, root_module['ns3::PairChecker']) register_Ns3ParetoRandomVariable_methods(root_module, root_module['ns3::ParetoRandomVariable']) register_Ns3PointerChecker_methods(root_module, root_module['ns3::PointerChecker']) register_Ns3PointerValue_methods(root_module, root_module['ns3::PointerValue']) @@ -1323,8 +1329,8 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')]) ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor] cls.add_constructor([]) - ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor] - cls.add_constructor([param('std::string', 'typeId')]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string const & typeId) [constructor] + cls.add_constructor([param('std::string const &', 'typeId')]) ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactory::Create() const [member function] cls.add_method('Create', 'ns3::Ptr< ns3::Object >', @@ -1340,10 +1346,10 @@ def register_Ns3ObjectFactory_methods(root_module, cls): 'bool', [], is_const=True) - ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(std::string name, ns3::AttributeValue const & value) [member function] + ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set() [member function] cls.add_method('Set', 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + []) ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function] cls.add_method('SetTypeId', 'void', @@ -1930,12 +1936,12 @@ def register_Ns3TimerImpl_methods(root_module, cls): cls.add_method('Invoke', 'void', [], - is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, is_virtual=True) ## timer-impl.h (module 'core'): ns3::EventId ns3::TimerImpl::Schedule(ns3::Time const & delay) [member function] cls.add_method('Schedule', 'ns3::EventId', [param('ns3::Time const &', 'delay')], - is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, is_virtual=True) return def register_Ns3TypeId_methods(root_module, cls): @@ -2206,78 +2212,6 @@ def register_Ns3Vector3D_methods(root_module, cls): cls.add_instance_attribute('z', 'double', is_const=False) return -def register_Ns3Version_methods(root_module, cls): - ## version.h (module 'core'): ns3::Version::Version() [constructor] - cls.add_constructor([]) - ## version.h (module 'core'): ns3::Version::Version(ns3::Version const & arg0) [constructor] - cls.add_constructor([param('ns3::Version const &', 'arg0')]) - ## version.h (module 'core'): static std::string ns3::Version::BuildProfile() [member function] - cls.add_method('BuildProfile', - 'std::string', - [], - is_static=True) - ## version.h (module 'core'): static std::string ns3::Version::BuildSummary() [member function] - cls.add_method('BuildSummary', - 'std::string', - [], - is_static=True) - ## version.h (module 'core'): static std::string ns3::Version::ClosestAncestorTag() [member function] - cls.add_method('ClosestAncestorTag', - 'std::string', - [], - is_static=True) - ## version.h (module 'core'): static std::string ns3::Version::CommitHash() [member function] - cls.add_method('CommitHash', - 'std::string', - [], - is_static=True) - ## version.h (module 'core'): static bool ns3::Version::DirtyWorkingTree() [member function] - cls.add_method('DirtyWorkingTree', - 'bool', - [], - is_static=True) - ## version.h (module 'core'): static std::string ns3::Version::LongVersion() [member function] - cls.add_method('LongVersion', - 'std::string', - [], - is_static=True) - ## version.h (module 'core'): static uint32_t ns3::Version::Major() [member function] - cls.add_method('Major', - 'uint32_t', - [], - is_static=True) - ## version.h (module 'core'): static uint32_t ns3::Version::Minor() [member function] - cls.add_method('Minor', - 'uint32_t', - [], - is_static=True) - ## version.h (module 'core'): static uint32_t ns3::Version::Patch() [member function] - cls.add_method('Patch', - 'uint32_t', - [], - is_static=True) - ## version.h (module 'core'): static std::string ns3::Version::ReleaseCandidate() [member function] - cls.add_method('ReleaseCandidate', - 'std::string', - [], - is_static=True) - ## version.h (module 'core'): static std::string ns3::Version::ShortVersion() [member function] - cls.add_method('ShortVersion', - 'std::string', - [], - is_static=True) - ## version.h (module 'core'): static uint32_t ns3::Version::TagDistance() [member function] - cls.add_method('TagDistance', - 'uint32_t', - [], - is_static=True) - ## version.h (module 'core'): static std::string ns3::Version::VersionTag() [member function] - cls.add_method('VersionTag', - 'std::string', - [], - is_static=True) - return - def register_Ns3Watchdog_methods(root_module, cls): ## watchdog.h (module 'core'): ns3::Watchdog::Watchdog(ns3::Watchdog const & arg0) [constructor] cls.add_constructor([param('ns3::Watchdog const &', 'arg0')]) @@ -2406,12 +2340,12 @@ def register_Ns3Object_methods(root_module, cls): cls.add_method('GetObject', 'ns3::Ptr< ns3::Object >', [], - is_const=True, custom_template_method_name='GetObject', template_parameters=['ns3::Object']) + is_const=True, template_parameters=['ns3::Object'], custom_template_method_name='GetObject') ## object.h (module 'core'): ns3::Ptr ns3::Object::GetObject(ns3::TypeId tid) const [member function] cls.add_method('GetObject', 'ns3::Ptr< ns3::Object >', [param('ns3::TypeId', 'tid')], - is_const=True, custom_template_method_name='GetObject', template_parameters=['ns3::Object']) + is_const=True, template_parameters=['ns3::Object'], custom_template_method_name='GetObject') ## object.h (module 'core'): static ns3::TypeId ns3::Object::GetTypeId() [member function] cls.add_method('GetTypeId', 'ns3::TypeId', @@ -2492,17 +2426,17 @@ def register_Ns3RandomVariableStream_methods(root_module, cls): cls.add_method('GetValue', 'double', [], - is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, is_virtual=True) ## random-variable-stream.h (module 'core'): uint32_t ns3::RandomVariableStream::GetInteger() [member function] cls.add_method('GetInteger', 'uint32_t', [], - is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, is_virtual=True) ## random-variable-stream.h (module 'core'): ns3::RngStream * ns3::RandomVariableStream::Peek() const [member function] cls.add_method('Peek', 'ns3::RngStream *', [], - visibility='protected', is_const=True) + is_const=True, visibility='protected') return def register_Ns3Scheduler_methods(root_module, cls): @@ -2519,7 +2453,7 @@ def register_Ns3Scheduler_methods(root_module, cls): cls.add_method('Insert', 'void', [param('ns3::Scheduler::Event const &', 'ev')], - is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, is_virtual=True) ## scheduler.h (module 'core'): bool ns3::Scheduler::IsEmpty() const [member function] cls.add_method('IsEmpty', 'bool', @@ -2534,12 +2468,12 @@ def register_Ns3Scheduler_methods(root_module, cls): cls.add_method('Remove', 'void', [param('ns3::Scheduler::Event const &', 'ev')], - is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, is_virtual=True) ## scheduler.h (module 'core'): ns3::Scheduler::Event ns3::Scheduler::RemoveNext() [member function] cls.add_method('RemoveNext', 'ns3::Scheduler::Event', [], - is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, is_virtual=True) return def register_Ns3SchedulerEvent_methods(root_module, cls): @@ -2693,12 +2627,12 @@ def register_Ns3SimulatorImpl_methods(root_module, cls): cls.add_method('Cancel', 'void', [param('ns3::EventId const &', 'id')], - is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, is_virtual=True) ## simulator-impl.h (module 'core'): void ns3::SimulatorImpl::Destroy() [member function] cls.add_method('Destroy', 'void', [], - is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, is_virtual=True) ## simulator-impl.h (module 'core'): uint32_t ns3::SimulatorImpl::GetContext() const [member function] cls.add_method('GetContext', 'uint32_t', @@ -2748,47 +2682,47 @@ def register_Ns3SimulatorImpl_methods(root_module, cls): cls.add_method('Remove', 'void', [param('ns3::EventId const &', 'id')], - is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, is_virtual=True) ## simulator-impl.h (module 'core'): void ns3::SimulatorImpl::Run() [member function] cls.add_method('Run', 'void', [], - is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, is_virtual=True) ## simulator-impl.h (module 'core'): ns3::EventId ns3::SimulatorImpl::Schedule(ns3::Time const & delay, ns3::EventImpl * event) [member function] cls.add_method('Schedule', 'ns3::EventId', [param('ns3::Time const &', 'delay'), param('ns3::EventImpl *', 'event')], - is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, is_virtual=True) ## simulator-impl.h (module 'core'): ns3::EventId ns3::SimulatorImpl::ScheduleDestroy(ns3::EventImpl * event) [member function] cls.add_method('ScheduleDestroy', 'ns3::EventId', [param('ns3::EventImpl *', 'event')], - is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, is_virtual=True) ## simulator-impl.h (module 'core'): ns3::EventId ns3::SimulatorImpl::ScheduleNow(ns3::EventImpl * event) [member function] cls.add_method('ScheduleNow', 'ns3::EventId', [param('ns3::EventImpl *', 'event')], - is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, is_virtual=True) ## simulator-impl.h (module 'core'): void ns3::SimulatorImpl::ScheduleWithContext(uint32_t context, ns3::Time const & delay, ns3::EventImpl * event) [member function] cls.add_method('ScheduleWithContext', 'void', [param('uint32_t', 'context'), param('ns3::Time const &', 'delay'), param('ns3::EventImpl *', 'event')], - is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, is_virtual=True) ## simulator-impl.h (module 'core'): void ns3::SimulatorImpl::SetScheduler(ns3::ObjectFactory schedulerFactory) [member function] cls.add_method('SetScheduler', 'void', [param('ns3::ObjectFactory', 'schedulerFactory')], - is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, is_virtual=True) ## simulator-impl.h (module 'core'): void ns3::SimulatorImpl::Stop() [member function] cls.add_method('Stop', 'void', [], - is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, is_virtual=True) ## simulator-impl.h (module 'core'): void ns3::SimulatorImpl::Stop(ns3::Time const & delay) [member function] cls.add_method('Stop', 'void', [param('ns3::Time const &', 'delay')], - is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, is_virtual=True) return def register_Ns3Synchronizer_methods(root_module, cls): @@ -2845,47 +2779,47 @@ def register_Ns3Synchronizer_methods(root_module, cls): cls.add_method('DoEventEnd', 'uint64_t', [], - visibility='protected', is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, visibility='protected', is_virtual=True) ## synchronizer.h (module 'core'): void ns3::Synchronizer::DoEventStart() [member function] cls.add_method('DoEventStart', 'void', [], - visibility='protected', is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, visibility='protected', is_virtual=True) ## synchronizer.h (module 'core'): uint64_t ns3::Synchronizer::DoGetCurrentRealtime() [member function] cls.add_method('DoGetCurrentRealtime', 'uint64_t', [], - visibility='protected', is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, visibility='protected', is_virtual=True) ## synchronizer.h (module 'core'): int64_t ns3::Synchronizer::DoGetDrift(uint64_t ns) [member function] cls.add_method('DoGetDrift', 'int64_t', [param('uint64_t', 'ns')], - visibility='protected', is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, visibility='protected', is_virtual=True) ## synchronizer.h (module 'core'): bool ns3::Synchronizer::DoRealtime() [member function] cls.add_method('DoRealtime', 'bool', [], - visibility='protected', is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, visibility='protected', is_virtual=True) ## synchronizer.h (module 'core'): void ns3::Synchronizer::DoSetCondition(bool arg0) [member function] cls.add_method('DoSetCondition', 'void', [param('bool', 'arg0')], - visibility='protected', is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, visibility='protected', is_virtual=True) ## synchronizer.h (module 'core'): void ns3::Synchronizer::DoSetOrigin(uint64_t ns) [member function] cls.add_method('DoSetOrigin', 'void', [param('uint64_t', 'ns')], - visibility='protected', is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, visibility='protected', is_virtual=True) ## synchronizer.h (module 'core'): void ns3::Synchronizer::DoSignal() [member function] cls.add_method('DoSignal', 'void', [], - visibility='protected', is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, visibility='protected', is_virtual=True) ## synchronizer.h (module 'core'): bool ns3::Synchronizer::DoSynchronize(uint64_t nsCurrent, uint64_t nsDelay) [member function] cls.add_method('DoSynchronize', 'bool', [param('uint64_t', 'nsCurrent'), param('uint64_t', 'nsDelay')], - visibility='protected', is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, visibility='protected', is_virtual=True) return def register_Ns3SystemThread_methods(root_module, cls): @@ -3307,6 +3241,23 @@ def register_Ns3AttributeChecker_methods(root_module, cls): is_const=True, is_pure_virtual=True, is_virtual=True) return +def register_Ns3AttributeContainerChecker_methods(root_module, cls): + ## attribute-container.h (module 'core'): ns3::AttributeContainerChecker::AttributeContainerChecker() [constructor] + cls.add_constructor([]) + ## attribute-container.h (module 'core'): ns3::AttributeContainerChecker::AttributeContainerChecker(ns3::AttributeContainerChecker const & arg0) [constructor] + cls.add_constructor([param('ns3::AttributeContainerChecker const &', 'arg0')]) + ## attribute-container.h (module 'core'): ns3::Ptr ns3::AttributeContainerChecker::GetItemChecker() const [member function] + cls.add_method('GetItemChecker', + 'ns3::Ptr< ns3::AttributeChecker const >', + [], + is_const=True, is_pure_virtual=True, is_virtual=True) + ## attribute-container.h (module 'core'): void ns3::AttributeContainerChecker::SetItemChecker(ns3::Ptr itemchecker) [member function] + cls.add_method('SetItemChecker', + 'void', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'itemchecker')], + is_pure_virtual=True, is_virtual=True) + return + def register_Ns3AttributeValue_methods(root_module, cls): ## attribute.h (module 'core'): ns3::AttributeValue::AttributeValue(ns3::AttributeValue const & arg0) [constructor] cls.add_constructor([param('ns3::AttributeValue const &', 'arg0')]) @@ -3321,7 +3272,7 @@ def register_Ns3AttributeValue_methods(root_module, cls): cls.add_method('DeserializeFromString', 'bool', [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], - is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, is_virtual=True) ## attribute.h (module 'core'): std::string ns3::AttributeValue::SerializeToString(ns3::Ptr checker) const [member function] cls.add_method('SerializeToString', 'std::string', @@ -3802,7 +3753,7 @@ def register_Ns3EmptyAttributeValue_methods(root_module, cls): cls.add_method('Copy', 'ns3::Ptr< ns3::AttributeValue >', [], - visibility='private', is_const=True, is_virtual=True) + is_const=True, visibility='private', is_virtual=True) ## attribute.h (module 'core'): bool ns3::EmptyAttributeValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function] cls.add_method('DeserializeFromString', 'bool', @@ -3812,7 +3763,7 @@ def register_Ns3EmptyAttributeValue_methods(root_module, cls): cls.add_method('SerializeToString', 'std::string', [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], - visibility='private', is_const=True, is_virtual=True) + is_const=True, visibility='private', is_virtual=True) return def register_Ns3EnumChecker_methods(root_module, cls): @@ -3962,7 +3913,7 @@ def register_Ns3EventImpl_methods(root_module, cls): cls.add_method('Notify', 'void', [], - visibility='protected', is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, visibility='protected', is_virtual=True) return def register_Ns3ExponentialRandomVariable_methods(root_module, cls): @@ -4020,7 +3971,7 @@ def register_Ns3FdReader_methods(root_module, cls): cls.add_method('DoRead', 'ns3::FdReader::Data', [], - visibility='protected', is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, visibility='protected', is_virtual=True) return def register_Ns3GammaRandomVariable_methods(root_module, cls): @@ -4357,12 +4308,12 @@ def register_Ns3ObjectPtrContainerAccessor_methods(root_module, cls): cls.add_method('DoGet', 'ns3::Ptr< ns3::Object >', [param('ns3::ObjectBase const *', 'object'), param('std::size_t', 'i'), param('std::size_t *', 'index')], - visibility='private', is_const=True, is_pure_virtual=True, is_virtual=True) + is_const=True, is_pure_virtual=True, is_virtual=True, visibility='private') ## object-ptr-container.h (module 'core'): bool ns3::ObjectPtrContainerAccessor::DoGetN(ns3::ObjectBase const * object, std::size_t * n) const [member function] cls.add_method('DoGetN', 'bool', [param('ns3::ObjectBase const *', 'object'), param('std::size_t *', 'n')], - visibility='private', is_const=True, is_pure_virtual=True, is_virtual=True) + is_const=True, is_pure_virtual=True, is_virtual=True, visibility='private') return def register_Ns3ObjectPtrContainerChecker_methods(root_module, cls): @@ -4419,6 +4370,23 @@ def register_Ns3ObjectPtrContainerValue_methods(root_module, cls): is_const=True, is_virtual=True) return +def register_Ns3PairChecker_methods(root_module, cls): + ## pair.h (module 'core'): ns3::PairChecker::PairChecker() [constructor] + cls.add_constructor([]) + ## pair.h (module 'core'): ns3::PairChecker::PairChecker(ns3::PairChecker const & arg0) [constructor] + cls.add_constructor([param('ns3::PairChecker const &', 'arg0')]) + ## pair.h (module 'core'): ns3::PairChecker::checker_pair_type ns3::PairChecker::GetCheckers() const [member function] + cls.add_method('GetCheckers', + 'ns3::PairChecker::checker_pair_type', + [], + is_const=True, is_pure_virtual=True, is_virtual=True) + ## pair.h (module 'core'): void ns3::PairChecker::SetCheckers(ns3::Ptr firstchecker, ns3::Ptr secondchecker) [member function] + cls.add_method('SetCheckers', + 'void', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'firstchecker'), param('ns3::Ptr< ns3::AttributeChecker const >', 'secondchecker')], + is_pure_virtual=True, is_virtual=True) + return + def register_Ns3ParetoRandomVariable_methods(root_module, cls): ## random-variable-stream.h (module 'core'): static ns3::TypeId ns3::ParetoRandomVariable::GetTypeId() [member function] cls.add_method('GetTypeId', @@ -4947,7 +4915,7 @@ def register_Ns3CallbackImpl__Bool_StdBasic_string__lt__char__gt___Ns3Empty_Ns3E cls.add_method('operator()', 'bool', [param('std::string', 'arg0')], - custom_name='__call__', is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, custom_name='__call__', is_virtual=True) return def register_Ns3CallbackImpl__Ns3ObjectBase___star___Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_methods(root_module, cls): @@ -4969,7 +4937,7 @@ def register_Ns3CallbackImpl__Ns3ObjectBase___star___Ns3Empty_Ns3Empty_Ns3Empty_ cls.add_method('operator()', 'ns3::ObjectBase *', [], - custom_name='__call__', is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, custom_name='__call__', is_virtual=True) return def register_Ns3CallbackImpl__Void_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_methods(root_module, cls): @@ -4991,7 +4959,7 @@ def register_Ns3CallbackImpl__Void_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_ cls.add_method('operator()', 'void', [], - custom_name='__call__', is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, custom_name='__call__', is_virtual=True) return def register_Ns3CallbackImpl__Void_Unsigned_char___star___Long_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_methods(root_module, cls): @@ -5013,7 +4981,7 @@ def register_Ns3CallbackImpl__Void_Unsigned_char___star___Long_Ns3Empty_Ns3Empty cls.add_method('operator()', 'void', [param('unsigned char *', 'arg0'), param('long int', 'arg1')], - custom_name='__call__', is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, custom_name='__call__', is_virtual=True) return def register_Ns3ConfigMatchContainer_methods(root_module, cls): @@ -5096,7 +5064,7 @@ def register_Ns3HashImplementation_methods(root_module, cls): cls.add_method('GetHash32', 'uint32_t', [param('char const *', 'buffer'), param('std::size_t const', 'size')], - is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, is_virtual=True) ## hash-function.h (module 'core'): uint64_t ns3::Hash::Implementation::GetHash64(char const * buffer, std::size_t const size) [member function] cls.add_method('GetHash64', 'uint64_t', @@ -5106,7 +5074,7 @@ def register_Ns3HashImplementation_methods(root_module, cls): cls.add_method('clear', 'void', [], - is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, is_virtual=True) return def register_Ns3HashFunctionFnv1a_methods(root_module, cls): @@ -5249,6 +5217,16 @@ def register_functions(root_module): module.add_function('Div', 'int64_t', [param('ns3::Time const &', 'lhs'), param('ns3::Time const &', 'rhs')]) + ## ptr.h (module 'core'): ns3::Ptr ns3::DynamicCast(ns3::Ptr const & p) [free function] + module.add_function('DynamicCast', + 'ns3::Ptr< ns3::AttributeContainerChecker const >', + [param('ns3::Ptr< ns3::AttributeChecker const > const &', 'p')], + template_parameters=['ns3::AttributeContainerChecker const', ' ns3::AttributeChecker const']) + ## ptr.h (module 'core'): ns3::Ptr ns3::DynamicCast(ns3::Ptr const & p) [free function] + module.add_function('DynamicCast', + 'ns3::Ptr< ns3::PairChecker const >', + [param('ns3::Ptr< ns3::AttributeChecker const > const &', 'p')], + template_parameters=['ns3::PairChecker const', ' ns3::AttributeChecker const']) ## nstime.h (module 'core'): ns3::Time ns3::FemtoSeconds(ns3::int64x64_t value) [free function] module.add_function('FemtoSeconds', 'ns3::Time', diff --git a/src/core/bindings/modulegen__gcc_LP64.py b/src/core/bindings/modulegen__gcc_LP64.py index 7abc7edd8..f1ff1dfb7 100644 --- a/src/core/bindings/modulegen__gcc_LP64.py +++ b/src/core/bindings/modulegen__gcc_LP64.py @@ -121,7 +121,7 @@ def register_types(module): ## show-progress.h (module 'core'): ns3::ShowProgress [class] module.add_class('ShowProgress') ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'), parent=root_module['ns3::ObjectBase'], template_parameters=['ns3::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter']) + module.add_class('SimpleRefCount', memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'), template_parameters=['ns3::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter'], automatic_type_narrowing=True, parent=root_module['ns3::ObjectBase']) ## simulator.h (module 'core'): ns3::Simulator [class] module.add_class('Simulator', destructor_visibility='private') ## simulator.h (module 'core'): ns3::Simulator [enumeration] @@ -170,8 +170,6 @@ def register_types(module): module.add_class('Vector2D') ## vector.h (module 'core'): ns3::Vector3D [class] module.add_class('Vector3D') - ## version.h (module 'core'): ns3::Version [class] - module.add_class('Version') ## watchdog.h (module 'core'): ns3::Watchdog [class] module.add_class('Watchdog') ## empty.h (module 'core'): ns3::empty [class] @@ -197,25 +195,25 @@ def register_types(module): ## random-variable-stream.h (module 'core'): ns3::SequentialRandomVariable [class] module.add_class('SequentialRandomVariable', parent=root_module['ns3::RandomVariableStream']) ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'), parent=root_module['ns3::empty'], template_parameters=['ns3::AttributeAccessor', 'ns3::empty', 'ns3::DefaultDeleter']) + module.add_class('SimpleRefCount', memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'), template_parameters=['ns3::AttributeAccessor', 'ns3::empty', 'ns3::DefaultDeleter'], automatic_type_narrowing=True, parent=root_module['ns3::empty']) ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'), parent=root_module['ns3::empty'], template_parameters=['ns3::AttributeChecker', 'ns3::empty', 'ns3::DefaultDeleter']) + module.add_class('SimpleRefCount', memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'), template_parameters=['ns3::AttributeChecker', 'ns3::empty', 'ns3::DefaultDeleter'], automatic_type_narrowing=True, parent=root_module['ns3::empty']) ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'), parent=root_module['ns3::empty'], template_parameters=['ns3::AttributeValue', 'ns3::empty', 'ns3::DefaultDeleter']) + module.add_class('SimpleRefCount', memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'), template_parameters=['ns3::AttributeValue', 'ns3::empty', 'ns3::DefaultDeleter'], automatic_type_narrowing=True, parent=root_module['ns3::empty']) ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'), parent=root_module['ns3::empty'], template_parameters=['ns3::CallbackImplBase', 'ns3::empty', 'ns3::DefaultDeleter']) + module.add_class('SimpleRefCount', memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'), template_parameters=['ns3::CallbackImplBase', 'ns3::empty', 'ns3::DefaultDeleter'], automatic_type_narrowing=True, parent=root_module['ns3::empty']) ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'), parent=root_module['ns3::empty'], template_parameters=['ns3::EventImpl', 'ns3::empty', 'ns3::DefaultDeleter']) + module.add_class('SimpleRefCount', memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'), template_parameters=['ns3::EventImpl', 'ns3::empty', 'ns3::DefaultDeleter'], automatic_type_narrowing=True, parent=root_module['ns3::empty']) ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'), parent=root_module['ns3::empty'], template_parameters=['ns3::FdReader', 'ns3::empty', 'ns3::DefaultDeleter']) + module.add_class('SimpleRefCount', memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'), template_parameters=['ns3::FdReader', 'ns3::empty', 'ns3::DefaultDeleter'], automatic_type_narrowing=True, parent=root_module['ns3::empty']) ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'), parent=root_module['ns3::empty'], template_parameters=['ns3::Hash::Implementation', 'ns3::empty', 'ns3::DefaultDeleter']) + module.add_class('SimpleRefCount', memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'), template_parameters=['ns3::Hash::Implementation', 'ns3::empty', 'ns3::DefaultDeleter'], automatic_type_narrowing=True, parent=root_module['ns3::empty']) ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'), parent=root_module['ns3::empty'], template_parameters=['ns3::RefCountBase', 'ns3::empty', 'ns3::DefaultDeleter']) + module.add_class('SimpleRefCount', memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'), template_parameters=['ns3::RefCountBase', 'ns3::empty', 'ns3::DefaultDeleter'], automatic_type_narrowing=True, parent=root_module['ns3::empty']) ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'), parent=root_module['ns3::empty'], template_parameters=['ns3::SystemThread', 'ns3::empty', 'ns3::DefaultDeleter']) + module.add_class('SimpleRefCount', memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'), template_parameters=['ns3::SystemThread', 'ns3::empty', 'ns3::DefaultDeleter'], automatic_type_narrowing=True, parent=root_module['ns3::empty']) ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'), parent=root_module['ns3::empty'], template_parameters=['ns3::TraceSourceAccessor', 'ns3::empty', 'ns3::DefaultDeleter']) + module.add_class('SimpleRefCount', memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'), template_parameters=['ns3::TraceSourceAccessor', 'ns3::empty', 'ns3::DefaultDeleter'], automatic_type_narrowing=True, parent=root_module['ns3::empty']) ## simulator-impl.h (module 'core'): ns3::SimulatorImpl [class] module.add_class('SimulatorImpl', parent=root_module['ns3::Object']) ## synchronizer.h (module 'core'): ns3::Synchronizer [class] @@ -243,6 +241,8 @@ def register_types(module): module.add_class('AttributeAccessor', parent=root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter >']) ## attribute.h (module 'core'): ns3::AttributeChecker [class] module.add_class('AttributeChecker', automatic_type_narrowing=True, parent=root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter >'], allow_subclassing=False) + ## attribute-container.h (module 'core'): ns3::AttributeContainerChecker [class] + module.add_class('AttributeContainerChecker', parent=root_module['ns3::AttributeChecker']) ## attribute.h (module 'core'): ns3::AttributeValue [class] module.add_class('AttributeValue', automatic_type_narrowing=True, parent=root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter >'], allow_subclassing=False) ## boolean.h (module 'core'): ns3::BooleanChecker [class] @@ -312,6 +312,11 @@ def register_types(module): typehandlers.add_type_alias('std::map< unsigned long, ns3::Ptr< ns3::Object > > const_iterator', 'ns3::ObjectPtrContainerValue::Iterator') typehandlers.add_type_alias('std::map< unsigned long, ns3::Ptr< ns3::Object > > const_iterator*', 'ns3::ObjectPtrContainerValue::Iterator*') typehandlers.add_type_alias('std::map< unsigned long, ns3::Ptr< ns3::Object > > const_iterator&', 'ns3::ObjectPtrContainerValue::Iterator&') + ## pair.h (module 'core'): ns3::PairChecker [class] + module.add_class('PairChecker', parent=root_module['ns3::AttributeChecker']) + typehandlers.add_type_alias('std::pair< ns3::Ptr< ns3::AttributeChecker const >, ns3::Ptr< ns3::AttributeChecker const > >', 'ns3::PairChecker::checker_pair_type') + typehandlers.add_type_alias('std::pair< ns3::Ptr< ns3::AttributeChecker const >, ns3::Ptr< ns3::AttributeChecker const > >*', 'ns3::PairChecker::checker_pair_type*') + typehandlers.add_type_alias('std::pair< ns3::Ptr< ns3::AttributeChecker const >, ns3::Ptr< ns3::AttributeChecker const > >&', 'ns3::PairChecker::checker_pair_type&') ## random-variable-stream.h (module 'core'): ns3::ParetoRandomVariable [class] module.add_class('ParetoRandomVariable', parent=root_module['ns3::RandomVariableStream']) ## pointer.h (module 'core'): ns3::PointerChecker [class] @@ -589,7 +594,6 @@ def register_methods(root_module): register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3Vector2D_methods(root_module, root_module['ns3::Vector2D']) register_Ns3Vector3D_methods(root_module, root_module['ns3::Vector3D']) - register_Ns3Version_methods(root_module, root_module['ns3::Version']) register_Ns3Watchdog_methods(root_module, root_module['ns3::Watchdog']) register_Ns3Empty_methods(root_module, root_module['ns3::empty']) register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t']) @@ -623,6 +627,7 @@ def register_methods(root_module): register_Ns3ZipfRandomVariable_methods(root_module, root_module['ns3::ZipfRandomVariable']) register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor']) register_Ns3AttributeChecker_methods(root_module, root_module['ns3::AttributeChecker']) + register_Ns3AttributeContainerChecker_methods(root_module, root_module['ns3::AttributeContainerChecker']) register_Ns3AttributeValue_methods(root_module, root_module['ns3::AttributeValue']) register_Ns3BooleanChecker_methods(root_module, root_module['ns3::BooleanChecker']) register_Ns3BooleanValue_methods(root_module, root_module['ns3::BooleanValue']) @@ -656,6 +661,7 @@ def register_methods(root_module): register_Ns3ObjectPtrContainerAccessor_methods(root_module, root_module['ns3::ObjectPtrContainerAccessor']) register_Ns3ObjectPtrContainerChecker_methods(root_module, root_module['ns3::ObjectPtrContainerChecker']) register_Ns3ObjectPtrContainerValue_methods(root_module, root_module['ns3::ObjectPtrContainerValue']) + register_Ns3PairChecker_methods(root_module, root_module['ns3::PairChecker']) register_Ns3ParetoRandomVariable_methods(root_module, root_module['ns3::ParetoRandomVariable']) register_Ns3PointerChecker_methods(root_module, root_module['ns3::PointerChecker']) register_Ns3PointerValue_methods(root_module, root_module['ns3::PointerValue']) @@ -1323,8 +1329,8 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')]) ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor] cls.add_constructor([]) - ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor] - cls.add_constructor([param('std::string', 'typeId')]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string const & typeId) [constructor] + cls.add_constructor([param('std::string const &', 'typeId')]) ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactory::Create() const [member function] cls.add_method('Create', 'ns3::Ptr< ns3::Object >', @@ -1340,10 +1346,10 @@ def register_Ns3ObjectFactory_methods(root_module, cls): 'bool', [], is_const=True) - ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(std::string name, ns3::AttributeValue const & value) [member function] + ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set() [member function] cls.add_method('Set', 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + []) ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function] cls.add_method('SetTypeId', 'void', @@ -1930,12 +1936,12 @@ def register_Ns3TimerImpl_methods(root_module, cls): cls.add_method('Invoke', 'void', [], - is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, is_virtual=True) ## timer-impl.h (module 'core'): ns3::EventId ns3::TimerImpl::Schedule(ns3::Time const & delay) [member function] cls.add_method('Schedule', 'ns3::EventId', [param('ns3::Time const &', 'delay')], - is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, is_virtual=True) return def register_Ns3TypeId_methods(root_module, cls): @@ -2206,78 +2212,6 @@ def register_Ns3Vector3D_methods(root_module, cls): cls.add_instance_attribute('z', 'double', is_const=False) return -def register_Ns3Version_methods(root_module, cls): - ## version.h (module 'core'): ns3::Version::Version() [constructor] - cls.add_constructor([]) - ## version.h (module 'core'): ns3::Version::Version(ns3::Version const & arg0) [constructor] - cls.add_constructor([param('ns3::Version const &', 'arg0')]) - ## version.h (module 'core'): static std::string ns3::Version::BuildProfile() [member function] - cls.add_method('BuildProfile', - 'std::string', - [], - is_static=True) - ## version.h (module 'core'): static std::string ns3::Version::BuildSummary() [member function] - cls.add_method('BuildSummary', - 'std::string', - [], - is_static=True) - ## version.h (module 'core'): static std::string ns3::Version::ClosestAncestorTag() [member function] - cls.add_method('ClosestAncestorTag', - 'std::string', - [], - is_static=True) - ## version.h (module 'core'): static std::string ns3::Version::CommitHash() [member function] - cls.add_method('CommitHash', - 'std::string', - [], - is_static=True) - ## version.h (module 'core'): static bool ns3::Version::DirtyWorkingTree() [member function] - cls.add_method('DirtyWorkingTree', - 'bool', - [], - is_static=True) - ## version.h (module 'core'): static std::string ns3::Version::LongVersion() [member function] - cls.add_method('LongVersion', - 'std::string', - [], - is_static=True) - ## version.h (module 'core'): static uint32_t ns3::Version::Major() [member function] - cls.add_method('Major', - 'uint32_t', - [], - is_static=True) - ## version.h (module 'core'): static uint32_t ns3::Version::Minor() [member function] - cls.add_method('Minor', - 'uint32_t', - [], - is_static=True) - ## version.h (module 'core'): static uint32_t ns3::Version::Patch() [member function] - cls.add_method('Patch', - 'uint32_t', - [], - is_static=True) - ## version.h (module 'core'): static std::string ns3::Version::ReleaseCandidate() [member function] - cls.add_method('ReleaseCandidate', - 'std::string', - [], - is_static=True) - ## version.h (module 'core'): static std::string ns3::Version::ShortVersion() [member function] - cls.add_method('ShortVersion', - 'std::string', - [], - is_static=True) - ## version.h (module 'core'): static uint32_t ns3::Version::TagDistance() [member function] - cls.add_method('TagDistance', - 'uint32_t', - [], - is_static=True) - ## version.h (module 'core'): static std::string ns3::Version::VersionTag() [member function] - cls.add_method('VersionTag', - 'std::string', - [], - is_static=True) - return - def register_Ns3Watchdog_methods(root_module, cls): ## watchdog.h (module 'core'): ns3::Watchdog::Watchdog(ns3::Watchdog const & arg0) [constructor] cls.add_constructor([param('ns3::Watchdog const &', 'arg0')]) @@ -2406,12 +2340,12 @@ def register_Ns3Object_methods(root_module, cls): cls.add_method('GetObject', 'ns3::Ptr< ns3::Object >', [], - is_const=True, custom_template_method_name='GetObject', template_parameters=['ns3::Object']) + is_const=True, template_parameters=['ns3::Object'], custom_template_method_name='GetObject') ## object.h (module 'core'): ns3::Ptr ns3::Object::GetObject(ns3::TypeId tid) const [member function] cls.add_method('GetObject', 'ns3::Ptr< ns3::Object >', [param('ns3::TypeId', 'tid')], - is_const=True, custom_template_method_name='GetObject', template_parameters=['ns3::Object']) + is_const=True, template_parameters=['ns3::Object'], custom_template_method_name='GetObject') ## object.h (module 'core'): static ns3::TypeId ns3::Object::GetTypeId() [member function] cls.add_method('GetTypeId', 'ns3::TypeId', @@ -2492,17 +2426,17 @@ def register_Ns3RandomVariableStream_methods(root_module, cls): cls.add_method('GetValue', 'double', [], - is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, is_virtual=True) ## random-variable-stream.h (module 'core'): uint32_t ns3::RandomVariableStream::GetInteger() [member function] cls.add_method('GetInteger', 'uint32_t', [], - is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, is_virtual=True) ## random-variable-stream.h (module 'core'): ns3::RngStream * ns3::RandomVariableStream::Peek() const [member function] cls.add_method('Peek', 'ns3::RngStream *', [], - visibility='protected', is_const=True) + is_const=True, visibility='protected') return def register_Ns3Scheduler_methods(root_module, cls): @@ -2519,7 +2453,7 @@ def register_Ns3Scheduler_methods(root_module, cls): cls.add_method('Insert', 'void', [param('ns3::Scheduler::Event const &', 'ev')], - is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, is_virtual=True) ## scheduler.h (module 'core'): bool ns3::Scheduler::IsEmpty() const [member function] cls.add_method('IsEmpty', 'bool', @@ -2534,12 +2468,12 @@ def register_Ns3Scheduler_methods(root_module, cls): cls.add_method('Remove', 'void', [param('ns3::Scheduler::Event const &', 'ev')], - is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, is_virtual=True) ## scheduler.h (module 'core'): ns3::Scheduler::Event ns3::Scheduler::RemoveNext() [member function] cls.add_method('RemoveNext', 'ns3::Scheduler::Event', [], - is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, is_virtual=True) return def register_Ns3SchedulerEvent_methods(root_module, cls): @@ -2693,12 +2627,12 @@ def register_Ns3SimulatorImpl_methods(root_module, cls): cls.add_method('Cancel', 'void', [param('ns3::EventId const &', 'id')], - is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, is_virtual=True) ## simulator-impl.h (module 'core'): void ns3::SimulatorImpl::Destroy() [member function] cls.add_method('Destroy', 'void', [], - is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, is_virtual=True) ## simulator-impl.h (module 'core'): uint32_t ns3::SimulatorImpl::GetContext() const [member function] cls.add_method('GetContext', 'uint32_t', @@ -2748,47 +2682,47 @@ def register_Ns3SimulatorImpl_methods(root_module, cls): cls.add_method('Remove', 'void', [param('ns3::EventId const &', 'id')], - is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, is_virtual=True) ## simulator-impl.h (module 'core'): void ns3::SimulatorImpl::Run() [member function] cls.add_method('Run', 'void', [], - is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, is_virtual=True) ## simulator-impl.h (module 'core'): ns3::EventId ns3::SimulatorImpl::Schedule(ns3::Time const & delay, ns3::EventImpl * event) [member function] cls.add_method('Schedule', 'ns3::EventId', [param('ns3::Time const &', 'delay'), param('ns3::EventImpl *', 'event')], - is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, is_virtual=True) ## simulator-impl.h (module 'core'): ns3::EventId ns3::SimulatorImpl::ScheduleDestroy(ns3::EventImpl * event) [member function] cls.add_method('ScheduleDestroy', 'ns3::EventId', [param('ns3::EventImpl *', 'event')], - is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, is_virtual=True) ## simulator-impl.h (module 'core'): ns3::EventId ns3::SimulatorImpl::ScheduleNow(ns3::EventImpl * event) [member function] cls.add_method('ScheduleNow', 'ns3::EventId', [param('ns3::EventImpl *', 'event')], - is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, is_virtual=True) ## simulator-impl.h (module 'core'): void ns3::SimulatorImpl::ScheduleWithContext(uint32_t context, ns3::Time const & delay, ns3::EventImpl * event) [member function] cls.add_method('ScheduleWithContext', 'void', [param('uint32_t', 'context'), param('ns3::Time const &', 'delay'), param('ns3::EventImpl *', 'event')], - is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, is_virtual=True) ## simulator-impl.h (module 'core'): void ns3::SimulatorImpl::SetScheduler(ns3::ObjectFactory schedulerFactory) [member function] cls.add_method('SetScheduler', 'void', [param('ns3::ObjectFactory', 'schedulerFactory')], - is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, is_virtual=True) ## simulator-impl.h (module 'core'): void ns3::SimulatorImpl::Stop() [member function] cls.add_method('Stop', 'void', [], - is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, is_virtual=True) ## simulator-impl.h (module 'core'): void ns3::SimulatorImpl::Stop(ns3::Time const & delay) [member function] cls.add_method('Stop', 'void', [param('ns3::Time const &', 'delay')], - is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, is_virtual=True) return def register_Ns3Synchronizer_methods(root_module, cls): @@ -2845,47 +2779,47 @@ def register_Ns3Synchronizer_methods(root_module, cls): cls.add_method('DoEventEnd', 'uint64_t', [], - visibility='protected', is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, visibility='protected', is_virtual=True) ## synchronizer.h (module 'core'): void ns3::Synchronizer::DoEventStart() [member function] cls.add_method('DoEventStart', 'void', [], - visibility='protected', is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, visibility='protected', is_virtual=True) ## synchronizer.h (module 'core'): uint64_t ns3::Synchronizer::DoGetCurrentRealtime() [member function] cls.add_method('DoGetCurrentRealtime', 'uint64_t', [], - visibility='protected', is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, visibility='protected', is_virtual=True) ## synchronizer.h (module 'core'): int64_t ns3::Synchronizer::DoGetDrift(uint64_t ns) [member function] cls.add_method('DoGetDrift', 'int64_t', [param('uint64_t', 'ns')], - visibility='protected', is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, visibility='protected', is_virtual=True) ## synchronizer.h (module 'core'): bool ns3::Synchronizer::DoRealtime() [member function] cls.add_method('DoRealtime', 'bool', [], - visibility='protected', is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, visibility='protected', is_virtual=True) ## synchronizer.h (module 'core'): void ns3::Synchronizer::DoSetCondition(bool arg0) [member function] cls.add_method('DoSetCondition', 'void', [param('bool', 'arg0')], - visibility='protected', is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, visibility='protected', is_virtual=True) ## synchronizer.h (module 'core'): void ns3::Synchronizer::DoSetOrigin(uint64_t ns) [member function] cls.add_method('DoSetOrigin', 'void', [param('uint64_t', 'ns')], - visibility='protected', is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, visibility='protected', is_virtual=True) ## synchronizer.h (module 'core'): void ns3::Synchronizer::DoSignal() [member function] cls.add_method('DoSignal', 'void', [], - visibility='protected', is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, visibility='protected', is_virtual=True) ## synchronizer.h (module 'core'): bool ns3::Synchronizer::DoSynchronize(uint64_t nsCurrent, uint64_t nsDelay) [member function] cls.add_method('DoSynchronize', 'bool', [param('uint64_t', 'nsCurrent'), param('uint64_t', 'nsDelay')], - visibility='protected', is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, visibility='protected', is_virtual=True) return def register_Ns3SystemThread_methods(root_module, cls): @@ -3307,6 +3241,23 @@ def register_Ns3AttributeChecker_methods(root_module, cls): is_const=True, is_pure_virtual=True, is_virtual=True) return +def register_Ns3AttributeContainerChecker_methods(root_module, cls): + ## attribute-container.h (module 'core'): ns3::AttributeContainerChecker::AttributeContainerChecker() [constructor] + cls.add_constructor([]) + ## attribute-container.h (module 'core'): ns3::AttributeContainerChecker::AttributeContainerChecker(ns3::AttributeContainerChecker const & arg0) [constructor] + cls.add_constructor([param('ns3::AttributeContainerChecker const &', 'arg0')]) + ## attribute-container.h (module 'core'): ns3::Ptr ns3::AttributeContainerChecker::GetItemChecker() const [member function] + cls.add_method('GetItemChecker', + 'ns3::Ptr< ns3::AttributeChecker const >', + [], + is_const=True, is_pure_virtual=True, is_virtual=True) + ## attribute-container.h (module 'core'): void ns3::AttributeContainerChecker::SetItemChecker(ns3::Ptr itemchecker) [member function] + cls.add_method('SetItemChecker', + 'void', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'itemchecker')], + is_pure_virtual=True, is_virtual=True) + return + def register_Ns3AttributeValue_methods(root_module, cls): ## attribute.h (module 'core'): ns3::AttributeValue::AttributeValue(ns3::AttributeValue const & arg0) [constructor] cls.add_constructor([param('ns3::AttributeValue const &', 'arg0')]) @@ -3321,7 +3272,7 @@ def register_Ns3AttributeValue_methods(root_module, cls): cls.add_method('DeserializeFromString', 'bool', [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], - is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, is_virtual=True) ## attribute.h (module 'core'): std::string ns3::AttributeValue::SerializeToString(ns3::Ptr checker) const [member function] cls.add_method('SerializeToString', 'std::string', @@ -3802,7 +3753,7 @@ def register_Ns3EmptyAttributeValue_methods(root_module, cls): cls.add_method('Copy', 'ns3::Ptr< ns3::AttributeValue >', [], - visibility='private', is_const=True, is_virtual=True) + is_const=True, visibility='private', is_virtual=True) ## attribute.h (module 'core'): bool ns3::EmptyAttributeValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function] cls.add_method('DeserializeFromString', 'bool', @@ -3812,7 +3763,7 @@ def register_Ns3EmptyAttributeValue_methods(root_module, cls): cls.add_method('SerializeToString', 'std::string', [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], - visibility='private', is_const=True, is_virtual=True) + is_const=True, visibility='private', is_virtual=True) return def register_Ns3EnumChecker_methods(root_module, cls): @@ -3962,7 +3913,7 @@ def register_Ns3EventImpl_methods(root_module, cls): cls.add_method('Notify', 'void', [], - visibility='protected', is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, visibility='protected', is_virtual=True) return def register_Ns3ExponentialRandomVariable_methods(root_module, cls): @@ -4020,7 +3971,7 @@ def register_Ns3FdReader_methods(root_module, cls): cls.add_method('DoRead', 'ns3::FdReader::Data', [], - visibility='protected', is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, visibility='protected', is_virtual=True) return def register_Ns3GammaRandomVariable_methods(root_module, cls): @@ -4357,12 +4308,12 @@ def register_Ns3ObjectPtrContainerAccessor_methods(root_module, cls): cls.add_method('DoGet', 'ns3::Ptr< ns3::Object >', [param('ns3::ObjectBase const *', 'object'), param('std::size_t', 'i'), param('std::size_t *', 'index')], - visibility='private', is_const=True, is_pure_virtual=True, is_virtual=True) + is_const=True, is_pure_virtual=True, is_virtual=True, visibility='private') ## object-ptr-container.h (module 'core'): bool ns3::ObjectPtrContainerAccessor::DoGetN(ns3::ObjectBase const * object, std::size_t * n) const [member function] cls.add_method('DoGetN', 'bool', [param('ns3::ObjectBase const *', 'object'), param('std::size_t *', 'n')], - visibility='private', is_const=True, is_pure_virtual=True, is_virtual=True) + is_const=True, is_pure_virtual=True, is_virtual=True, visibility='private') return def register_Ns3ObjectPtrContainerChecker_methods(root_module, cls): @@ -4419,6 +4370,23 @@ def register_Ns3ObjectPtrContainerValue_methods(root_module, cls): is_const=True, is_virtual=True) return +def register_Ns3PairChecker_methods(root_module, cls): + ## pair.h (module 'core'): ns3::PairChecker::PairChecker() [constructor] + cls.add_constructor([]) + ## pair.h (module 'core'): ns3::PairChecker::PairChecker(ns3::PairChecker const & arg0) [constructor] + cls.add_constructor([param('ns3::PairChecker const &', 'arg0')]) + ## pair.h (module 'core'): ns3::PairChecker::checker_pair_type ns3::PairChecker::GetCheckers() const [member function] + cls.add_method('GetCheckers', + 'ns3::PairChecker::checker_pair_type', + [], + is_const=True, is_pure_virtual=True, is_virtual=True) + ## pair.h (module 'core'): void ns3::PairChecker::SetCheckers(ns3::Ptr firstchecker, ns3::Ptr secondchecker) [member function] + cls.add_method('SetCheckers', + 'void', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'firstchecker'), param('ns3::Ptr< ns3::AttributeChecker const >', 'secondchecker')], + is_pure_virtual=True, is_virtual=True) + return + def register_Ns3ParetoRandomVariable_methods(root_module, cls): ## random-variable-stream.h (module 'core'): static ns3::TypeId ns3::ParetoRandomVariable::GetTypeId() [member function] cls.add_method('GetTypeId', @@ -4947,7 +4915,7 @@ def register_Ns3CallbackImpl__Bool_StdBasic_string__lt__char__gt___Ns3Empty_Ns3E cls.add_method('operator()', 'bool', [param('std::string', 'arg0')], - custom_name='__call__', is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, custom_name='__call__', is_virtual=True) return def register_Ns3CallbackImpl__Ns3ObjectBase___star___Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_methods(root_module, cls): @@ -4969,7 +4937,7 @@ def register_Ns3CallbackImpl__Ns3ObjectBase___star___Ns3Empty_Ns3Empty_Ns3Empty_ cls.add_method('operator()', 'ns3::ObjectBase *', [], - custom_name='__call__', is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, custom_name='__call__', is_virtual=True) return def register_Ns3CallbackImpl__Void_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_methods(root_module, cls): @@ -4991,7 +4959,7 @@ def register_Ns3CallbackImpl__Void_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_ cls.add_method('operator()', 'void', [], - custom_name='__call__', is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, custom_name='__call__', is_virtual=True) return def register_Ns3CallbackImpl__Void_Unsigned_char___star___Long_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_methods(root_module, cls): @@ -5013,7 +4981,7 @@ def register_Ns3CallbackImpl__Void_Unsigned_char___star___Long_Ns3Empty_Ns3Empty cls.add_method('operator()', 'void', [param('unsigned char *', 'arg0'), param('long int', 'arg1')], - custom_name='__call__', is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, custom_name='__call__', is_virtual=True) return def register_Ns3ConfigMatchContainer_methods(root_module, cls): @@ -5096,7 +5064,7 @@ def register_Ns3HashImplementation_methods(root_module, cls): cls.add_method('GetHash32', 'uint32_t', [param('char const *', 'buffer'), param('std::size_t const', 'size')], - is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, is_virtual=True) ## hash-function.h (module 'core'): uint64_t ns3::Hash::Implementation::GetHash64(char const * buffer, std::size_t const size) [member function] cls.add_method('GetHash64', 'uint64_t', @@ -5106,7 +5074,7 @@ def register_Ns3HashImplementation_methods(root_module, cls): cls.add_method('clear', 'void', [], - is_virtual=True, is_pure_virtual=True) + is_pure_virtual=True, is_virtual=True) return def register_Ns3HashFunctionFnv1a_methods(root_module, cls): @@ -5249,6 +5217,16 @@ def register_functions(root_module): module.add_function('Div', 'int64_t', [param('ns3::Time const &', 'lhs'), param('ns3::Time const &', 'rhs')]) + ## ptr.h (module 'core'): ns3::Ptr ns3::DynamicCast(ns3::Ptr const & p) [free function] + module.add_function('DynamicCast', + 'ns3::Ptr< ns3::AttributeContainerChecker const >', + [param('ns3::Ptr< ns3::AttributeChecker const > const &', 'p')], + template_parameters=['ns3::AttributeContainerChecker const', ' ns3::AttributeChecker const']) + ## ptr.h (module 'core'): ns3::Ptr ns3::DynamicCast(ns3::Ptr const & p) [free function] + module.add_function('DynamicCast', + 'ns3::Ptr< ns3::PairChecker const >', + [param('ns3::Ptr< ns3::AttributeChecker const > const &', 'p')], + template_parameters=['ns3::PairChecker const', ' ns3::AttributeChecker const']) ## nstime.h (module 'core'): ns3::Time ns3::FemtoSeconds(ns3::int64x64_t value) [free function] module.add_function('FemtoSeconds', 'ns3::Time',