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