1from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers 2 3 4import pybindgen.settings 5import warnings 6 7class ErrorHandler(pybindgen.settings.ErrorHandler): 8 def handle_error(self, wrapper, exception, traceback_): 9 warnings.warn("exception %r in wrapper %s" % (exception, wrapper)) 10 return True 11pybindgen.settings.error_handler = ErrorHandler() 12 13 14import sys 15 16def module_init(): 17 root_module = Module('ns.config_store', cpp_namespace='::ns3') 18 return root_module 19 20def register_types(module): 21 root_module = module.get_root() 22 23 ## log.h (module 'core'): ns3::LogLevel [enumeration] 24 module.add_enum('LogLevel', ['LOG_NONE', 'LOG_ERROR', 'LOG_LEVEL_ERROR', 'LOG_WARN', 'LOG_LEVEL_WARN', 'LOG_DEBUG', 'LOG_LEVEL_DEBUG', 'LOG_INFO', 'LOG_LEVEL_INFO', 'LOG_FUNCTION', 'LOG_LEVEL_FUNCTION', 'LOG_LOGIC', 'LOG_LEVEL_LOGIC', 'LOG_ALL', 'LOG_LEVEL_ALL', 'LOG_PREFIX_FUNC', 'LOG_PREFIX_TIME', 'LOG_PREFIX_NODE', 'LOG_PREFIX_LEVEL', 'LOG_PREFIX_ALL'], import_from_module='ns.core') 25 ## callback.h (module 'core'): ns3::CallbackBase [class] 26 module.add_class('CallbackBase', import_from_module='ns.core') 27 ## default-deleter.h (module 'core'): ns3::DefaultDeleter<ns3::AttributeAccessor> [struct] 28 module.add_class('DefaultDeleter', import_from_module='ns.core', template_parameters=['ns3::AttributeAccessor']) 29 ## default-deleter.h (module 'core'): ns3::DefaultDeleter<ns3::AttributeChecker> [struct] 30 module.add_class('DefaultDeleter', import_from_module='ns.core', template_parameters=['ns3::AttributeChecker']) 31 ## default-deleter.h (module 'core'): ns3::DefaultDeleter<ns3::AttributeValue> [struct] 32 module.add_class('DefaultDeleter', import_from_module='ns.core', template_parameters=['ns3::AttributeValue']) 33 ## default-deleter.h (module 'core'): ns3::DefaultDeleter<ns3::CallbackImplBase> [struct] 34 module.add_class('DefaultDeleter', import_from_module='ns.core', template_parameters=['ns3::CallbackImplBase']) 35 ## default-deleter.h (module 'core'): ns3::DefaultDeleter<ns3::Hash::Implementation> [struct] 36 module.add_class('DefaultDeleter', import_from_module='ns.core', template_parameters=['ns3::Hash::Implementation']) 37 ## default-deleter.h (module 'core'): ns3::DefaultDeleter<ns3::TraceSourceAccessor> [struct] 38 module.add_class('DefaultDeleter', import_from_module='ns.core', template_parameters=['ns3::TraceSourceAccessor']) 39 ## file-config.h (module 'config-store'): ns3::FileConfig [class] 40 module.add_class('FileConfig', allow_subclassing=True) 41 ## hash.h (module 'core'): ns3::Hasher [class] 42 module.add_class('Hasher', import_from_module='ns.core') 43 ## log.h (module 'core'): ns3::LogComponent [class] 44 module.add_class('LogComponent', import_from_module='ns.core') 45 typehandlers.add_type_alias('std::map< std::string, ns3::LogComponent * >', 'ns3::LogComponent::ComponentList') 46 typehandlers.add_type_alias('std::map< std::string, ns3::LogComponent * >*', 'ns3::LogComponent::ComponentList*') 47 typehandlers.add_type_alias('std::map< std::string, ns3::LogComponent * >&', 'ns3::LogComponent::ComponentList&') 48 ## file-config.h (module 'config-store'): ns3::NoneFileConfig [class] 49 module.add_class('NoneFileConfig', parent=root_module['ns3::FileConfig']) 50 ## object-base.h (module 'core'): ns3::ObjectBase [class] 51 module.add_class('ObjectBase', allow_subclassing=True, import_from_module='ns.core') 52 ## log.h (module 'core'): ns3::ParameterLogger [class] 53 module.add_class('ParameterLogger', import_from_module='ns.core') 54 ## type-id.h (module 'core'): ns3::TypeId [class] 55 module.add_class('TypeId', import_from_module='ns.core') 56 ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] 57 module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') 58 ## type-id.h (module 'core'): ns3::TypeId::SupportLevel [enumeration] 59 module.add_enum('SupportLevel', ['SUPPORTED', 'DEPRECATED', 'OBSOLETE'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') 60 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] 61 module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) 62 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] 63 module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) 64 typehandlers.add_type_alias('uint32_t', 'ns3::TypeId::hash_t') 65 typehandlers.add_type_alias('uint32_t*', 'ns3::TypeId::hash_t*') 66 typehandlers.add_type_alias('uint32_t&', 'ns3::TypeId::hash_t&') 67 ## empty.h (module 'core'): ns3::empty [class] 68 module.add_class('empty', import_from_module='ns.core') 69 ## config-store.h (module 'config-store'): ns3::ConfigStore [class] 70 module.add_class('ConfigStore', parent=root_module['ns3::ObjectBase']) 71 ## config-store.h (module 'config-store'): ns3::ConfigStore::Mode [enumeration] 72 module.add_enum('Mode', ['LOAD', 'SAVE', 'NONE'], outer_class=root_module['ns3::ConfigStore']) 73 ## config-store.h (module 'config-store'): ns3::ConfigStore::FileFormat [enumeration] 74 module.add_enum('FileFormat', ['XML', 'RAW_TEXT'], outer_class=root_module['ns3::ConfigStore']) 75 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> > [class] 76 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', 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<ns3::AttributeAccessor>']) 77 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> > [class] 78 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', 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<ns3::AttributeChecker>']) 79 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> > [class] 80 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', 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<ns3::AttributeValue>']) 81 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> > [class] 82 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', 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<ns3::CallbackImplBase>']) 83 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Hash::Implementation, ns3::empty, ns3::DefaultDeleter<ns3::Hash::Implementation> > [class] 84 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', 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<ns3::Hash::Implementation>']) 85 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> > [class] 86 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', 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<ns3::TraceSourceAccessor>']) 87 ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor [class] 88 module.add_class('TraceSourceAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >']) 89 ## attribute.h (module 'core'): ns3::AttributeAccessor [class] 90 module.add_class('AttributeAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >']) 91 ## attribute.h (module 'core'): ns3::AttributeChecker [class] 92 module.add_class('AttributeChecker', allow_subclassing=False, automatic_type_narrowing=True, import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >']) 93 ## attribute.h (module 'core'): ns3::AttributeValue [class] 94 module.add_class('AttributeValue', allow_subclassing=False, automatic_type_narrowing=True, import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >']) 95 ## callback.h (module 'core'): ns3::CallbackChecker [class] 96 module.add_class('CallbackChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker']) 97 ## callback.h (module 'core'): ns3::CallbackImplBase [class] 98 module.add_class('CallbackImplBase', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >']) 99 ## callback.h (module 'core'): ns3::CallbackValue [class] 100 module.add_class('CallbackValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue']) 101 ## attribute.h (module 'core'): ns3::EmptyAttributeAccessor [class] 102 module.add_class('EmptyAttributeAccessor', import_from_module='ns.core', parent=root_module['ns3::AttributeAccessor']) 103 ## attribute.h (module 'core'): ns3::EmptyAttributeChecker [class] 104 module.add_class('EmptyAttributeChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker']) 105 ## attribute.h (module 'core'): ns3::EmptyAttributeValue [class] 106 module.add_class('EmptyAttributeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue']) 107 ## type-id.h (module 'core'): ns3::TypeIdChecker [class] 108 module.add_class('TypeIdChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker']) 109 ## type-id.h (module 'core'): ns3::TypeIdValue [class] 110 module.add_class('TypeIdValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue']) 111 ## callback.h (module 'core'): ns3::CallbackImpl<ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> [class] 112 module.add_class('CallbackImpl', import_from_module='ns.core', parent=root_module['ns3::CallbackImplBase'], template_parameters=['ns3::ObjectBase *', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty']) 113 module.add_container('std::map< std::string, ns3::LogComponent * >', ('std::string', 'ns3::LogComponent *'), container_type='map') 114 typehandlers.add_type_alias('void ( * ) ( std::ostream & )', 'ns3::TimePrinter') 115 typehandlers.add_type_alias('void ( * ) ( std::ostream & )*', 'ns3::TimePrinter*') 116 typehandlers.add_type_alias('void ( * ) ( std::ostream & )&', 'ns3::TimePrinter&') 117 typehandlers.add_type_alias('void ( * ) ( std::ostream & )', 'ns3::NodePrinter') 118 typehandlers.add_type_alias('void ( * ) ( std::ostream & )*', 'ns3::NodePrinter*') 119 typehandlers.add_type_alias('void ( * ) ( std::ostream & )&', 'ns3::NodePrinter&') 120 121 ## Register a nested module for the namespace FatalImpl 122 123 nested_module = module.add_cpp_namespace('FatalImpl') 124 register_types_ns3_FatalImpl(nested_module) 125 126 127 ## Register a nested module for the namespace Hash 128 129 nested_module = module.add_cpp_namespace('Hash') 130 register_types_ns3_Hash(nested_module) 131 132 133def register_types_ns3_FatalImpl(module): 134 root_module = module.get_root() 135 136 137def register_types_ns3_Hash(module): 138 root_module = module.get_root() 139 140 ## hash-function.h (module 'core'): ns3::Hash::Implementation [class] 141 module.add_class('Implementation', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::Hash::Implementation, ns3::empty, ns3::DefaultDeleter<ns3::Hash::Implementation> >']) 142 typehandlers.add_type_alias('uint32_t ( * ) ( char const *, std::size_t const )', 'ns3::Hash::Hash32Function_ptr') 143 typehandlers.add_type_alias('uint32_t ( * ) ( char const *, std::size_t const )*', 'ns3::Hash::Hash32Function_ptr*') 144 typehandlers.add_type_alias('uint32_t ( * ) ( char const *, std::size_t const )&', 'ns3::Hash::Hash32Function_ptr&') 145 typehandlers.add_type_alias('uint64_t ( * ) ( char const *, std::size_t const )', 'ns3::Hash::Hash64Function_ptr') 146 typehandlers.add_type_alias('uint64_t ( * ) ( char const *, std::size_t const )*', 'ns3::Hash::Hash64Function_ptr*') 147 typehandlers.add_type_alias('uint64_t ( * ) ( char const *, std::size_t const )&', 'ns3::Hash::Hash64Function_ptr&') 148 149 ## Register a nested module for the namespace Function 150 151 nested_module = module.add_cpp_namespace('Function') 152 register_types_ns3_Hash_Function(nested_module) 153 154 155def register_types_ns3_Hash_Function(module): 156 root_module = module.get_root() 157 158 ## hash-fnv.h (module 'core'): ns3::Hash::Function::Fnv1a [class] 159 module.add_class('Fnv1a', import_from_module='ns.core', parent=root_module['ns3::Hash::Implementation']) 160 ## hash-function.h (module 'core'): ns3::Hash::Function::Hash32 [class] 161 module.add_class('Hash32', import_from_module='ns.core', parent=root_module['ns3::Hash::Implementation']) 162 ## hash-function.h (module 'core'): ns3::Hash::Function::Hash64 [class] 163 module.add_class('Hash64', import_from_module='ns.core', parent=root_module['ns3::Hash::Implementation']) 164 ## hash-murmur3.h (module 'core'): ns3::Hash::Function::Murmur3 [class] 165 module.add_class('Murmur3', import_from_module='ns.core', parent=root_module['ns3::Hash::Implementation']) 166 167def register_methods(root_module): 168 register_Ns3CallbackBase_methods(root_module, root_module['ns3::CallbackBase']) 169 register_Ns3DefaultDeleter__Ns3AttributeAccessor_methods(root_module, root_module['ns3::DefaultDeleter< ns3::AttributeAccessor >']) 170 register_Ns3DefaultDeleter__Ns3AttributeChecker_methods(root_module, root_module['ns3::DefaultDeleter< ns3::AttributeChecker >']) 171 register_Ns3DefaultDeleter__Ns3AttributeValue_methods(root_module, root_module['ns3::DefaultDeleter< ns3::AttributeValue >']) 172 register_Ns3DefaultDeleter__Ns3CallbackImplBase_methods(root_module, root_module['ns3::DefaultDeleter< ns3::CallbackImplBase >']) 173 register_Ns3DefaultDeleter__Ns3HashImplementation_methods(root_module, root_module['ns3::DefaultDeleter< ns3::Hash::Implementation >']) 174 register_Ns3DefaultDeleter__Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::DefaultDeleter< ns3::TraceSourceAccessor >']) 175 register_Ns3FileConfig_methods(root_module, root_module['ns3::FileConfig']) 176 register_Ns3Hasher_methods(root_module, root_module['ns3::Hasher']) 177 register_Ns3LogComponent_methods(root_module, root_module['ns3::LogComponent']) 178 register_Ns3NoneFileConfig_methods(root_module, root_module['ns3::NoneFileConfig']) 179 register_Ns3ObjectBase_methods(root_module, root_module['ns3::ObjectBase']) 180 register_Ns3ParameterLogger_methods(root_module, root_module['ns3::ParameterLogger']) 181 register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) 182 register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) 183 register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) 184 register_Ns3Empty_methods(root_module, root_module['ns3::empty']) 185 register_Ns3ConfigStore_methods(root_module, root_module['ns3::ConfigStore']) 186 register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >']) 187 register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeChecker__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >']) 188 register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >']) 189 register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >']) 190 register_Ns3SimpleRefCount__Ns3HashImplementation_Ns3Empty_Ns3DefaultDeleter__lt__ns3HashImplementation__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Hash::Implementation, ns3::empty, ns3::DefaultDeleter<ns3::Hash::Implementation> >']) 191 register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >']) 192 register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) 193 register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor']) 194 register_Ns3AttributeChecker_methods(root_module, root_module['ns3::AttributeChecker']) 195 register_Ns3AttributeValue_methods(root_module, root_module['ns3::AttributeValue']) 196 register_Ns3CallbackChecker_methods(root_module, root_module['ns3::CallbackChecker']) 197 register_Ns3CallbackImplBase_methods(root_module, root_module['ns3::CallbackImplBase']) 198 register_Ns3CallbackValue_methods(root_module, root_module['ns3::CallbackValue']) 199 register_Ns3EmptyAttributeAccessor_methods(root_module, root_module['ns3::EmptyAttributeAccessor']) 200 register_Ns3EmptyAttributeChecker_methods(root_module, root_module['ns3::EmptyAttributeChecker']) 201 register_Ns3EmptyAttributeValue_methods(root_module, root_module['ns3::EmptyAttributeValue']) 202 register_Ns3TypeIdChecker_methods(root_module, root_module['ns3::TypeIdChecker']) 203 register_Ns3TypeIdValue_methods(root_module, root_module['ns3::TypeIdValue']) 204 register_Ns3CallbackImpl__Ns3ObjectBase___star___Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_methods(root_module, root_module['ns3::CallbackImpl< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >']) 205 register_Ns3HashImplementation_methods(root_module, root_module['ns3::Hash::Implementation']) 206 register_Ns3HashFunctionFnv1a_methods(root_module, root_module['ns3::Hash::Function::Fnv1a']) 207 register_Ns3HashFunctionHash32_methods(root_module, root_module['ns3::Hash::Function::Hash32']) 208 register_Ns3HashFunctionHash64_methods(root_module, root_module['ns3::Hash::Function::Hash64']) 209 register_Ns3HashFunctionMurmur3_methods(root_module, root_module['ns3::Hash::Function::Murmur3']) 210 return 211 212def register_Ns3CallbackBase_methods(root_module, cls): 213 ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase(ns3::CallbackBase const & arg0) [constructor] 214 cls.add_constructor([param('ns3::CallbackBase const &', 'arg0')]) 215 ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase() [constructor] 216 cls.add_constructor([]) 217 ## callback.h (module 'core'): ns3::Ptr<ns3::CallbackImplBase> ns3::CallbackBase::GetImpl() const [member function] 218 cls.add_method('GetImpl', 219 'ns3::Ptr< ns3::CallbackImplBase >', 220 [], 221 is_const=True) 222 ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase(ns3::Ptr<ns3::CallbackImplBase> impl) [constructor] 223 cls.add_constructor([param('ns3::Ptr< ns3::CallbackImplBase >', 'impl')], 224 visibility='protected') 225 return 226 227def register_Ns3DefaultDeleter__Ns3AttributeAccessor_methods(root_module, cls): 228 ## default-deleter.h (module 'core'): ns3::DefaultDeleter<ns3::AttributeAccessor>::DefaultDeleter() [constructor] 229 cls.add_constructor([]) 230 ## default-deleter.h (module 'core'): ns3::DefaultDeleter<ns3::AttributeAccessor>::DefaultDeleter(ns3::DefaultDeleter<ns3::AttributeAccessor> const & arg0) [constructor] 231 cls.add_constructor([param('ns3::DefaultDeleter< ns3::AttributeAccessor > const &', 'arg0')]) 232 ## default-deleter.h (module 'core'): static void ns3::DefaultDeleter<ns3::AttributeAccessor>::Delete(ns3::AttributeAccessor * object) [member function] 233 cls.add_method('Delete', 234 'void', 235 [param('ns3::AttributeAccessor *', 'object')], 236 is_static=True) 237 return 238 239def register_Ns3DefaultDeleter__Ns3AttributeChecker_methods(root_module, cls): 240 ## default-deleter.h (module 'core'): ns3::DefaultDeleter<ns3::AttributeChecker>::DefaultDeleter() [constructor] 241 cls.add_constructor([]) 242 ## default-deleter.h (module 'core'): ns3::DefaultDeleter<ns3::AttributeChecker>::DefaultDeleter(ns3::DefaultDeleter<ns3::AttributeChecker> const & arg0) [constructor] 243 cls.add_constructor([param('ns3::DefaultDeleter< ns3::AttributeChecker > const &', 'arg0')]) 244 ## default-deleter.h (module 'core'): static void ns3::DefaultDeleter<ns3::AttributeChecker>::Delete(ns3::AttributeChecker * object) [member function] 245 cls.add_method('Delete', 246 'void', 247 [param('ns3::AttributeChecker *', 'object')], 248 is_static=True) 249 return 250 251def register_Ns3DefaultDeleter__Ns3AttributeValue_methods(root_module, cls): 252 ## default-deleter.h (module 'core'): ns3::DefaultDeleter<ns3::AttributeValue>::DefaultDeleter() [constructor] 253 cls.add_constructor([]) 254 ## default-deleter.h (module 'core'): ns3::DefaultDeleter<ns3::AttributeValue>::DefaultDeleter(ns3::DefaultDeleter<ns3::AttributeValue> const & arg0) [constructor] 255 cls.add_constructor([param('ns3::DefaultDeleter< ns3::AttributeValue > const &', 'arg0')]) 256 ## default-deleter.h (module 'core'): static void ns3::DefaultDeleter<ns3::AttributeValue>::Delete(ns3::AttributeValue * object) [member function] 257 cls.add_method('Delete', 258 'void', 259 [param('ns3::AttributeValue *', 'object')], 260 is_static=True) 261 return 262 263def register_Ns3DefaultDeleter__Ns3CallbackImplBase_methods(root_module, cls): 264 ## default-deleter.h (module 'core'): ns3::DefaultDeleter<ns3::CallbackImplBase>::DefaultDeleter() [constructor] 265 cls.add_constructor([]) 266 ## default-deleter.h (module 'core'): ns3::DefaultDeleter<ns3::CallbackImplBase>::DefaultDeleter(ns3::DefaultDeleter<ns3::CallbackImplBase> const & arg0) [constructor] 267 cls.add_constructor([param('ns3::DefaultDeleter< ns3::CallbackImplBase > const &', 'arg0')]) 268 ## default-deleter.h (module 'core'): static void ns3::DefaultDeleter<ns3::CallbackImplBase>::Delete(ns3::CallbackImplBase * object) [member function] 269 cls.add_method('Delete', 270 'void', 271 [param('ns3::CallbackImplBase *', 'object')], 272 is_static=True) 273 return 274 275def register_Ns3DefaultDeleter__Ns3HashImplementation_methods(root_module, cls): 276 ## default-deleter.h (module 'core'): ns3::DefaultDeleter<ns3::Hash::Implementation>::DefaultDeleter() [constructor] 277 cls.add_constructor([]) 278 ## default-deleter.h (module 'core'): ns3::DefaultDeleter<ns3::Hash::Implementation>::DefaultDeleter(ns3::DefaultDeleter<ns3::Hash::Implementation> const & arg0) [constructor] 279 cls.add_constructor([param('ns3::DefaultDeleter< ns3::Hash::Implementation > const &', 'arg0')]) 280 ## default-deleter.h (module 'core'): static void ns3::DefaultDeleter<ns3::Hash::Implementation>::Delete(ns3::Hash::Implementation * object) [member function] 281 cls.add_method('Delete', 282 'void', 283 [param('ns3::Hash::Implementation *', 'object')], 284 is_static=True) 285 return 286 287def register_Ns3DefaultDeleter__Ns3TraceSourceAccessor_methods(root_module, cls): 288 ## default-deleter.h (module 'core'): ns3::DefaultDeleter<ns3::TraceSourceAccessor>::DefaultDeleter() [constructor] 289 cls.add_constructor([]) 290 ## default-deleter.h (module 'core'): ns3::DefaultDeleter<ns3::TraceSourceAccessor>::DefaultDeleter(ns3::DefaultDeleter<ns3::TraceSourceAccessor> const & arg0) [constructor] 291 cls.add_constructor([param('ns3::DefaultDeleter< ns3::TraceSourceAccessor > const &', 'arg0')]) 292 ## default-deleter.h (module 'core'): static void ns3::DefaultDeleter<ns3::TraceSourceAccessor>::Delete(ns3::TraceSourceAccessor * object) [member function] 293 cls.add_method('Delete', 294 'void', 295 [param('ns3::TraceSourceAccessor *', 'object')], 296 is_static=True) 297 return 298 299def register_Ns3FileConfig_methods(root_module, cls): 300 ## file-config.h (module 'config-store'): ns3::FileConfig::FileConfig() [constructor] 301 cls.add_constructor([]) 302 ## file-config.h (module 'config-store'): ns3::FileConfig::FileConfig(ns3::FileConfig const & arg0) [constructor] 303 cls.add_constructor([param('ns3::FileConfig const &', 'arg0')]) 304 ## file-config.h (module 'config-store'): void ns3::FileConfig::Attributes() [member function] 305 cls.add_method('Attributes', 306 'void', 307 [], 308 is_pure_virtual=True, is_virtual=True) 309 ## file-config.h (module 'config-store'): void ns3::FileConfig::Default() [member function] 310 cls.add_method('Default', 311 'void', 312 [], 313 is_pure_virtual=True, is_virtual=True) 314 ## file-config.h (module 'config-store'): void ns3::FileConfig::Global() [member function] 315 cls.add_method('Global', 316 'void', 317 [], 318 is_pure_virtual=True, is_virtual=True) 319 ## file-config.h (module 'config-store'): void ns3::FileConfig::SetFilename(std::string filename) [member function] 320 cls.add_method('SetFilename', 321 'void', 322 [param('std::string', 'filename')], 323 is_pure_virtual=True, is_virtual=True) 324 ## file-config.h (module 'config-store'): void ns3::FileConfig::SetSaveDeprecated(bool saveDeprecated) [member function] 325 cls.add_method('SetSaveDeprecated', 326 'void', 327 [param('bool', 'saveDeprecated')]) 328 return 329 330def register_Ns3Hasher_methods(root_module, cls): 331 ## hash.h (module 'core'): ns3::Hasher::Hasher(ns3::Hasher const & arg0) [constructor] 332 cls.add_constructor([param('ns3::Hasher const &', 'arg0')]) 333 ## hash.h (module 'core'): ns3::Hasher::Hasher() [constructor] 334 cls.add_constructor([]) 335 ## hash.h (module 'core'): ns3::Hasher::Hasher(ns3::Ptr<ns3::Hash::Implementation> hp) [constructor] 336 cls.add_constructor([param('ns3::Ptr< ns3::Hash::Implementation >', 'hp')]) 337 ## hash.h (module 'core'): uint32_t ns3::Hasher::GetHash32(char const * buffer, std::size_t const size) [member function] 338 cls.add_method('GetHash32', 339 'uint32_t', 340 [param('char const *', 'buffer'), param('std::size_t const', 'size')]) 341 ## hash.h (module 'core'): uint32_t ns3::Hasher::GetHash32(std::string const s) [member function] 342 cls.add_method('GetHash32', 343 'uint32_t', 344 [param('std::string const', 's')]) 345 ## hash.h (module 'core'): uint64_t ns3::Hasher::GetHash64(char const * buffer, std::size_t const size) [member function] 346 cls.add_method('GetHash64', 347 'uint64_t', 348 [param('char const *', 'buffer'), param('std::size_t const', 'size')]) 349 ## hash.h (module 'core'): uint64_t ns3::Hasher::GetHash64(std::string const s) [member function] 350 cls.add_method('GetHash64', 351 'uint64_t', 352 [param('std::string const', 's')]) 353 ## hash.h (module 'core'): ns3::Hasher & ns3::Hasher::clear() [member function] 354 cls.add_method('clear', 355 'ns3::Hasher &', 356 []) 357 return 358 359def register_Ns3LogComponent_methods(root_module, cls): 360 ## log.h (module 'core'): ns3::LogComponent::LogComponent(ns3::LogComponent const & arg0) [constructor] 361 cls.add_constructor([param('ns3::LogComponent const &', 'arg0')]) 362 ## log.h (module 'core'): ns3::LogComponent::LogComponent(std::string const & name, std::string const & file, ns3::LogLevel const mask=::ns3::LogLevel::LOG_NONE) [constructor] 363 cls.add_constructor([param('std::string const &', 'name'), param('std::string const &', 'file'), param('ns3::LogLevel const', 'mask', default_value='::ns3::LogLevel::LOG_NONE')]) 364 ## log.h (module 'core'): void ns3::LogComponent::Disable(ns3::LogLevel const level) [member function] 365 cls.add_method('Disable', 366 'void', 367 [param('ns3::LogLevel const', 'level')]) 368 ## log.h (module 'core'): void ns3::LogComponent::Enable(ns3::LogLevel const level) [member function] 369 cls.add_method('Enable', 370 'void', 371 [param('ns3::LogLevel const', 'level')]) 372 ## log.h (module 'core'): std::string ns3::LogComponent::File() const [member function] 373 cls.add_method('File', 374 'std::string', 375 [], 376 is_const=True) 377 ## log.h (module 'core'): static ns3::LogComponent::ComponentList * ns3::LogComponent::GetComponentList() [member function] 378 cls.add_method('GetComponentList', 379 'ns3::LogComponent::ComponentList *', 380 [], 381 is_static=True) 382 ## log.h (module 'core'): static std::string ns3::LogComponent::GetLevelLabel(ns3::LogLevel const level) [member function] 383 cls.add_method('GetLevelLabel', 384 'std::string', 385 [param('ns3::LogLevel const', 'level')], 386 is_static=True) 387 ## log.h (module 'core'): bool ns3::LogComponent::IsEnabled(ns3::LogLevel const level) const [member function] 388 cls.add_method('IsEnabled', 389 'bool', 390 [param('ns3::LogLevel const', 'level')], 391 is_const=True) 392 ## log.h (module 'core'): bool ns3::LogComponent::IsNoneEnabled() const [member function] 393 cls.add_method('IsNoneEnabled', 394 'bool', 395 [], 396 is_const=True) 397 ## log.h (module 'core'): char const * ns3::LogComponent::Name() const [member function] 398 cls.add_method('Name', 399 'char const *', 400 [], 401 is_const=True) 402 ## log.h (module 'core'): void ns3::LogComponent::SetMask(ns3::LogLevel const level) [member function] 403 cls.add_method('SetMask', 404 'void', 405 [param('ns3::LogLevel const', 'level')]) 406 return 407 408def register_Ns3NoneFileConfig_methods(root_module, cls): 409 ## file-config.h (module 'config-store'): ns3::NoneFileConfig::NoneFileConfig(ns3::NoneFileConfig const & arg0) [constructor] 410 cls.add_constructor([param('ns3::NoneFileConfig const &', 'arg0')]) 411 ## file-config.h (module 'config-store'): ns3::NoneFileConfig::NoneFileConfig() [constructor] 412 cls.add_constructor([]) 413 ## file-config.h (module 'config-store'): void ns3::NoneFileConfig::Attributes() [member function] 414 cls.add_method('Attributes', 415 'void', 416 [], 417 is_virtual=True) 418 ## file-config.h (module 'config-store'): void ns3::NoneFileConfig::Default() [member function] 419 cls.add_method('Default', 420 'void', 421 [], 422 is_virtual=True) 423 ## file-config.h (module 'config-store'): void ns3::NoneFileConfig::Global() [member function] 424 cls.add_method('Global', 425 'void', 426 [], 427 is_virtual=True) 428 ## file-config.h (module 'config-store'): void ns3::NoneFileConfig::SetFilename(std::string filename) [member function] 429 cls.add_method('SetFilename', 430 'void', 431 [param('std::string', 'filename')], 432 is_virtual=True) 433 return 434 435def register_Ns3ObjectBase_methods(root_module, cls): 436 ## object-base.h (module 'core'): ns3::ObjectBase::ObjectBase() [constructor] 437 cls.add_constructor([]) 438 ## object-base.h (module 'core'): ns3::ObjectBase::ObjectBase(ns3::ObjectBase const & arg0) [constructor] 439 cls.add_constructor([param('ns3::ObjectBase const &', 'arg0')]) 440 ## object-base.h (module 'core'): void ns3::ObjectBase::GetAttribute(std::string name, ns3::AttributeValue & value) const [member function] 441 cls.add_method('GetAttribute', 442 'void', 443 [param('std::string', 'name'), param('ns3::AttributeValue &', 'value')], 444 is_const=True) 445 ## object-base.h (module 'core'): bool ns3::ObjectBase::GetAttributeFailSafe(std::string name, ns3::AttributeValue & value) const [member function] 446 cls.add_method('GetAttributeFailSafe', 447 'bool', 448 [param('std::string', 'name'), param('ns3::AttributeValue &', 'value')], 449 is_const=True) 450 ## object-base.h (module 'core'): ns3::TypeId ns3::ObjectBase::GetInstanceTypeId() const [member function] 451 cls.add_method('GetInstanceTypeId', 452 'ns3::TypeId', 453 [], 454 is_const=True, is_pure_virtual=True, is_virtual=True) 455 ## object-base.h (module 'core'): static ns3::TypeId ns3::ObjectBase::GetTypeId() [member function] 456 cls.add_method('GetTypeId', 457 'ns3::TypeId', 458 [], 459 is_static=True) 460 ## object-base.h (module 'core'): void ns3::ObjectBase::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] 461 cls.add_method('SetAttribute', 462 'void', 463 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) 464 ## object-base.h (module 'core'): bool ns3::ObjectBase::SetAttributeFailSafe(std::string name, ns3::AttributeValue const & value) [member function] 465 cls.add_method('SetAttributeFailSafe', 466 'bool', 467 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) 468 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceConnect(std::string name, std::string context, ns3::CallbackBase const & cb) [member function] 469 cls.add_method('TraceConnect', 470 'bool', 471 [param('std::string', 'name'), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')]) 472 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceConnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function] 473 cls.add_method('TraceConnectWithoutContext', 474 'bool', 475 [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) 476 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceDisconnect(std::string name, std::string context, ns3::CallbackBase const & cb) [member function] 477 cls.add_method('TraceDisconnect', 478 'bool', 479 [param('std::string', 'name'), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')]) 480 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceDisconnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function] 481 cls.add_method('TraceDisconnectWithoutContext', 482 'bool', 483 [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) 484 ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] 485 cls.add_method('ConstructSelf', 486 'void', 487 [param('ns3::AttributeConstructionList const &', 'attributes')], 488 visibility='protected') 489 ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] 490 cls.add_method('NotifyConstructionCompleted', 491 'void', 492 [], 493 is_virtual=True, visibility='protected') 494 return 495 496def register_Ns3ParameterLogger_methods(root_module, cls): 497 ## log.h (module 'core'): ns3::ParameterLogger::ParameterLogger(ns3::ParameterLogger const & arg0) [constructor] 498 cls.add_constructor([param('ns3::ParameterLogger const &', 'arg0')]) 499 ## log.h (module 'core'): ns3::ParameterLogger::ParameterLogger(std::ostream & os) [constructor] 500 cls.add_constructor([param('std::ostream &', 'os')]) 501 return 502 503def register_Ns3TypeId_methods(root_module, cls): 504 cls.add_binary_comparison_operator('==') 505 cls.add_binary_comparison_operator('!=') 506 cls.add_output_stream_operator() 507 cls.add_binary_comparison_operator('<') 508 ## type-id.h (module 'core'): ns3::TypeId::TypeId(char const * name) [constructor] 509 cls.add_constructor([param('char const *', 'name')]) 510 ## type-id.h (module 'core'): ns3::TypeId::TypeId() [constructor] 511 cls.add_constructor([]) 512 ## type-id.h (module 'core'): ns3::TypeId::TypeId(ns3::TypeId const & o) [constructor] 513 cls.add_constructor([param('ns3::TypeId const &', 'o')]) 514 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddAttribute(std::string name, std::string help, ns3::AttributeValue const & initialValue, ns3::Ptr<const ns3::AttributeAccessor> accessor, ns3::Ptr<const ns3::AttributeChecker> checker, ns3::TypeId::SupportLevel supportLevel=::ns3::TypeId::SupportLevel::SUPPORTED, std::string const & supportMsg="") [member function] 515 cls.add_method('AddAttribute', 516 'ns3::TypeId', 517 [param('std::string', 'name'), param('std::string', 'help'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::TypeId::SupportLevel', 'supportLevel', default_value='::ns3::TypeId::SupportLevel::SUPPORTED'), param('std::string const &', 'supportMsg', default_value='""')]) 518 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddAttribute(std::string name, std::string help, uint32_t flags, ns3::AttributeValue const & initialValue, ns3::Ptr<const ns3::AttributeAccessor> accessor, ns3::Ptr<const ns3::AttributeChecker> checker, ns3::TypeId::SupportLevel supportLevel=::ns3::TypeId::SupportLevel::SUPPORTED, std::string const & supportMsg="") [member function] 519 cls.add_method('AddAttribute', 520 'ns3::TypeId', 521 [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'), param('ns3::TypeId::SupportLevel', 'supportLevel', default_value='::ns3::TypeId::SupportLevel::SUPPORTED'), param('std::string const &', 'supportMsg', default_value='""')]) 522 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr<const ns3::TraceSourceAccessor> accessor, std::string callback, ns3::TypeId::SupportLevel supportLevel=::ns3::TypeId::SupportLevel::SUPPORTED, std::string const & supportMsg="") [member function] 523 cls.add_method('AddTraceSource', 524 'ns3::TypeId', 525 [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor'), param('std::string', 'callback'), param('ns3::TypeId::SupportLevel', 'supportLevel', default_value='::ns3::TypeId::SupportLevel::SUPPORTED'), param('std::string const &', 'supportMsg', default_value='""')]) 526 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(std::size_t i) const [member function] 527 cls.add_method('GetAttribute', 528 'ns3::TypeId::AttributeInformation', 529 [param('std::size_t', 'i')], 530 is_const=True) 531 ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(std::size_t i) const [member function] 532 cls.add_method('GetAttributeFullName', 533 'std::string', 534 [param('std::size_t', 'i')], 535 is_const=True) 536 ## type-id.h (module 'core'): std::size_t ns3::TypeId::GetAttributeN() const [member function] 537 cls.add_method('GetAttributeN', 538 'std::size_t', 539 [], 540 is_const=True) 541 ## 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] 542 cls.add_method('GetConstructor', 543 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 544 [], 545 is_const=True) 546 ## type-id.h (module 'core'): std::string ns3::TypeId::GetGroupName() const [member function] 547 cls.add_method('GetGroupName', 548 'std::string', 549 [], 550 is_const=True) 551 ## type-id.h (module 'core'): ns3::TypeId::hash_t ns3::TypeId::GetHash() const [member function] 552 cls.add_method('GetHash', 553 'ns3::TypeId::hash_t', 554 [], 555 is_const=True) 556 ## type-id.h (module 'core'): std::string ns3::TypeId::GetName() const [member function] 557 cls.add_method('GetName', 558 'std::string', 559 [], 560 is_const=True) 561 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::GetParent() const [member function] 562 cls.add_method('GetParent', 563 'ns3::TypeId', 564 [], 565 is_const=True) 566 ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::GetRegistered(uint16_t i) [member function] 567 cls.add_method('GetRegistered', 568 'ns3::TypeId', 569 [param('uint16_t', 'i')], 570 is_static=True) 571 ## type-id.h (module 'core'): static uint16_t ns3::TypeId::GetRegisteredN() [member function] 572 cls.add_method('GetRegisteredN', 573 'uint16_t', 574 [], 575 is_static=True) 576 ## type-id.h (module 'core'): std::size_t ns3::TypeId::GetSize() const [member function] 577 cls.add_method('GetSize', 578 'std::size_t', 579 [], 580 is_const=True) 581 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(std::size_t i) const [member function] 582 cls.add_method('GetTraceSource', 583 'ns3::TypeId::TraceSourceInformation', 584 [param('std::size_t', 'i')], 585 is_const=True) 586 ## type-id.h (module 'core'): std::size_t ns3::TypeId::GetTraceSourceN() const [member function] 587 cls.add_method('GetTraceSourceN', 588 'std::size_t', 589 [], 590 is_const=True) 591 ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] 592 cls.add_method('GetUid', 593 'uint16_t', 594 [], 595 is_const=True) 596 ## type-id.h (module 'core'): bool ns3::TypeId::HasConstructor() const [member function] 597 cls.add_method('HasConstructor', 598 'bool', 599 [], 600 is_const=True) 601 ## type-id.h (module 'core'): bool ns3::TypeId::HasParent() const [member function] 602 cls.add_method('HasParent', 603 'bool', 604 [], 605 is_const=True) 606 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::HideFromDocumentation() [member function] 607 cls.add_method('HideFromDocumentation', 608 'ns3::TypeId', 609 []) 610 ## type-id.h (module 'core'): bool ns3::TypeId::IsChildOf(ns3::TypeId other) const [member function] 611 cls.add_method('IsChildOf', 612 'bool', 613 [param('ns3::TypeId', 'other')], 614 is_const=True) 615 ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] 616 cls.add_method('LookupAttributeByName', 617 'bool', 618 [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info', transfer_ownership=False)], 619 is_const=True) 620 ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByHash(ns3::TypeId::hash_t hash) [member function] 621 cls.add_method('LookupByHash', 622 'ns3::TypeId', 623 [param('uint32_t', 'hash')], 624 is_static=True) 625 ## type-id.h (module 'core'): static bool ns3::TypeId::LookupByHashFailSafe(ns3::TypeId::hash_t hash, ns3::TypeId * tid) [member function] 626 cls.add_method('LookupByHashFailSafe', 627 'bool', 628 [param('uint32_t', 'hash'), param('ns3::TypeId *', 'tid')], 629 is_static=True) 630 ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] 631 cls.add_method('LookupByName', 632 'ns3::TypeId', 633 [param('std::string', 'name')], 634 is_static=True) 635 ## type-id.h (module 'core'): ns3::Ptr<const ns3::TraceSourceAccessor> ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] 636 cls.add_method('LookupTraceSourceByName', 637 'ns3::Ptr< ns3::TraceSourceAccessor const >', 638 [param('std::string', 'name')], 639 is_const=True) 640 ## type-id.h (module 'core'): ns3::Ptr<const ns3::TraceSourceAccessor> ns3::TypeId::LookupTraceSourceByName(std::string name, ns3::TypeId::TraceSourceInformation * info) const [member function] 641 cls.add_method('LookupTraceSourceByName', 642 'ns3::Ptr< ns3::TraceSourceAccessor const >', 643 [param('std::string', 'name'), param('ns3::TypeId::TraceSourceInformation *', 'info')], 644 is_const=True) 645 ## type-id.h (module 'core'): bool ns3::TypeId::MustHideFromDocumentation() const [member function] 646 cls.add_method('MustHideFromDocumentation', 647 'bool', 648 [], 649 is_const=True) 650 ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(std::size_t i, ns3::Ptr<const ns3::AttributeValue> initialValue) [member function] 651 cls.add_method('SetAttributeInitialValue', 652 'bool', 653 [param('std::size_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) 654 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] 655 cls.add_method('SetGroupName', 656 'ns3::TypeId', 657 [param('std::string', 'groupName')]) 658 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetParent(ns3::TypeId tid) [member function] 659 cls.add_method('SetParent', 660 'ns3::TypeId', 661 [param('ns3::TypeId', 'tid')]) 662 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetSize(std::size_t size) [member function] 663 cls.add_method('SetSize', 664 'ns3::TypeId', 665 [param('std::size_t', 'size')]) 666 ## type-id.h (module 'core'): void ns3::TypeId::SetUid(uint16_t uid) [member function] 667 cls.add_method('SetUid', 668 'void', 669 [param('uint16_t', 'uid')]) 670 return 671 672def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): 673 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] 674 cls.add_constructor([]) 675 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [constructor] 676 cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) 677 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] 678 cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) 679 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] 680 cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) 681 cls.add_instance_attribute('flags', 'uint32_t', is_const=False) 682 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] 683 cls.add_instance_attribute('help', 'std::string', is_const=False) 684 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] 685 cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) 686 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] 687 cls.add_instance_attribute('name', 'std::string', is_const=False) 688 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] 689 cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) 690 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::supportLevel [variable] 691 cls.add_instance_attribute('supportLevel', 'ns3::TypeId::SupportLevel', is_const=False) 692 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::supportMsg [variable] 693 cls.add_instance_attribute('supportMsg', 'std::string', is_const=False) 694 return 695 696def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): 697 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] 698 cls.add_constructor([]) 699 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [constructor] 700 cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) 701 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] 702 cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) 703 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::callback [variable] 704 cls.add_instance_attribute('callback', 'std::string', is_const=False) 705 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] 706 cls.add_instance_attribute('help', 'std::string', is_const=False) 707 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] 708 cls.add_instance_attribute('name', 'std::string', is_const=False) 709 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::supportLevel [variable] 710 cls.add_instance_attribute('supportLevel', 'ns3::TypeId::SupportLevel', is_const=False) 711 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::supportMsg [variable] 712 cls.add_instance_attribute('supportMsg', 'std::string', is_const=False) 713 return 714 715def register_Ns3Empty_methods(root_module, cls): 716 ## empty.h (module 'core'): ns3::empty::empty() [constructor] 717 cls.add_constructor([]) 718 ## empty.h (module 'core'): ns3::empty::empty(ns3::empty const & arg0) [constructor] 719 cls.add_constructor([param('ns3::empty const &', 'arg0')]) 720 return 721 722def register_Ns3ConfigStore_methods(root_module, cls): 723 ## config-store.h (module 'config-store'): ns3::ConfigStore::ConfigStore(ns3::ConfigStore const & arg0) [constructor] 724 cls.add_constructor([param('ns3::ConfigStore const &', 'arg0')]) 725 ## config-store.h (module 'config-store'): ns3::ConfigStore::ConfigStore() [constructor] 726 cls.add_constructor([]) 727 ## config-store.h (module 'config-store'): void ns3::ConfigStore::ConfigureAttributes() [member function] 728 cls.add_method('ConfigureAttributes', 729 'void', 730 []) 731 ## config-store.h (module 'config-store'): void ns3::ConfigStore::ConfigureDefaults() [member function] 732 cls.add_method('ConfigureDefaults', 733 'void', 734 []) 735 ## config-store.h (module 'config-store'): ns3::TypeId ns3::ConfigStore::GetInstanceTypeId() const [member function] 736 cls.add_method('GetInstanceTypeId', 737 'ns3::TypeId', 738 [], 739 is_const=True, is_virtual=True) 740 ## config-store.h (module 'config-store'): static ns3::TypeId ns3::ConfigStore::GetTypeId() [member function] 741 cls.add_method('GetTypeId', 742 'ns3::TypeId', 743 [], 744 is_static=True) 745 ## config-store.h (module 'config-store'): void ns3::ConfigStore::SetFileFormat(ns3::ConfigStore::FileFormat format) [member function] 746 cls.add_method('SetFileFormat', 747 'void', 748 [param('ns3::ConfigStore::FileFormat', 'format')]) 749 ## config-store.h (module 'config-store'): void ns3::ConfigStore::SetFilename(std::string filename) [member function] 750 cls.add_method('SetFilename', 751 'void', 752 [param('std::string', 'filename')]) 753 ## config-store.h (module 'config-store'): void ns3::ConfigStore::SetMode(ns3::ConfigStore::Mode mode) [member function] 754 cls.add_method('SetMode', 755 'void', 756 [param('ns3::ConfigStore::Mode', 'mode')]) 757 ## config-store.h (module 'config-store'): void ns3::ConfigStore::SetSaveDeprecated(bool saveDeprecated) [member function] 758 cls.add_method('SetSaveDeprecated', 759 'void', 760 [param('bool', 'saveDeprecated')]) 761 return 762 763def register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, cls): 764 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >::SimpleRefCount() [constructor] 765 cls.add_constructor([]) 766 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >::SimpleRefCount(ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> > const & o) [constructor] 767 cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter< ns3::AttributeAccessor > > const &', 'o')]) 768 return 769 770def register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeChecker__gt___methods(root_module, cls): 771 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >::SimpleRefCount() [constructor] 772 cls.add_constructor([]) 773 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >::SimpleRefCount(ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> > const & o) [constructor] 774 cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter< ns3::AttributeChecker > > const &', 'o')]) 775 return 776 777def register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, cls): 778 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >::SimpleRefCount() [constructor] 779 cls.add_constructor([]) 780 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >::SimpleRefCount(ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> > const & o) [constructor] 781 cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter< ns3::AttributeValue > > const &', 'o')]) 782 return 783 784def register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, cls): 785 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >::SimpleRefCount() [constructor] 786 cls.add_constructor([]) 787 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >::SimpleRefCount(ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> > const & o) [constructor] 788 cls.add_constructor([param('ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter< ns3::CallbackImplBase > > const &', 'o')]) 789 return 790 791def register_Ns3SimpleRefCount__Ns3HashImplementation_Ns3Empty_Ns3DefaultDeleter__lt__ns3HashImplementation__gt___methods(root_module, cls): 792 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Hash::Implementation, ns3::empty, ns3::DefaultDeleter<ns3::Hash::Implementation> >::SimpleRefCount() [constructor] 793 cls.add_constructor([]) 794 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Hash::Implementation, ns3::empty, ns3::DefaultDeleter<ns3::Hash::Implementation> >::SimpleRefCount(ns3::SimpleRefCount<ns3::Hash::Implementation, ns3::empty, ns3::DefaultDeleter<ns3::Hash::Implementation> > const & o) [constructor] 795 cls.add_constructor([param('ns3::SimpleRefCount< ns3::Hash::Implementation, ns3::empty, ns3::DefaultDeleter< ns3::Hash::Implementation > > const &', 'o')]) 796 return 797 798def register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, cls): 799 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >::SimpleRefCount() [constructor] 800 cls.add_constructor([]) 801 ## 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) [constructor] 802 cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > const &', 'o')]) 803 return 804 805def register_Ns3TraceSourceAccessor_methods(root_module, cls): 806 ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [constructor] 807 cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) 808 ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] 809 cls.add_constructor([]) 810 ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] 811 cls.add_method('Connect', 812 'bool', 813 [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], 814 is_const=True, is_pure_virtual=True, is_virtual=True) 815 ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] 816 cls.add_method('ConnectWithoutContext', 817 'bool', 818 [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], 819 is_const=True, is_pure_virtual=True, is_virtual=True) 820 ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] 821 cls.add_method('Disconnect', 822 'bool', 823 [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], 824 is_const=True, is_pure_virtual=True, is_virtual=True) 825 ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] 826 cls.add_method('DisconnectWithoutContext', 827 'bool', 828 [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], 829 is_const=True, is_pure_virtual=True, is_virtual=True) 830 return 831 832def register_Ns3AttributeAccessor_methods(root_module, cls): 833 ## attribute.h (module 'core'): ns3::AttributeAccessor::AttributeAccessor(ns3::AttributeAccessor const & arg0) [constructor] 834 cls.add_constructor([param('ns3::AttributeAccessor const &', 'arg0')]) 835 ## attribute.h (module 'core'): ns3::AttributeAccessor::AttributeAccessor() [constructor] 836 cls.add_constructor([]) 837 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::Get(ns3::ObjectBase const * object, ns3::AttributeValue & attribute) const [member function] 838 cls.add_method('Get', 839 'bool', 840 [param('ns3::ObjectBase const *', 'object'), param('ns3::AttributeValue &', 'attribute')], 841 is_const=True, is_pure_virtual=True, is_virtual=True) 842 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::HasGetter() const [member function] 843 cls.add_method('HasGetter', 844 'bool', 845 [], 846 is_const=True, is_pure_virtual=True, is_virtual=True) 847 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::HasSetter() const [member function] 848 cls.add_method('HasSetter', 849 'bool', 850 [], 851 is_const=True, is_pure_virtual=True, is_virtual=True) 852 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::Set(ns3::ObjectBase * object, ns3::AttributeValue const & value) const [member function] 853 cls.add_method('Set', 854 'bool', 855 [param('ns3::ObjectBase *', 'object', transfer_ownership=False), param('ns3::AttributeValue const &', 'value')], 856 is_const=True, is_pure_virtual=True, is_virtual=True) 857 return 858 859def register_Ns3AttributeChecker_methods(root_module, cls): 860 ## attribute.h (module 'core'): ns3::AttributeChecker::AttributeChecker(ns3::AttributeChecker const & arg0) [constructor] 861 cls.add_constructor([param('ns3::AttributeChecker const &', 'arg0')]) 862 ## attribute.h (module 'core'): ns3::AttributeChecker::AttributeChecker() [constructor] 863 cls.add_constructor([]) 864 ## attribute.h (module 'core'): bool ns3::AttributeChecker::Check(ns3::AttributeValue const & value) const [member function] 865 cls.add_method('Check', 866 'bool', 867 [param('ns3::AttributeValue const &', 'value')], 868 is_const=True, is_pure_virtual=True, is_virtual=True) 869 ## attribute.h (module 'core'): bool ns3::AttributeChecker::Copy(ns3::AttributeValue const & source, ns3::AttributeValue & destination) const [member function] 870 cls.add_method('Copy', 871 'bool', 872 [param('ns3::AttributeValue const &', 'source'), param('ns3::AttributeValue &', 'destination')], 873 is_const=True, is_pure_virtual=True, is_virtual=True) 874 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeChecker::Create() const [member function] 875 cls.add_method('Create', 876 'ns3::Ptr< ns3::AttributeValue >', 877 [], 878 is_const=True, is_pure_virtual=True, is_virtual=True) 879 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] 880 cls.add_method('CreateValidValue', 881 'ns3::Ptr< ns3::AttributeValue >', 882 [param('ns3::AttributeValue const &', 'value')], 883 is_const=True) 884 ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] 885 cls.add_method('GetUnderlyingTypeInformation', 886 'std::string', 887 [], 888 is_const=True, is_pure_virtual=True, is_virtual=True) 889 ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetValueTypeName() const [member function] 890 cls.add_method('GetValueTypeName', 891 'std::string', 892 [], 893 is_const=True, is_pure_virtual=True, is_virtual=True) 894 ## attribute.h (module 'core'): bool ns3::AttributeChecker::HasUnderlyingTypeInformation() const [member function] 895 cls.add_method('HasUnderlyingTypeInformation', 896 'bool', 897 [], 898 is_const=True, is_pure_virtual=True, is_virtual=True) 899 return 900 901def register_Ns3AttributeValue_methods(root_module, cls): 902 ## attribute.h (module 'core'): ns3::AttributeValue::AttributeValue(ns3::AttributeValue const & arg0) [constructor] 903 cls.add_constructor([param('ns3::AttributeValue const &', 'arg0')]) 904 ## attribute.h (module 'core'): ns3::AttributeValue::AttributeValue() [constructor] 905 cls.add_constructor([]) 906 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeValue::Copy() const [member function] 907 cls.add_method('Copy', 908 'ns3::Ptr< ns3::AttributeValue >', 909 [], 910 is_const=True, is_pure_virtual=True, is_virtual=True) 911 ## attribute.h (module 'core'): bool ns3::AttributeValue::DeserializeFromString(std::string value, ns3::Ptr<const ns3::AttributeChecker> checker) [member function] 912 cls.add_method('DeserializeFromString', 913 'bool', 914 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 915 is_pure_virtual=True, is_virtual=True) 916 ## attribute.h (module 'core'): std::string ns3::AttributeValue::SerializeToString(ns3::Ptr<const ns3::AttributeChecker> checker) const [member function] 917 cls.add_method('SerializeToString', 918 'std::string', 919 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 920 is_const=True, is_pure_virtual=True, is_virtual=True) 921 return 922 923def register_Ns3CallbackChecker_methods(root_module, cls): 924 ## callback.h (module 'core'): ns3::CallbackChecker::CallbackChecker() [constructor] 925 cls.add_constructor([]) 926 ## callback.h (module 'core'): ns3::CallbackChecker::CallbackChecker(ns3::CallbackChecker const & arg0) [constructor] 927 cls.add_constructor([param('ns3::CallbackChecker const &', 'arg0')]) 928 return 929 930def register_Ns3CallbackImplBase_methods(root_module, cls): 931 ## callback.h (module 'core'): ns3::CallbackImplBase::CallbackImplBase() [constructor] 932 cls.add_constructor([]) 933 ## callback.h (module 'core'): ns3::CallbackImplBase::CallbackImplBase(ns3::CallbackImplBase const & arg0) [constructor] 934 cls.add_constructor([param('ns3::CallbackImplBase const &', 'arg0')]) 935 ## callback.h (module 'core'): std::string ns3::CallbackImplBase::GetTypeid() const [member function] 936 cls.add_method('GetTypeid', 937 'std::string', 938 [], 939 is_const=True, is_pure_virtual=True, is_virtual=True) 940 ## callback.h (module 'core'): bool ns3::CallbackImplBase::IsEqual(ns3::Ptr<const ns3::CallbackImplBase> other) const [member function] 941 cls.add_method('IsEqual', 942 'bool', 943 [param('ns3::Ptr< ns3::CallbackImplBase const >', 'other')], 944 is_const=True, is_pure_virtual=True, is_virtual=True) 945 ## callback.h (module 'core'): static std::string ns3::CallbackImplBase::Demangle(std::string const & mangled) [member function] 946 cls.add_method('Demangle', 947 'std::string', 948 [param('std::string const &', 'mangled')], 949 is_static=True, visibility='protected') 950 ## callback.h (module 'core'): static std::string ns3::CallbackImplBase::GetCppTypeid() [member function] 951 cls.add_method('GetCppTypeid', 952 'std::string', 953 [], 954 is_static=True, template_parameters=['ns3::ObjectBase*'], visibility='protected') 955 return 956 957def register_Ns3CallbackValue_methods(root_module, cls): 958 ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue(ns3::CallbackValue const & arg0) [constructor] 959 cls.add_constructor([param('ns3::CallbackValue const &', 'arg0')]) 960 ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue() [constructor] 961 cls.add_constructor([]) 962 ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue(ns3::CallbackBase const & base) [constructor] 963 cls.add_constructor([param('ns3::CallbackBase const &', 'base')]) 964 ## callback.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::CallbackValue::Copy() const [member function] 965 cls.add_method('Copy', 966 'ns3::Ptr< ns3::AttributeValue >', 967 [], 968 is_const=True, is_virtual=True) 969 ## callback.h (module 'core'): bool ns3::CallbackValue::DeserializeFromString(std::string value, ns3::Ptr<const ns3::AttributeChecker> checker) [member function] 970 cls.add_method('DeserializeFromString', 971 'bool', 972 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 973 is_virtual=True) 974 ## callback.h (module 'core'): std::string ns3::CallbackValue::SerializeToString(ns3::Ptr<const ns3::AttributeChecker> checker) const [member function] 975 cls.add_method('SerializeToString', 976 'std::string', 977 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 978 is_const=True, is_virtual=True) 979 ## callback.h (module 'core'): void ns3::CallbackValue::Set(ns3::CallbackBase base) [member function] 980 cls.add_method('Set', 981 'void', 982 [param('ns3::CallbackBase', 'base')]) 983 return 984 985def register_Ns3EmptyAttributeAccessor_methods(root_module, cls): 986 ## attribute.h (module 'core'): ns3::EmptyAttributeAccessor::EmptyAttributeAccessor(ns3::EmptyAttributeAccessor const & arg0) [constructor] 987 cls.add_constructor([param('ns3::EmptyAttributeAccessor const &', 'arg0')]) 988 ## attribute.h (module 'core'): ns3::EmptyAttributeAccessor::EmptyAttributeAccessor() [constructor] 989 cls.add_constructor([]) 990 ## attribute.h (module 'core'): bool ns3::EmptyAttributeAccessor::Get(ns3::ObjectBase const * object, ns3::AttributeValue & attribute) const [member function] 991 cls.add_method('Get', 992 'bool', 993 [param('ns3::ObjectBase const *', 'object'), param('ns3::AttributeValue &', 'attribute')], 994 is_const=True, is_virtual=True) 995 ## attribute.h (module 'core'): bool ns3::EmptyAttributeAccessor::HasGetter() const [member function] 996 cls.add_method('HasGetter', 997 'bool', 998 [], 999 is_const=True, is_virtual=True) 1000 ## attribute.h (module 'core'): bool ns3::EmptyAttributeAccessor::HasSetter() const [member function] 1001 cls.add_method('HasSetter', 1002 'bool', 1003 [], 1004 is_const=True, is_virtual=True) 1005 ## attribute.h (module 'core'): bool ns3::EmptyAttributeAccessor::Set(ns3::ObjectBase * object, ns3::AttributeValue const & value) const [member function] 1006 cls.add_method('Set', 1007 'bool', 1008 [param('ns3::ObjectBase *', 'object'), param('ns3::AttributeValue const &', 'value')], 1009 is_const=True, is_virtual=True) 1010 return 1011 1012def register_Ns3EmptyAttributeChecker_methods(root_module, cls): 1013 ## attribute.h (module 'core'): ns3::EmptyAttributeChecker::EmptyAttributeChecker(ns3::EmptyAttributeChecker const & arg0) [constructor] 1014 cls.add_constructor([param('ns3::EmptyAttributeChecker const &', 'arg0')]) 1015 ## attribute.h (module 'core'): ns3::EmptyAttributeChecker::EmptyAttributeChecker() [constructor] 1016 cls.add_constructor([]) 1017 ## attribute.h (module 'core'): bool ns3::EmptyAttributeChecker::Check(ns3::AttributeValue const & value) const [member function] 1018 cls.add_method('Check', 1019 'bool', 1020 [param('ns3::AttributeValue const &', 'value')], 1021 is_const=True, is_virtual=True) 1022 ## attribute.h (module 'core'): bool ns3::EmptyAttributeChecker::Copy(ns3::AttributeValue const & source, ns3::AttributeValue & destination) const [member function] 1023 cls.add_method('Copy', 1024 'bool', 1025 [param('ns3::AttributeValue const &', 'source'), param('ns3::AttributeValue &', 'destination')], 1026 is_const=True, is_virtual=True) 1027 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::EmptyAttributeChecker::Create() const [member function] 1028 cls.add_method('Create', 1029 'ns3::Ptr< ns3::AttributeValue >', 1030 [], 1031 is_const=True, is_virtual=True) 1032 ## attribute.h (module 'core'): std::string ns3::EmptyAttributeChecker::GetUnderlyingTypeInformation() const [member function] 1033 cls.add_method('GetUnderlyingTypeInformation', 1034 'std::string', 1035 [], 1036 is_const=True, is_virtual=True) 1037 ## attribute.h (module 'core'): std::string ns3::EmptyAttributeChecker::GetValueTypeName() const [member function] 1038 cls.add_method('GetValueTypeName', 1039 'std::string', 1040 [], 1041 is_const=True, is_virtual=True) 1042 ## attribute.h (module 'core'): bool ns3::EmptyAttributeChecker::HasUnderlyingTypeInformation() const [member function] 1043 cls.add_method('HasUnderlyingTypeInformation', 1044 'bool', 1045 [], 1046 is_const=True, is_virtual=True) 1047 return 1048 1049def register_Ns3EmptyAttributeValue_methods(root_module, cls): 1050 ## attribute.h (module 'core'): ns3::EmptyAttributeValue::EmptyAttributeValue(ns3::EmptyAttributeValue const & arg0) [constructor] 1051 cls.add_constructor([param('ns3::EmptyAttributeValue const &', 'arg0')]) 1052 ## attribute.h (module 'core'): ns3::EmptyAttributeValue::EmptyAttributeValue() [constructor] 1053 cls.add_constructor([]) 1054 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::EmptyAttributeValue::Copy() const [member function] 1055 cls.add_method('Copy', 1056 'ns3::Ptr< ns3::AttributeValue >', 1057 [], 1058 is_const=True, is_virtual=True, visibility='private') 1059 ## attribute.h (module 'core'): bool ns3::EmptyAttributeValue::DeserializeFromString(std::string value, ns3::Ptr<const ns3::AttributeChecker> checker) [member function] 1060 cls.add_method('DeserializeFromString', 1061 'bool', 1062 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 1063 is_virtual=True, visibility='private') 1064 ## attribute.h (module 'core'): std::string ns3::EmptyAttributeValue::SerializeToString(ns3::Ptr<const ns3::AttributeChecker> checker) const [member function] 1065 cls.add_method('SerializeToString', 1066 'std::string', 1067 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 1068 is_const=True, is_virtual=True, visibility='private') 1069 return 1070 1071def register_Ns3TypeIdChecker_methods(root_module, cls): 1072 ## type-id.h (module 'core'): ns3::TypeIdChecker::TypeIdChecker() [constructor] 1073 cls.add_constructor([]) 1074 ## type-id.h (module 'core'): ns3::TypeIdChecker::TypeIdChecker(ns3::TypeIdChecker const & arg0) [constructor] 1075 cls.add_constructor([param('ns3::TypeIdChecker const &', 'arg0')]) 1076 return 1077 1078def register_Ns3TypeIdValue_methods(root_module, cls): 1079 ## type-id.h (module 'core'): ns3::TypeIdValue::TypeIdValue() [constructor] 1080 cls.add_constructor([]) 1081 ## type-id.h (module 'core'): ns3::TypeIdValue::TypeIdValue(ns3::TypeId const & value) [constructor] 1082 cls.add_constructor([param('ns3::TypeId const &', 'value')]) 1083 ## type-id.h (module 'core'): ns3::TypeIdValue::TypeIdValue(ns3::TypeIdValue const & arg0) [constructor] 1084 cls.add_constructor([param('ns3::TypeIdValue const &', 'arg0')]) 1085 ## type-id.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::TypeIdValue::Copy() const [member function] 1086 cls.add_method('Copy', 1087 'ns3::Ptr< ns3::AttributeValue >', 1088 [], 1089 is_const=True, is_virtual=True) 1090 ## type-id.h (module 'core'): bool ns3::TypeIdValue::DeserializeFromString(std::string value, ns3::Ptr<const ns3::AttributeChecker> checker) [member function] 1091 cls.add_method('DeserializeFromString', 1092 'bool', 1093 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 1094 is_virtual=True) 1095 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeIdValue::Get() const [member function] 1096 cls.add_method('Get', 1097 'ns3::TypeId', 1098 [], 1099 is_const=True) 1100 ## type-id.h (module 'core'): std::string ns3::TypeIdValue::SerializeToString(ns3::Ptr<const ns3::AttributeChecker> checker) const [member function] 1101 cls.add_method('SerializeToString', 1102 'std::string', 1103 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 1104 is_const=True, is_virtual=True) 1105 ## type-id.h (module 'core'): void ns3::TypeIdValue::Set(ns3::TypeId const & value) [member function] 1106 cls.add_method('Set', 1107 'void', 1108 [param('ns3::TypeId const &', 'value')]) 1109 return 1110 1111def register_Ns3CallbackImpl__Ns3ObjectBase___star___Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_Ns3Empty_methods(root_module, cls): 1112 ## callback.h (module 'core'): ns3::CallbackImpl<ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::CallbackImpl() [constructor] 1113 cls.add_constructor([]) 1114 ## callback.h (module 'core'): ns3::CallbackImpl<ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::CallbackImpl(ns3::CallbackImpl<ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> const & arg0) [constructor] 1115 cls.add_constructor([param('ns3::CallbackImpl< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty > const &', 'arg0')]) 1116 ## callback.h (module 'core'): static std::string ns3::CallbackImpl<ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::DoGetTypeid() [member function] 1117 cls.add_method('DoGetTypeid', 1118 'std::string', 1119 [], 1120 is_static=True) 1121 ## callback.h (module 'core'): std::string ns3::CallbackImpl<ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::GetTypeid() const [member function] 1122 cls.add_method('GetTypeid', 1123 'std::string', 1124 [], 1125 is_const=True, is_virtual=True) 1126 ## callback.h (module 'core'): ns3::ObjectBase * ns3::CallbackImpl<ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator()() [member operator] 1127 cls.add_method('operator()', 1128 'ns3::ObjectBase *', 1129 [], 1130 custom_name='__call__', is_pure_virtual=True, is_virtual=True) 1131 return 1132 1133def register_Ns3HashImplementation_methods(root_module, cls): 1134 ## hash-function.h (module 'core'): ns3::Hash::Implementation::Implementation(ns3::Hash::Implementation const & arg0) [constructor] 1135 cls.add_constructor([param('ns3::Hash::Implementation const &', 'arg0')]) 1136 ## hash-function.h (module 'core'): ns3::Hash::Implementation::Implementation() [constructor] 1137 cls.add_constructor([]) 1138 ## hash-function.h (module 'core'): uint32_t ns3::Hash::Implementation::GetHash32(char const * buffer, std::size_t const size) [member function] 1139 cls.add_method('GetHash32', 1140 'uint32_t', 1141 [param('char const *', 'buffer'), param('std::size_t const', 'size')], 1142 is_pure_virtual=True, is_virtual=True) 1143 ## hash-function.h (module 'core'): uint64_t ns3::Hash::Implementation::GetHash64(char const * buffer, std::size_t const size) [member function] 1144 cls.add_method('GetHash64', 1145 'uint64_t', 1146 [param('char const *', 'buffer'), param('std::size_t const', 'size')], 1147 is_virtual=True) 1148 ## hash-function.h (module 'core'): void ns3::Hash::Implementation::clear() [member function] 1149 cls.add_method('clear', 1150 'void', 1151 [], 1152 is_pure_virtual=True, is_virtual=True) 1153 return 1154 1155def register_Ns3HashFunctionFnv1a_methods(root_module, cls): 1156 ## hash-fnv.h (module 'core'): ns3::Hash::Function::Fnv1a::Fnv1a(ns3::Hash::Function::Fnv1a const & arg0) [constructor] 1157 cls.add_constructor([param('ns3::Hash::Function::Fnv1a const &', 'arg0')]) 1158 ## hash-fnv.h (module 'core'): ns3::Hash::Function::Fnv1a::Fnv1a() [constructor] 1159 cls.add_constructor([]) 1160 ## hash-fnv.h (module 'core'): uint32_t ns3::Hash::Function::Fnv1a::GetHash32(char const * buffer, size_t const size) [member function] 1161 cls.add_method('GetHash32', 1162 'uint32_t', 1163 [param('char const *', 'buffer'), param('size_t const', 'size')], 1164 is_virtual=True) 1165 ## hash-fnv.h (module 'core'): uint64_t ns3::Hash::Function::Fnv1a::GetHash64(char const * buffer, size_t const size) [member function] 1166 cls.add_method('GetHash64', 1167 'uint64_t', 1168 [param('char const *', 'buffer'), param('size_t const', 'size')], 1169 is_virtual=True) 1170 ## hash-fnv.h (module 'core'): void ns3::Hash::Function::Fnv1a::clear() [member function] 1171 cls.add_method('clear', 1172 'void', 1173 [], 1174 is_virtual=True) 1175 return 1176 1177def register_Ns3HashFunctionHash32_methods(root_module, cls): 1178 ## hash-function.h (module 'core'): ns3::Hash::Function::Hash32::Hash32(ns3::Hash::Function::Hash32 const & arg0) [constructor] 1179 cls.add_constructor([param('ns3::Hash::Function::Hash32 const &', 'arg0')]) 1180 ## hash-function.h (module 'core'): ns3::Hash::Function::Hash32::Hash32(ns3::Hash::Hash32Function_ptr hp) [constructor] 1181 cls.add_constructor([param('ns3::Hash::Hash32Function_ptr', 'hp')]) 1182 ## hash-function.h (module 'core'): uint32_t ns3::Hash::Function::Hash32::GetHash32(char const * buffer, std::size_t const size) [member function] 1183 cls.add_method('GetHash32', 1184 'uint32_t', 1185 [param('char const *', 'buffer'), param('std::size_t const', 'size')], 1186 is_virtual=True) 1187 ## hash-function.h (module 'core'): void ns3::Hash::Function::Hash32::clear() [member function] 1188 cls.add_method('clear', 1189 'void', 1190 [], 1191 is_virtual=True) 1192 return 1193 1194def register_Ns3HashFunctionHash64_methods(root_module, cls): 1195 ## hash-function.h (module 'core'): ns3::Hash::Function::Hash64::Hash64(ns3::Hash::Function::Hash64 const & arg0) [constructor] 1196 cls.add_constructor([param('ns3::Hash::Function::Hash64 const &', 'arg0')]) 1197 ## hash-function.h (module 'core'): ns3::Hash::Function::Hash64::Hash64(ns3::Hash::Hash64Function_ptr hp) [constructor] 1198 cls.add_constructor([param('ns3::Hash::Hash64Function_ptr', 'hp')]) 1199 ## hash-function.h (module 'core'): uint32_t ns3::Hash::Function::Hash64::GetHash32(char const * buffer, std::size_t const size) [member function] 1200 cls.add_method('GetHash32', 1201 'uint32_t', 1202 [param('char const *', 'buffer'), param('std::size_t const', 'size')], 1203 is_virtual=True) 1204 ## hash-function.h (module 'core'): uint64_t ns3::Hash::Function::Hash64::GetHash64(char const * buffer, std::size_t const size) [member function] 1205 cls.add_method('GetHash64', 1206 'uint64_t', 1207 [param('char const *', 'buffer'), param('std::size_t const', 'size')], 1208 is_virtual=True) 1209 ## hash-function.h (module 'core'): void ns3::Hash::Function::Hash64::clear() [member function] 1210 cls.add_method('clear', 1211 'void', 1212 [], 1213 is_virtual=True) 1214 return 1215 1216def register_Ns3HashFunctionMurmur3_methods(root_module, cls): 1217 ## hash-murmur3.h (module 'core'): ns3::Hash::Function::Murmur3::Murmur3(ns3::Hash::Function::Murmur3 const & arg0) [constructor] 1218 cls.add_constructor([param('ns3::Hash::Function::Murmur3 const &', 'arg0')]) 1219 ## hash-murmur3.h (module 'core'): ns3::Hash::Function::Murmur3::Murmur3() [constructor] 1220 cls.add_constructor([]) 1221 ## hash-murmur3.h (module 'core'): uint32_t ns3::Hash::Function::Murmur3::GetHash32(char const * buffer, std::size_t const size) [member function] 1222 cls.add_method('GetHash32', 1223 'uint32_t', 1224 [param('char const *', 'buffer'), param('std::size_t const', 'size')], 1225 is_virtual=True) 1226 ## hash-murmur3.h (module 'core'): uint64_t ns3::Hash::Function::Murmur3::GetHash64(char const * buffer, std::size_t const size) [member function] 1227 cls.add_method('GetHash64', 1228 'uint64_t', 1229 [param('char const *', 'buffer'), param('std::size_t const', 'size')], 1230 is_virtual=True) 1231 ## hash-murmur3.h (module 'core'): void ns3::Hash::Function::Murmur3::clear() [member function] 1232 cls.add_method('clear', 1233 'void', 1234 [], 1235 is_virtual=True) 1236 return 1237 1238def register_functions(root_module): 1239 module = root_module 1240 register_functions_ns3_FatalImpl(module.add_cpp_namespace('FatalImpl'), root_module) 1241 register_functions_ns3_Hash(module.add_cpp_namespace('Hash'), root_module) 1242 return 1243 1244def register_functions_ns3_FatalImpl(module, root_module): 1245 return 1246 1247def register_functions_ns3_Hash(module, root_module): 1248 register_functions_ns3_Hash_Function(module.add_cpp_namespace('Function'), root_module) 1249 return 1250 1251def register_functions_ns3_Hash_Function(module, root_module): 1252 return 1253 1254def main(): 1255 out = FileCodeSink(sys.stdout) 1256 root_module = module_init() 1257 register_types(root_module) 1258 register_methods(root_module) 1259 register_functions(root_module) 1260 root_module.generate(out) 1261 1262if __name__ == '__main__': 1263 main() 1264 1265