blob: fcb73f7f8f3d85bed96e34b6608cf75e00fde0bd [file] [log] [blame]
Ilya Moiseenko1762af72011-07-18 16:43:10 -07001from 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():
Ilya Moiseenko02fb7062011-08-11 17:18:00 -070017 root_module = Module('ns.NDNabstraction', cpp_namespace='::ns3')
Ilya Moiseenko1762af72011-07-18 16:43:10 -070018 return root_module
19
20def register_types(module):
21 root_module = module.get_root()
22
Ilya Moiseenko02fb7062011-08-11 17:18:00 -070023 ## 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'], import_from_module='ns.core')
Ilya Moiseenko1762af72011-07-18 16:43:10 -070025 ## address.h (module 'network'): ns3::Address [class]
26 module.add_class('Address', import_from_module='ns.network')
27 ## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration]
28 module.add_enum('MaxSize_e', ['MAX_SIZE'], outer_class=root_module['ns3::Address'], import_from_module='ns.network')
Ilya Moiseenko02fb7062011-08-11 17:18:00 -070029 ## application-container.h (module 'network'): ns3::ApplicationContainer [class]
30 module.add_class('ApplicationContainer', import_from_module='ns.network')
Ilya Moiseenko1762af72011-07-18 16:43:10 -070031 ## attribute-list.h (module 'core'): ns3::AttributeList [class]
32 module.add_class('AttributeList', import_from_module='ns.core')
33 ## buffer.h (module 'network'): ns3::Buffer [class]
34 module.add_class('Buffer', import_from_module='ns.network')
35 ## buffer.h (module 'network'): ns3::Buffer::Iterator [class]
36 module.add_class('Iterator', import_from_module='ns.network', outer_class=root_module['ns3::Buffer'])
37 ## packet.h (module 'network'): ns3::ByteTagIterator [class]
38 module.add_class('ByteTagIterator', import_from_module='ns.network')
39 ## packet.h (module 'network'): ns3::ByteTagIterator::Item [class]
40 module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::ByteTagIterator'])
41 ## byte-tag-list.h (module 'network'): ns3::ByteTagList [class]
42 module.add_class('ByteTagList', import_from_module='ns.network')
43 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator [class]
44 module.add_class('Iterator', import_from_module='ns.network', outer_class=root_module['ns3::ByteTagList'])
45 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item [struct]
46 module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::ByteTagList::Iterator'])
47 ## callback.h (module 'core'): ns3::CallbackBase [class]
48 module.add_class('CallbackBase', import_from_module='ns.core')
Ilya Moiseenko1762af72011-07-18 16:43:10 -070049 ## event-id.h (module 'core'): ns3::EventId [class]
50 module.add_class('EventId', import_from_module='ns.core')
Ilya Moiseenko1762af72011-07-18 16:43:10 -070051 ## ipv4-address.h (module 'network'): ns3::Ipv4Address [class]
52 module.add_class('Ipv4Address', import_from_module='ns.network')
53 ## ipv4-address.h (module 'network'): ns3::Ipv4Address [class]
54 root_module['ns3::Ipv4Address'].implicitly_converts_to(root_module['ns3::Address'])
Ilya Moiseenko1762af72011-07-18 16:43:10 -070055 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask [class]
56 module.add_class('Ipv4Mask', import_from_module='ns.network')
Ilya Moiseenko1762af72011-07-18 16:43:10 -070057 ## ipv6-address.h (module 'network'): ns3::Ipv6Address [class]
58 module.add_class('Ipv6Address', import_from_module='ns.network')
59 ## ipv6-address.h (module 'network'): ns3::Ipv6Address [class]
60 root_module['ns3::Ipv6Address'].implicitly_converts_to(root_module['ns3::Address'])
61 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix [class]
62 module.add_class('Ipv6Prefix', import_from_module='ns.network')
Ilya Moiseenko02fb7062011-08-11 17:18:00 -070063 ## log.h (module 'core'): ns3::LogComponent [class]
64 module.add_class('LogComponent', import_from_module='ns.core')
65 ## ndn_face.h (module 'NDNabstraction'): ns3::NdnFace [class]
66 module.add_class('NdnFace')
Ilya Moiseenko1762af72011-07-18 16:43:10 -070067 ## node-container.h (module 'network'): ns3::NodeContainer [class]
68 module.add_class('NodeContainer', import_from_module='ns.network')
69 ## object-base.h (module 'core'): ns3::ObjectBase [class]
70 module.add_class('ObjectBase', allow_subclassing=True, import_from_module='ns.core')
71 ## object.h (module 'core'): ns3::ObjectDeleter [struct]
72 module.add_class('ObjectDeleter', import_from_module='ns.core')
73 ## object-factory.h (module 'core'): ns3::ObjectFactory [class]
74 module.add_class('ObjectFactory', import_from_module='ns.core')
Ilya Moiseenko1762af72011-07-18 16:43:10 -070075 ## packet-metadata.h (module 'network'): ns3::PacketMetadata [class]
76 module.add_class('PacketMetadata', import_from_module='ns.network')
77 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item [struct]
78 module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::PacketMetadata'])
79 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item [enumeration]
80 module.add_enum('', ['PAYLOAD', 'HEADER', 'TRAILER'], outer_class=root_module['ns3::PacketMetadata::Item'], import_from_module='ns.network')
81 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator [class]
82 module.add_class('ItemIterator', import_from_module='ns.network', outer_class=root_module['ns3::PacketMetadata'])
83 ## packet.h (module 'network'): ns3::PacketTagIterator [class]
84 module.add_class('PacketTagIterator', import_from_module='ns.network')
85 ## packet.h (module 'network'): ns3::PacketTagIterator::Item [class]
86 module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::PacketTagIterator'])
87 ## packet-tag-list.h (module 'network'): ns3::PacketTagList [class]
88 module.add_class('PacketTagList', import_from_module='ns.network')
89 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData [struct]
90 module.add_class('TagData', import_from_module='ns.network', outer_class=root_module['ns3::PacketTagList'])
Ilya Moiseenko02fb7062011-08-11 17:18:00 -070091 ## random-variable.h (module 'core'): ns3::RandomVariable [class]
92 module.add_class('RandomVariable', import_from_module='ns.core')
93 ## random-variable.h (module 'core'): ns3::SeedManager [class]
94 module.add_class('SeedManager', import_from_module='ns.core')
95 ## random-variable.h (module 'core'): ns3::SequentialVariable [class]
96 module.add_class('SequentialVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Ilya Moiseenko1762af72011-07-18 16:43:10 -070097 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter> [class]
98 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'))
Ilya Moiseenko02fb7062011-08-11 17:18:00 -070099 ## ndn_stupidinterestgenerator_helper.h (module 'NDNabstraction'): ns3::StupidInterestGeneratorHelper [class]
100 module.add_class('StupidInterestGeneratorHelper')
Ilya Moiseenko1762af72011-07-18 16:43:10 -0700101 ## tag.h (module 'network'): ns3::Tag [class]
102 module.add_class('Tag', import_from_module='ns.network', parent=root_module['ns3::ObjectBase'])
103 ## tag-buffer.h (module 'network'): ns3::TagBuffer [class]
104 module.add_class('TagBuffer', import_from_module='ns.network')
Ilya Moiseenko02fb7062011-08-11 17:18:00 -0700105 ## random-variable.h (module 'core'): ns3::TriangularVariable [class]
106 module.add_class('TriangularVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Ilya Moiseenko1762af72011-07-18 16:43:10 -0700107 ## type-id.h (module 'core'): ns3::TypeId [class]
108 module.add_class('TypeId', import_from_module='ns.core')
109 ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration]
110 module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core')
111 ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct]
112 module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId'])
Ilya Moiseenko02fb7062011-08-11 17:18:00 -0700113 ## random-variable.h (module 'core'): ns3::UniformVariable [class]
114 module.add_class('UniformVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Ilya Moiseenko1762af72011-07-18 16:43:10 -0700115 ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class]
116 module.add_class('UnsafeAttributeList', import_from_module='ns.core')
Ilya Moiseenko02fb7062011-08-11 17:18:00 -0700117 ## random-variable.h (module 'core'): ns3::WeibullVariable [class]
118 module.add_class('WeibullVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
119 ## random-variable.h (module 'core'): ns3::ZetaVariable [class]
120 module.add_class('ZetaVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
121 ## random-variable.h (module 'core'): ns3::ZipfVariable [class]
122 module.add_class('ZipfVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Ilya Moiseenko1762af72011-07-18 16:43:10 -0700123 ## empty.h (module 'core'): ns3::empty [class]
124 module.add_class('empty', import_from_module='ns.core')
125 ## int64x64-double.h (module 'core'): ns3::int64x64_t [class]
126 module.add_class('int64x64_t', import_from_module='ns.core')
127 ## chunk.h (module 'network'): ns3::Chunk [class]
128 module.add_class('Chunk', import_from_module='ns.network', parent=root_module['ns3::ObjectBase'])
Ilya Moiseenko02fb7062011-08-11 17:18:00 -0700129 ## random-variable.h (module 'core'): ns3::ConstantVariable [class]
130 module.add_class('ConstantVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
131 ## random-variable.h (module 'core'): ns3::DeterministicVariable [class]
132 module.add_class('DeterministicVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
133 ## random-variable.h (module 'core'): ns3::EmpiricalVariable [class]
134 module.add_class('EmpiricalVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
135 ## random-variable.h (module 'core'): ns3::ErlangVariable [class]
136 module.add_class('ErlangVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
137 ## random-variable.h (module 'core'): ns3::ExponentialVariable [class]
138 module.add_class('ExponentialVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
139 ## random-variable.h (module 'core'): ns3::GammaVariable [class]
140 module.add_class('GammaVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Ilya Moiseenko1762af72011-07-18 16:43:10 -0700141 ## header.h (module 'network'): ns3::Header [class]
142 module.add_class('Header', import_from_module='ns.network', parent=root_module['ns3::Chunk'])
Ilya Moiseenko02fb7062011-08-11 17:18:00 -0700143 ## random-variable.h (module 'core'): ns3::IntEmpiricalVariable [class]
144 module.add_class('IntEmpiricalVariable', import_from_module='ns.core', parent=root_module['ns3::EmpiricalVariable'])
145 ## random-variable.h (module 'core'): ns3::LogNormalVariable [class]
146 module.add_class('LogNormalVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
147 ## random-variable.h (module 'core'): ns3::NormalVariable [class]
148 module.add_class('NormalVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Ilya Moiseenko1762af72011-07-18 16:43:10 -0700149 ## object.h (module 'core'): ns3::Object [class]
150 module.add_class('Object', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >'])
151 ## object.h (module 'core'): ns3::Object::AggregateIterator [class]
152 module.add_class('AggregateIterator', import_from_module='ns.core', outer_class=root_module['ns3::Object'])
Ilya Moiseenko02fb7062011-08-11 17:18:00 -0700153 ## random-variable.h (module 'core'): ns3::ParetoVariable [class]
154 module.add_class('ParetoVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Ilya Moiseenko1762af72011-07-18 16:43:10 -0700155 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> > [class]
156 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'))
157 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> > [class]
158 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'))
159 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> > [class]
160 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'))
161 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> > [class]
162 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'))
163 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> > [class]
164 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::EventImpl', 'ns3::empty', 'ns3::DefaultDeleter<ns3::EventImpl>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Ilya Moiseenkoc166cd32011-08-12 12:50:30 -0700165 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NDNabstraction::Name::Components, ns3::empty, ns3::DefaultDeleter<ns3::NDNabstraction::Name::Components> > [class]
166 module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::NDNabstraction::Name::Components', 'ns3::empty', 'ns3::DefaultDeleter<ns3::NDNabstraction::Name::Components>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Ilya Moiseenko1762af72011-07-18 16:43:10 -0700167 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> > [class]
168 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::NixVector', 'ns3::empty', 'ns3::DefaultDeleter<ns3::NixVector>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Ilya Moiseenko1762af72011-07-18 16:43:10 -0700169 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> > [class]
170 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Packet', 'ns3::empty', 'ns3::DefaultDeleter<ns3::Packet>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Ilya Moiseenko02fb7062011-08-11 17:18:00 -0700171 ## socket-factory.h (module 'network'): ns3::SocketFactory [class]
172 module.add_class('SocketFactory', import_from_module='ns.network', parent=root_module['ns3::Object'])
Ilya Moiseenko1762af72011-07-18 16:43:10 -0700173 ## nstime.h (module 'core'): ns3::Time [class]
174 module.add_class('Time', import_from_module='ns.core')
175 ## nstime.h (module 'core'): ns3::Time::Unit [enumeration]
176 module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core')
177 ## nstime.h (module 'core'): ns3::Time [class]
178 root_module['ns3::Time'].implicitly_converts_to(root_module['ns3::int64x64_t'])
179 ## trailer.h (module 'network'): ns3::Trailer [class]
180 module.add_class('Trailer', import_from_module='ns.network', parent=root_module['ns3::Chunk'])
Ilya Moiseenko02fb7062011-08-11 17:18:00 -0700181 ## udp-socket-factory.h (module 'internet'): ns3::UdpSocketFactory [class]
182 module.add_class('UdpSocketFactory', import_from_module='ns.internet', parent=root_module['ns3::SocketFactory'])
183 ## application.h (module 'network'): ns3::Application [class]
184 module.add_class('Application', import_from_module='ns.network', parent=root_module['ns3::Object'])
Ilya Moiseenko1762af72011-07-18 16:43:10 -0700185 ## attribute.h (module 'core'): ns3::AttributeAccessor [class]
186 module.add_class('AttributeAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >'])
187 ## attribute.h (module 'core'): ns3::AttributeChecker [class]
188 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> >'])
189 ## attribute.h (module 'core'): ns3::AttributeValue [class]
190 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> >'])
191 ## callback.h (module 'core'): ns3::CallbackChecker [class]
192 module.add_class('CallbackChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
193 ## callback.h (module 'core'): ns3::CallbackImplBase [class]
194 module.add_class('CallbackImplBase', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >'])
195 ## callback.h (module 'core'): ns3::CallbackValue [class]
196 module.add_class('CallbackValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
197 ## attribute.h (module 'core'): ns3::EmptyAttributeValue [class]
198 module.add_class('EmptyAttributeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
199 ## event-impl.h (module 'core'): ns3::EventImpl [class]
200 module.add_class('EventImpl', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >'])
Ilya Moiseenkoc166cd32011-08-12 12:50:30 -0700201 ## integer.h (module 'core'): ns3::IntegerValue [class]
202 module.add_class('IntegerValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Ilya Moiseenko1762af72011-07-18 16:43:10 -0700203 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker [class]
204 module.add_class('Ipv4AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
205 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue [class]
206 module.add_class('Ipv4AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
Ilya Moiseenko1762af72011-07-18 16:43:10 -0700207 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker [class]
208 module.add_class('Ipv4MaskChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
209 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue [class]
210 module.add_class('Ipv4MaskValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
Ilya Moiseenko1762af72011-07-18 16:43:10 -0700211 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker [class]
212 module.add_class('Ipv6AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
213 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue [class]
214 module.add_class('Ipv6AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
215 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker [class]
216 module.add_class('Ipv6PrefixChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
217 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue [class]
218 module.add_class('Ipv6PrefixValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
219 ## net-device.h (module 'network'): ns3::NetDevice [class]
220 module.add_class('NetDevice', import_from_module='ns.network', parent=root_module['ns3::Object'])
221 ## net-device.h (module 'network'): ns3::NetDevice::PacketType [enumeration]
222 module.add_enum('PacketType', ['PACKET_HOST', 'NS3_PACKET_HOST', 'PACKET_BROADCAST', 'NS3_PACKET_BROADCAST', 'PACKET_MULTICAST', 'NS3_PACKET_MULTICAST', 'PACKET_OTHERHOST', 'NS3_PACKET_OTHERHOST'], outer_class=root_module['ns3::NetDevice'], import_from_module='ns.network')
223 ## nix-vector.h (module 'network'): ns3::NixVector [class]
224 module.add_class('NixVector', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >'])
225 ## node.h (module 'network'): ns3::Node [class]
226 module.add_class('Node', import_from_module='ns.network', parent=root_module['ns3::Object'])
227 ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker [class]
228 module.add_class('ObjectFactoryChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
229 ## object-factory.h (module 'core'): ns3::ObjectFactoryValue [class]
230 module.add_class('ObjectFactoryValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Ilya Moiseenko1762af72011-07-18 16:43:10 -0700231 ## packet.h (module 'network'): ns3::Packet [class]
232 module.add_class('Packet', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >'])
Ilya Moiseenko02fb7062011-08-11 17:18:00 -0700233 ## random-variable.h (module 'core'): ns3::RandomVariableChecker [class]
234 module.add_class('RandomVariableChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
235 ## random-variable.h (module 'core'): ns3::RandomVariableValue [class]
236 module.add_class('RandomVariableValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
237 ## stupid-interest-generator.h (module 'NDNabstraction'): ns3::StupidInterestGenerator [class]
238 module.add_class('StupidInterestGenerator', parent=root_module['ns3::Application'])
239 ## stupid-interest-sink.h (module 'NDNabstraction'): ns3::StupidInterestSink [class]
240 module.add_class('StupidInterestSink', parent=root_module['ns3::Application'])
Ilya Moiseenko1762af72011-07-18 16:43:10 -0700241 ## nstime.h (module 'core'): ns3::TimeChecker [class]
242 module.add_class('TimeChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
243 ## nstime.h (module 'core'): ns3::TimeValue [class]
244 module.add_class('TimeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
245 ## type-id.h (module 'core'): ns3::TypeIdChecker [class]
246 module.add_class('TypeIdChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
247 ## type-id.h (module 'core'): ns3::TypeIdValue [class]
248 module.add_class('TypeIdValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
249 ## address.h (module 'network'): ns3::AddressChecker [class]
250 module.add_class('AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
251 ## address.h (module 'network'): ns3::AddressValue [class]
252 module.add_class('AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
Ilya Moiseenko02fb7062011-08-11 17:18:00 -0700253 module.add_container('std::list< ns3::Ptr< ns3::Socket > >', 'ns3::Ptr< ns3::Socket >', container_type='list')
254 typehandlers.add_type_alias('void ( * ) ( std::ostream & ) *', 'ns3::LogTimePrinter')
255 typehandlers.add_type_alias('void ( * ) ( std::ostream & ) **', 'ns3::LogTimePrinter*')
256 typehandlers.add_type_alias('void ( * ) ( std::ostream & ) *&', 'ns3::LogTimePrinter&')
257 typehandlers.add_type_alias('void ( * ) ( std::ostream & ) *', 'ns3::LogNodePrinter')
258 typehandlers.add_type_alias('void ( * ) ( std::ostream & ) **', 'ns3::LogNodePrinter*')
259 typehandlers.add_type_alias('void ( * ) ( std::ostream & ) *&', 'ns3::LogNodePrinter&')
Ilya Moiseenko1762af72011-07-18 16:43:10 -0700260
261 ## Register a nested module for the namespace FatalImpl
262
263 nested_module = module.add_cpp_namespace('FatalImpl')
264 register_types_ns3_FatalImpl(nested_module)
265
266
Ilya Moiseenko02fb7062011-08-11 17:18:00 -0700267 ## Register a nested module for the namespace NDNabstraction
Ilya Moiseenko1762af72011-07-18 16:43:10 -0700268
Ilya Moiseenko02fb7062011-08-11 17:18:00 -0700269 nested_module = module.add_cpp_namespace('NDNabstraction')
270 register_types_ns3_NDNabstraction(nested_module)
Ilya Moiseenko1762af72011-07-18 16:43:10 -0700271
Ilya Moiseenkoc166cd32011-08-12 12:50:30 -0700272
273 ## Register a nested module for the namespace internal
274
275 nested_module = module.add_cpp_namespace('internal')
276 register_types_ns3_internal(nested_module)
277
Ilya Moiseenko1762af72011-07-18 16:43:10 -0700278
279def register_types_ns3_FatalImpl(module):
280 root_module = module.get_root()
281
282
Ilya Moiseenko02fb7062011-08-11 17:18:00 -0700283def register_types_ns3_NDNabstraction(module):
Ilya Moiseenko1762af72011-07-18 16:43:10 -0700284 root_module = module.get_root()
285
Ilya Moiseenko02fb7062011-08-11 17:18:00 -0700286 ## ndn_contentpacket.h (module 'NDNabstraction'): ns3::NDNabstraction::ContentPacket [class]
287 module.add_class('ContentPacket', parent=root_module['ns3::Packet'])
Ilya Moiseenkoc166cd32011-08-12 12:50:30 -0700288 ## interest-packet.h (module 'NDNabstraction'): ns3::NDNabstraction::InterestHeader [class]
289 module.add_class('InterestHeader', parent=root_module['ns3::Header'])
Ilya Moiseenko02fb7062011-08-11 17:18:00 -0700290 ## ndn_nonceheader.h (module 'NDNabstraction'): ns3::NDNabstraction::NonceHeader [class]
291 module.add_class('NonceHeader', parent=root_module['ns3::Header'])
292 ## ndn_timeoutheader.h (module 'NDNabstraction'): ns3::NDNabstraction::TimeoutHeader [class]
293 module.add_class('TimeoutHeader', parent=root_module['ns3::Header'])
Ilya Moiseenkoc166cd32011-08-12 12:50:30 -0700294
295 ## Register a nested module for the namespace Name
296
297 nested_module = module.add_cpp_namespace('Name')
298 register_types_ns3_NDNabstraction_Name(nested_module)
299
300
301def register_types_ns3_NDNabstraction_Name(module):
302 root_module = module.get_root()
303
304 ## name-components.h (module 'NDNabstraction'): ns3::NDNabstraction::Name::Components [class]
305 module.add_class('Components', parent=root_module['ns3::SimpleRefCount< ns3::NDNabstraction::Name::Components, ns3::empty, ns3::DefaultDeleter<ns3::NDNabstraction::Name::Components> >'])
306
307def register_types_ns3_internal(module):
308 root_module = module.get_root()
309
Ilya Moiseenko1762af72011-07-18 16:43:10 -0700310
311def register_methods(root_module):
312 register_Ns3Address_methods(root_module, root_module['ns3::Address'])
Ilya Moiseenko02fb7062011-08-11 17:18:00 -0700313 register_Ns3ApplicationContainer_methods(root_module, root_module['ns3::ApplicationContainer'])
Ilya Moiseenko1762af72011-07-18 16:43:10 -0700314 register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList'])
315 register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer'])
316 register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator'])
317 register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator'])
318 register_Ns3ByteTagIteratorItem_methods(root_module, root_module['ns3::ByteTagIterator::Item'])
319 register_Ns3ByteTagList_methods(root_module, root_module['ns3::ByteTagList'])
320 register_Ns3ByteTagListIterator_methods(root_module, root_module['ns3::ByteTagList::Iterator'])
321 register_Ns3ByteTagListIteratorItem_methods(root_module, root_module['ns3::ByteTagList::Iterator::Item'])
322 register_Ns3CallbackBase_methods(root_module, root_module['ns3::CallbackBase'])
Ilya Moiseenko1762af72011-07-18 16:43:10 -0700323 register_Ns3EventId_methods(root_module, root_module['ns3::EventId'])
Ilya Moiseenko1762af72011-07-18 16:43:10 -0700324 register_Ns3Ipv4Address_methods(root_module, root_module['ns3::Ipv4Address'])
Ilya Moiseenko1762af72011-07-18 16:43:10 -0700325 register_Ns3Ipv4Mask_methods(root_module, root_module['ns3::Ipv4Mask'])
Ilya Moiseenko1762af72011-07-18 16:43:10 -0700326 register_Ns3Ipv6Address_methods(root_module, root_module['ns3::Ipv6Address'])
327 register_Ns3Ipv6Prefix_methods(root_module, root_module['ns3::Ipv6Prefix'])
Ilya Moiseenko02fb7062011-08-11 17:18:00 -0700328 register_Ns3LogComponent_methods(root_module, root_module['ns3::LogComponent'])
329 register_Ns3NdnFace_methods(root_module, root_module['ns3::NdnFace'])
Ilya Moiseenko1762af72011-07-18 16:43:10 -0700330 register_Ns3NodeContainer_methods(root_module, root_module['ns3::NodeContainer'])
331 register_Ns3ObjectBase_methods(root_module, root_module['ns3::ObjectBase'])
332 register_Ns3ObjectDeleter_methods(root_module, root_module['ns3::ObjectDeleter'])
333 register_Ns3ObjectFactory_methods(root_module, root_module['ns3::ObjectFactory'])
Ilya Moiseenko1762af72011-07-18 16:43:10 -0700334 register_Ns3PacketMetadata_methods(root_module, root_module['ns3::PacketMetadata'])
335 register_Ns3PacketMetadataItem_methods(root_module, root_module['ns3::PacketMetadata::Item'])
336 register_Ns3PacketMetadataItemIterator_methods(root_module, root_module['ns3::PacketMetadata::ItemIterator'])
337 register_Ns3PacketTagIterator_methods(root_module, root_module['ns3::PacketTagIterator'])
338 register_Ns3PacketTagIteratorItem_methods(root_module, root_module['ns3::PacketTagIterator::Item'])
339 register_Ns3PacketTagList_methods(root_module, root_module['ns3::PacketTagList'])
340 register_Ns3PacketTagListTagData_methods(root_module, root_module['ns3::PacketTagList::TagData'])
Ilya Moiseenko02fb7062011-08-11 17:18:00 -0700341 register_Ns3RandomVariable_methods(root_module, root_module['ns3::RandomVariable'])
342 register_Ns3SeedManager_methods(root_module, root_module['ns3::SeedManager'])
343 register_Ns3SequentialVariable_methods(root_module, root_module['ns3::SequentialVariable'])
Ilya Moiseenko1762af72011-07-18 16:43:10 -0700344 register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >'])
Ilya Moiseenko02fb7062011-08-11 17:18:00 -0700345 register_Ns3StupidInterestGeneratorHelper_methods(root_module, root_module['ns3::StupidInterestGeneratorHelper'])
Ilya Moiseenko1762af72011-07-18 16:43:10 -0700346 register_Ns3Tag_methods(root_module, root_module['ns3::Tag'])
347 register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer'])
Ilya Moiseenko02fb7062011-08-11 17:18:00 -0700348 register_Ns3TriangularVariable_methods(root_module, root_module['ns3::TriangularVariable'])
Ilya Moiseenko1762af72011-07-18 16:43:10 -0700349 register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId'])
350 register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo'])
Ilya Moiseenko02fb7062011-08-11 17:18:00 -0700351 register_Ns3UniformVariable_methods(root_module, root_module['ns3::UniformVariable'])
Ilya Moiseenko1762af72011-07-18 16:43:10 -0700352 register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList'])
Ilya Moiseenko02fb7062011-08-11 17:18:00 -0700353 register_Ns3WeibullVariable_methods(root_module, root_module['ns3::WeibullVariable'])
354 register_Ns3ZetaVariable_methods(root_module, root_module['ns3::ZetaVariable'])
355 register_Ns3ZipfVariable_methods(root_module, root_module['ns3::ZipfVariable'])
Ilya Moiseenko1762af72011-07-18 16:43:10 -0700356 register_Ns3Empty_methods(root_module, root_module['ns3::empty'])
357 register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t'])
358 register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk'])
Ilya Moiseenko02fb7062011-08-11 17:18:00 -0700359 register_Ns3ConstantVariable_methods(root_module, root_module['ns3::ConstantVariable'])
360 register_Ns3DeterministicVariable_methods(root_module, root_module['ns3::DeterministicVariable'])
361 register_Ns3EmpiricalVariable_methods(root_module, root_module['ns3::EmpiricalVariable'])
362 register_Ns3ErlangVariable_methods(root_module, root_module['ns3::ErlangVariable'])
363 register_Ns3ExponentialVariable_methods(root_module, root_module['ns3::ExponentialVariable'])
364 register_Ns3GammaVariable_methods(root_module, root_module['ns3::GammaVariable'])
Ilya Moiseenko1762af72011-07-18 16:43:10 -0700365 register_Ns3Header_methods(root_module, root_module['ns3::Header'])
Ilya Moiseenko02fb7062011-08-11 17:18:00 -0700366 register_Ns3IntEmpiricalVariable_methods(root_module, root_module['ns3::IntEmpiricalVariable'])
367 register_Ns3LogNormalVariable_methods(root_module, root_module['ns3::LogNormalVariable'])
368 register_Ns3NormalVariable_methods(root_module, root_module['ns3::NormalVariable'])
Ilya Moiseenko1762af72011-07-18 16:43:10 -0700369 register_Ns3Object_methods(root_module, root_module['ns3::Object'])
370 register_Ns3ObjectAggregateIterator_methods(root_module, root_module['ns3::Object::AggregateIterator'])
Ilya Moiseenko02fb7062011-08-11 17:18:00 -0700371 register_Ns3ParetoVariable_methods(root_module, root_module['ns3::ParetoVariable'])
Ilya Moiseenko1762af72011-07-18 16:43:10 -0700372 register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >'])
373 register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeChecker__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >'])
374 register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >'])
375 register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >'])
376 register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >'])
Ilya Moiseenkoc166cd32011-08-12 12:50:30 -0700377 register_Ns3SimpleRefCount__Ns3NDNabstractionNameComponents_Ns3Empty_Ns3DefaultDeleter__lt__ns3NDNabstractionNameComponents__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::NDNabstraction::Name::Components, ns3::empty, ns3::DefaultDeleter<ns3::NDNabstraction::Name::Components> >'])
Ilya Moiseenko1762af72011-07-18 16:43:10 -0700378 register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >'])
Ilya Moiseenko1762af72011-07-18 16:43:10 -0700379 register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >'])
Ilya Moiseenko02fb7062011-08-11 17:18:00 -0700380 register_Ns3SocketFactory_methods(root_module, root_module['ns3::SocketFactory'])
Ilya Moiseenko1762af72011-07-18 16:43:10 -0700381 register_Ns3Time_methods(root_module, root_module['ns3::Time'])
382 register_Ns3Trailer_methods(root_module, root_module['ns3::Trailer'])
Ilya Moiseenko02fb7062011-08-11 17:18:00 -0700383 register_Ns3UdpSocketFactory_methods(root_module, root_module['ns3::UdpSocketFactory'])
384 register_Ns3Application_methods(root_module, root_module['ns3::Application'])
Ilya Moiseenko1762af72011-07-18 16:43:10 -0700385 register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor'])
386 register_Ns3AttributeChecker_methods(root_module, root_module['ns3::AttributeChecker'])
387 register_Ns3AttributeValue_methods(root_module, root_module['ns3::AttributeValue'])
388 register_Ns3CallbackChecker_methods(root_module, root_module['ns3::CallbackChecker'])
389 register_Ns3CallbackImplBase_methods(root_module, root_module['ns3::CallbackImplBase'])
390 register_Ns3CallbackValue_methods(root_module, root_module['ns3::CallbackValue'])
391 register_Ns3EmptyAttributeValue_methods(root_module, root_module['ns3::EmptyAttributeValue'])
392 register_Ns3EventImpl_methods(root_module, root_module['ns3::EventImpl'])
Ilya Moiseenkoc166cd32011-08-12 12:50:30 -0700393 register_Ns3IntegerValue_methods(root_module, root_module['ns3::IntegerValue'])
Ilya Moiseenko1762af72011-07-18 16:43:10 -0700394 register_Ns3Ipv4AddressChecker_methods(root_module, root_module['ns3::Ipv4AddressChecker'])
395 register_Ns3Ipv4AddressValue_methods(root_module, root_module['ns3::Ipv4AddressValue'])
Ilya Moiseenko1762af72011-07-18 16:43:10 -0700396 register_Ns3Ipv4MaskChecker_methods(root_module, root_module['ns3::Ipv4MaskChecker'])
397 register_Ns3Ipv4MaskValue_methods(root_module, root_module['ns3::Ipv4MaskValue'])
Ilya Moiseenko1762af72011-07-18 16:43:10 -0700398 register_Ns3Ipv6AddressChecker_methods(root_module, root_module['ns3::Ipv6AddressChecker'])
399 register_Ns3Ipv6AddressValue_methods(root_module, root_module['ns3::Ipv6AddressValue'])
400 register_Ns3Ipv6PrefixChecker_methods(root_module, root_module['ns3::Ipv6PrefixChecker'])
401 register_Ns3Ipv6PrefixValue_methods(root_module, root_module['ns3::Ipv6PrefixValue'])
402 register_Ns3NetDevice_methods(root_module, root_module['ns3::NetDevice'])
403 register_Ns3NixVector_methods(root_module, root_module['ns3::NixVector'])
404 register_Ns3Node_methods(root_module, root_module['ns3::Node'])
405 register_Ns3ObjectFactoryChecker_methods(root_module, root_module['ns3::ObjectFactoryChecker'])
406 register_Ns3ObjectFactoryValue_methods(root_module, root_module['ns3::ObjectFactoryValue'])
Ilya Moiseenko1762af72011-07-18 16:43:10 -0700407 register_Ns3Packet_methods(root_module, root_module['ns3::Packet'])
Ilya Moiseenko02fb7062011-08-11 17:18:00 -0700408 register_Ns3RandomVariableChecker_methods(root_module, root_module['ns3::RandomVariableChecker'])
409 register_Ns3RandomVariableValue_methods(root_module, root_module['ns3::RandomVariableValue'])
410 register_Ns3StupidInterestGenerator_methods(root_module, root_module['ns3::StupidInterestGenerator'])
411 register_Ns3StupidInterestSink_methods(root_module, root_module['ns3::StupidInterestSink'])
Ilya Moiseenko1762af72011-07-18 16:43:10 -0700412 register_Ns3TimeChecker_methods(root_module, root_module['ns3::TimeChecker'])
413 register_Ns3TimeValue_methods(root_module, root_module['ns3::TimeValue'])
414 register_Ns3TypeIdChecker_methods(root_module, root_module['ns3::TypeIdChecker'])
415 register_Ns3TypeIdValue_methods(root_module, root_module['ns3::TypeIdValue'])
416 register_Ns3AddressChecker_methods(root_module, root_module['ns3::AddressChecker'])
417 register_Ns3AddressValue_methods(root_module, root_module['ns3::AddressValue'])
Ilya Moiseenko02fb7062011-08-11 17:18:00 -0700418 register_Ns3NDNabstractionContentPacket_methods(root_module, root_module['ns3::NDNabstraction::ContentPacket'])
Ilya Moiseenkoc166cd32011-08-12 12:50:30 -0700419 register_Ns3NDNabstractionInterestHeader_methods(root_module, root_module['ns3::NDNabstraction::InterestHeader'])
Ilya Moiseenko02fb7062011-08-11 17:18:00 -0700420 register_Ns3NDNabstractionNonceHeader_methods(root_module, root_module['ns3::NDNabstraction::NonceHeader'])
421 register_Ns3NDNabstractionTimeoutHeader_methods(root_module, root_module['ns3::NDNabstraction::TimeoutHeader'])
Ilya Moiseenkoc166cd32011-08-12 12:50:30 -0700422 register_Ns3NDNabstractionNameComponents_methods(root_module, root_module['ns3::NDNabstraction::Name::Components'])
Ilya Moiseenko1762af72011-07-18 16:43:10 -0700423 return
424
425def register_Ns3Address_methods(root_module, cls):
426 cls.add_binary_comparison_operator('<')
427 cls.add_binary_comparison_operator('!=')
428 cls.add_output_stream_operator()
429 cls.add_binary_comparison_operator('==')
430 ## address.h (module 'network'): ns3::Address::Address() [constructor]
431 cls.add_constructor([])
432 ## address.h (module 'network'): ns3::Address::Address(uint8_t type, uint8_t const * buffer, uint8_t len) [constructor]
433 cls.add_constructor([param('uint8_t', 'type'), param('uint8_t const *', 'buffer'), param('uint8_t', 'len')])
434 ## address.h (module 'network'): ns3::Address::Address(ns3::Address const & address) [copy constructor]
435 cls.add_constructor([param('ns3::Address const &', 'address')])
436 ## address.h (module 'network'): bool ns3::Address::CheckCompatible(uint8_t type, uint8_t len) const [member function]
437 cls.add_method('CheckCompatible',
438 'bool',
439 [param('uint8_t', 'type'), param('uint8_t', 'len')],
440 is_const=True)
441 ## address.h (module 'network'): uint32_t ns3::Address::CopyAllFrom(uint8_t const * buffer, uint8_t len) [member function]
442 cls.add_method('CopyAllFrom',
443 'uint32_t',
444 [param('uint8_t const *', 'buffer'), param('uint8_t', 'len')])
445 ## address.h (module 'network'): uint32_t ns3::Address::CopyAllTo(uint8_t * buffer, uint8_t len) const [member function]
446 cls.add_method('CopyAllTo',
447 'uint32_t',
448 [param('uint8_t *', 'buffer'), param('uint8_t', 'len')],
449 is_const=True)
450 ## address.h (module 'network'): uint32_t ns3::Address::CopyFrom(uint8_t const * buffer, uint8_t len) [member function]
451 cls.add_method('CopyFrom',
452 'uint32_t',
453 [param('uint8_t const *', 'buffer'), param('uint8_t', 'len')])
454 ## address.h (module 'network'): uint32_t ns3::Address::CopyTo(uint8_t * buffer) const [member function]
455 cls.add_method('CopyTo',
456 'uint32_t',
457 [param('uint8_t *', 'buffer')],
458 is_const=True)
459 ## address.h (module 'network'): void ns3::Address::Deserialize(ns3::TagBuffer buffer) [member function]
460 cls.add_method('Deserialize',
461 'void',
462 [param('ns3::TagBuffer', 'buffer')])
463 ## address.h (module 'network'): uint8_t ns3::Address::GetLength() const [member function]
464 cls.add_method('GetLength',
465 'uint8_t',
466 [],
467 is_const=True)
468 ## address.h (module 'network'): uint32_t ns3::Address::GetSerializedSize() const [member function]
469 cls.add_method('GetSerializedSize',
470 'uint32_t',
471 [],
472 is_const=True)
473 ## address.h (module 'network'): bool ns3::Address::IsInvalid() const [member function]
474 cls.add_method('IsInvalid',
475 'bool',
476 [],
477 is_const=True)
478 ## address.h (module 'network'): bool ns3::Address::IsMatchingType(uint8_t type) const [member function]
479 cls.add_method('IsMatchingType',
480 'bool',
481 [param('uint8_t', 'type')],
482 is_const=True)
483 ## address.h (module 'network'): static uint8_t ns3::Address::Register() [member function]
484 cls.add_method('Register',
485 'uint8_t',
486 [],
487 is_static=True)
488 ## address.h (module 'network'): void ns3::Address::Serialize(ns3::TagBuffer buffer) const [member function]
489 cls.add_method('Serialize',
490 'void',
491 [param('ns3::TagBuffer', 'buffer')],
492 is_const=True)
493 return
494
Ilya Moiseenko02fb7062011-08-11 17:18:00 -0700495def register_Ns3ApplicationContainer_methods(root_module, cls):
496 ## application-container.h (module 'network'): ns3::ApplicationContainer::ApplicationContainer(ns3::ApplicationContainer const & arg0) [copy constructor]
497 cls.add_constructor([param('ns3::ApplicationContainer const &', 'arg0')])
498 ## application-container.h (module 'network'): ns3::ApplicationContainer::ApplicationContainer() [constructor]
499 cls.add_constructor([])
500 ## application-container.h (module 'network'): ns3::ApplicationContainer::ApplicationContainer(ns3::Ptr<ns3::Application> application) [constructor]
501 cls.add_constructor([param('ns3::Ptr< ns3::Application >', 'application')])
502 ## application-container.h (module 'network'): ns3::ApplicationContainer::ApplicationContainer(std::string name) [constructor]
503 cls.add_constructor([param('std::string', 'name')])
504 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Add(ns3::ApplicationContainer other) [member function]
505 cls.add_method('Add',
506 'void',
507 [param('ns3::ApplicationContainer', 'other')])
508 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Add(ns3::Ptr<ns3::Application> application) [member function]
509 cls.add_method('Add',
510 'void',
511 [param('ns3::Ptr< ns3::Application >', 'application')])
512 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Add(std::string name) [member function]
513 cls.add_method('Add',
514 'void',
515 [param('std::string', 'name')])
516 ## application-container.h (module 'network'): __gnu_cxx::__normal_iterator<const ns3::Ptr<ns3::Application>*,std::vector<ns3::Ptr<ns3::Application>, std::allocator<ns3::Ptr<ns3::Application> > > > ns3::ApplicationContainer::Begin() const [member function]
517 cls.add_method('Begin',
518 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Application > const, std::vector< ns3::Ptr< ns3::Application > > >',
519 [],
520 is_const=True)
521 ## application-container.h (module 'network'): __gnu_cxx::__normal_iterator<const ns3::Ptr<ns3::Application>*,std::vector<ns3::Ptr<ns3::Application>, std::allocator<ns3::Ptr<ns3::Application> > > > ns3::ApplicationContainer::End() const [member function]
522 cls.add_method('End',
523 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Application > const, std::vector< ns3::Ptr< ns3::Application > > >',
524 [],
525 is_const=True)
526 ## application-container.h (module 'network'): ns3::Ptr<ns3::Application> ns3::ApplicationContainer::Get(uint32_t i) const [member function]
527 cls.add_method('Get',
528 'ns3::Ptr< ns3::Application >',
529 [param('uint32_t', 'i')],
530 is_const=True)
531 ## application-container.h (module 'network'): uint32_t ns3::ApplicationContainer::GetN() const [member function]
532 cls.add_method('GetN',
533 'uint32_t',
534 [],
535 is_const=True)
536 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Start(ns3::Time start) [member function]
537 cls.add_method('Start',
538 'void',
539 [param('ns3::Time', 'start')])
540 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Stop(ns3::Time stop) [member function]
541 cls.add_method('Stop',
542 'void',
543 [param('ns3::Time', 'stop')])
544 return
545
Ilya Moiseenko1762af72011-07-18 16:43:10 -0700546def register_Ns3AttributeList_methods(root_module, cls):
547 ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor]
548 cls.add_constructor([])
549 ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor]
550 cls.add_constructor([param('ns3::AttributeList const &', 'o')])
551 ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function]
552 cls.add_method('DeserializeFromString',
553 'bool',
554 [param('std::string', 'value')])
555 ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function]
556 cls.add_method('GetGlobal',
557 'ns3::AttributeList *',
558 [],
559 is_static=True)
560 ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function]
561 cls.add_method('Reset',
562 'void',
563 [])
564 ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function]
565 cls.add_method('SerializeToString',
566 'std::string',
567 [],
568 is_const=True)
569 ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function]
570 cls.add_method('Set',
571 'void',
572 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
573 ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function]
574 cls.add_method('SetFailSafe',
575 'bool',
576 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
577 ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function]
578 cls.add_method('SetWithTid',
579 'void',
580 [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
581 return
582
583def register_Ns3Buffer_methods(root_module, cls):
584 ## buffer.h (module 'network'): ns3::Buffer::Buffer() [constructor]
585 cls.add_constructor([])
586 ## buffer.h (module 'network'): ns3::Buffer::Buffer(uint32_t dataSize) [constructor]
587 cls.add_constructor([param('uint32_t', 'dataSize')])
588 ## buffer.h (module 'network'): ns3::Buffer::Buffer(uint32_t dataSize, bool initialize) [constructor]
589 cls.add_constructor([param('uint32_t', 'dataSize'), param('bool', 'initialize')])
590 ## buffer.h (module 'network'): ns3::Buffer::Buffer(ns3::Buffer const & o) [copy constructor]
591 cls.add_constructor([param('ns3::Buffer const &', 'o')])
592 ## buffer.h (module 'network'): bool ns3::Buffer::AddAtEnd(uint32_t end) [member function]
593 cls.add_method('AddAtEnd',
594 'bool',
595 [param('uint32_t', 'end')])
596 ## buffer.h (module 'network'): void ns3::Buffer::AddAtEnd(ns3::Buffer const & o) [member function]
597 cls.add_method('AddAtEnd',
598 'void',
599 [param('ns3::Buffer const &', 'o')])
600 ## buffer.h (module 'network'): bool ns3::Buffer::AddAtStart(uint32_t start) [member function]
601 cls.add_method('AddAtStart',
602 'bool',
603 [param('uint32_t', 'start')])
604 ## buffer.h (module 'network'): ns3::Buffer::Iterator ns3::Buffer::Begin() const [member function]
605 cls.add_method('Begin',
606 'ns3::Buffer::Iterator',
607 [],
608 is_const=True)
609 ## buffer.h (module 'network'): void ns3::Buffer::CopyData(std::ostream * os, uint32_t size) const [member function]
610 cls.add_method('CopyData',
611 'void',
612 [param('std::ostream *', 'os'), param('uint32_t', 'size')],
613 is_const=True)
614 ## buffer.h (module 'network'): uint32_t ns3::Buffer::CopyData(uint8_t * buffer, uint32_t size) const [member function]
615 cls.add_method('CopyData',
616 'uint32_t',
617 [param('uint8_t *', 'buffer'), param('uint32_t', 'size')],
618 is_const=True)
619 ## buffer.h (module 'network'): ns3::Buffer ns3::Buffer::CreateFragment(uint32_t start, uint32_t length) const [member function]
620 cls.add_method('CreateFragment',
621 'ns3::Buffer',
622 [param('uint32_t', 'start'), param('uint32_t', 'length')],
623 is_const=True)
624 ## buffer.h (module 'network'): ns3::Buffer ns3::Buffer::CreateFullCopy() const [member function]
625 cls.add_method('CreateFullCopy',
626 'ns3::Buffer',
627 [],
628 is_const=True)
629 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Deserialize(uint8_t const * buffer, uint32_t size) [member function]
630 cls.add_method('Deserialize',
631 'uint32_t',
632 [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
633 ## buffer.h (module 'network'): ns3::Buffer::Iterator ns3::Buffer::End() const [member function]
634 cls.add_method('End',
635 'ns3::Buffer::Iterator',
636 [],
637 is_const=True)
638 ## buffer.h (module 'network'): int32_t ns3::Buffer::GetCurrentEndOffset() const [member function]
639 cls.add_method('GetCurrentEndOffset',
640 'int32_t',
641 [],
642 is_const=True)
643 ## buffer.h (module 'network'): int32_t ns3::Buffer::GetCurrentStartOffset() const [member function]
644 cls.add_method('GetCurrentStartOffset',
645 'int32_t',
646 [],
647 is_const=True)
648 ## buffer.h (module 'network'): uint32_t ns3::Buffer::GetSerializedSize() const [member function]
649 cls.add_method('GetSerializedSize',
650 'uint32_t',
651 [],
652 is_const=True)
653 ## buffer.h (module 'network'): uint32_t ns3::Buffer::GetSize() const [member function]
654 cls.add_method('GetSize',
655 'uint32_t',
656 [],
657 is_const=True)
658 ## buffer.h (module 'network'): uint8_t const * ns3::Buffer::PeekData() const [member function]
659 cls.add_method('PeekData',
660 'uint8_t const *',
661 [],
662 is_const=True)
663 ## buffer.h (module 'network'): void ns3::Buffer::RemoveAtEnd(uint32_t end) [member function]
664 cls.add_method('RemoveAtEnd',
665 'void',
666 [param('uint32_t', 'end')])
667 ## buffer.h (module 'network'): void ns3::Buffer::RemoveAtStart(uint32_t start) [member function]
668 cls.add_method('RemoveAtStart',
669 'void',
670 [param('uint32_t', 'start')])
671 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
672 cls.add_method('Serialize',
673 'uint32_t',
674 [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')],
675 is_const=True)
676 return
677
678def register_Ns3BufferIterator_methods(root_module, cls):
679 ## buffer.h (module 'network'): ns3::Buffer::Iterator::Iterator(ns3::Buffer::Iterator const & arg0) [copy constructor]
680 cls.add_constructor([param('ns3::Buffer::Iterator const &', 'arg0')])
681 ## buffer.h (module 'network'): ns3::Buffer::Iterator::Iterator() [constructor]
682 cls.add_constructor([])
683 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::CalculateIpChecksum(uint16_t size) [member function]
684 cls.add_method('CalculateIpChecksum',
685 'uint16_t',
686 [param('uint16_t', 'size')])
687 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::CalculateIpChecksum(uint16_t size, uint32_t initialChecksum) [member function]
688 cls.add_method('CalculateIpChecksum',
689 'uint16_t',
690 [param('uint16_t', 'size'), param('uint32_t', 'initialChecksum')])
691 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::GetDistanceFrom(ns3::Buffer::Iterator const & o) const [member function]
692 cls.add_method('GetDistanceFrom',
693 'uint32_t',
694 [param('ns3::Buffer::Iterator const &', 'o')],
695 is_const=True)
696 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::GetSize() const [member function]
697 cls.add_method('GetSize',
698 'uint32_t',
699 [],
700 is_const=True)
701 ## buffer.h (module 'network'): bool ns3::Buffer::Iterator::IsEnd() const [member function]
702 cls.add_method('IsEnd',
703 'bool',
704 [],
705 is_const=True)
706 ## buffer.h (module 'network'): bool ns3::Buffer::Iterator::IsStart() const [member function]
707 cls.add_method('IsStart',
708 'bool',
709 [],
710 is_const=True)
711 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Next() [member function]
712 cls.add_method('Next',
713 'void',
714 [])
715 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Next(uint32_t delta) [member function]
716 cls.add_method('Next',
717 'void',
718 [param('uint32_t', 'delta')])
719 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Prev() [member function]
720 cls.add_method('Prev',
721 'void',
722 [])
723 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Prev(uint32_t delta) [member function]
724 cls.add_method('Prev',
725 'void',
726 [param('uint32_t', 'delta')])
727 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Read(uint8_t * buffer, uint32_t size) [member function]
728 cls.add_method('Read',
729 'void',
730 [param('uint8_t *', 'buffer'), param('uint32_t', 'size')])
731 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadLsbtohU16() [member function]
732 cls.add_method('ReadLsbtohU16',
733 'uint16_t',
734 [])
735 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadLsbtohU32() [member function]
736 cls.add_method('ReadLsbtohU32',
737 'uint32_t',
738 [])
739 ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadLsbtohU64() [member function]
740 cls.add_method('ReadLsbtohU64',
741 'uint64_t',
742 [])
743 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadNtohU16() [member function]
744 cls.add_method('ReadNtohU16',
745 'uint16_t',
746 [])
747 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadNtohU32() [member function]
748 cls.add_method('ReadNtohU32',
749 'uint32_t',
750 [])
751 ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadNtohU64() [member function]
752 cls.add_method('ReadNtohU64',
753 'uint64_t',
754 [])
755 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadU16() [member function]
756 cls.add_method('ReadU16',
757 'uint16_t',
758 [])
759 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadU32() [member function]
760 cls.add_method('ReadU32',
761 'uint32_t',
762 [])
763 ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadU64() [member function]
764 cls.add_method('ReadU64',
765 'uint64_t',
766 [])
767 ## buffer.h (module 'network'): uint8_t ns3::Buffer::Iterator::ReadU8() [member function]
768 cls.add_method('ReadU8',
769 'uint8_t',
770 [])
771 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Write(uint8_t const * buffer, uint32_t size) [member function]
772 cls.add_method('Write',
773 'void',
774 [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
775 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Write(ns3::Buffer::Iterator start, ns3::Buffer::Iterator end) [member function]
776 cls.add_method('Write',
777 'void',
778 [param('ns3::Buffer::Iterator', 'start'), param('ns3::Buffer::Iterator', 'end')])
779 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU16(uint16_t data) [member function]
780 cls.add_method('WriteHtolsbU16',
781 'void',
782 [param('uint16_t', 'data')])
783 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU32(uint32_t data) [member function]
784 cls.add_method('WriteHtolsbU32',
785 'void',
786 [param('uint32_t', 'data')])
787 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU64(uint64_t data) [member function]
788 cls.add_method('WriteHtolsbU64',
789 'void',
790 [param('uint64_t', 'data')])
791 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU16(uint16_t data) [member function]
792 cls.add_method('WriteHtonU16',
793 'void',
794 [param('uint16_t', 'data')])
795 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU32(uint32_t data) [member function]
796 cls.add_method('WriteHtonU32',
797 'void',
798 [param('uint32_t', 'data')])
799 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU64(uint64_t data) [member function]
800 cls.add_method('WriteHtonU64',
801 'void',
802 [param('uint64_t', 'data')])
803 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU16(uint16_t data) [member function]
804 cls.add_method('WriteU16',
805 'void',
806 [param('uint16_t', 'data')])
807 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU32(uint32_t data) [member function]
808 cls.add_method('WriteU32',
809 'void',
810 [param('uint32_t', 'data')])
811 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU64(uint64_t data) [member function]
812 cls.add_method('WriteU64',
813 'void',
814 [param('uint64_t', 'data')])
815 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU8(uint8_t data) [member function]
816 cls.add_method('WriteU8',
817 'void',
818 [param('uint8_t', 'data')])
819 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU8(uint8_t data, uint32_t len) [member function]
820 cls.add_method('WriteU8',
821 'void',
822 [param('uint8_t', 'data'), param('uint32_t', 'len')])
823 return
824
825def register_Ns3ByteTagIterator_methods(root_module, cls):
826 ## packet.h (module 'network'): ns3::ByteTagIterator::ByteTagIterator(ns3::ByteTagIterator const & arg0) [copy constructor]
827 cls.add_constructor([param('ns3::ByteTagIterator const &', 'arg0')])
828 ## packet.h (module 'network'): bool ns3::ByteTagIterator::HasNext() const [member function]
829 cls.add_method('HasNext',
830 'bool',
831 [],
832 is_const=True)
833 ## packet.h (module 'network'): ns3::ByteTagIterator::Item ns3::ByteTagIterator::Next() [member function]
834 cls.add_method('Next',
835 'ns3::ByteTagIterator::Item',
836 [])
837 return
838
839def register_Ns3ByteTagIteratorItem_methods(root_module, cls):
840 ## packet.h (module 'network'): ns3::ByteTagIterator::Item::Item(ns3::ByteTagIterator::Item const & arg0) [copy constructor]
841 cls.add_constructor([param('ns3::ByteTagIterator::Item const &', 'arg0')])
842 ## packet.h (module 'network'): uint32_t ns3::ByteTagIterator::Item::GetEnd() const [member function]
843 cls.add_method('GetEnd',
844 'uint32_t',
845 [],
846 is_const=True)
847 ## packet.h (module 'network'): uint32_t ns3::ByteTagIterator::Item::GetStart() const [member function]
848 cls.add_method('GetStart',
849 'uint32_t',
850 [],
851 is_const=True)
852 ## packet.h (module 'network'): void ns3::ByteTagIterator::Item::GetTag(ns3::Tag & tag) const [member function]
853 cls.add_method('GetTag',
854 'void',
855 [param('ns3::Tag &', 'tag')],
856 is_const=True)
857 ## packet.h (module 'network'): ns3::TypeId ns3::ByteTagIterator::Item::GetTypeId() const [member function]
858 cls.add_method('GetTypeId',
859 'ns3::TypeId',
860 [],
861 is_const=True)
862 return
863
864def register_Ns3ByteTagList_methods(root_module, cls):
865 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::ByteTagList() [constructor]
866 cls.add_constructor([])
867 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::ByteTagList(ns3::ByteTagList const & o) [copy constructor]
868 cls.add_constructor([param('ns3::ByteTagList const &', 'o')])
869 ## byte-tag-list.h (module 'network'): ns3::TagBuffer ns3::ByteTagList::Add(ns3::TypeId tid, uint32_t bufferSize, int32_t start, int32_t end) [member function]
870 cls.add_method('Add',
871 'ns3::TagBuffer',
872 [param('ns3::TypeId', 'tid'), param('uint32_t', 'bufferSize'), param('int32_t', 'start'), param('int32_t', 'end')])
873 ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::Add(ns3::ByteTagList const & o) [member function]
874 cls.add_method('Add',
875 'void',
876 [param('ns3::ByteTagList const &', 'o')])
877 ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::AddAtEnd(int32_t adjustment, int32_t appendOffset) [member function]
878 cls.add_method('AddAtEnd',
879 'void',
880 [param('int32_t', 'adjustment'), param('int32_t', 'appendOffset')])
881 ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::AddAtStart(int32_t adjustment, int32_t prependOffset) [member function]
882 cls.add_method('AddAtStart',
883 'void',
884 [param('int32_t', 'adjustment'), param('int32_t', 'prependOffset')])
885 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator ns3::ByteTagList::Begin(int32_t offsetStart, int32_t offsetEnd) const [member function]
886 cls.add_method('Begin',
887 'ns3::ByteTagList::Iterator',
888 [param('int32_t', 'offsetStart'), param('int32_t', 'offsetEnd')],
889 is_const=True)
890 ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::RemoveAll() [member function]
891 cls.add_method('RemoveAll',
892 'void',
893 [])
894 return
895
896def register_Ns3ByteTagListIterator_methods(root_module, cls):
897 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Iterator(ns3::ByteTagList::Iterator const & arg0) [copy constructor]
898 cls.add_constructor([param('ns3::ByteTagList::Iterator const &', 'arg0')])
899 ## byte-tag-list.h (module 'network'): uint32_t ns3::ByteTagList::Iterator::GetOffsetStart() const [member function]
900 cls.add_method('GetOffsetStart',
901 'uint32_t',
902 [],
903 is_const=True)
904 ## byte-tag-list.h (module 'network'): bool ns3::ByteTagList::Iterator::HasNext() const [member function]
905 cls.add_method('HasNext',
906 'bool',
907 [],
908 is_const=True)
909 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item ns3::ByteTagList::Iterator::Next() [member function]
910 cls.add_method('Next',
911 'ns3::ByteTagList::Iterator::Item',
912 [])
913 return
914
915def register_Ns3ByteTagListIteratorItem_methods(root_module, cls):
916 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::Item(ns3::ByteTagList::Iterator::Item const & arg0) [copy constructor]
917 cls.add_constructor([param('ns3::ByteTagList::Iterator::Item const &', 'arg0')])
918 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::Item(ns3::TagBuffer buf) [constructor]
919 cls.add_constructor([param('ns3::TagBuffer', 'buf')])
920 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::buf [variable]
921 cls.add_instance_attribute('buf', 'ns3::TagBuffer', is_const=False)
922 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::end [variable]
923 cls.add_instance_attribute('end', 'int32_t', is_const=False)
924 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::size [variable]
925 cls.add_instance_attribute('size', 'uint32_t', is_const=False)
926 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::start [variable]
927 cls.add_instance_attribute('start', 'int32_t', is_const=False)
928 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::tid [variable]
929 cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
930 return
931
932def register_Ns3CallbackBase_methods(root_module, cls):
933 ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase(ns3::CallbackBase const & arg0) [copy constructor]
934 cls.add_constructor([param('ns3::CallbackBase const &', 'arg0')])
935 ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase() [constructor]
936 cls.add_constructor([])
937 ## callback.h (module 'core'): ns3::Ptr<ns3::CallbackImplBase> ns3::CallbackBase::GetImpl() const [member function]
938 cls.add_method('GetImpl',
939 'ns3::Ptr< ns3::CallbackImplBase >',
940 [],
941 is_const=True)
942 ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase(ns3::Ptr<ns3::CallbackImplBase> impl) [constructor]
943 cls.add_constructor([param('ns3::Ptr< ns3::CallbackImplBase >', 'impl')],
944 visibility='protected')
945 ## callback.h (module 'core'): static std::string ns3::CallbackBase::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 return
951
Ilya Moiseenko1762af72011-07-18 16:43:10 -0700952def register_Ns3EventId_methods(root_module, cls):
953 cls.add_binary_comparison_operator('!=')
954 cls.add_binary_comparison_operator('==')
955 ## event-id.h (module 'core'): ns3::EventId::EventId(ns3::EventId const & arg0) [copy constructor]
956 cls.add_constructor([param('ns3::EventId const &', 'arg0')])
957 ## event-id.h (module 'core'): ns3::EventId::EventId() [constructor]
958 cls.add_constructor([])
959 ## event-id.h (module 'core'): ns3::EventId::EventId(ns3::Ptr<ns3::EventImpl> const & impl, uint64_t ts, uint32_t context, uint32_t uid) [constructor]
960 cls.add_constructor([param('ns3::Ptr< ns3::EventImpl > const &', 'impl'), param('uint64_t', 'ts'), param('uint32_t', 'context'), param('uint32_t', 'uid')])
961 ## event-id.h (module 'core'): void ns3::EventId::Cancel() [member function]
962 cls.add_method('Cancel',
963 'void',
964 [])
965 ## event-id.h (module 'core'): uint32_t ns3::EventId::GetContext() const [member function]
966 cls.add_method('GetContext',
967 'uint32_t',
968 [],
969 is_const=True)
970 ## event-id.h (module 'core'): uint64_t ns3::EventId::GetTs() const [member function]
971 cls.add_method('GetTs',
972 'uint64_t',
973 [],
974 is_const=True)
975 ## event-id.h (module 'core'): uint32_t ns3::EventId::GetUid() const [member function]
976 cls.add_method('GetUid',
977 'uint32_t',
978 [],
979 is_const=True)
980 ## event-id.h (module 'core'): bool ns3::EventId::IsExpired() const [member function]
981 cls.add_method('IsExpired',
982 'bool',
983 [],
984 is_const=True)
985 ## event-id.h (module 'core'): bool ns3::EventId::IsRunning() const [member function]
986 cls.add_method('IsRunning',
987 'bool',
988 [],
989 is_const=True)
990 ## event-id.h (module 'core'): ns3::EventImpl * ns3::EventId::PeekEventImpl() const [member function]
991 cls.add_method('PeekEventImpl',
992 'ns3::EventImpl *',
993 [],
994 is_const=True)
995 return
996
Ilya Moiseenko1762af72011-07-18 16:43:10 -0700997def register_Ns3Ipv4Address_methods(root_module, cls):
998 cls.add_binary_comparison_operator('<')
999 cls.add_binary_comparison_operator('!=')
1000 cls.add_output_stream_operator()
1001 cls.add_binary_comparison_operator('==')
1002 ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(ns3::Ipv4Address const & arg0) [copy constructor]
1003 cls.add_constructor([param('ns3::Ipv4Address const &', 'arg0')])
1004 ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address() [constructor]
1005 cls.add_constructor([])
1006 ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(uint32_t address) [constructor]
1007 cls.add_constructor([param('uint32_t', 'address')])
1008 ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(char const * address) [constructor]
1009 cls.add_constructor([param('char const *', 'address')])
1010 ## ipv4-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv4Address::CombineMask(ns3::Ipv4Mask const & mask) const [member function]
1011 cls.add_method('CombineMask',
1012 'ns3::Ipv4Address',
1013 [param('ns3::Ipv4Mask const &', 'mask')],
1014 is_const=True)
1015 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::ConvertFrom(ns3::Address const & address) [member function]
1016 cls.add_method('ConvertFrom',
1017 'ns3::Ipv4Address',
1018 [param('ns3::Address const &', 'address')],
1019 is_static=True)
1020 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::Deserialize(uint8_t const * buf) [member function]
1021 cls.add_method('Deserialize',
1022 'ns3::Ipv4Address',
1023 [param('uint8_t const *', 'buf')],
1024 is_static=True)
1025 ## ipv4-address.h (module 'network'): uint32_t ns3::Ipv4Address::Get() const [member function]
1026 cls.add_method('Get',
1027 'uint32_t',
1028 [],
1029 is_const=True)
1030 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetAny() [member function]
1031 cls.add_method('GetAny',
1032 'ns3::Ipv4Address',
1033 [],
1034 is_static=True)
1035 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetBroadcast() [member function]
1036 cls.add_method('GetBroadcast',
1037 'ns3::Ipv4Address',
1038 [],
1039 is_static=True)
1040 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetLoopback() [member function]
1041 cls.add_method('GetLoopback',
1042 'ns3::Ipv4Address',
1043 [],
1044 is_static=True)
1045 ## ipv4-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv4Address::GetSubnetDirectedBroadcast(ns3::Ipv4Mask const & mask) const [member function]
1046 cls.add_method('GetSubnetDirectedBroadcast',
1047 'ns3::Ipv4Address',
1048 [param('ns3::Ipv4Mask const &', 'mask')],
1049 is_const=True)
1050 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetZero() [member function]
1051 cls.add_method('GetZero',
1052 'ns3::Ipv4Address',
1053 [],
1054 is_static=True)
1055 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsBroadcast() const [member function]
1056 cls.add_method('IsBroadcast',
1057 'bool',
1058 [],
1059 is_const=True)
1060 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsEqual(ns3::Ipv4Address const & other) const [member function]
1061 cls.add_method('IsEqual',
1062 'bool',
1063 [param('ns3::Ipv4Address const &', 'other')],
1064 is_const=True)
1065 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsLocalMulticast() const [member function]
1066 cls.add_method('IsLocalMulticast',
1067 'bool',
1068 [],
1069 is_const=True)
1070 ## ipv4-address.h (module 'network'): static bool ns3::Ipv4Address::IsMatchingType(ns3::Address const & address) [member function]
1071 cls.add_method('IsMatchingType',
1072 'bool',
1073 [param('ns3::Address const &', 'address')],
1074 is_static=True)
1075 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsMulticast() const [member function]
1076 cls.add_method('IsMulticast',
1077 'bool',
1078 [],
1079 is_const=True)
1080 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsSubnetDirectedBroadcast(ns3::Ipv4Mask const & mask) const [member function]
1081 cls.add_method('IsSubnetDirectedBroadcast',
1082 'bool',
1083 [param('ns3::Ipv4Mask const &', 'mask')],
1084 is_const=True)
1085 ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Print(std::ostream & os) const [member function]
1086 cls.add_method('Print',
1087 'void',
1088 [param('std::ostream &', 'os')],
1089 is_const=True)
1090 ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Serialize(uint8_t * buf) const [member function]
1091 cls.add_method('Serialize',
1092 'void',
1093 [param('uint8_t *', 'buf')],
1094 is_const=True)
1095 ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Set(uint32_t address) [member function]
1096 cls.add_method('Set',
1097 'void',
1098 [param('uint32_t', 'address')])
1099 ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Set(char const * address) [member function]
1100 cls.add_method('Set',
1101 'void',
1102 [param('char const *', 'address')])
1103 return
1104
Ilya Moiseenko1762af72011-07-18 16:43:10 -07001105def register_Ns3Ipv4Mask_methods(root_module, cls):
1106 cls.add_binary_comparison_operator('!=')
1107 cls.add_output_stream_operator()
1108 cls.add_binary_comparison_operator('==')
1109 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask(ns3::Ipv4Mask const & arg0) [copy constructor]
1110 cls.add_constructor([param('ns3::Ipv4Mask const &', 'arg0')])
1111 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask() [constructor]
1112 cls.add_constructor([])
1113 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask(uint32_t mask) [constructor]
1114 cls.add_constructor([param('uint32_t', 'mask')])
1115 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask(char const * mask) [constructor]
1116 cls.add_constructor([param('char const *', 'mask')])
1117 ## ipv4-address.h (module 'network'): uint32_t ns3::Ipv4Mask::Get() const [member function]
1118 cls.add_method('Get',
1119 'uint32_t',
1120 [],
1121 is_const=True)
1122 ## ipv4-address.h (module 'network'): uint32_t ns3::Ipv4Mask::GetInverse() const [member function]
1123 cls.add_method('GetInverse',
1124 'uint32_t',
1125 [],
1126 is_const=True)
1127 ## ipv4-address.h (module 'network'): static ns3::Ipv4Mask ns3::Ipv4Mask::GetLoopback() [member function]
1128 cls.add_method('GetLoopback',
1129 'ns3::Ipv4Mask',
1130 [],
1131 is_static=True)
1132 ## ipv4-address.h (module 'network'): static ns3::Ipv4Mask ns3::Ipv4Mask::GetOnes() [member function]
1133 cls.add_method('GetOnes',
1134 'ns3::Ipv4Mask',
1135 [],
1136 is_static=True)
1137 ## ipv4-address.h (module 'network'): uint16_t ns3::Ipv4Mask::GetPrefixLength() const [member function]
1138 cls.add_method('GetPrefixLength',
1139 'uint16_t',
1140 [],
1141 is_const=True)
1142 ## ipv4-address.h (module 'network'): static ns3::Ipv4Mask ns3::Ipv4Mask::GetZero() [member function]
1143 cls.add_method('GetZero',
1144 'ns3::Ipv4Mask',
1145 [],
1146 is_static=True)
1147 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Mask::IsEqual(ns3::Ipv4Mask other) const [member function]
1148 cls.add_method('IsEqual',
1149 'bool',
1150 [param('ns3::Ipv4Mask', 'other')],
1151 is_const=True)
1152 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Mask::IsMatch(ns3::Ipv4Address a, ns3::Ipv4Address b) const [member function]
1153 cls.add_method('IsMatch',
1154 'bool',
1155 [param('ns3::Ipv4Address', 'a'), param('ns3::Ipv4Address', 'b')],
1156 is_const=True)
1157 ## ipv4-address.h (module 'network'): void ns3::Ipv4Mask::Print(std::ostream & os) const [member function]
1158 cls.add_method('Print',
1159 'void',
1160 [param('std::ostream &', 'os')],
1161 is_const=True)
1162 ## ipv4-address.h (module 'network'): void ns3::Ipv4Mask::Set(uint32_t mask) [member function]
1163 cls.add_method('Set',
1164 'void',
1165 [param('uint32_t', 'mask')])
1166 return
1167
Ilya Moiseenko1762af72011-07-18 16:43:10 -07001168def register_Ns3Ipv6Address_methods(root_module, cls):
1169 cls.add_binary_comparison_operator('<')
1170 cls.add_binary_comparison_operator('!=')
1171 cls.add_output_stream_operator()
1172 cls.add_binary_comparison_operator('==')
1173 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address() [constructor]
1174 cls.add_constructor([])
1175 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(char const * address) [constructor]
1176 cls.add_constructor([param('char const *', 'address')])
1177 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(uint8_t * address) [constructor]
1178 cls.add_constructor([param('uint8_t *', 'address')])
1179 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(ns3::Ipv6Address const & addr) [copy constructor]
1180 cls.add_constructor([param('ns3::Ipv6Address const &', 'addr')])
1181 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(ns3::Ipv6Address const * addr) [constructor]
1182 cls.add_constructor([param('ns3::Ipv6Address const *', 'addr')])
1183 ## ipv6-address.h (module 'network'): ns3::Ipv6Address ns3::Ipv6Address::CombinePrefix(ns3::Ipv6Prefix const & prefix) [member function]
1184 cls.add_method('CombinePrefix',
1185 'ns3::Ipv6Address',
1186 [param('ns3::Ipv6Prefix const &', 'prefix')])
1187 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::ConvertFrom(ns3::Address const & address) [member function]
1188 cls.add_method('ConvertFrom',
1189 'ns3::Ipv6Address',
1190 [param('ns3::Address const &', 'address')],
1191 is_static=True)
1192 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::Deserialize(uint8_t const * buf) [member function]
1193 cls.add_method('Deserialize',
1194 'ns3::Ipv6Address',
1195 [param('uint8_t const *', 'buf')],
1196 is_static=True)
1197 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAllHostsMulticast() [member function]
1198 cls.add_method('GetAllHostsMulticast',
1199 'ns3::Ipv6Address',
1200 [],
1201 is_static=True)
1202 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAllNodesMulticast() [member function]
1203 cls.add_method('GetAllNodesMulticast',
1204 'ns3::Ipv6Address',
1205 [],
1206 is_static=True)
1207 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAllRoutersMulticast() [member function]
1208 cls.add_method('GetAllRoutersMulticast',
1209 'ns3::Ipv6Address',
1210 [],
1211 is_static=True)
1212 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAny() [member function]
1213 cls.add_method('GetAny',
1214 'ns3::Ipv6Address',
1215 [],
1216 is_static=True)
1217 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::GetBytes(uint8_t * buf) const [member function]
1218 cls.add_method('GetBytes',
1219 'void',
1220 [param('uint8_t *', 'buf')],
1221 is_const=True)
1222 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetLoopback() [member function]
1223 cls.add_method('GetLoopback',
1224 'ns3::Ipv6Address',
1225 [],
1226 is_static=True)
1227 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetOnes() [member function]
1228 cls.add_method('GetOnes',
1229 'ns3::Ipv6Address',
1230 [],
1231 is_static=True)
1232 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetZero() [member function]
1233 cls.add_method('GetZero',
1234 'ns3::Ipv6Address',
1235 [],
1236 is_static=True)
1237 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAllHostsMulticast() const [member function]
1238 cls.add_method('IsAllHostsMulticast',
1239 'bool',
1240 [],
1241 is_const=True)
1242 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAllNodesMulticast() const [member function]
1243 cls.add_method('IsAllNodesMulticast',
1244 'bool',
1245 [],
1246 is_const=True)
1247 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAllRoutersMulticast() const [member function]
1248 cls.add_method('IsAllRoutersMulticast',
1249 'bool',
1250 [],
1251 is_const=True)
1252 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAny() const [member function]
1253 cls.add_method('IsAny',
1254 'bool',
1255 [],
1256 is_const=True)
1257 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsEqual(ns3::Ipv6Address const & other) const [member function]
1258 cls.add_method('IsEqual',
1259 'bool',
1260 [param('ns3::Ipv6Address const &', 'other')],
1261 is_const=True)
1262 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsLinkLocal() const [member function]
1263 cls.add_method('IsLinkLocal',
1264 'bool',
1265 [],
1266 is_const=True)
1267 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsLocalhost() const [member function]
1268 cls.add_method('IsLocalhost',
1269 'bool',
1270 [],
1271 is_const=True)
1272 ## ipv6-address.h (module 'network'): static bool ns3::Ipv6Address::IsMatchingType(ns3::Address const & address) [member function]
1273 cls.add_method('IsMatchingType',
1274 'bool',
1275 [param('ns3::Address const &', 'address')],
1276 is_static=True)
1277 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsMulticast() const [member function]
1278 cls.add_method('IsMulticast',
1279 'bool',
1280 [],
1281 is_const=True)
1282 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsSolicitedMulticast() const [member function]
1283 cls.add_method('IsSolicitedMulticast',
1284 'bool',
1285 [],
1286 is_const=True)
1287 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredAddress(ns3::Mac48Address addr, ns3::Ipv6Address prefix) [member function]
1288 cls.add_method('MakeAutoconfiguredAddress',
1289 'ns3::Ipv6Address',
1290 [param('ns3::Mac48Address', 'addr'), param('ns3::Ipv6Address', 'prefix')],
1291 is_static=True)
1292 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredLinkLocalAddress(ns3::Mac48Address mac) [member function]
1293 cls.add_method('MakeAutoconfiguredLinkLocalAddress',
1294 'ns3::Ipv6Address',
1295 [param('ns3::Mac48Address', 'mac')],
1296 is_static=True)
1297 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeSolicitedAddress(ns3::Ipv6Address addr) [member function]
1298 cls.add_method('MakeSolicitedAddress',
1299 'ns3::Ipv6Address',
1300 [param('ns3::Ipv6Address', 'addr')],
1301 is_static=True)
1302 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Print(std::ostream & os) const [member function]
1303 cls.add_method('Print',
1304 'void',
1305 [param('std::ostream &', 'os')],
1306 is_const=True)
1307 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Serialize(uint8_t * buf) const [member function]
1308 cls.add_method('Serialize',
1309 'void',
1310 [param('uint8_t *', 'buf')],
1311 is_const=True)
1312 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Set(char const * address) [member function]
1313 cls.add_method('Set',
1314 'void',
1315 [param('char const *', 'address')])
1316 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Set(uint8_t * address) [member function]
1317 cls.add_method('Set',
1318 'void',
1319 [param('uint8_t *', 'address')])
1320 return
1321
1322def register_Ns3Ipv6Prefix_methods(root_module, cls):
1323 cls.add_binary_comparison_operator('!=')
1324 cls.add_output_stream_operator()
1325 cls.add_binary_comparison_operator('==')
1326 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix() [constructor]
1327 cls.add_constructor([])
1328 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(uint8_t * prefix) [constructor]
1329 cls.add_constructor([param('uint8_t *', 'prefix')])
1330 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(char const * prefix) [constructor]
1331 cls.add_constructor([param('char const *', 'prefix')])
1332 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(uint8_t prefix) [constructor]
1333 cls.add_constructor([param('uint8_t', 'prefix')])
1334 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(ns3::Ipv6Prefix const & prefix) [copy constructor]
1335 cls.add_constructor([param('ns3::Ipv6Prefix const &', 'prefix')])
1336 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(ns3::Ipv6Prefix const * prefix) [constructor]
1337 cls.add_constructor([param('ns3::Ipv6Prefix const *', 'prefix')])
1338 ## ipv6-address.h (module 'network'): void ns3::Ipv6Prefix::GetBytes(uint8_t * buf) const [member function]
1339 cls.add_method('GetBytes',
1340 'void',
1341 [param('uint8_t *', 'buf')],
1342 is_const=True)
1343 ## ipv6-address.h (module 'network'): static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetLoopback() [member function]
1344 cls.add_method('GetLoopback',
1345 'ns3::Ipv6Prefix',
1346 [],
1347 is_static=True)
1348 ## ipv6-address.h (module 'network'): static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetOnes() [member function]
1349 cls.add_method('GetOnes',
1350 'ns3::Ipv6Prefix',
1351 [],
1352 is_static=True)
1353 ## ipv6-address.h (module 'network'): uint8_t ns3::Ipv6Prefix::GetPrefixLength() const [member function]
1354 cls.add_method('GetPrefixLength',
1355 'uint8_t',
1356 [],
1357 is_const=True)
1358 ## ipv6-address.h (module 'network'): static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetZero() [member function]
1359 cls.add_method('GetZero',
1360 'ns3::Ipv6Prefix',
1361 [],
1362 is_static=True)
1363 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Prefix::IsEqual(ns3::Ipv6Prefix const & other) const [member function]
1364 cls.add_method('IsEqual',
1365 'bool',
1366 [param('ns3::Ipv6Prefix const &', 'other')],
1367 is_const=True)
1368 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Prefix::IsMatch(ns3::Ipv6Address a, ns3::Ipv6Address b) const [member function]
1369 cls.add_method('IsMatch',
1370 'bool',
1371 [param('ns3::Ipv6Address', 'a'), param('ns3::Ipv6Address', 'b')],
1372 is_const=True)
1373 ## ipv6-address.h (module 'network'): void ns3::Ipv6Prefix::Print(std::ostream & os) const [member function]
1374 cls.add_method('Print',
1375 'void',
1376 [param('std::ostream &', 'os')],
1377 is_const=True)
1378 return
1379
Ilya Moiseenko02fb7062011-08-11 17:18:00 -07001380def register_Ns3LogComponent_methods(root_module, cls):
1381 ## log.h (module 'core'): ns3::LogComponent::LogComponent(ns3::LogComponent const & arg0) [copy constructor]
1382 cls.add_constructor([param('ns3::LogComponent const &', 'arg0')])
1383 ## log.h (module 'core'): ns3::LogComponent::LogComponent(char const * name) [constructor]
1384 cls.add_constructor([param('char const *', 'name')])
1385 ## log.h (module 'core'): void ns3::LogComponent::Disable(ns3::LogLevel level) [member function]
1386 cls.add_method('Disable',
1387 'void',
1388 [param('ns3::LogLevel', 'level')])
1389 ## log.h (module 'core'): void ns3::LogComponent::Enable(ns3::LogLevel level) [member function]
1390 cls.add_method('Enable',
1391 'void',
1392 [param('ns3::LogLevel', 'level')])
1393 ## log.h (module 'core'): void ns3::LogComponent::EnvVarCheck(char const * name) [member function]
1394 cls.add_method('EnvVarCheck',
1395 'void',
1396 [param('char const *', 'name')])
1397 ## log.h (module 'core'): bool ns3::LogComponent::IsEnabled(ns3::LogLevel level) const [member function]
1398 cls.add_method('IsEnabled',
1399 'bool',
1400 [param('ns3::LogLevel', 'level')],
1401 is_const=True)
1402 ## log.h (module 'core'): bool ns3::LogComponent::IsNoneEnabled() const [member function]
1403 cls.add_method('IsNoneEnabled',
1404 'bool',
1405 [],
1406 is_const=True)
1407 ## log.h (module 'core'): char const * ns3::LogComponent::Name() const [member function]
1408 cls.add_method('Name',
1409 'char const *',
1410 [],
1411 is_const=True)
1412 return
1413
1414def register_Ns3NdnFace_methods(root_module, cls):
1415 ## ndn_face.h (module 'NDNabstraction'): ns3::NdnFace::NdnFace(ns3::NdnFace const & arg0) [copy constructor]
1416 cls.add_constructor([param('ns3::NdnFace const &', 'arg0')])
1417 ## ndn_face.h (module 'NDNabstraction'): ns3::NdnFace::NdnFace(int faceID) [constructor]
1418 cls.add_constructor([param('int', 'faceID')])
1419 return
1420
Ilya Moiseenko1762af72011-07-18 16:43:10 -07001421def register_Ns3NodeContainer_methods(root_module, cls):
1422 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & arg0) [copy constructor]
1423 cls.add_constructor([param('ns3::NodeContainer const &', 'arg0')])
1424 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer() [constructor]
1425 cls.add_constructor([])
1426 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::Ptr<ns3::Node> node) [constructor]
1427 cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node')])
1428 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(std::string nodeName) [constructor]
1429 cls.add_constructor([param('std::string', 'nodeName')])
1430 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b) [constructor]
1431 cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b')])
1432 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b, ns3::NodeContainer const & c) [constructor]
1433 cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b'), param('ns3::NodeContainer const &', 'c')])
1434 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b, ns3::NodeContainer const & c, ns3::NodeContainer const & d) [constructor]
1435 cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b'), param('ns3::NodeContainer const &', 'c'), param('ns3::NodeContainer const &', 'd')])
1436 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b, ns3::NodeContainer const & c, ns3::NodeContainer const & d, ns3::NodeContainer const & e) [constructor]
1437 cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b'), param('ns3::NodeContainer const &', 'c'), param('ns3::NodeContainer const &', 'd'), param('ns3::NodeContainer const &', 'e')])
1438 ## node-container.h (module 'network'): void ns3::NodeContainer::Add(ns3::NodeContainer other) [member function]
1439 cls.add_method('Add',
1440 'void',
1441 [param('ns3::NodeContainer', 'other')])
1442 ## node-container.h (module 'network'): void ns3::NodeContainer::Add(ns3::Ptr<ns3::Node> node) [member function]
1443 cls.add_method('Add',
1444 'void',
1445 [param('ns3::Ptr< ns3::Node >', 'node')])
1446 ## node-container.h (module 'network'): void ns3::NodeContainer::Add(std::string nodeName) [member function]
1447 cls.add_method('Add',
1448 'void',
1449 [param('std::string', 'nodeName')])
1450 ## node-container.h (module 'network'): __gnu_cxx::__normal_iterator<const ns3::Ptr<ns3::Node>*,std::vector<ns3::Ptr<ns3::Node>, std::allocator<ns3::Ptr<ns3::Node> > > > ns3::NodeContainer::Begin() const [member function]
1451 cls.add_method('Begin',
1452 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >',
1453 [],
1454 is_const=True)
1455 ## node-container.h (module 'network'): void ns3::NodeContainer::Create(uint32_t n) [member function]
1456 cls.add_method('Create',
1457 'void',
1458 [param('uint32_t', 'n')])
1459 ## node-container.h (module 'network'): void ns3::NodeContainer::Create(uint32_t n, uint32_t systemId) [member function]
1460 cls.add_method('Create',
1461 'void',
1462 [param('uint32_t', 'n'), param('uint32_t', 'systemId')])
1463 ## node-container.h (module 'network'): __gnu_cxx::__normal_iterator<const ns3::Ptr<ns3::Node>*,std::vector<ns3::Ptr<ns3::Node>, std::allocator<ns3::Ptr<ns3::Node> > > > ns3::NodeContainer::End() const [member function]
1464 cls.add_method('End',
1465 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >',
1466 [],
1467 is_const=True)
1468 ## node-container.h (module 'network'): ns3::Ptr<ns3::Node> ns3::NodeContainer::Get(uint32_t i) const [member function]
1469 cls.add_method('Get',
1470 'ns3::Ptr< ns3::Node >',
1471 [param('uint32_t', 'i')],
1472 is_const=True)
1473 ## node-container.h (module 'network'): static ns3::NodeContainer ns3::NodeContainer::GetGlobal() [member function]
1474 cls.add_method('GetGlobal',
1475 'ns3::NodeContainer',
1476 [],
1477 is_static=True)
1478 ## node-container.h (module 'network'): uint32_t ns3::NodeContainer::GetN() const [member function]
1479 cls.add_method('GetN',
1480 'uint32_t',
1481 [],
1482 is_const=True)
1483 return
1484
1485def register_Ns3ObjectBase_methods(root_module, cls):
1486 ## object-base.h (module 'core'): ns3::ObjectBase::ObjectBase() [constructor]
1487 cls.add_constructor([])
1488 ## object-base.h (module 'core'): ns3::ObjectBase::ObjectBase(ns3::ObjectBase const & arg0) [copy constructor]
1489 cls.add_constructor([param('ns3::ObjectBase const &', 'arg0')])
1490 ## object-base.h (module 'core'): void ns3::ObjectBase::GetAttribute(std::string name, ns3::AttributeValue & value) const [member function]
1491 cls.add_method('GetAttribute',
1492 'void',
1493 [param('std::string', 'name'), param('ns3::AttributeValue &', 'value')],
1494 is_const=True)
1495 ## object-base.h (module 'core'): bool ns3::ObjectBase::GetAttributeFailSafe(std::string name, ns3::AttributeValue & attribute) const [member function]
1496 cls.add_method('GetAttributeFailSafe',
1497 'bool',
1498 [param('std::string', 'name'), param('ns3::AttributeValue &', 'attribute')],
1499 is_const=True)
1500 ## object-base.h (module 'core'): ns3::TypeId ns3::ObjectBase::GetInstanceTypeId() const [member function]
1501 cls.add_method('GetInstanceTypeId',
1502 'ns3::TypeId',
1503 [],
1504 is_pure_virtual=True, is_const=True, is_virtual=True)
1505 ## object-base.h (module 'core'): static ns3::TypeId ns3::ObjectBase::GetTypeId() [member function]
1506 cls.add_method('GetTypeId',
1507 'ns3::TypeId',
1508 [],
1509 is_static=True)
1510 ## object-base.h (module 'core'): void ns3::ObjectBase::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function]
1511 cls.add_method('SetAttribute',
1512 'void',
1513 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
1514 ## object-base.h (module 'core'): bool ns3::ObjectBase::SetAttributeFailSafe(std::string name, ns3::AttributeValue const & value) [member function]
1515 cls.add_method('SetAttributeFailSafe',
1516 'bool',
1517 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
1518 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceConnect(std::string name, std::string context, ns3::CallbackBase const & cb) [member function]
1519 cls.add_method('TraceConnect',
1520 'bool',
1521 [param('std::string', 'name'), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')])
1522 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceConnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function]
1523 cls.add_method('TraceConnectWithoutContext',
1524 'bool',
1525 [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')])
1526 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceDisconnect(std::string name, std::string context, ns3::CallbackBase const & cb) [member function]
1527 cls.add_method('TraceDisconnect',
1528 'bool',
1529 [param('std::string', 'name'), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')])
1530 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceDisconnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function]
1531 cls.add_method('TraceDisconnectWithoutContext',
1532 'bool',
1533 [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')])
1534 ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function]
1535 cls.add_method('ConstructSelf',
1536 'void',
1537 [param('ns3::AttributeList const &', 'attributes')],
1538 visibility='protected')
1539 ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function]
1540 cls.add_method('NotifyConstructionCompleted',
1541 'void',
1542 [],
1543 visibility='protected', is_virtual=True)
1544 return
1545
1546def register_Ns3ObjectDeleter_methods(root_module, cls):
1547 ## object.h (module 'core'): ns3::ObjectDeleter::ObjectDeleter() [constructor]
1548 cls.add_constructor([])
1549 ## object.h (module 'core'): ns3::ObjectDeleter::ObjectDeleter(ns3::ObjectDeleter const & arg0) [copy constructor]
1550 cls.add_constructor([param('ns3::ObjectDeleter const &', 'arg0')])
1551 ## object.h (module 'core'): static void ns3::ObjectDeleter::Delete(ns3::Object * object) [member function]
1552 cls.add_method('Delete',
1553 'void',
1554 [param('ns3::Object *', 'object')],
1555 is_static=True)
1556 return
1557
1558def register_Ns3ObjectFactory_methods(root_module, cls):
1559 cls.add_output_stream_operator()
1560 ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(ns3::ObjectFactory const & arg0) [copy constructor]
1561 cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')])
1562 ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor]
1563 cls.add_constructor([])
1564 ## object-factory.h (module 'core'): ns3::Ptr<ns3::Object> ns3::ObjectFactory::Create() const [member function]
1565 cls.add_method('Create',
1566 'ns3::Ptr< ns3::Object >',
1567 [],
1568 is_const=True)
1569 ## object-factory.h (module 'core'): ns3::TypeId ns3::ObjectFactory::GetTypeId() const [member function]
1570 cls.add_method('GetTypeId',
1571 'ns3::TypeId',
1572 [],
1573 is_const=True)
1574 ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(std::string name, ns3::AttributeValue const & value) [member function]
1575 cls.add_method('Set',
1576 'void',
1577 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
1578 ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function]
1579 cls.add_method('Set',
1580 'void',
1581 [param('ns3::AttributeList const &', 'list')])
1582 ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function]
1583 cls.add_method('SetTypeId',
1584 'void',
1585 [param('ns3::TypeId', 'tid')])
1586 ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(char const * tid) [member function]
1587 cls.add_method('SetTypeId',
1588 'void',
1589 [param('char const *', 'tid')])
1590 ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(std::string tid) [member function]
1591 cls.add_method('SetTypeId',
1592 'void',
1593 [param('std::string', 'tid')])
1594 return
1595
Ilya Moiseenko1762af72011-07-18 16:43:10 -07001596def register_Ns3PacketMetadata_methods(root_module, cls):
1597 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::PacketMetadata(uint64_t uid, uint32_t size) [constructor]
1598 cls.add_constructor([param('uint64_t', 'uid'), param('uint32_t', 'size')])
1599 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::PacketMetadata(ns3::PacketMetadata const & o) [copy constructor]
1600 cls.add_constructor([param('ns3::PacketMetadata const &', 'o')])
1601 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddAtEnd(ns3::PacketMetadata const & o) [member function]
1602 cls.add_method('AddAtEnd',
1603 'void',
1604 [param('ns3::PacketMetadata const &', 'o')])
1605 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddHeader(ns3::Header const & header, uint32_t size) [member function]
1606 cls.add_method('AddHeader',
1607 'void',
1608 [param('ns3::Header const &', 'header'), param('uint32_t', 'size')])
1609 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddPaddingAtEnd(uint32_t end) [member function]
1610 cls.add_method('AddPaddingAtEnd',
1611 'void',
1612 [param('uint32_t', 'end')])
1613 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddTrailer(ns3::Trailer const & trailer, uint32_t size) [member function]
1614 cls.add_method('AddTrailer',
1615 'void',
1616 [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')])
1617 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator ns3::PacketMetadata::BeginItem(ns3::Buffer buffer) const [member function]
1618 cls.add_method('BeginItem',
1619 'ns3::PacketMetadata::ItemIterator',
1620 [param('ns3::Buffer', 'buffer')],
1621 is_const=True)
1622 ## packet-metadata.h (module 'network'): ns3::PacketMetadata ns3::PacketMetadata::CreateFragment(uint32_t start, uint32_t end) const [member function]
1623 cls.add_method('CreateFragment',
1624 'ns3::PacketMetadata',
1625 [param('uint32_t', 'start'), param('uint32_t', 'end')],
1626 is_const=True)
1627 ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::Deserialize(uint8_t const * buffer, uint32_t size) [member function]
1628 cls.add_method('Deserialize',
1629 'uint32_t',
1630 [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
1631 ## packet-metadata.h (module 'network'): static void ns3::PacketMetadata::Enable() [member function]
1632 cls.add_method('Enable',
1633 'void',
1634 [],
1635 is_static=True)
1636 ## packet-metadata.h (module 'network'): static void ns3::PacketMetadata::EnableChecking() [member function]
1637 cls.add_method('EnableChecking',
1638 'void',
1639 [],
1640 is_static=True)
1641 ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::GetSerializedSize() const [member function]
1642 cls.add_method('GetSerializedSize',
1643 'uint32_t',
1644 [],
1645 is_const=True)
1646 ## packet-metadata.h (module 'network'): uint64_t ns3::PacketMetadata::GetUid() const [member function]
1647 cls.add_method('GetUid',
1648 'uint64_t',
1649 [],
1650 is_const=True)
1651 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveAtEnd(uint32_t end) [member function]
1652 cls.add_method('RemoveAtEnd',
1653 'void',
1654 [param('uint32_t', 'end')])
1655 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveAtStart(uint32_t start) [member function]
1656 cls.add_method('RemoveAtStart',
1657 'void',
1658 [param('uint32_t', 'start')])
1659 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveHeader(ns3::Header const & header, uint32_t size) [member function]
1660 cls.add_method('RemoveHeader',
1661 'void',
1662 [param('ns3::Header const &', 'header'), param('uint32_t', 'size')])
1663 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveTrailer(ns3::Trailer const & trailer, uint32_t size) [member function]
1664 cls.add_method('RemoveTrailer',
1665 'void',
1666 [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')])
1667 ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
1668 cls.add_method('Serialize',
1669 'uint32_t',
1670 [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')],
1671 is_const=True)
1672 return
1673
1674def register_Ns3PacketMetadataItem_methods(root_module, cls):
1675 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::Item() [constructor]
1676 cls.add_constructor([])
1677 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::Item(ns3::PacketMetadata::Item const & arg0) [copy constructor]
1678 cls.add_constructor([param('ns3::PacketMetadata::Item const &', 'arg0')])
1679 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::current [variable]
1680 cls.add_instance_attribute('current', 'ns3::Buffer::Iterator', is_const=False)
1681 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentSize [variable]
1682 cls.add_instance_attribute('currentSize', 'uint32_t', is_const=False)
1683 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentTrimedFromEnd [variable]
1684 cls.add_instance_attribute('currentTrimedFromEnd', 'uint32_t', is_const=False)
1685 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentTrimedFromStart [variable]
1686 cls.add_instance_attribute('currentTrimedFromStart', 'uint32_t', is_const=False)
1687 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::isFragment [variable]
1688 cls.add_instance_attribute('isFragment', 'bool', is_const=False)
1689 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::tid [variable]
1690 cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
1691 return
1692
1693def register_Ns3PacketMetadataItemIterator_methods(root_module, cls):
1694 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata::ItemIterator const & arg0) [copy constructor]
1695 cls.add_constructor([param('ns3::PacketMetadata::ItemIterator const &', 'arg0')])
1696 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata const * metadata, ns3::Buffer buffer) [constructor]
1697 cls.add_constructor([param('ns3::PacketMetadata const *', 'metadata'), param('ns3::Buffer', 'buffer')])
1698 ## packet-metadata.h (module 'network'): bool ns3::PacketMetadata::ItemIterator::HasNext() const [member function]
1699 cls.add_method('HasNext',
1700 'bool',
1701 [],
1702 is_const=True)
1703 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item ns3::PacketMetadata::ItemIterator::Next() [member function]
1704 cls.add_method('Next',
1705 'ns3::PacketMetadata::Item',
1706 [])
1707 return
1708
1709def register_Ns3PacketTagIterator_methods(root_module, cls):
1710 ## packet.h (module 'network'): ns3::PacketTagIterator::PacketTagIterator(ns3::PacketTagIterator const & arg0) [copy constructor]
1711 cls.add_constructor([param('ns3::PacketTagIterator const &', 'arg0')])
1712 ## packet.h (module 'network'): bool ns3::PacketTagIterator::HasNext() const [member function]
1713 cls.add_method('HasNext',
1714 'bool',
1715 [],
1716 is_const=True)
1717 ## packet.h (module 'network'): ns3::PacketTagIterator::Item ns3::PacketTagIterator::Next() [member function]
1718 cls.add_method('Next',
1719 'ns3::PacketTagIterator::Item',
1720 [])
1721 return
1722
1723def register_Ns3PacketTagIteratorItem_methods(root_module, cls):
1724 ## packet.h (module 'network'): ns3::PacketTagIterator::Item::Item(ns3::PacketTagIterator::Item const & arg0) [copy constructor]
1725 cls.add_constructor([param('ns3::PacketTagIterator::Item const &', 'arg0')])
1726 ## packet.h (module 'network'): void ns3::PacketTagIterator::Item::GetTag(ns3::Tag & tag) const [member function]
1727 cls.add_method('GetTag',
1728 'void',
1729 [param('ns3::Tag &', 'tag')],
1730 is_const=True)
1731 ## packet.h (module 'network'): ns3::TypeId ns3::PacketTagIterator::Item::GetTypeId() const [member function]
1732 cls.add_method('GetTypeId',
1733 'ns3::TypeId',
1734 [],
1735 is_const=True)
1736 return
1737
1738def register_Ns3PacketTagList_methods(root_module, cls):
1739 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::PacketTagList() [constructor]
1740 cls.add_constructor([])
1741 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::PacketTagList(ns3::PacketTagList const & o) [copy constructor]
1742 cls.add_constructor([param('ns3::PacketTagList const &', 'o')])
1743 ## packet-tag-list.h (module 'network'): void ns3::PacketTagList::Add(ns3::Tag const & tag) const [member function]
1744 cls.add_method('Add',
1745 'void',
1746 [param('ns3::Tag const &', 'tag')],
1747 is_const=True)
1748 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData const * ns3::PacketTagList::Head() const [member function]
1749 cls.add_method('Head',
1750 'ns3::PacketTagList::TagData const *',
1751 [],
1752 is_const=True)
1753 ## packet-tag-list.h (module 'network'): bool ns3::PacketTagList::Peek(ns3::Tag & tag) const [member function]
1754 cls.add_method('Peek',
1755 'bool',
1756 [param('ns3::Tag &', 'tag')],
1757 is_const=True)
1758 ## packet-tag-list.h (module 'network'): bool ns3::PacketTagList::Remove(ns3::Tag & tag) [member function]
1759 cls.add_method('Remove',
1760 'bool',
1761 [param('ns3::Tag &', 'tag')])
1762 ## packet-tag-list.h (module 'network'): void ns3::PacketTagList::RemoveAll() [member function]
1763 cls.add_method('RemoveAll',
1764 'void',
1765 [])
1766 return
1767
1768def register_Ns3PacketTagListTagData_methods(root_module, cls):
1769 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::TagData() [constructor]
1770 cls.add_constructor([])
1771 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::TagData(ns3::PacketTagList::TagData const & arg0) [copy constructor]
1772 cls.add_constructor([param('ns3::PacketTagList::TagData const &', 'arg0')])
1773 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::count [variable]
1774 cls.add_instance_attribute('count', 'uint32_t', is_const=False)
1775 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::data [variable]
1776 cls.add_instance_attribute('data', 'uint8_t [ 20 ]', is_const=False)
1777 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::next [variable]
1778 cls.add_instance_attribute('next', 'ns3::PacketTagList::TagData *', is_const=False)
1779 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::tid [variable]
1780 cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
1781 return
1782
Ilya Moiseenko02fb7062011-08-11 17:18:00 -07001783def register_Ns3RandomVariable_methods(root_module, cls):
1784 cls.add_output_stream_operator()
1785 ## random-variable.h (module 'core'): ns3::RandomVariable::RandomVariable() [constructor]
1786 cls.add_constructor([])
1787 ## random-variable.h (module 'core'): ns3::RandomVariable::RandomVariable(ns3::RandomVariable const & o) [copy constructor]
1788 cls.add_constructor([param('ns3::RandomVariable const &', 'o')])
1789 ## random-variable.h (module 'core'): uint32_t ns3::RandomVariable::GetInteger() const [member function]
1790 cls.add_method('GetInteger',
1791 'uint32_t',
1792 [],
1793 is_const=True)
1794 ## random-variable.h (module 'core'): double ns3::RandomVariable::GetValue() const [member function]
1795 cls.add_method('GetValue',
1796 'double',
1797 [],
1798 is_const=True)
1799 return
1800
1801def register_Ns3SeedManager_methods(root_module, cls):
1802 ## random-variable.h (module 'core'): ns3::SeedManager::SeedManager() [constructor]
1803 cls.add_constructor([])
1804 ## random-variable.h (module 'core'): ns3::SeedManager::SeedManager(ns3::SeedManager const & arg0) [copy constructor]
1805 cls.add_constructor([param('ns3::SeedManager const &', 'arg0')])
1806 ## random-variable.h (module 'core'): static bool ns3::SeedManager::CheckSeed(uint32_t seed) [member function]
1807 cls.add_method('CheckSeed',
1808 'bool',
1809 [param('uint32_t', 'seed')],
1810 is_static=True)
1811 ## random-variable.h (module 'core'): static uint32_t ns3::SeedManager::GetRun() [member function]
1812 cls.add_method('GetRun',
1813 'uint32_t',
1814 [],
1815 is_static=True)
1816 ## random-variable.h (module 'core'): static uint32_t ns3::SeedManager::GetSeed() [member function]
1817 cls.add_method('GetSeed',
1818 'uint32_t',
1819 [],
1820 is_static=True)
1821 ## random-variable.h (module 'core'): static void ns3::SeedManager::SetRun(uint32_t run) [member function]
1822 cls.add_method('SetRun',
1823 'void',
1824 [param('uint32_t', 'run')],
1825 is_static=True)
1826 ## random-variable.h (module 'core'): static void ns3::SeedManager::SetSeed(uint32_t seed) [member function]
1827 cls.add_method('SetSeed',
1828 'void',
1829 [param('uint32_t', 'seed')],
1830 is_static=True)
1831 return
1832
1833def register_Ns3SequentialVariable_methods(root_module, cls):
1834 ## random-variable.h (module 'core'): ns3::SequentialVariable::SequentialVariable(ns3::SequentialVariable const & arg0) [copy constructor]
1835 cls.add_constructor([param('ns3::SequentialVariable const &', 'arg0')])
1836 ## random-variable.h (module 'core'): ns3::SequentialVariable::SequentialVariable(double f, double l, double i=1, uint32_t c=1) [constructor]
1837 cls.add_constructor([param('double', 'f'), param('double', 'l'), param('double', 'i', default_value='1'), param('uint32_t', 'c', default_value='1')])
1838 ## random-variable.h (module 'core'): ns3::SequentialVariable::SequentialVariable(double f, double l, ns3::RandomVariable const & i, uint32_t c=1) [constructor]
1839 cls.add_constructor([param('double', 'f'), param('double', 'l'), param('ns3::RandomVariable const &', 'i'), param('uint32_t', 'c', default_value='1')])
1840 return
1841
Ilya Moiseenko1762af72011-07-18 16:43:10 -07001842def register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, cls):
1843 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter>::SimpleRefCount() [constructor]
1844 cls.add_constructor([])
1845 ## 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]
1846 cls.add_constructor([param('ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter > const &', 'o')])
1847 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter>::Cleanup() [member function]
1848 cls.add_method('Cleanup',
1849 'void',
1850 [],
1851 is_static=True)
1852 return
1853
Ilya Moiseenko02fb7062011-08-11 17:18:00 -07001854def register_Ns3StupidInterestGeneratorHelper_methods(root_module, cls):
1855 ## ndn_stupidinterestgenerator_helper.h (module 'NDNabstraction'): ns3::StupidInterestGeneratorHelper::StupidInterestGeneratorHelper(ns3::StupidInterestGeneratorHelper const & arg0) [copy constructor]
1856 cls.add_constructor([param('ns3::StupidInterestGeneratorHelper const &', 'arg0')])
1857 ## ndn_stupidinterestgenerator_helper.h (module 'NDNabstraction'): ns3::StupidInterestGeneratorHelper::StupidInterestGeneratorHelper(std::string protocol, ns3::Address address) [constructor]
1858 cls.add_constructor([param('std::string', 'protocol'), param('ns3::Address', 'address')])
1859 ## ndn_stupidinterestgenerator_helper.h (module 'NDNabstraction'): ns3::ApplicationContainer ns3::StupidInterestGeneratorHelper::Install(ns3::NodeContainer c) const [member function]
1860 cls.add_method('Install',
1861 'ns3::ApplicationContainer',
1862 [param('ns3::NodeContainer', 'c')],
Ilya Moiseenko1762af72011-07-18 16:43:10 -07001863 is_const=True)
Ilya Moiseenko02fb7062011-08-11 17:18:00 -07001864 ## ndn_stupidinterestgenerator_helper.h (module 'NDNabstraction'): ns3::ApplicationContainer ns3::StupidInterestGeneratorHelper::Install(ns3::Ptr<ns3::Node> node) const [member function]
1865 cls.add_method('Install',
1866 'ns3::ApplicationContainer',
1867 [param('ns3::Ptr< ns3::Node >', 'node')],
Ilya Moiseenko1762af72011-07-18 16:43:10 -07001868 is_const=True)
Ilya Moiseenko02fb7062011-08-11 17:18:00 -07001869 ## ndn_stupidinterestgenerator_helper.h (module 'NDNabstraction'): ns3::ApplicationContainer ns3::StupidInterestGeneratorHelper::Install(std::string nodeName) const [member function]
1870 cls.add_method('Install',
1871 'ns3::ApplicationContainer',
1872 [param('std::string', 'nodeName')],
Ilya Moiseenko1762af72011-07-18 16:43:10 -07001873 is_const=True)
Ilya Moiseenko02fb7062011-08-11 17:18:00 -07001874 ## ndn_stupidinterestgenerator_helper.h (module 'NDNabstraction'): void ns3::StupidInterestGeneratorHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function]
1875 cls.add_method('SetAttribute',
Ilya Moiseenko1762af72011-07-18 16:43:10 -07001876 'void',
Ilya Moiseenko02fb7062011-08-11 17:18:00 -07001877 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
Ilya Moiseenko1762af72011-07-18 16:43:10 -07001878 return
1879
1880def register_Ns3Tag_methods(root_module, cls):
1881 ## tag.h (module 'network'): ns3::Tag::Tag() [constructor]
1882 cls.add_constructor([])
1883 ## tag.h (module 'network'): ns3::Tag::Tag(ns3::Tag const & arg0) [copy constructor]
1884 cls.add_constructor([param('ns3::Tag const &', 'arg0')])
1885 ## tag.h (module 'network'): void ns3::Tag::Deserialize(ns3::TagBuffer i) [member function]
1886 cls.add_method('Deserialize',
1887 'void',
1888 [param('ns3::TagBuffer', 'i')],
1889 is_pure_virtual=True, is_virtual=True)
1890 ## tag.h (module 'network'): uint32_t ns3::Tag::GetSerializedSize() const [member function]
1891 cls.add_method('GetSerializedSize',
1892 'uint32_t',
1893 [],
1894 is_pure_virtual=True, is_const=True, is_virtual=True)
1895 ## tag.h (module 'network'): static ns3::TypeId ns3::Tag::GetTypeId() [member function]
1896 cls.add_method('GetTypeId',
1897 'ns3::TypeId',
1898 [],
1899 is_static=True)
1900 ## tag.h (module 'network'): void ns3::Tag::Print(std::ostream & os) const [member function]
1901 cls.add_method('Print',
1902 'void',
1903 [param('std::ostream &', 'os')],
1904 is_pure_virtual=True, is_const=True, is_virtual=True)
1905 ## tag.h (module 'network'): void ns3::Tag::Serialize(ns3::TagBuffer i) const [member function]
1906 cls.add_method('Serialize',
1907 'void',
1908 [param('ns3::TagBuffer', 'i')],
1909 is_pure_virtual=True, is_const=True, is_virtual=True)
1910 return
1911
1912def register_Ns3TagBuffer_methods(root_module, cls):
1913 ## tag-buffer.h (module 'network'): ns3::TagBuffer::TagBuffer(ns3::TagBuffer const & arg0) [copy constructor]
1914 cls.add_constructor([param('ns3::TagBuffer const &', 'arg0')])
1915 ## tag-buffer.h (module 'network'): ns3::TagBuffer::TagBuffer(uint8_t * start, uint8_t * end) [constructor]
1916 cls.add_constructor([param('uint8_t *', 'start'), param('uint8_t *', 'end')])
1917 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::CopyFrom(ns3::TagBuffer o) [member function]
1918 cls.add_method('CopyFrom',
1919 'void',
1920 [param('ns3::TagBuffer', 'o')])
1921 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::Read(uint8_t * buffer, uint32_t size) [member function]
1922 cls.add_method('Read',
1923 'void',
1924 [param('uint8_t *', 'buffer'), param('uint32_t', 'size')])
1925 ## tag-buffer.h (module 'network'): double ns3::TagBuffer::ReadDouble() [member function]
1926 cls.add_method('ReadDouble',
1927 'double',
1928 [])
1929 ## tag-buffer.h (module 'network'): uint16_t ns3::TagBuffer::ReadU16() [member function]
1930 cls.add_method('ReadU16',
1931 'uint16_t',
1932 [])
1933 ## tag-buffer.h (module 'network'): uint32_t ns3::TagBuffer::ReadU32() [member function]
1934 cls.add_method('ReadU32',
1935 'uint32_t',
1936 [])
1937 ## tag-buffer.h (module 'network'): uint64_t ns3::TagBuffer::ReadU64() [member function]
1938 cls.add_method('ReadU64',
1939 'uint64_t',
1940 [])
1941 ## tag-buffer.h (module 'network'): uint8_t ns3::TagBuffer::ReadU8() [member function]
1942 cls.add_method('ReadU8',
1943 'uint8_t',
1944 [])
1945 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::TrimAtEnd(uint32_t trim) [member function]
1946 cls.add_method('TrimAtEnd',
1947 'void',
1948 [param('uint32_t', 'trim')])
1949 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::Write(uint8_t const * buffer, uint32_t size) [member function]
1950 cls.add_method('Write',
1951 'void',
1952 [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
1953 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteDouble(double v) [member function]
1954 cls.add_method('WriteDouble',
1955 'void',
1956 [param('double', 'v')])
1957 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU16(uint16_t data) [member function]
1958 cls.add_method('WriteU16',
1959 'void',
1960 [param('uint16_t', 'data')])
1961 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU32(uint32_t data) [member function]
1962 cls.add_method('WriteU32',
1963 'void',
1964 [param('uint32_t', 'data')])
1965 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU64(uint64_t v) [member function]
1966 cls.add_method('WriteU64',
1967 'void',
1968 [param('uint64_t', 'v')])
1969 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU8(uint8_t v) [member function]
1970 cls.add_method('WriteU8',
1971 'void',
1972 [param('uint8_t', 'v')])
1973 return
1974
Ilya Moiseenko02fb7062011-08-11 17:18:00 -07001975def register_Ns3TriangularVariable_methods(root_module, cls):
1976 ## random-variable.h (module 'core'): ns3::TriangularVariable::TriangularVariable(ns3::TriangularVariable const & arg0) [copy constructor]
1977 cls.add_constructor([param('ns3::TriangularVariable const &', 'arg0')])
1978 ## random-variable.h (module 'core'): ns3::TriangularVariable::TriangularVariable() [constructor]
Ilya Moiseenko1762af72011-07-18 16:43:10 -07001979 cls.add_constructor([])
Ilya Moiseenko02fb7062011-08-11 17:18:00 -07001980 ## random-variable.h (module 'core'): ns3::TriangularVariable::TriangularVariable(double s, double l, double mean) [constructor]
1981 cls.add_constructor([param('double', 's'), param('double', 'l'), param('double', 'mean')])
Ilya Moiseenko1762af72011-07-18 16:43:10 -07001982 return
1983
1984def register_Ns3TypeId_methods(root_module, cls):
1985 cls.add_binary_comparison_operator('<')
1986 cls.add_binary_comparison_operator('!=')
1987 cls.add_output_stream_operator()
1988 cls.add_binary_comparison_operator('==')
1989 ## type-id.h (module 'core'): ns3::TypeId::TypeId(char const * name) [constructor]
1990 cls.add_constructor([param('char const *', 'name')])
1991 ## type-id.h (module 'core'): ns3::TypeId::TypeId() [constructor]
1992 cls.add_constructor([])
1993 ## type-id.h (module 'core'): ns3::TypeId::TypeId(ns3::TypeId const & o) [copy constructor]
1994 cls.add_constructor([param('ns3::TypeId const &', 'o')])
1995 ## 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]
1996 cls.add_method('AddAttribute',
1997 'ns3::TypeId',
1998 [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')])
1999 ## 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]
2000 cls.add_method('AddAttribute',
2001 'ns3::TypeId',
2002 [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')])
2003 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr<const ns3::TraceSourceAccessor> accessor) [member function]
2004 cls.add_method('AddTraceSource',
2005 'ns3::TypeId',
2006 [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')])
2007 ## type-id.h (module 'core'): ns3::Ptr<ns3::AttributeAccessor const> ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function]
2008 cls.add_method('GetAttributeAccessor',
2009 'ns3::Ptr< ns3::AttributeAccessor const >',
2010 [param('uint32_t', 'i')],
2011 is_const=True)
2012 ## type-id.h (module 'core'): ns3::Ptr<ns3::AttributeChecker const> ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function]
2013 cls.add_method('GetAttributeChecker',
2014 'ns3::Ptr< ns3::AttributeChecker const >',
2015 [param('uint32_t', 'i')],
2016 is_const=True)
2017 ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function]
2018 cls.add_method('GetAttributeFlags',
2019 'uint32_t',
2020 [param('uint32_t', 'i')],
2021 is_const=True)
2022 ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function]
2023 cls.add_method('GetAttributeFullName',
2024 'std::string',
2025 [param('uint32_t', 'i')],
2026 is_const=True)
2027 ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function]
2028 cls.add_method('GetAttributeHelp',
2029 'std::string',
2030 [param('uint32_t', 'i')],
2031 is_const=True)
2032 ## type-id.h (module 'core'): ns3::Ptr<ns3::AttributeValue const> ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function]
2033 cls.add_method('GetAttributeInitialValue',
2034 'ns3::Ptr< ns3::AttributeValue const >',
2035 [param('uint32_t', 'i')],
2036 is_const=True)
2037 ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function]
2038 cls.add_method('GetAttributeN',
2039 'uint32_t',
2040 [],
2041 is_const=True)
2042 ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function]
2043 cls.add_method('GetAttributeName',
2044 'std::string',
2045 [param('uint32_t', 'i')],
2046 is_const=True)
2047 ## 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]
2048 cls.add_method('GetConstructor',
2049 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >',
2050 [],
2051 is_const=True)
2052 ## type-id.h (module 'core'): std::string ns3::TypeId::GetGroupName() const [member function]
2053 cls.add_method('GetGroupName',
2054 'std::string',
2055 [],
2056 is_const=True)
2057 ## type-id.h (module 'core'): std::string ns3::TypeId::GetName() const [member function]
2058 cls.add_method('GetName',
2059 'std::string',
2060 [],
2061 is_const=True)
2062 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::GetParent() const [member function]
2063 cls.add_method('GetParent',
2064 'ns3::TypeId',
2065 [],
2066 is_const=True)
2067 ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::GetRegistered(uint32_t i) [member function]
2068 cls.add_method('GetRegistered',
2069 'ns3::TypeId',
2070 [param('uint32_t', 'i')],
2071 is_static=True)
2072 ## type-id.h (module 'core'): static uint32_t ns3::TypeId::GetRegisteredN() [member function]
2073 cls.add_method('GetRegisteredN',
2074 'uint32_t',
2075 [],
2076 is_static=True)
2077 ## type-id.h (module 'core'): ns3::Ptr<const ns3::TraceSourceAccessor> ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function]
2078 cls.add_method('GetTraceSourceAccessor',
2079 'ns3::Ptr< ns3::TraceSourceAccessor const >',
2080 [param('uint32_t', 'i')],
2081 is_const=True)
2082 ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function]
2083 cls.add_method('GetTraceSourceHelp',
2084 'std::string',
2085 [param('uint32_t', 'i')],
2086 is_const=True)
2087 ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function]
2088 cls.add_method('GetTraceSourceN',
2089 'uint32_t',
2090 [],
2091 is_const=True)
2092 ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function]
2093 cls.add_method('GetTraceSourceName',
2094 'std::string',
2095 [param('uint32_t', 'i')],
2096 is_const=True)
2097 ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function]
2098 cls.add_method('GetUid',
2099 'uint16_t',
2100 [],
2101 is_const=True)
2102 ## type-id.h (module 'core'): bool ns3::TypeId::HasConstructor() const [member function]
2103 cls.add_method('HasConstructor',
2104 'bool',
2105 [],
2106 is_const=True)
2107 ## type-id.h (module 'core'): bool ns3::TypeId::HasParent() const [member function]
2108 cls.add_method('HasParent',
2109 'bool',
2110 [],
2111 is_const=True)
2112 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::HideFromDocumentation() [member function]
2113 cls.add_method('HideFromDocumentation',
2114 'ns3::TypeId',
2115 [])
2116 ## type-id.h (module 'core'): bool ns3::TypeId::IsChildOf(ns3::TypeId other) const [member function]
2117 cls.add_method('IsChildOf',
2118 'bool',
2119 [param('ns3::TypeId', 'other')],
2120 is_const=True)
2121 ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function]
2122 cls.add_method('LookupAttributeByFullName',
2123 'bool',
2124 [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')],
2125 is_static=True)
2126 ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function]
2127 cls.add_method('LookupAttributeByName',
2128 'bool',
2129 [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)],
2130 is_const=True)
2131 ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function]
2132 cls.add_method('LookupByName',
2133 'ns3::TypeId',
2134 [param('std::string', 'name')],
2135 is_static=True)
2136 ## type-id.h (module 'core'): ns3::Ptr<const ns3::TraceSourceAccessor> ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function]
2137 cls.add_method('LookupTraceSourceByName',
2138 'ns3::Ptr< ns3::TraceSourceAccessor const >',
2139 [param('std::string', 'name')],
2140 is_const=True)
2141 ## type-id.h (module 'core'): bool ns3::TypeId::MustHideFromDocumentation() const [member function]
2142 cls.add_method('MustHideFromDocumentation',
2143 'bool',
2144 [],
2145 is_const=True)
2146 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function]
2147 cls.add_method('SetGroupName',
2148 'ns3::TypeId',
2149 [param('std::string', 'groupName')])
2150 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetParent(ns3::TypeId tid) [member function]
2151 cls.add_method('SetParent',
2152 'ns3::TypeId',
2153 [param('ns3::TypeId', 'tid')])
2154 ## type-id.h (module 'core'): void ns3::TypeId::SetUid(uint16_t tid) [member function]
2155 cls.add_method('SetUid',
2156 'void',
2157 [param('uint16_t', 'tid')])
2158 return
2159
2160def register_Ns3TypeIdAttributeInfo_methods(root_module, cls):
2161 ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor]
2162 cls.add_constructor([])
2163 ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor]
2164 cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')])
2165 ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable]
2166 cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False)
2167 ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable]
2168 cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False)
2169 ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable]
2170 cls.add_instance_attribute('flags', 'uint32_t', is_const=False)
2171 ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable]
2172 cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False)
2173 return
2174
Ilya Moiseenko02fb7062011-08-11 17:18:00 -07002175def register_Ns3UniformVariable_methods(root_module, cls):
2176 ## random-variable.h (module 'core'): ns3::UniformVariable::UniformVariable(ns3::UniformVariable const & arg0) [copy constructor]
2177 cls.add_constructor([param('ns3::UniformVariable const &', 'arg0')])
2178 ## random-variable.h (module 'core'): ns3::UniformVariable::UniformVariable() [constructor]
2179 cls.add_constructor([])
2180 ## random-variable.h (module 'core'): ns3::UniformVariable::UniformVariable(double s, double l) [constructor]
2181 cls.add_constructor([param('double', 's'), param('double', 'l')])
2182 ## random-variable.h (module 'core'): uint32_t ns3::UniformVariable::GetInteger(uint32_t s, uint32_t l) [member function]
2183 cls.add_method('GetInteger',
2184 'uint32_t',
2185 [param('uint32_t', 's'), param('uint32_t', 'l')])
2186 ## random-variable.h (module 'core'): double ns3::UniformVariable::GetValue() const [member function]
2187 cls.add_method('GetValue',
2188 'double',
2189 [],
2190 is_const=True)
2191 ## random-variable.h (module 'core'): double ns3::UniformVariable::GetValue(double s, double l) [member function]
2192 cls.add_method('GetValue',
2193 'double',
2194 [param('double', 's'), param('double', 'l')])
2195 return
2196
Ilya Moiseenko1762af72011-07-18 16:43:10 -07002197def register_Ns3UnsafeAttributeList_methods(root_module, cls):
2198 ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor]
2199 cls.add_constructor([])
2200 ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor]
2201 cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')])
2202 ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function]
2203 cls.add_method('GetSafe',
2204 'ns3::AttributeList',
2205 [param('std::string', 'name')],
2206 is_const=True)
2207 ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function]
2208 cls.add_method('Set',
2209 'void',
2210 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')])
2211 return
2212
Ilya Moiseenko02fb7062011-08-11 17:18:00 -07002213def register_Ns3WeibullVariable_methods(root_module, cls):
2214 ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(ns3::WeibullVariable const & arg0) [copy constructor]
2215 cls.add_constructor([param('ns3::WeibullVariable const &', 'arg0')])
2216 ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable() [constructor]
2217 cls.add_constructor([])
2218 ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(double m) [constructor]
2219 cls.add_constructor([param('double', 'm')])
2220 ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(double m, double s) [constructor]
2221 cls.add_constructor([param('double', 'm'), param('double', 's')])
2222 ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(double m, double s, double b) [constructor]
2223 cls.add_constructor([param('double', 'm'), param('double', 's'), param('double', 'b')])
2224 return
2225
2226def register_Ns3ZetaVariable_methods(root_module, cls):
2227 ## random-variable.h (module 'core'): ns3::ZetaVariable::ZetaVariable(ns3::ZetaVariable const & arg0) [copy constructor]
2228 cls.add_constructor([param('ns3::ZetaVariable const &', 'arg0')])
2229 ## random-variable.h (module 'core'): ns3::ZetaVariable::ZetaVariable(double alpha) [constructor]
2230 cls.add_constructor([param('double', 'alpha')])
2231 ## random-variable.h (module 'core'): ns3::ZetaVariable::ZetaVariable() [constructor]
2232 cls.add_constructor([])
2233 return
2234
2235def register_Ns3ZipfVariable_methods(root_module, cls):
2236 ## random-variable.h (module 'core'): ns3::ZipfVariable::ZipfVariable(ns3::ZipfVariable const & arg0) [copy constructor]
2237 cls.add_constructor([param('ns3::ZipfVariable const &', 'arg0')])
2238 ## random-variable.h (module 'core'): ns3::ZipfVariable::ZipfVariable(long int N, double alpha) [constructor]
2239 cls.add_constructor([param('long int', 'N'), param('double', 'alpha')])
2240 ## random-variable.h (module 'core'): ns3::ZipfVariable::ZipfVariable() [constructor]
2241 cls.add_constructor([])
2242 return
2243
Ilya Moiseenko1762af72011-07-18 16:43:10 -07002244def register_Ns3Empty_methods(root_module, cls):
2245 ## empty.h (module 'core'): ns3::empty::empty() [constructor]
2246 cls.add_constructor([])
2247 ## empty.h (module 'core'): ns3::empty::empty(ns3::empty const & arg0) [copy constructor]
2248 cls.add_constructor([param('ns3::empty const &', 'arg0')])
2249 return
2250
2251def register_Ns3Int64x64_t_methods(root_module, cls):
2252 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
2253 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
2254 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
2255 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
2256 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
2257 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
2258 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
2259 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
2260 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
2261 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
2262 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
2263 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
2264 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
2265 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
2266 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
2267 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
2268 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
2269 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
2270 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
2271 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
2272 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
2273 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
2274 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
2275 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
2276 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
2277 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
2278 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
2279 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
2280 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
2281 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
2282 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
2283 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
2284 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
2285 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
2286 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
2287 cls.add_unary_numeric_operator('-')
2288 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
2289 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
2290 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
2291 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
2292 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
2293 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
2294 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
2295 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
2296 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
2297 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
2298 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
2299 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
2300 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
2301 cls.add_binary_comparison_operator('<')
2302 cls.add_binary_comparison_operator('>')
2303 cls.add_binary_comparison_operator('!=')
2304 cls.add_inplace_numeric_operator('*=', param('ns3::int64x64_t const &', 'right'))
2305 cls.add_inplace_numeric_operator('+=', param('ns3::int64x64_t const &', 'right'))
2306 cls.add_inplace_numeric_operator('-=', param('ns3::int64x64_t const &', 'right'))
2307 cls.add_inplace_numeric_operator('/=', param('ns3::int64x64_t const &', 'right'))
2308 cls.add_output_stream_operator()
2309 cls.add_binary_comparison_operator('<=')
2310 cls.add_binary_comparison_operator('==')
2311 cls.add_binary_comparison_operator('>=')
2312 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t() [constructor]
2313 cls.add_constructor([])
2314 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(double v) [constructor]
2315 cls.add_constructor([param('double', 'v')])
2316 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(int v) [constructor]
2317 cls.add_constructor([param('int', 'v')])
2318 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long int v) [constructor]
2319 cls.add_constructor([param('long int', 'v')])
2320 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long long int v) [constructor]
2321 cls.add_constructor([param('long long int', 'v')])
2322 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(unsigned int v) [constructor]
2323 cls.add_constructor([param('unsigned int', 'v')])
2324 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long unsigned int v) [constructor]
2325 cls.add_constructor([param('long unsigned int', 'v')])
2326 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long long unsigned int v) [constructor]
2327 cls.add_constructor([param('long long unsigned int', 'v')])
2328 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(int64_t hi, uint64_t lo) [constructor]
2329 cls.add_constructor([param('int64_t', 'hi'), param('uint64_t', 'lo')])
2330 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(ns3::int64x64_t const & o) [copy constructor]
2331 cls.add_constructor([param('ns3::int64x64_t const &', 'o')])
2332 ## int64x64-double.h (module 'core'): double ns3::int64x64_t::GetDouble() const [member function]
2333 cls.add_method('GetDouble',
2334 'double',
2335 [],
2336 is_const=True)
2337 ## int64x64-double.h (module 'core'): int64_t ns3::int64x64_t::GetHigh() const [member function]
2338 cls.add_method('GetHigh',
2339 'int64_t',
2340 [],
2341 is_const=True)
2342 ## int64x64-double.h (module 'core'): uint64_t ns3::int64x64_t::GetLow() const [member function]
2343 cls.add_method('GetLow',
2344 'uint64_t',
2345 [],
2346 is_const=True)
2347 ## int64x64-double.h (module 'core'): static ns3::int64x64_t ns3::int64x64_t::Invert(uint64_t v) [member function]
2348 cls.add_method('Invert',
2349 'ns3::int64x64_t',
2350 [param('uint64_t', 'v')],
2351 is_static=True)
2352 ## int64x64-double.h (module 'core'): void ns3::int64x64_t::MulByInvert(ns3::int64x64_t const & o) [member function]
2353 cls.add_method('MulByInvert',
2354 'void',
2355 [param('ns3::int64x64_t const &', 'o')])
2356 return
2357
2358def register_Ns3Chunk_methods(root_module, cls):
2359 ## chunk.h (module 'network'): ns3::Chunk::Chunk() [constructor]
2360 cls.add_constructor([])
2361 ## chunk.h (module 'network'): ns3::Chunk::Chunk(ns3::Chunk const & arg0) [copy constructor]
2362 cls.add_constructor([param('ns3::Chunk const &', 'arg0')])
2363 ## chunk.h (module 'network'): uint32_t ns3::Chunk::Deserialize(ns3::Buffer::Iterator start) [member function]
2364 cls.add_method('Deserialize',
2365 'uint32_t',
2366 [param('ns3::Buffer::Iterator', 'start')],
2367 is_pure_virtual=True, is_virtual=True)
2368 ## chunk.h (module 'network'): static ns3::TypeId ns3::Chunk::GetTypeId() [member function]
2369 cls.add_method('GetTypeId',
2370 'ns3::TypeId',
2371 [],
2372 is_static=True)
2373 ## chunk.h (module 'network'): void ns3::Chunk::Print(std::ostream & os) const [member function]
2374 cls.add_method('Print',
2375 'void',
2376 [param('std::ostream &', 'os')],
2377 is_pure_virtual=True, is_const=True, is_virtual=True)
2378 return
2379
Ilya Moiseenko02fb7062011-08-11 17:18:00 -07002380def register_Ns3ConstantVariable_methods(root_module, cls):
2381 ## random-variable.h (module 'core'): ns3::ConstantVariable::ConstantVariable(ns3::ConstantVariable const & arg0) [copy constructor]
2382 cls.add_constructor([param('ns3::ConstantVariable const &', 'arg0')])
2383 ## random-variable.h (module 'core'): ns3::ConstantVariable::ConstantVariable() [constructor]
2384 cls.add_constructor([])
2385 ## random-variable.h (module 'core'): ns3::ConstantVariable::ConstantVariable(double c) [constructor]
2386 cls.add_constructor([param('double', 'c')])
2387 ## random-variable.h (module 'core'): void ns3::ConstantVariable::SetConstant(double c) [member function]
2388 cls.add_method('SetConstant',
2389 'void',
2390 [param('double', 'c')])
2391 return
2392
2393def register_Ns3DeterministicVariable_methods(root_module, cls):
2394 ## random-variable.h (module 'core'): ns3::DeterministicVariable::DeterministicVariable(ns3::DeterministicVariable const & arg0) [copy constructor]
2395 cls.add_constructor([param('ns3::DeterministicVariable const &', 'arg0')])
2396 ## random-variable.h (module 'core'): ns3::DeterministicVariable::DeterministicVariable(double * d, uint32_t c) [constructor]
2397 cls.add_constructor([param('double *', 'd'), param('uint32_t', 'c')])
2398 return
2399
2400def register_Ns3EmpiricalVariable_methods(root_module, cls):
2401 ## random-variable.h (module 'core'): ns3::EmpiricalVariable::EmpiricalVariable(ns3::EmpiricalVariable const & arg0) [copy constructor]
2402 cls.add_constructor([param('ns3::EmpiricalVariable const &', 'arg0')])
2403 ## random-variable.h (module 'core'): ns3::EmpiricalVariable::EmpiricalVariable() [constructor]
2404 cls.add_constructor([])
2405 ## random-variable.h (module 'core'): void ns3::EmpiricalVariable::CDF(double v, double c) [member function]
2406 cls.add_method('CDF',
2407 'void',
2408 [param('double', 'v'), param('double', 'c')])
2409 return
2410
2411def register_Ns3ErlangVariable_methods(root_module, cls):
2412 ## random-variable.h (module 'core'): ns3::ErlangVariable::ErlangVariable(ns3::ErlangVariable const & arg0) [copy constructor]
2413 cls.add_constructor([param('ns3::ErlangVariable const &', 'arg0')])
2414 ## random-variable.h (module 'core'): ns3::ErlangVariable::ErlangVariable() [constructor]
2415 cls.add_constructor([])
2416 ## random-variable.h (module 'core'): ns3::ErlangVariable::ErlangVariable(unsigned int k, double lambda) [constructor]
2417 cls.add_constructor([param('unsigned int', 'k'), param('double', 'lambda')])
2418 ## random-variable.h (module 'core'): double ns3::ErlangVariable::GetValue() const [member function]
2419 cls.add_method('GetValue',
2420 'double',
2421 [],
2422 is_const=True)
2423 ## random-variable.h (module 'core'): double ns3::ErlangVariable::GetValue(unsigned int k, double lambda) const [member function]
2424 cls.add_method('GetValue',
2425 'double',
2426 [param('unsigned int', 'k'), param('double', 'lambda')],
2427 is_const=True)
2428 return
2429
2430def register_Ns3ExponentialVariable_methods(root_module, cls):
2431 ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable(ns3::ExponentialVariable const & arg0) [copy constructor]
2432 cls.add_constructor([param('ns3::ExponentialVariable const &', 'arg0')])
2433 ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable() [constructor]
2434 cls.add_constructor([])
2435 ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable(double m) [constructor]
2436 cls.add_constructor([param('double', 'm')])
2437 ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable(double m, double b) [constructor]
2438 cls.add_constructor([param('double', 'm'), param('double', 'b')])
2439 return
2440
2441def register_Ns3GammaVariable_methods(root_module, cls):
2442 ## random-variable.h (module 'core'): ns3::GammaVariable::GammaVariable(ns3::GammaVariable const & arg0) [copy constructor]
2443 cls.add_constructor([param('ns3::GammaVariable const &', 'arg0')])
2444 ## random-variable.h (module 'core'): ns3::GammaVariable::GammaVariable() [constructor]
2445 cls.add_constructor([])
2446 ## random-variable.h (module 'core'): ns3::GammaVariable::GammaVariable(double alpha, double beta) [constructor]
2447 cls.add_constructor([param('double', 'alpha'), param('double', 'beta')])
2448 ## random-variable.h (module 'core'): double ns3::GammaVariable::GetValue() const [member function]
2449 cls.add_method('GetValue',
2450 'double',
2451 [],
2452 is_const=True)
2453 ## random-variable.h (module 'core'): double ns3::GammaVariable::GetValue(double alpha, double beta) const [member function]
2454 cls.add_method('GetValue',
2455 'double',
2456 [param('double', 'alpha'), param('double', 'beta')],
2457 is_const=True)
2458 return
2459
Ilya Moiseenko1762af72011-07-18 16:43:10 -07002460def register_Ns3Header_methods(root_module, cls):
2461 cls.add_output_stream_operator()
2462 ## header.h (module 'network'): ns3::Header::Header() [constructor]
2463 cls.add_constructor([])
2464 ## header.h (module 'network'): ns3::Header::Header(ns3::Header const & arg0) [copy constructor]
2465 cls.add_constructor([param('ns3::Header const &', 'arg0')])
2466 ## header.h (module 'network'): uint32_t ns3::Header::Deserialize(ns3::Buffer::Iterator start) [member function]
2467 cls.add_method('Deserialize',
2468 'uint32_t',
2469 [param('ns3::Buffer::Iterator', 'start')],
2470 is_pure_virtual=True, is_virtual=True)
2471 ## header.h (module 'network'): uint32_t ns3::Header::GetSerializedSize() const [member function]
2472 cls.add_method('GetSerializedSize',
2473 'uint32_t',
2474 [],
2475 is_pure_virtual=True, is_const=True, is_virtual=True)
2476 ## header.h (module 'network'): static ns3::TypeId ns3::Header::GetTypeId() [member function]
2477 cls.add_method('GetTypeId',
2478 'ns3::TypeId',
2479 [],
2480 is_static=True)
2481 ## header.h (module 'network'): void ns3::Header::Print(std::ostream & os) const [member function]
2482 cls.add_method('Print',
2483 'void',
2484 [param('std::ostream &', 'os')],
2485 is_pure_virtual=True, is_const=True, is_virtual=True)
2486 ## header.h (module 'network'): void ns3::Header::Serialize(ns3::Buffer::Iterator start) const [member function]
2487 cls.add_method('Serialize',
2488 'void',
2489 [param('ns3::Buffer::Iterator', 'start')],
2490 is_pure_virtual=True, is_const=True, is_virtual=True)
2491 return
2492
Ilya Moiseenko02fb7062011-08-11 17:18:00 -07002493def register_Ns3IntEmpiricalVariable_methods(root_module, cls):
2494 ## random-variable.h (module 'core'): ns3::IntEmpiricalVariable::IntEmpiricalVariable(ns3::IntEmpiricalVariable const & arg0) [copy constructor]
2495 cls.add_constructor([param('ns3::IntEmpiricalVariable const &', 'arg0')])
2496 ## random-variable.h (module 'core'): ns3::IntEmpiricalVariable::IntEmpiricalVariable() [constructor]
Ilya Moiseenko1762af72011-07-18 16:43:10 -07002497 cls.add_constructor([])
Ilya Moiseenko02fb7062011-08-11 17:18:00 -07002498 return
2499
2500def register_Ns3LogNormalVariable_methods(root_module, cls):
2501 ## random-variable.h (module 'core'): ns3::LogNormalVariable::LogNormalVariable(ns3::LogNormalVariable const & arg0) [copy constructor]
2502 cls.add_constructor([param('ns3::LogNormalVariable const &', 'arg0')])
2503 ## random-variable.h (module 'core'): ns3::LogNormalVariable::LogNormalVariable(double mu, double sigma) [constructor]
2504 cls.add_constructor([param('double', 'mu'), param('double', 'sigma')])
2505 return
2506
2507def register_Ns3NormalVariable_methods(root_module, cls):
2508 ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable(ns3::NormalVariable const & arg0) [copy constructor]
2509 cls.add_constructor([param('ns3::NormalVariable const &', 'arg0')])
2510 ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable() [constructor]
2511 cls.add_constructor([])
2512 ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable(double m, double v) [constructor]
2513 cls.add_constructor([param('double', 'm'), param('double', 'v')])
2514 ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable(double m, double v, double b) [constructor]
2515 cls.add_constructor([param('double', 'm'), param('double', 'v'), param('double', 'b')])
Ilya Moiseenko1762af72011-07-18 16:43:10 -07002516 return
2517
2518def register_Ns3Object_methods(root_module, cls):
2519 ## object.h (module 'core'): ns3::Object::Object() [constructor]
2520 cls.add_constructor([])
2521 ## object.h (module 'core'): void ns3::Object::AggregateObject(ns3::Ptr<ns3::Object> other) [member function]
2522 cls.add_method('AggregateObject',
2523 'void',
2524 [param('ns3::Ptr< ns3::Object >', 'other')])
2525 ## object.h (module 'core'): void ns3::Object::Dispose() [member function]
2526 cls.add_method('Dispose',
2527 'void',
2528 [])
2529 ## object.h (module 'core'): ns3::Object::AggregateIterator ns3::Object::GetAggregateIterator() const [member function]
2530 cls.add_method('GetAggregateIterator',
2531 'ns3::Object::AggregateIterator',
2532 [],
2533 is_const=True)
2534 ## object.h (module 'core'): ns3::TypeId ns3::Object::GetInstanceTypeId() const [member function]
2535 cls.add_method('GetInstanceTypeId',
2536 'ns3::TypeId',
2537 [],
2538 is_const=True, is_virtual=True)
2539 ## object.h (module 'core'): static ns3::TypeId ns3::Object::GetTypeId() [member function]
2540 cls.add_method('GetTypeId',
2541 'ns3::TypeId',
2542 [],
2543 is_static=True)
2544 ## object.h (module 'core'): void ns3::Object::Start() [member function]
2545 cls.add_method('Start',
2546 'void',
2547 [])
2548 ## object.h (module 'core'): ns3::Object::Object(ns3::Object const & o) [copy constructor]
2549 cls.add_constructor([param('ns3::Object const &', 'o')],
2550 visibility='protected')
2551 ## object.h (module 'core'): void ns3::Object::DoDispose() [member function]
2552 cls.add_method('DoDispose',
2553 'void',
2554 [],
2555 visibility='protected', is_virtual=True)
2556 ## object.h (module 'core'): void ns3::Object::DoStart() [member function]
2557 cls.add_method('DoStart',
2558 'void',
2559 [],
2560 visibility='protected', is_virtual=True)
2561 ## object.h (module 'core'): void ns3::Object::NotifyNewAggregate() [member function]
2562 cls.add_method('NotifyNewAggregate',
2563 'void',
2564 [],
2565 visibility='protected', is_virtual=True)
2566 return
2567
2568def register_Ns3ObjectAggregateIterator_methods(root_module, cls):
2569 ## object.h (module 'core'): ns3::Object::AggregateIterator::AggregateIterator(ns3::Object::AggregateIterator const & arg0) [copy constructor]
2570 cls.add_constructor([param('ns3::Object::AggregateIterator const &', 'arg0')])
2571 ## object.h (module 'core'): ns3::Object::AggregateIterator::AggregateIterator() [constructor]
2572 cls.add_constructor([])
2573 ## object.h (module 'core'): bool ns3::Object::AggregateIterator::HasNext() const [member function]
2574 cls.add_method('HasNext',
2575 'bool',
2576 [],
2577 is_const=True)
2578 ## object.h (module 'core'): ns3::Ptr<ns3::Object const> ns3::Object::AggregateIterator::Next() [member function]
2579 cls.add_method('Next',
2580 'ns3::Ptr< ns3::Object const >',
2581 [])
2582 return
2583
Ilya Moiseenko02fb7062011-08-11 17:18:00 -07002584def register_Ns3ParetoVariable_methods(root_module, cls):
2585 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(ns3::ParetoVariable const & arg0) [copy constructor]
2586 cls.add_constructor([param('ns3::ParetoVariable const &', 'arg0')])
2587 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable() [constructor]
2588 cls.add_constructor([])
2589 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(double m) [constructor]
2590 cls.add_constructor([param('double', 'm')])
2591 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(double m, double s) [constructor]
2592 cls.add_constructor([param('double', 'm'), param('double', 's')])
2593 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(double m, double s, double b) [constructor]
2594 cls.add_constructor([param('double', 'm'), param('double', 's'), param('double', 'b')])
2595 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(std::pair<double,double> params) [constructor]
2596 cls.add_constructor([param('std::pair< double, double >', 'params')])
2597 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(std::pair<double,double> params, double b) [constructor]
2598 cls.add_constructor([param('std::pair< double, double >', 'params'), param('double', 'b')])
2599 return
2600
Ilya Moiseenko1762af72011-07-18 16:43:10 -07002601def register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, cls):
2602 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >::SimpleRefCount() [constructor]
2603 cls.add_constructor([])
2604 ## 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]
2605 cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter< ns3::AttributeAccessor > > const &', 'o')])
2606 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >::Cleanup() [member function]
2607 cls.add_method('Cleanup',
2608 'void',
2609 [],
2610 is_static=True)
2611 return
2612
2613def register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeChecker__gt___methods(root_module, cls):
2614 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >::SimpleRefCount() [constructor]
2615 cls.add_constructor([])
2616 ## 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]
2617 cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter< ns3::AttributeChecker > > const &', 'o')])
2618 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >::Cleanup() [member function]
2619 cls.add_method('Cleanup',
2620 'void',
2621 [],
2622 is_static=True)
2623 return
2624
2625def register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, cls):
2626 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >::SimpleRefCount() [constructor]
2627 cls.add_constructor([])
2628 ## 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]
2629 cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter< ns3::AttributeValue > > const &', 'o')])
2630 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >::Cleanup() [member function]
2631 cls.add_method('Cleanup',
2632 'void',
2633 [],
2634 is_static=True)
2635 return
2636
2637def register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, cls):
2638 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >::SimpleRefCount() [constructor]
2639 cls.add_constructor([])
2640 ## 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]
2641 cls.add_constructor([param('ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter< ns3::CallbackImplBase > > const &', 'o')])
2642 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >::Cleanup() [member function]
2643 cls.add_method('Cleanup',
2644 'void',
2645 [],
2646 is_static=True)
2647 return
2648
2649def register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, cls):
2650 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >::SimpleRefCount() [constructor]
2651 cls.add_constructor([])
2652 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >::SimpleRefCount(ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> > const & o) [copy constructor]
2653 cls.add_constructor([param('ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter< ns3::EventImpl > > const &', 'o')])
2654 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >::Cleanup() [member function]
2655 cls.add_method('Cleanup',
2656 'void',
2657 [],
2658 is_static=True)
2659 return
2660
Ilya Moiseenkoc166cd32011-08-12 12:50:30 -07002661def register_Ns3SimpleRefCount__Ns3NDNabstractionNameComponents_Ns3Empty_Ns3DefaultDeleter__lt__ns3NDNabstractionNameComponents__gt___methods(root_module, cls):
2662 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NDNabstraction::Name::Components, ns3::empty, ns3::DefaultDeleter<ns3::NDNabstraction::Name::Components> >::SimpleRefCount() [constructor]
2663 cls.add_constructor([])
2664 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NDNabstraction::Name::Components, ns3::empty, ns3::DefaultDeleter<ns3::NDNabstraction::Name::Components> >::SimpleRefCount(ns3::SimpleRefCount<ns3::NDNabstraction::Name::Components, ns3::empty, ns3::DefaultDeleter<ns3::NDNabstraction::Name::Components> > const & o) [copy constructor]
2665 cls.add_constructor([param('ns3::SimpleRefCount< ns3::NDNabstraction::Name::Components, ns3::empty, ns3::DefaultDeleter< ns3::NDNabstraction::Name::Components > > const &', 'o')])
2666 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::NDNabstraction::Name::Components, ns3::empty, ns3::DefaultDeleter<ns3::NDNabstraction::Name::Components> >::Cleanup() [member function]
2667 cls.add_method('Cleanup',
2668 'void',
2669 [],
2670 is_static=True)
2671 return
2672
Ilya Moiseenko1762af72011-07-18 16:43:10 -07002673def register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, cls):
2674 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >::SimpleRefCount() [constructor]
2675 cls.add_constructor([])
2676 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >::SimpleRefCount(ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> > const & o) [copy constructor]
2677 cls.add_constructor([param('ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter< ns3::NixVector > > const &', 'o')])
2678 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >::Cleanup() [member function]
2679 cls.add_method('Cleanup',
2680 'void',
2681 [],
2682 is_static=True)
2683 return
2684
Ilya Moiseenko1762af72011-07-18 16:43:10 -07002685def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, cls):
2686 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >::SimpleRefCount() [constructor]
2687 cls.add_constructor([])
2688 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >::SimpleRefCount(ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> > const & o) [copy constructor]
2689 cls.add_constructor([param('ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter< ns3::Packet > > const &', 'o')])
2690 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >::Cleanup() [member function]
2691 cls.add_method('Cleanup',
2692 'void',
2693 [],
2694 is_static=True)
2695 return
2696
Ilya Moiseenko02fb7062011-08-11 17:18:00 -07002697def register_Ns3SocketFactory_methods(root_module, cls):
2698 ## socket-factory.h (module 'network'): ns3::SocketFactory::SocketFactory(ns3::SocketFactory const & arg0) [copy constructor]
2699 cls.add_constructor([param('ns3::SocketFactory const &', 'arg0')])
2700 ## socket-factory.h (module 'network'): ns3::SocketFactory::SocketFactory() [constructor]
Ilya Moiseenko1762af72011-07-18 16:43:10 -07002701 cls.add_constructor([])
Ilya Moiseenko02fb7062011-08-11 17:18:00 -07002702 ## socket-factory.h (module 'network'): ns3::Ptr<ns3::Socket> ns3::SocketFactory::CreateSocket() [member function]
Ilya Moiseenko1762af72011-07-18 16:43:10 -07002703 cls.add_method('CreateSocket',
2704 'ns3::Ptr< ns3::Socket >',
Ilya Moiseenko1762af72011-07-18 16:43:10 -07002705 [],
2706 is_pure_virtual=True, is_virtual=True)
Ilya Moiseenko02fb7062011-08-11 17:18:00 -07002707 ## socket-factory.h (module 'network'): static ns3::TypeId ns3::SocketFactory::GetTypeId() [member function]
Ilya Moiseenko1762af72011-07-18 16:43:10 -07002708 cls.add_method('GetTypeId',
2709 'ns3::TypeId',
2710 [],
2711 is_static=True)
Ilya Moiseenko1762af72011-07-18 16:43:10 -07002712 return
2713
2714def register_Ns3Time_methods(root_module, cls):
2715 cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right'))
2716 cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right'))
2717 cls.add_binary_comparison_operator('<')
2718 cls.add_binary_comparison_operator('>')
2719 cls.add_binary_comparison_operator('!=')
2720 cls.add_inplace_numeric_operator('+=', param('ns3::Time const &', 'right'))
2721 cls.add_inplace_numeric_operator('-=', param('ns3::Time const &', 'right'))
2722 cls.add_output_stream_operator()
2723 cls.add_binary_comparison_operator('<=')
2724 cls.add_binary_comparison_operator('==')
2725 cls.add_binary_comparison_operator('>=')
2726 ## nstime.h (module 'core'): ns3::Time::Time() [constructor]
2727 cls.add_constructor([])
2728 ## nstime.h (module 'core'): ns3::Time::Time(ns3::Time const & o) [copy constructor]
2729 cls.add_constructor([param('ns3::Time const &', 'o')])
2730 ## nstime.h (module 'core'): ns3::Time::Time(double v) [constructor]
2731 cls.add_constructor([param('double', 'v')])
2732 ## nstime.h (module 'core'): ns3::Time::Time(int v) [constructor]
2733 cls.add_constructor([param('int', 'v')])
2734 ## nstime.h (module 'core'): ns3::Time::Time(long int v) [constructor]
2735 cls.add_constructor([param('long int', 'v')])
2736 ## nstime.h (module 'core'): ns3::Time::Time(long long int v) [constructor]
2737 cls.add_constructor([param('long long int', 'v')])
2738 ## nstime.h (module 'core'): ns3::Time::Time(unsigned int v) [constructor]
2739 cls.add_constructor([param('unsigned int', 'v')])
2740 ## nstime.h (module 'core'): ns3::Time::Time(long unsigned int v) [constructor]
2741 cls.add_constructor([param('long unsigned int', 'v')])
2742 ## nstime.h (module 'core'): ns3::Time::Time(long long unsigned int v) [constructor]
2743 cls.add_constructor([param('long long unsigned int', 'v')])
2744 ## nstime.h (module 'core'): ns3::Time::Time(std::string const & s) [constructor]
2745 cls.add_constructor([param('std::string const &', 's')])
2746 ## nstime.h (module 'core'): ns3::Time::Time(ns3::int64x64_t const & value) [constructor]
2747 cls.add_constructor([param('ns3::int64x64_t const &', 'value')])
2748 ## nstime.h (module 'core'): int ns3::Time::Compare(ns3::Time const & o) const [member function]
2749 cls.add_method('Compare',
2750 'int',
2751 [param('ns3::Time const &', 'o')],
2752 is_const=True)
2753 ## nstime.h (module 'core'): static ns3::Time ns3::Time::From(ns3::int64x64_t const & from, ns3::Time::Unit timeUnit) [member function]
2754 cls.add_method('From',
2755 'ns3::Time',
2756 [param('ns3::int64x64_t const &', 'from'), param('ns3::Time::Unit', 'timeUnit')],
2757 is_static=True)
2758 ## nstime.h (module 'core'): static ns3::Time ns3::Time::From(ns3::int64x64_t const & value) [member function]
2759 cls.add_method('From',
2760 'ns3::Time',
2761 [param('ns3::int64x64_t const &', 'value')],
2762 is_static=True)
2763 ## nstime.h (module 'core'): static ns3::Time ns3::Time::FromDouble(double value, ns3::Time::Unit timeUnit) [member function]
2764 cls.add_method('FromDouble',
2765 'ns3::Time',
2766 [param('double', 'value'), param('ns3::Time::Unit', 'timeUnit')],
2767 is_static=True)
2768 ## nstime.h (module 'core'): static ns3::Time ns3::Time::FromInteger(uint64_t value, ns3::Time::Unit timeUnit) [member function]
2769 cls.add_method('FromInteger',
2770 'ns3::Time',
2771 [param('uint64_t', 'value'), param('ns3::Time::Unit', 'timeUnit')],
2772 is_static=True)
2773 ## nstime.h (module 'core'): double ns3::Time::GetDouble() const [member function]
2774 cls.add_method('GetDouble',
2775 'double',
2776 [],
2777 is_const=True)
2778 ## nstime.h (module 'core'): int64_t ns3::Time::GetFemtoSeconds() const [member function]
2779 cls.add_method('GetFemtoSeconds',
2780 'int64_t',
2781 [],
2782 is_const=True)
2783 ## nstime.h (module 'core'): int64_t ns3::Time::GetInteger() const [member function]
2784 cls.add_method('GetInteger',
2785 'int64_t',
2786 [],
2787 is_const=True)
2788 ## nstime.h (module 'core'): int64_t ns3::Time::GetMicroSeconds() const [member function]
2789 cls.add_method('GetMicroSeconds',
2790 'int64_t',
2791 [],
2792 is_const=True)
2793 ## nstime.h (module 'core'): int64_t ns3::Time::GetMilliSeconds() const [member function]
2794 cls.add_method('GetMilliSeconds',
2795 'int64_t',
2796 [],
2797 is_const=True)
2798 ## nstime.h (module 'core'): int64_t ns3::Time::GetNanoSeconds() const [member function]
2799 cls.add_method('GetNanoSeconds',
2800 'int64_t',
2801 [],
2802 is_const=True)
2803 ## nstime.h (module 'core'): int64_t ns3::Time::GetPicoSeconds() const [member function]
2804 cls.add_method('GetPicoSeconds',
2805 'int64_t',
2806 [],
2807 is_const=True)
2808 ## nstime.h (module 'core'): static ns3::Time::Unit ns3::Time::GetResolution() [member function]
2809 cls.add_method('GetResolution',
2810 'ns3::Time::Unit',
2811 [],
2812 is_static=True)
2813 ## nstime.h (module 'core'): double ns3::Time::GetSeconds() const [member function]
2814 cls.add_method('GetSeconds',
2815 'double',
2816 [],
2817 is_const=True)
2818 ## nstime.h (module 'core'): int64_t ns3::Time::GetTimeStep() const [member function]
2819 cls.add_method('GetTimeStep',
2820 'int64_t',
2821 [],
2822 is_const=True)
2823 ## nstime.h (module 'core'): bool ns3::Time::IsNegative() const [member function]
2824 cls.add_method('IsNegative',
2825 'bool',
2826 [],
2827 is_const=True)
2828 ## nstime.h (module 'core'): bool ns3::Time::IsPositive() const [member function]
2829 cls.add_method('IsPositive',
2830 'bool',
2831 [],
2832 is_const=True)
2833 ## nstime.h (module 'core'): bool ns3::Time::IsStrictlyNegative() const [member function]
2834 cls.add_method('IsStrictlyNegative',
2835 'bool',
2836 [],
2837 is_const=True)
2838 ## nstime.h (module 'core'): bool ns3::Time::IsStrictlyPositive() const [member function]
2839 cls.add_method('IsStrictlyPositive',
2840 'bool',
2841 [],
2842 is_const=True)
2843 ## nstime.h (module 'core'): bool ns3::Time::IsZero() const [member function]
2844 cls.add_method('IsZero',
2845 'bool',
2846 [],
2847 is_const=True)
2848 ## nstime.h (module 'core'): static void ns3::Time::SetResolution(ns3::Time::Unit resolution) [member function]
2849 cls.add_method('SetResolution',
2850 'void',
2851 [param('ns3::Time::Unit', 'resolution')],
2852 is_static=True)
2853 ## nstime.h (module 'core'): ns3::int64x64_t ns3::Time::To(ns3::Time::Unit timeUnit) const [member function]
2854 cls.add_method('To',
2855 'ns3::int64x64_t',
2856 [param('ns3::Time::Unit', 'timeUnit')],
2857 is_const=True)
2858 ## nstime.h (module 'core'): double ns3::Time::ToDouble(ns3::Time::Unit timeUnit) const [member function]
2859 cls.add_method('ToDouble',
2860 'double',
2861 [param('ns3::Time::Unit', 'timeUnit')],
2862 is_const=True)
2863 ## nstime.h (module 'core'): int64_t ns3::Time::ToInteger(ns3::Time::Unit timeUnit) const [member function]
2864 cls.add_method('ToInteger',
2865 'int64_t',
2866 [param('ns3::Time::Unit', 'timeUnit')],
2867 is_const=True)
2868 return
2869
2870def register_Ns3Trailer_methods(root_module, cls):
2871 cls.add_output_stream_operator()
2872 ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor]
2873 cls.add_constructor([])
2874 ## trailer.h (module 'network'): ns3::Trailer::Trailer(ns3::Trailer const & arg0) [copy constructor]
2875 cls.add_constructor([param('ns3::Trailer const &', 'arg0')])
2876 ## trailer.h (module 'network'): uint32_t ns3::Trailer::Deserialize(ns3::Buffer::Iterator end) [member function]
2877 cls.add_method('Deserialize',
2878 'uint32_t',
2879 [param('ns3::Buffer::Iterator', 'end')],
2880 is_pure_virtual=True, is_virtual=True)
2881 ## trailer.h (module 'network'): uint32_t ns3::Trailer::GetSerializedSize() const [member function]
2882 cls.add_method('GetSerializedSize',
2883 'uint32_t',
2884 [],
2885 is_pure_virtual=True, is_const=True, is_virtual=True)
2886 ## trailer.h (module 'network'): static ns3::TypeId ns3::Trailer::GetTypeId() [member function]
2887 cls.add_method('GetTypeId',
2888 'ns3::TypeId',
2889 [],
2890 is_static=True)
2891 ## trailer.h (module 'network'): void ns3::Trailer::Print(std::ostream & os) const [member function]
2892 cls.add_method('Print',
2893 'void',
2894 [param('std::ostream &', 'os')],
2895 is_pure_virtual=True, is_const=True, is_virtual=True)
2896 ## trailer.h (module 'network'): void ns3::Trailer::Serialize(ns3::Buffer::Iterator start) const [member function]
2897 cls.add_method('Serialize',
2898 'void',
2899 [param('ns3::Buffer::Iterator', 'start')],
2900 is_pure_virtual=True, is_const=True, is_virtual=True)
2901 return
2902
Ilya Moiseenko02fb7062011-08-11 17:18:00 -07002903def register_Ns3UdpSocketFactory_methods(root_module, cls):
2904 ## udp-socket-factory.h (module 'internet'): ns3::UdpSocketFactory::UdpSocketFactory() [constructor]
2905 cls.add_constructor([])
2906 ## udp-socket-factory.h (module 'internet'): ns3::UdpSocketFactory::UdpSocketFactory(ns3::UdpSocketFactory const & arg0) [copy constructor]
2907 cls.add_constructor([param('ns3::UdpSocketFactory const &', 'arg0')])
2908 ## udp-socket-factory.h (module 'internet'): static ns3::TypeId ns3::UdpSocketFactory::GetTypeId() [member function]
2909 cls.add_method('GetTypeId',
2910 'ns3::TypeId',
2911 [],
2912 is_static=True)
2913 return
2914
2915def register_Ns3Application_methods(root_module, cls):
2916 ## application.h (module 'network'): ns3::Application::Application(ns3::Application const & arg0) [copy constructor]
2917 cls.add_constructor([param('ns3::Application const &', 'arg0')])
2918 ## application.h (module 'network'): ns3::Application::Application() [constructor]
2919 cls.add_constructor([])
2920 ## application.h (module 'network'): ns3::Ptr<ns3::Node> ns3::Application::GetNode() const [member function]
2921 cls.add_method('GetNode',
2922 'ns3::Ptr< ns3::Node >',
2923 [],
2924 is_const=True)
2925 ## application.h (module 'network'): static ns3::TypeId ns3::Application::GetTypeId() [member function]
2926 cls.add_method('GetTypeId',
2927 'ns3::TypeId',
2928 [],
2929 is_static=True)
2930 ## application.h (module 'network'): void ns3::Application::SetNode(ns3::Ptr<ns3::Node> node) [member function]
2931 cls.add_method('SetNode',
2932 'void',
2933 [param('ns3::Ptr< ns3::Node >', 'node')])
2934 ## application.h (module 'network'): void ns3::Application::SetStartTime(ns3::Time start) [member function]
2935 cls.add_method('SetStartTime',
2936 'void',
2937 [param('ns3::Time', 'start')])
2938 ## application.h (module 'network'): void ns3::Application::SetStopTime(ns3::Time stop) [member function]
2939 cls.add_method('SetStopTime',
2940 'void',
2941 [param('ns3::Time', 'stop')])
2942 ## application.h (module 'network'): void ns3::Application::DoDispose() [member function]
2943 cls.add_method('DoDispose',
2944 'void',
2945 [],
2946 visibility='protected', is_virtual=True)
2947 ## application.h (module 'network'): void ns3::Application::DoStart() [member function]
2948 cls.add_method('DoStart',
2949 'void',
2950 [],
2951 visibility='protected', is_virtual=True)
2952 ## application.h (module 'network'): void ns3::Application::StartApplication() [member function]
2953 cls.add_method('StartApplication',
2954 'void',
2955 [],
2956 visibility='private', is_virtual=True)
2957 ## application.h (module 'network'): void ns3::Application::StopApplication() [member function]
2958 cls.add_method('StopApplication',
2959 'void',
2960 [],
2961 visibility='private', is_virtual=True)
2962 return
2963
Ilya Moiseenko1762af72011-07-18 16:43:10 -07002964def register_Ns3AttributeAccessor_methods(root_module, cls):
2965 ## attribute.h (module 'core'): ns3::AttributeAccessor::AttributeAccessor(ns3::AttributeAccessor const & arg0) [copy constructor]
2966 cls.add_constructor([param('ns3::AttributeAccessor const &', 'arg0')])
2967 ## attribute.h (module 'core'): ns3::AttributeAccessor::AttributeAccessor() [constructor]
2968 cls.add_constructor([])
2969 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::Get(ns3::ObjectBase const * object, ns3::AttributeValue & attribute) const [member function]
2970 cls.add_method('Get',
2971 'bool',
2972 [param('ns3::ObjectBase const *', 'object'), param('ns3::AttributeValue &', 'attribute')],
2973 is_pure_virtual=True, is_const=True, is_virtual=True)
2974 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::HasGetter() const [member function]
2975 cls.add_method('HasGetter',
2976 'bool',
2977 [],
2978 is_pure_virtual=True, is_const=True, is_virtual=True)
2979 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::HasSetter() const [member function]
2980 cls.add_method('HasSetter',
2981 'bool',
2982 [],
2983 is_pure_virtual=True, is_const=True, is_virtual=True)
2984 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::Set(ns3::ObjectBase * object, ns3::AttributeValue const & value) const [member function]
2985 cls.add_method('Set',
2986 'bool',
2987 [param('ns3::ObjectBase *', 'object', transfer_ownership=False), param('ns3::AttributeValue const &', 'value')],
2988 is_pure_virtual=True, is_const=True, is_virtual=True)
2989 return
2990
2991def register_Ns3AttributeChecker_methods(root_module, cls):
2992 ## attribute.h (module 'core'): ns3::AttributeChecker::AttributeChecker(ns3::AttributeChecker const & arg0) [copy constructor]
2993 cls.add_constructor([param('ns3::AttributeChecker const &', 'arg0')])
2994 ## attribute.h (module 'core'): ns3::AttributeChecker::AttributeChecker() [constructor]
2995 cls.add_constructor([])
2996 ## attribute.h (module 'core'): bool ns3::AttributeChecker::Check(ns3::AttributeValue const & value) const [member function]
2997 cls.add_method('Check',
2998 'bool',
2999 [param('ns3::AttributeValue const &', 'value')],
3000 is_pure_virtual=True, is_const=True, is_virtual=True)
3001 ## attribute.h (module 'core'): bool ns3::AttributeChecker::Copy(ns3::AttributeValue const & source, ns3::AttributeValue & destination) const [member function]
3002 cls.add_method('Copy',
3003 'bool',
3004 [param('ns3::AttributeValue const &', 'source'), param('ns3::AttributeValue &', 'destination')],
3005 is_pure_virtual=True, is_const=True, is_virtual=True)
3006 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeChecker::Create() const [member function]
3007 cls.add_method('Create',
3008 'ns3::Ptr< ns3::AttributeValue >',
3009 [],
3010 is_pure_virtual=True, is_const=True, is_virtual=True)
3011 ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function]
3012 cls.add_method('GetUnderlyingTypeInformation',
3013 'std::string',
3014 [],
3015 is_pure_virtual=True, is_const=True, is_virtual=True)
3016 ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetValueTypeName() const [member function]
3017 cls.add_method('GetValueTypeName',
3018 'std::string',
3019 [],
3020 is_pure_virtual=True, is_const=True, is_virtual=True)
3021 ## attribute.h (module 'core'): bool ns3::AttributeChecker::HasUnderlyingTypeInformation() const [member function]
3022 cls.add_method('HasUnderlyingTypeInformation',
3023 'bool',
3024 [],
3025 is_pure_virtual=True, is_const=True, is_virtual=True)
3026 return
3027
3028def register_Ns3AttributeValue_methods(root_module, cls):
3029 ## attribute.h (module 'core'): ns3::AttributeValue::AttributeValue(ns3::AttributeValue const & arg0) [copy constructor]
3030 cls.add_constructor([param('ns3::AttributeValue const &', 'arg0')])
3031 ## attribute.h (module 'core'): ns3::AttributeValue::AttributeValue() [constructor]
3032 cls.add_constructor([])
3033 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeValue::Copy() const [member function]
3034 cls.add_method('Copy',
3035 'ns3::Ptr< ns3::AttributeValue >',
3036 [],
3037 is_pure_virtual=True, is_const=True, is_virtual=True)
3038 ## attribute.h (module 'core'): bool ns3::AttributeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3039 cls.add_method('DeserializeFromString',
3040 'bool',
3041 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3042 is_pure_virtual=True, is_virtual=True)
3043 ## attribute.h (module 'core'): std::string ns3::AttributeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3044 cls.add_method('SerializeToString',
3045 'std::string',
3046 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3047 is_pure_virtual=True, is_const=True, is_virtual=True)
3048 return
3049
3050def register_Ns3CallbackChecker_methods(root_module, cls):
3051 ## callback.h (module 'core'): ns3::CallbackChecker::CallbackChecker() [constructor]
3052 cls.add_constructor([])
3053 ## callback.h (module 'core'): ns3::CallbackChecker::CallbackChecker(ns3::CallbackChecker const & arg0) [copy constructor]
3054 cls.add_constructor([param('ns3::CallbackChecker const &', 'arg0')])
3055 return
3056
3057def register_Ns3CallbackImplBase_methods(root_module, cls):
3058 ## callback.h (module 'core'): ns3::CallbackImplBase::CallbackImplBase() [constructor]
3059 cls.add_constructor([])
3060 ## callback.h (module 'core'): ns3::CallbackImplBase::CallbackImplBase(ns3::CallbackImplBase const & arg0) [copy constructor]
3061 cls.add_constructor([param('ns3::CallbackImplBase const &', 'arg0')])
3062 ## callback.h (module 'core'): bool ns3::CallbackImplBase::IsEqual(ns3::Ptr<ns3::CallbackImplBase const> other) const [member function]
3063 cls.add_method('IsEqual',
3064 'bool',
3065 [param('ns3::Ptr< ns3::CallbackImplBase const >', 'other')],
3066 is_pure_virtual=True, is_const=True, is_virtual=True)
3067 return
3068
3069def register_Ns3CallbackValue_methods(root_module, cls):
3070 ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue(ns3::CallbackValue const & arg0) [copy constructor]
3071 cls.add_constructor([param('ns3::CallbackValue const &', 'arg0')])
3072 ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue() [constructor]
3073 cls.add_constructor([])
3074 ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue(ns3::CallbackBase const & base) [constructor]
3075 cls.add_constructor([param('ns3::CallbackBase const &', 'base')])
3076 ## callback.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::CallbackValue::Copy() const [member function]
3077 cls.add_method('Copy',
3078 'ns3::Ptr< ns3::AttributeValue >',
3079 [],
3080 is_const=True, is_virtual=True)
3081 ## callback.h (module 'core'): bool ns3::CallbackValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3082 cls.add_method('DeserializeFromString',
3083 'bool',
3084 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3085 is_virtual=True)
3086 ## callback.h (module 'core'): std::string ns3::CallbackValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3087 cls.add_method('SerializeToString',
3088 'std::string',
3089 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3090 is_const=True, is_virtual=True)
3091 ## callback.h (module 'core'): void ns3::CallbackValue::Set(ns3::CallbackBase base) [member function]
3092 cls.add_method('Set',
3093 'void',
3094 [param('ns3::CallbackBase', 'base')])
3095 return
3096
3097def register_Ns3EmptyAttributeValue_methods(root_module, cls):
3098 ## attribute.h (module 'core'): ns3::EmptyAttributeValue::EmptyAttributeValue(ns3::EmptyAttributeValue const & arg0) [copy constructor]
3099 cls.add_constructor([param('ns3::EmptyAttributeValue const &', 'arg0')])
3100 ## attribute.h (module 'core'): ns3::EmptyAttributeValue::EmptyAttributeValue() [constructor]
3101 cls.add_constructor([])
3102 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::EmptyAttributeValue::Copy() const [member function]
3103 cls.add_method('Copy',
3104 'ns3::Ptr< ns3::AttributeValue >',
3105 [],
3106 is_const=True, visibility='private', is_virtual=True)
3107 ## attribute.h (module 'core'): bool ns3::EmptyAttributeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3108 cls.add_method('DeserializeFromString',
3109 'bool',
3110 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3111 visibility='private', is_virtual=True)
3112 ## attribute.h (module 'core'): std::string ns3::EmptyAttributeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3113 cls.add_method('SerializeToString',
3114 'std::string',
3115 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3116 is_const=True, visibility='private', is_virtual=True)
3117 return
3118
3119def register_Ns3EventImpl_methods(root_module, cls):
3120 ## event-impl.h (module 'core'): ns3::EventImpl::EventImpl(ns3::EventImpl const & arg0) [copy constructor]
3121 cls.add_constructor([param('ns3::EventImpl const &', 'arg0')])
3122 ## event-impl.h (module 'core'): ns3::EventImpl::EventImpl() [constructor]
3123 cls.add_constructor([])
3124 ## event-impl.h (module 'core'): void ns3::EventImpl::Cancel() [member function]
3125 cls.add_method('Cancel',
3126 'void',
3127 [])
3128 ## event-impl.h (module 'core'): void ns3::EventImpl::Invoke() [member function]
3129 cls.add_method('Invoke',
3130 'void',
3131 [])
3132 ## event-impl.h (module 'core'): bool ns3::EventImpl::IsCancelled() [member function]
3133 cls.add_method('IsCancelled',
3134 'bool',
3135 [])
3136 ## event-impl.h (module 'core'): void ns3::EventImpl::Notify() [member function]
3137 cls.add_method('Notify',
3138 'void',
3139 [],
3140 is_pure_virtual=True, visibility='protected', is_virtual=True)
3141 return
3142
Ilya Moiseenkoc166cd32011-08-12 12:50:30 -07003143def register_Ns3IntegerValue_methods(root_module, cls):
3144 ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue() [constructor]
3145 cls.add_constructor([])
3146 ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue(ns3::IntegerValue const & arg0) [copy constructor]
3147 cls.add_constructor([param('ns3::IntegerValue const &', 'arg0')])
3148 ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue(int64_t const & value) [constructor]
3149 cls.add_constructor([param('int64_t const &', 'value')])
3150 ## integer.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::IntegerValue::Copy() const [member function]
3151 cls.add_method('Copy',
3152 'ns3::Ptr< ns3::AttributeValue >',
3153 [],
3154 is_const=True, is_virtual=True)
3155 ## integer.h (module 'core'): bool ns3::IntegerValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3156 cls.add_method('DeserializeFromString',
3157 'bool',
3158 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3159 is_virtual=True)
3160 ## integer.h (module 'core'): int64_t ns3::IntegerValue::Get() const [member function]
3161 cls.add_method('Get',
3162 'int64_t',
3163 [],
3164 is_const=True)
3165 ## integer.h (module 'core'): std::string ns3::IntegerValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3166 cls.add_method('SerializeToString',
3167 'std::string',
3168 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3169 is_const=True, is_virtual=True)
3170 ## integer.h (module 'core'): void ns3::IntegerValue::Set(int64_t const & value) [member function]
3171 cls.add_method('Set',
3172 'void',
3173 [param('int64_t const &', 'value')])
3174 return
3175
Ilya Moiseenko1762af72011-07-18 16:43:10 -07003176def register_Ns3Ipv4AddressChecker_methods(root_module, cls):
3177 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker::Ipv4AddressChecker() [constructor]
3178 cls.add_constructor([])
3179 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker::Ipv4AddressChecker(ns3::Ipv4AddressChecker const & arg0) [copy constructor]
3180 cls.add_constructor([param('ns3::Ipv4AddressChecker const &', 'arg0')])
3181 return
3182
3183def register_Ns3Ipv4AddressValue_methods(root_module, cls):
3184 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue::Ipv4AddressValue() [constructor]
3185 cls.add_constructor([])
3186 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue::Ipv4AddressValue(ns3::Ipv4AddressValue const & arg0) [copy constructor]
3187 cls.add_constructor([param('ns3::Ipv4AddressValue const &', 'arg0')])
3188 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue::Ipv4AddressValue(ns3::Ipv4Address const & value) [constructor]
3189 cls.add_constructor([param('ns3::Ipv4Address const &', 'value')])
3190 ## ipv4-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv4AddressValue::Copy() const [member function]
3191 cls.add_method('Copy',
3192 'ns3::Ptr< ns3::AttributeValue >',
3193 [],
3194 is_const=True, is_virtual=True)
3195 ## ipv4-address.h (module 'network'): bool ns3::Ipv4AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3196 cls.add_method('DeserializeFromString',
3197 'bool',
3198 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3199 is_virtual=True)
3200 ## ipv4-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv4AddressValue::Get() const [member function]
3201 cls.add_method('Get',
3202 'ns3::Ipv4Address',
3203 [],
3204 is_const=True)
3205 ## ipv4-address.h (module 'network'): std::string ns3::Ipv4AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3206 cls.add_method('SerializeToString',
3207 'std::string',
3208 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3209 is_const=True, is_virtual=True)
3210 ## ipv4-address.h (module 'network'): void ns3::Ipv4AddressValue::Set(ns3::Ipv4Address const & value) [member function]
3211 cls.add_method('Set',
3212 'void',
3213 [param('ns3::Ipv4Address const &', 'value')])
3214 return
3215
Ilya Moiseenko1762af72011-07-18 16:43:10 -07003216def register_Ns3Ipv4MaskChecker_methods(root_module, cls):
3217 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker::Ipv4MaskChecker() [constructor]
3218 cls.add_constructor([])
3219 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker::Ipv4MaskChecker(ns3::Ipv4MaskChecker const & arg0) [copy constructor]
3220 cls.add_constructor([param('ns3::Ipv4MaskChecker const &', 'arg0')])
3221 return
3222
3223def register_Ns3Ipv4MaskValue_methods(root_module, cls):
3224 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue::Ipv4MaskValue() [constructor]
3225 cls.add_constructor([])
3226 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue::Ipv4MaskValue(ns3::Ipv4MaskValue const & arg0) [copy constructor]
3227 cls.add_constructor([param('ns3::Ipv4MaskValue const &', 'arg0')])
3228 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue::Ipv4MaskValue(ns3::Ipv4Mask const & value) [constructor]
3229 cls.add_constructor([param('ns3::Ipv4Mask const &', 'value')])
3230 ## ipv4-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv4MaskValue::Copy() const [member function]
3231 cls.add_method('Copy',
3232 'ns3::Ptr< ns3::AttributeValue >',
3233 [],
3234 is_const=True, is_virtual=True)
3235 ## ipv4-address.h (module 'network'): bool ns3::Ipv4MaskValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3236 cls.add_method('DeserializeFromString',
3237 'bool',
3238 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3239 is_virtual=True)
3240 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask ns3::Ipv4MaskValue::Get() const [member function]
3241 cls.add_method('Get',
3242 'ns3::Ipv4Mask',
3243 [],
3244 is_const=True)
3245 ## ipv4-address.h (module 'network'): std::string ns3::Ipv4MaskValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3246 cls.add_method('SerializeToString',
3247 'std::string',
3248 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3249 is_const=True, is_virtual=True)
3250 ## ipv4-address.h (module 'network'): void ns3::Ipv4MaskValue::Set(ns3::Ipv4Mask const & value) [member function]
3251 cls.add_method('Set',
3252 'void',
3253 [param('ns3::Ipv4Mask const &', 'value')])
3254 return
3255
Ilya Moiseenko1762af72011-07-18 16:43:10 -07003256def register_Ns3Ipv6AddressChecker_methods(root_module, cls):
3257 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker::Ipv6AddressChecker() [constructor]
3258 cls.add_constructor([])
3259 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker::Ipv6AddressChecker(ns3::Ipv6AddressChecker const & arg0) [copy constructor]
3260 cls.add_constructor([param('ns3::Ipv6AddressChecker const &', 'arg0')])
3261 return
3262
3263def register_Ns3Ipv6AddressValue_methods(root_module, cls):
3264 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue::Ipv6AddressValue() [constructor]
3265 cls.add_constructor([])
3266 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue::Ipv6AddressValue(ns3::Ipv6AddressValue const & arg0) [copy constructor]
3267 cls.add_constructor([param('ns3::Ipv6AddressValue const &', 'arg0')])
3268 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue::Ipv6AddressValue(ns3::Ipv6Address const & value) [constructor]
3269 cls.add_constructor([param('ns3::Ipv6Address const &', 'value')])
3270 ## ipv6-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv6AddressValue::Copy() const [member function]
3271 cls.add_method('Copy',
3272 'ns3::Ptr< ns3::AttributeValue >',
3273 [],
3274 is_const=True, is_virtual=True)
3275 ## ipv6-address.h (module 'network'): bool ns3::Ipv6AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3276 cls.add_method('DeserializeFromString',
3277 'bool',
3278 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3279 is_virtual=True)
3280 ## ipv6-address.h (module 'network'): ns3::Ipv6Address ns3::Ipv6AddressValue::Get() const [member function]
3281 cls.add_method('Get',
3282 'ns3::Ipv6Address',
3283 [],
3284 is_const=True)
3285 ## ipv6-address.h (module 'network'): std::string ns3::Ipv6AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3286 cls.add_method('SerializeToString',
3287 'std::string',
3288 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3289 is_const=True, is_virtual=True)
3290 ## ipv6-address.h (module 'network'): void ns3::Ipv6AddressValue::Set(ns3::Ipv6Address const & value) [member function]
3291 cls.add_method('Set',
3292 'void',
3293 [param('ns3::Ipv6Address const &', 'value')])
3294 return
3295
3296def register_Ns3Ipv6PrefixChecker_methods(root_module, cls):
3297 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker::Ipv6PrefixChecker() [constructor]
3298 cls.add_constructor([])
3299 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker::Ipv6PrefixChecker(ns3::Ipv6PrefixChecker const & arg0) [copy constructor]
3300 cls.add_constructor([param('ns3::Ipv6PrefixChecker const &', 'arg0')])
3301 return
3302
3303def register_Ns3Ipv6PrefixValue_methods(root_module, cls):
3304 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue::Ipv6PrefixValue() [constructor]
3305 cls.add_constructor([])
3306 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue::Ipv6PrefixValue(ns3::Ipv6PrefixValue const & arg0) [copy constructor]
3307 cls.add_constructor([param('ns3::Ipv6PrefixValue const &', 'arg0')])
3308 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue::Ipv6PrefixValue(ns3::Ipv6Prefix const & value) [constructor]
3309 cls.add_constructor([param('ns3::Ipv6Prefix const &', 'value')])
3310 ## ipv6-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv6PrefixValue::Copy() const [member function]
3311 cls.add_method('Copy',
3312 'ns3::Ptr< ns3::AttributeValue >',
3313 [],
3314 is_const=True, is_virtual=True)
3315 ## ipv6-address.h (module 'network'): bool ns3::Ipv6PrefixValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3316 cls.add_method('DeserializeFromString',
3317 'bool',
3318 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3319 is_virtual=True)
3320 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix ns3::Ipv6PrefixValue::Get() const [member function]
3321 cls.add_method('Get',
3322 'ns3::Ipv6Prefix',
3323 [],
3324 is_const=True)
3325 ## ipv6-address.h (module 'network'): std::string ns3::Ipv6PrefixValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3326 cls.add_method('SerializeToString',
3327 'std::string',
3328 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3329 is_const=True, is_virtual=True)
3330 ## ipv6-address.h (module 'network'): void ns3::Ipv6PrefixValue::Set(ns3::Ipv6Prefix const & value) [member function]
3331 cls.add_method('Set',
3332 'void',
3333 [param('ns3::Ipv6Prefix const &', 'value')])
3334 return
3335
3336def register_Ns3NetDevice_methods(root_module, cls):
3337 ## net-device.h (module 'network'): ns3::NetDevice::NetDevice() [constructor]
3338 cls.add_constructor([])
3339 ## net-device.h (module 'network'): ns3::NetDevice::NetDevice(ns3::NetDevice const & arg0) [copy constructor]
3340 cls.add_constructor([param('ns3::NetDevice const &', 'arg0')])
3341 ## net-device.h (module 'network'): void ns3::NetDevice::AddLinkChangeCallback(ns3::Callback<void,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> callback) [member function]
3342 cls.add_method('AddLinkChangeCallback',
3343 'void',
3344 [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')],
3345 is_pure_virtual=True, is_virtual=True)
3346 ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetAddress() const [member function]
3347 cls.add_method('GetAddress',
3348 'ns3::Address',
3349 [],
3350 is_pure_virtual=True, is_const=True, is_virtual=True)
3351 ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetBroadcast() const [member function]
3352 cls.add_method('GetBroadcast',
3353 'ns3::Address',
3354 [],
3355 is_pure_virtual=True, is_const=True, is_virtual=True)
3356 ## net-device.h (module 'network'): ns3::Ptr<ns3::Channel> ns3::NetDevice::GetChannel() const [member function]
3357 cls.add_method('GetChannel',
3358 'ns3::Ptr< ns3::Channel >',
3359 [],
3360 is_pure_virtual=True, is_const=True, is_virtual=True)
3361 ## net-device.h (module 'network'): uint32_t ns3::NetDevice::GetIfIndex() const [member function]
3362 cls.add_method('GetIfIndex',
3363 'uint32_t',
3364 [],
3365 is_pure_virtual=True, is_const=True, is_virtual=True)
3366 ## net-device.h (module 'network'): uint16_t ns3::NetDevice::GetMtu() const [member function]
3367 cls.add_method('GetMtu',
3368 'uint16_t',
3369 [],
3370 is_pure_virtual=True, is_const=True, is_virtual=True)
3371 ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetMulticast(ns3::Ipv4Address multicastGroup) const [member function]
3372 cls.add_method('GetMulticast',
3373 'ns3::Address',
3374 [param('ns3::Ipv4Address', 'multicastGroup')],
3375 is_pure_virtual=True, is_const=True, is_virtual=True)
3376 ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetMulticast(ns3::Ipv6Address addr) const [member function]
3377 cls.add_method('GetMulticast',
3378 'ns3::Address',
3379 [param('ns3::Ipv6Address', 'addr')],
3380 is_pure_virtual=True, is_const=True, is_virtual=True)
3381 ## net-device.h (module 'network'): ns3::Ptr<ns3::Node> ns3::NetDevice::GetNode() const [member function]
3382 cls.add_method('GetNode',
3383 'ns3::Ptr< ns3::Node >',
3384 [],
3385 is_pure_virtual=True, is_const=True, is_virtual=True)
3386 ## net-device.h (module 'network'): static ns3::TypeId ns3::NetDevice::GetTypeId() [member function]
3387 cls.add_method('GetTypeId',
3388 'ns3::TypeId',
3389 [],
3390 is_static=True)
3391 ## net-device.h (module 'network'): bool ns3::NetDevice::IsBridge() const [member function]
3392 cls.add_method('IsBridge',
3393 'bool',
3394 [],
3395 is_pure_virtual=True, is_const=True, is_virtual=True)
3396 ## net-device.h (module 'network'): bool ns3::NetDevice::IsBroadcast() const [member function]
3397 cls.add_method('IsBroadcast',
3398 'bool',
3399 [],
3400 is_pure_virtual=True, is_const=True, is_virtual=True)
3401 ## net-device.h (module 'network'): bool ns3::NetDevice::IsLinkUp() const [member function]
3402 cls.add_method('IsLinkUp',
3403 'bool',
3404 [],
3405 is_pure_virtual=True, is_const=True, is_virtual=True)
3406 ## net-device.h (module 'network'): bool ns3::NetDevice::IsMulticast() const [member function]
3407 cls.add_method('IsMulticast',
3408 'bool',
3409 [],
3410 is_pure_virtual=True, is_const=True, is_virtual=True)
3411 ## net-device.h (module 'network'): bool ns3::NetDevice::IsPointToPoint() const [member function]
3412 cls.add_method('IsPointToPoint',
3413 'bool',
3414 [],
3415 is_pure_virtual=True, is_const=True, is_virtual=True)
3416 ## net-device.h (module 'network'): bool ns3::NetDevice::NeedsArp() const [member function]
3417 cls.add_method('NeedsArp',
3418 'bool',
3419 [],
3420 is_pure_virtual=True, is_const=True, is_virtual=True)
3421 ## net-device.h (module 'network'): bool ns3::NetDevice::Send(ns3::Ptr<ns3::Packet> packet, ns3::Address const & dest, uint16_t protocolNumber) [member function]
3422 cls.add_method('Send',
3423 'bool',
3424 [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')],
3425 is_pure_virtual=True, is_virtual=True)
3426 ## net-device.h (module 'network'): bool ns3::NetDevice::SendFrom(ns3::Ptr<ns3::Packet> packet, ns3::Address const & source, ns3::Address const & dest, uint16_t protocolNumber) [member function]
3427 cls.add_method('SendFrom',
3428 'bool',
3429 [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')],
3430 is_pure_virtual=True, is_virtual=True)
3431 ## net-device.h (module 'network'): void ns3::NetDevice::SetAddress(ns3::Address address) [member function]
3432 cls.add_method('SetAddress',
3433 'void',
3434 [param('ns3::Address', 'address')],
3435 is_pure_virtual=True, is_virtual=True)
3436 ## net-device.h (module 'network'): void ns3::NetDevice::SetIfIndex(uint32_t const index) [member function]
3437 cls.add_method('SetIfIndex',
3438 'void',
3439 [param('uint32_t const', 'index')],
3440 is_pure_virtual=True, is_virtual=True)
3441 ## net-device.h (module 'network'): bool ns3::NetDevice::SetMtu(uint16_t const mtu) [member function]
3442 cls.add_method('SetMtu',
3443 'bool',
3444 [param('uint16_t const', 'mtu')],
3445 is_pure_virtual=True, is_virtual=True)
3446 ## net-device.h (module 'network'): void ns3::NetDevice::SetNode(ns3::Ptr<ns3::Node> node) [member function]
3447 cls.add_method('SetNode',
3448 'void',
3449 [param('ns3::Ptr< ns3::Node >', 'node')],
3450 is_pure_virtual=True, is_virtual=True)
3451 ## net-device.h (module 'network'): void ns3::NetDevice::SetPromiscReceiveCallback(ns3::Callback<bool,ns3::Ptr<ns3::NetDevice>,ns3::Ptr<const ns3::Packet>,short unsigned int,const ns3::Address&,const ns3::Address&,ns3::NetDevice::PacketType,ns3::empty,ns3::empty,ns3::empty> cb) [member function]
3452 cls.add_method('SetPromiscReceiveCallback',
3453 'void',
3454 [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, short unsigned int, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty >', 'cb')],
3455 is_pure_virtual=True, is_virtual=True)
3456 ## net-device.h (module 'network'): void ns3::NetDevice::SetReceiveCallback(ns3::Callback<bool,ns3::Ptr<ns3::NetDevice>,ns3::Ptr<const ns3::Packet>,short unsigned int,const ns3::Address&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> cb) [member function]
3457 cls.add_method('SetReceiveCallback',
3458 'void',
3459 [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, short unsigned int, ns3::Address const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')],
3460 is_pure_virtual=True, is_virtual=True)
3461 ## net-device.h (module 'network'): bool ns3::NetDevice::SupportsSendFrom() const [member function]
3462 cls.add_method('SupportsSendFrom',
3463 'bool',
3464 [],
3465 is_pure_virtual=True, is_const=True, is_virtual=True)
3466 return
3467
3468def register_Ns3NixVector_methods(root_module, cls):
3469 cls.add_output_stream_operator()
3470 ## nix-vector.h (module 'network'): ns3::NixVector::NixVector() [constructor]
3471 cls.add_constructor([])
3472 ## nix-vector.h (module 'network'): ns3::NixVector::NixVector(ns3::NixVector const & o) [copy constructor]
3473 cls.add_constructor([param('ns3::NixVector const &', 'o')])
3474 ## nix-vector.h (module 'network'): void ns3::NixVector::AddNeighborIndex(uint32_t newBits, uint32_t numberOfBits) [member function]
3475 cls.add_method('AddNeighborIndex',
3476 'void',
3477 [param('uint32_t', 'newBits'), param('uint32_t', 'numberOfBits')])
3478 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::BitCount(uint32_t numberOfNeighbors) const [member function]
3479 cls.add_method('BitCount',
3480 'uint32_t',
3481 [param('uint32_t', 'numberOfNeighbors')],
3482 is_const=True)
3483 ## nix-vector.h (module 'network'): ns3::Ptr<ns3::NixVector> ns3::NixVector::Copy() const [member function]
3484 cls.add_method('Copy',
3485 'ns3::Ptr< ns3::NixVector >',
3486 [],
3487 is_const=True)
3488 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::Deserialize(uint32_t const * buffer, uint32_t size) [member function]
3489 cls.add_method('Deserialize',
3490 'uint32_t',
3491 [param('uint32_t const *', 'buffer'), param('uint32_t', 'size')])
3492 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::ExtractNeighborIndex(uint32_t numberOfBits) [member function]
3493 cls.add_method('ExtractNeighborIndex',
3494 'uint32_t',
3495 [param('uint32_t', 'numberOfBits')])
3496 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::GetRemainingBits() [member function]
3497 cls.add_method('GetRemainingBits',
3498 'uint32_t',
3499 [])
3500 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::GetSerializedSize() const [member function]
3501 cls.add_method('GetSerializedSize',
3502 'uint32_t',
3503 [],
3504 is_const=True)
3505 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::Serialize(uint32_t * buffer, uint32_t maxSize) const [member function]
3506 cls.add_method('Serialize',
3507 'uint32_t',
3508 [param('uint32_t *', 'buffer'), param('uint32_t', 'maxSize')],
3509 is_const=True)
3510 return
3511
3512def register_Ns3Node_methods(root_module, cls):
3513 ## node.h (module 'network'): ns3::Node::Node(ns3::Node const & arg0) [copy constructor]
3514 cls.add_constructor([param('ns3::Node const &', 'arg0')])
3515 ## node.h (module 'network'): ns3::Node::Node() [constructor]
3516 cls.add_constructor([])
3517 ## node.h (module 'network'): ns3::Node::Node(uint32_t systemId) [constructor]
3518 cls.add_constructor([param('uint32_t', 'systemId')])
3519 ## node.h (module 'network'): uint32_t ns3::Node::AddApplication(ns3::Ptr<ns3::Application> application) [member function]
3520 cls.add_method('AddApplication',
3521 'uint32_t',
3522 [param('ns3::Ptr< ns3::Application >', 'application')])
3523 ## node.h (module 'network'): uint32_t ns3::Node::AddDevice(ns3::Ptr<ns3::NetDevice> device) [member function]
3524 cls.add_method('AddDevice',
3525 'uint32_t',
3526 [param('ns3::Ptr< ns3::NetDevice >', 'device')])
3527 ## node.h (module 'network'): static bool ns3::Node::ChecksumEnabled() [member function]
3528 cls.add_method('ChecksumEnabled',
3529 'bool',
3530 [],
3531 is_static=True)
3532 ## node.h (module 'network'): ns3::Ptr<ns3::Application> ns3::Node::GetApplication(uint32_t index) const [member function]
3533 cls.add_method('GetApplication',
3534 'ns3::Ptr< ns3::Application >',
3535 [param('uint32_t', 'index')],
3536 is_const=True)
3537 ## node.h (module 'network'): ns3::Ptr<ns3::NetDevice> ns3::Node::GetDevice(uint32_t index) const [member function]
3538 cls.add_method('GetDevice',
3539 'ns3::Ptr< ns3::NetDevice >',
3540 [param('uint32_t', 'index')],
3541 is_const=True)
3542 ## node.h (module 'network'): uint32_t ns3::Node::GetId() const [member function]
3543 cls.add_method('GetId',
3544 'uint32_t',
3545 [],
3546 is_const=True)
3547 ## node.h (module 'network'): uint32_t ns3::Node::GetNApplications() const [member function]
3548 cls.add_method('GetNApplications',
3549 'uint32_t',
3550 [],
3551 is_const=True)
3552 ## node.h (module 'network'): uint32_t ns3::Node::GetNDevices() const [member function]
3553 cls.add_method('GetNDevices',
3554 'uint32_t',
3555 [],
3556 is_const=True)
3557 ## node.h (module 'network'): uint32_t ns3::Node::GetSystemId() const [member function]
3558 cls.add_method('GetSystemId',
3559 'uint32_t',
3560 [],
3561 is_const=True)
3562 ## node.h (module 'network'): static ns3::TypeId ns3::Node::GetTypeId() [member function]
3563 cls.add_method('GetTypeId',
3564 'ns3::TypeId',
3565 [],
3566 is_static=True)
3567 ## node.h (module 'network'): void ns3::Node::RegisterProtocolHandler(ns3::Callback<void, ns3::Ptr<ns3::NetDevice>, ns3::Ptr<ns3::Packet const>, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> handler, uint16_t protocolType, ns3::Ptr<ns3::NetDevice> device, bool promiscuous=false) [member function]
3568 cls.add_method('RegisterProtocolHandler',
3569 'void',
3570 [param('ns3::Callback< void, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty >', 'handler'), param('uint16_t', 'protocolType'), param('ns3::Ptr< ns3::NetDevice >', 'device'), param('bool', 'promiscuous', default_value='false')])
3571 ## node.h (module 'network'): void ns3::Node::UnregisterProtocolHandler(ns3::Callback<void, ns3::Ptr<ns3::NetDevice>, ns3::Ptr<ns3::Packet const>, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> handler) [member function]
3572 cls.add_method('UnregisterProtocolHandler',
3573 'void',
3574 [param('ns3::Callback< void, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty >', 'handler')])
3575 ## node.h (module 'network'): void ns3::Node::DoDispose() [member function]
3576 cls.add_method('DoDispose',
3577 'void',
3578 [],
3579 visibility='protected', is_virtual=True)
3580 ## node.h (module 'network'): void ns3::Node::DoStart() [member function]
3581 cls.add_method('DoStart',
3582 'void',
3583 [],
3584 visibility='protected', is_virtual=True)
3585 ## node.h (module 'network'): void ns3::Node::NotifyDeviceAdded(ns3::Ptr<ns3::NetDevice> device) [member function]
3586 cls.add_method('NotifyDeviceAdded',
3587 'void',
3588 [param('ns3::Ptr< ns3::NetDevice >', 'device')],
3589 visibility='private', is_virtual=True)
3590 return
3591
3592def register_Ns3ObjectFactoryChecker_methods(root_module, cls):
3593 ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker::ObjectFactoryChecker() [constructor]
3594 cls.add_constructor([])
3595 ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker::ObjectFactoryChecker(ns3::ObjectFactoryChecker const & arg0) [copy constructor]
3596 cls.add_constructor([param('ns3::ObjectFactoryChecker const &', 'arg0')])
3597 return
3598
3599def register_Ns3ObjectFactoryValue_methods(root_module, cls):
3600 ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue() [constructor]
3601 cls.add_constructor([])
3602 ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue(ns3::ObjectFactoryValue const & arg0) [copy constructor]
3603 cls.add_constructor([param('ns3::ObjectFactoryValue const &', 'arg0')])
3604 ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue(ns3::ObjectFactory const & value) [constructor]
3605 cls.add_constructor([param('ns3::ObjectFactory const &', 'value')])
3606 ## object-factory.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::ObjectFactoryValue::Copy() const [member function]
3607 cls.add_method('Copy',
3608 'ns3::Ptr< ns3::AttributeValue >',
3609 [],
3610 is_const=True, is_virtual=True)
3611 ## object-factory.h (module 'core'): bool ns3::ObjectFactoryValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3612 cls.add_method('DeserializeFromString',
3613 'bool',
3614 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3615 is_virtual=True)
3616 ## object-factory.h (module 'core'): ns3::ObjectFactory ns3::ObjectFactoryValue::Get() const [member function]
3617 cls.add_method('Get',
3618 'ns3::ObjectFactory',
3619 [],
3620 is_const=True)
3621 ## object-factory.h (module 'core'): std::string ns3::ObjectFactoryValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3622 cls.add_method('SerializeToString',
3623 'std::string',
3624 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3625 is_const=True, is_virtual=True)
3626 ## object-factory.h (module 'core'): void ns3::ObjectFactoryValue::Set(ns3::ObjectFactory const & value) [member function]
3627 cls.add_method('Set',
3628 'void',
3629 [param('ns3::ObjectFactory const &', 'value')])
3630 return
3631
Ilya Moiseenko1762af72011-07-18 16:43:10 -07003632def register_Ns3Packet_methods(root_module, cls):
3633 cls.add_output_stream_operator()
3634 ## packet.h (module 'network'): ns3::Packet::Packet() [constructor]
3635 cls.add_constructor([])
3636 ## packet.h (module 'network'): ns3::Packet::Packet(ns3::Packet const & o) [copy constructor]
3637 cls.add_constructor([param('ns3::Packet const &', 'o')])
3638 ## packet.h (module 'network'): ns3::Packet::Packet(uint32_t size) [constructor]
3639 cls.add_constructor([param('uint32_t', 'size')])
3640 ## packet.h (module 'network'): ns3::Packet::Packet(uint8_t const * buffer, uint32_t size, bool magic) [constructor]
3641 cls.add_constructor([param('uint8_t const *', 'buffer'), param('uint32_t', 'size'), param('bool', 'magic')])
3642 ## packet.h (module 'network'): ns3::Packet::Packet(uint8_t const * buffer, uint32_t size) [constructor]
3643 cls.add_constructor([param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
3644 ## packet.h (module 'network'): void ns3::Packet::AddAtEnd(ns3::Ptr<const ns3::Packet> packet) [member function]
3645 cls.add_method('AddAtEnd',
3646 'void',
3647 [param('ns3::Ptr< ns3::Packet const >', 'packet')])
3648 ## packet.h (module 'network'): void ns3::Packet::AddByteTag(ns3::Tag const & tag) const [member function]
3649 cls.add_method('AddByteTag',
3650 'void',
3651 [param('ns3::Tag const &', 'tag')],
3652 is_const=True)
3653 ## packet.h (module 'network'): void ns3::Packet::AddHeader(ns3::Header const & header) [member function]
3654 cls.add_method('AddHeader',
3655 'void',
3656 [param('ns3::Header const &', 'header')])
3657 ## packet.h (module 'network'): void ns3::Packet::AddPacketTag(ns3::Tag const & tag) const [member function]
3658 cls.add_method('AddPacketTag',
3659 'void',
3660 [param('ns3::Tag const &', 'tag')],
3661 is_const=True)
3662 ## packet.h (module 'network'): void ns3::Packet::AddPaddingAtEnd(uint32_t size) [member function]
3663 cls.add_method('AddPaddingAtEnd',
3664 'void',
3665 [param('uint32_t', 'size')])
3666 ## packet.h (module 'network'): void ns3::Packet::AddTrailer(ns3::Trailer const & trailer) [member function]
3667 cls.add_method('AddTrailer',
3668 'void',
3669 [param('ns3::Trailer const &', 'trailer')])
3670 ## packet.h (module 'network'): ns3::PacketMetadata::ItemIterator ns3::Packet::BeginItem() const [member function]
3671 cls.add_method('BeginItem',
3672 'ns3::PacketMetadata::ItemIterator',
3673 [],
3674 is_const=True)
3675 ## packet.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Packet::Copy() const [member function]
3676 cls.add_method('Copy',
3677 'ns3::Ptr< ns3::Packet >',
3678 [],
3679 is_const=True)
3680 ## packet.h (module 'network'): uint32_t ns3::Packet::CopyData(uint8_t * buffer, uint32_t size) const [member function]
3681 cls.add_method('CopyData',
3682 'uint32_t',
3683 [param('uint8_t *', 'buffer'), param('uint32_t', 'size')],
3684 is_const=True)
3685 ## packet.h (module 'network'): void ns3::Packet::CopyData(std::ostream * os, uint32_t size) const [member function]
3686 cls.add_method('CopyData',
3687 'void',
3688 [param('std::ostream *', 'os'), param('uint32_t', 'size')],
3689 is_const=True)
3690 ## packet.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Packet::CreateFragment(uint32_t start, uint32_t length) const [member function]
3691 cls.add_method('CreateFragment',
3692 'ns3::Ptr< ns3::Packet >',
3693 [param('uint32_t', 'start'), param('uint32_t', 'length')],
3694 is_const=True)
3695 ## packet.h (module 'network'): static void ns3::Packet::EnableChecking() [member function]
3696 cls.add_method('EnableChecking',
3697 'void',
3698 [],
3699 is_static=True)
3700 ## packet.h (module 'network'): static void ns3::Packet::EnablePrinting() [member function]
3701 cls.add_method('EnablePrinting',
3702 'void',
3703 [],
3704 is_static=True)
3705 ## packet.h (module 'network'): bool ns3::Packet::FindFirstMatchingByteTag(ns3::Tag & tag) const [member function]
3706 cls.add_method('FindFirstMatchingByteTag',
3707 'bool',
3708 [param('ns3::Tag &', 'tag')],
3709 is_const=True)
3710 ## packet.h (module 'network'): ns3::ByteTagIterator ns3::Packet::GetByteTagIterator() const [member function]
3711 cls.add_method('GetByteTagIterator',
3712 'ns3::ByteTagIterator',
3713 [],
3714 is_const=True)
3715 ## packet.h (module 'network'): ns3::Ptr<ns3::NixVector> ns3::Packet::GetNixVector() const [member function]
3716 cls.add_method('GetNixVector',
3717 'ns3::Ptr< ns3::NixVector >',
3718 [],
3719 is_const=True)
3720 ## packet.h (module 'network'): ns3::PacketTagIterator ns3::Packet::GetPacketTagIterator() const [member function]
3721 cls.add_method('GetPacketTagIterator',
3722 'ns3::PacketTagIterator',
3723 [],
3724 is_const=True)
3725 ## packet.h (module 'network'): uint32_t ns3::Packet::GetSerializedSize() const [member function]
3726 cls.add_method('GetSerializedSize',
3727 'uint32_t',
3728 [],
3729 is_const=True)
3730 ## packet.h (module 'network'): uint32_t ns3::Packet::GetSize() const [member function]
3731 cls.add_method('GetSize',
3732 'uint32_t',
3733 [],
3734 is_const=True)
3735 ## packet.h (module 'network'): uint64_t ns3::Packet::GetUid() const [member function]
3736 cls.add_method('GetUid',
3737 'uint64_t',
3738 [],
3739 is_const=True)
3740 ## packet.h (module 'network'): uint8_t const * ns3::Packet::PeekData() const [member function]
3741 cls.add_method('PeekData',
3742 'uint8_t const *',
3743 [],
3744 deprecated=True, is_const=True)
3745 ## packet.h (module 'network'): uint32_t ns3::Packet::PeekHeader(ns3::Header & header) const [member function]
3746 cls.add_method('PeekHeader',
3747 'uint32_t',
3748 [param('ns3::Header &', 'header')],
3749 is_const=True)
3750 ## packet.h (module 'network'): bool ns3::Packet::PeekPacketTag(ns3::Tag & tag) const [member function]
3751 cls.add_method('PeekPacketTag',
3752 'bool',
3753 [param('ns3::Tag &', 'tag')],
3754 is_const=True)
3755 ## packet.h (module 'network'): uint32_t ns3::Packet::PeekTrailer(ns3::Trailer & trailer) [member function]
3756 cls.add_method('PeekTrailer',
3757 'uint32_t',
3758 [param('ns3::Trailer &', 'trailer')])
3759 ## packet.h (module 'network'): void ns3::Packet::Print(std::ostream & os) const [member function]
3760 cls.add_method('Print',
3761 'void',
3762 [param('std::ostream &', 'os')],
3763 is_const=True)
3764 ## packet.h (module 'network'): void ns3::Packet::PrintByteTags(std::ostream & os) const [member function]
3765 cls.add_method('PrintByteTags',
3766 'void',
3767 [param('std::ostream &', 'os')],
3768 is_const=True)
3769 ## packet.h (module 'network'): void ns3::Packet::PrintPacketTags(std::ostream & os) const [member function]
3770 cls.add_method('PrintPacketTags',
3771 'void',
3772 [param('std::ostream &', 'os')],
3773 is_const=True)
3774 ## packet.h (module 'network'): void ns3::Packet::RemoveAllByteTags() [member function]
3775 cls.add_method('RemoveAllByteTags',
3776 'void',
3777 [])
3778 ## packet.h (module 'network'): void ns3::Packet::RemoveAllPacketTags() [member function]
3779 cls.add_method('RemoveAllPacketTags',
3780 'void',
3781 [])
3782 ## packet.h (module 'network'): void ns3::Packet::RemoveAtEnd(uint32_t size) [member function]
3783 cls.add_method('RemoveAtEnd',
3784 'void',
3785 [param('uint32_t', 'size')])
3786 ## packet.h (module 'network'): void ns3::Packet::RemoveAtStart(uint32_t size) [member function]
3787 cls.add_method('RemoveAtStart',
3788 'void',
3789 [param('uint32_t', 'size')])
3790 ## packet.h (module 'network'): uint32_t ns3::Packet::RemoveHeader(ns3::Header & header) [member function]
3791 cls.add_method('RemoveHeader',
3792 'uint32_t',
3793 [param('ns3::Header &', 'header')])
3794 ## packet.h (module 'network'): bool ns3::Packet::RemovePacketTag(ns3::Tag & tag) [member function]
3795 cls.add_method('RemovePacketTag',
3796 'bool',
3797 [param('ns3::Tag &', 'tag')])
3798 ## packet.h (module 'network'): uint32_t ns3::Packet::RemoveTrailer(ns3::Trailer & trailer) [member function]
3799 cls.add_method('RemoveTrailer',
3800 'uint32_t',
3801 [param('ns3::Trailer &', 'trailer')])
3802 ## packet.h (module 'network'): uint32_t ns3::Packet::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
3803 cls.add_method('Serialize',
3804 'uint32_t',
3805 [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')],
3806 is_const=True)
3807 ## packet.h (module 'network'): void ns3::Packet::SetNixVector(ns3::Ptr<ns3::NixVector> arg0) [member function]
3808 cls.add_method('SetNixVector',
3809 'void',
3810 [param('ns3::Ptr< ns3::NixVector >', 'arg0')])
3811 return
3812
Ilya Moiseenko02fb7062011-08-11 17:18:00 -07003813def register_Ns3RandomVariableChecker_methods(root_module, cls):
3814 ## random-variable.h (module 'core'): ns3::RandomVariableChecker::RandomVariableChecker() [constructor]
3815 cls.add_constructor([])
3816 ## random-variable.h (module 'core'): ns3::RandomVariableChecker::RandomVariableChecker(ns3::RandomVariableChecker const & arg0) [copy constructor]
3817 cls.add_constructor([param('ns3::RandomVariableChecker const &', 'arg0')])
3818 return
3819
3820def register_Ns3RandomVariableValue_methods(root_module, cls):
3821 ## random-variable.h (module 'core'): ns3::RandomVariableValue::RandomVariableValue() [constructor]
3822 cls.add_constructor([])
3823 ## random-variable.h (module 'core'): ns3::RandomVariableValue::RandomVariableValue(ns3::RandomVariableValue const & arg0) [copy constructor]
3824 cls.add_constructor([param('ns3::RandomVariableValue const &', 'arg0')])
3825 ## random-variable.h (module 'core'): ns3::RandomVariableValue::RandomVariableValue(ns3::RandomVariable const & value) [constructor]
3826 cls.add_constructor([param('ns3::RandomVariable const &', 'value')])
3827 ## random-variable.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::RandomVariableValue::Copy() const [member function]
3828 cls.add_method('Copy',
3829 'ns3::Ptr< ns3::AttributeValue >',
3830 [],
3831 is_const=True, is_virtual=True)
3832 ## random-variable.h (module 'core'): bool ns3::RandomVariableValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3833 cls.add_method('DeserializeFromString',
3834 'bool',
3835 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3836 is_virtual=True)
3837 ## random-variable.h (module 'core'): ns3::RandomVariable ns3::RandomVariableValue::Get() const [member function]
3838 cls.add_method('Get',
3839 'ns3::RandomVariable',
3840 [],
3841 is_const=True)
3842 ## random-variable.h (module 'core'): std::string ns3::RandomVariableValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3843 cls.add_method('SerializeToString',
3844 'std::string',
3845 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3846 is_const=True, is_virtual=True)
3847 ## random-variable.h (module 'core'): void ns3::RandomVariableValue::Set(ns3::RandomVariable const & value) [member function]
3848 cls.add_method('Set',
3849 'void',
3850 [param('ns3::RandomVariable const &', 'value')])
3851 return
3852
3853def register_Ns3StupidInterestGenerator_methods(root_module, cls):
3854 ## stupid-interest-generator.h (module 'NDNabstraction'): ns3::StupidInterestGenerator::StupidInterestGenerator(ns3::StupidInterestGenerator const & arg0) [copy constructor]
3855 cls.add_constructor([param('ns3::StupidInterestGenerator const &', 'arg0')])
3856 ## stupid-interest-generator.h (module 'NDNabstraction'): ns3::StupidInterestGenerator::StupidInterestGenerator() [constructor]
3857 cls.add_constructor([])
3858 ## stupid-interest-generator.h (module 'NDNabstraction'): static ns3::TypeId ns3::StupidInterestGenerator::GetTypeId() [member function]
3859 cls.add_method('GetTypeId',
3860 'ns3::TypeId',
3861 [],
3862 is_static=True)
3863 ## stupid-interest-generator.h (module 'NDNabstraction'): void ns3::StupidInterestGenerator::DoDispose() [member function]
3864 cls.add_method('DoDispose',
3865 'void',
3866 [],
3867 visibility='protected', is_virtual=True)
3868 ## stupid-interest-generator.h (module 'NDNabstraction'): void ns3::StupidInterestGenerator::StartApplication() [member function]
3869 cls.add_method('StartApplication',
3870 'void',
3871 [],
3872 visibility='private', is_virtual=True)
3873 ## stupid-interest-generator.h (module 'NDNabstraction'): void ns3::StupidInterestGenerator::StopApplication() [member function]
3874 cls.add_method('StopApplication',
3875 'void',
3876 [],
3877 visibility='private', is_virtual=True)
3878 return
3879
3880def register_Ns3StupidInterestSink_methods(root_module, cls):
3881 ## stupid-interest-sink.h (module 'NDNabstraction'): ns3::StupidInterestSink::StupidInterestSink(ns3::StupidInterestSink const & arg0) [copy constructor]
3882 cls.add_constructor([param('ns3::StupidInterestSink const &', 'arg0')])
3883 ## stupid-interest-sink.h (module 'NDNabstraction'): ns3::StupidInterestSink::StupidInterestSink() [constructor]
3884 cls.add_constructor([])
3885 ## stupid-interest-sink.h (module 'NDNabstraction'): std::list<ns3::Ptr<ns3::Socket>, std::allocator<ns3::Ptr<ns3::Socket> > > ns3::StupidInterestSink::GetAcceptedSockets() const [member function]
3886 cls.add_method('GetAcceptedSockets',
3887 'std::list< ns3::Ptr< ns3::Socket > >',
3888 [],
3889 is_const=True)
3890 ## stupid-interest-sink.h (module 'NDNabstraction'): ns3::Ptr<ns3::Socket> ns3::StupidInterestSink::GetListeningSocket() const [member function]
3891 cls.add_method('GetListeningSocket',
3892 'ns3::Ptr< ns3::Socket >',
3893 [],
3894 is_const=True)
3895 ## stupid-interest-sink.h (module 'NDNabstraction'): uint32_t ns3::StupidInterestSink::GetTotalRx() const [member function]
3896 cls.add_method('GetTotalRx',
3897 'uint32_t',
3898 [],
3899 is_const=True)
3900 ## stupid-interest-sink.h (module 'NDNabstraction'): static ns3::TypeId ns3::StupidInterestSink::GetTypeId() [member function]
3901 cls.add_method('GetTypeId',
3902 'ns3::TypeId',
3903 [],
3904 is_static=True)
3905 ## stupid-interest-sink.h (module 'NDNabstraction'): void ns3::StupidInterestSink::DoDispose() [member function]
3906 cls.add_method('DoDispose',
3907 'void',
3908 [],
3909 visibility='protected', is_virtual=True)
3910 ## stupid-interest-sink.h (module 'NDNabstraction'): void ns3::StupidInterestSink::StartApplication() [member function]
3911 cls.add_method('StartApplication',
3912 'void',
3913 [],
3914 visibility='private', is_virtual=True)
3915 ## stupid-interest-sink.h (module 'NDNabstraction'): void ns3::StupidInterestSink::StopApplication() [member function]
3916 cls.add_method('StopApplication',
3917 'void',
3918 [],
3919 visibility='private', is_virtual=True)
3920 return
3921
Ilya Moiseenko1762af72011-07-18 16:43:10 -07003922def register_Ns3TimeChecker_methods(root_module, cls):
3923 ## nstime.h (module 'core'): ns3::TimeChecker::TimeChecker() [constructor]
3924 cls.add_constructor([])
3925 ## nstime.h (module 'core'): ns3::TimeChecker::TimeChecker(ns3::TimeChecker const & arg0) [copy constructor]
3926 cls.add_constructor([param('ns3::TimeChecker const &', 'arg0')])
3927 return
3928
3929def register_Ns3TimeValue_methods(root_module, cls):
3930 ## nstime.h (module 'core'): ns3::TimeValue::TimeValue() [constructor]
3931 cls.add_constructor([])
3932 ## nstime.h (module 'core'): ns3::TimeValue::TimeValue(ns3::TimeValue const & arg0) [copy constructor]
3933 cls.add_constructor([param('ns3::TimeValue const &', 'arg0')])
3934 ## nstime.h (module 'core'): ns3::TimeValue::TimeValue(ns3::Time const & value) [constructor]
3935 cls.add_constructor([param('ns3::Time const &', 'value')])
3936 ## nstime.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::TimeValue::Copy() const [member function]
3937 cls.add_method('Copy',
3938 'ns3::Ptr< ns3::AttributeValue >',
3939 [],
3940 is_const=True, is_virtual=True)
3941 ## nstime.h (module 'core'): bool ns3::TimeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3942 cls.add_method('DeserializeFromString',
3943 'bool',
3944 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3945 is_virtual=True)
3946 ## nstime.h (module 'core'): ns3::Time ns3::TimeValue::Get() const [member function]
3947 cls.add_method('Get',
3948 'ns3::Time',
3949 [],
3950 is_const=True)
3951 ## nstime.h (module 'core'): std::string ns3::TimeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3952 cls.add_method('SerializeToString',
3953 'std::string',
3954 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3955 is_const=True, is_virtual=True)
3956 ## nstime.h (module 'core'): void ns3::TimeValue::Set(ns3::Time const & value) [member function]
3957 cls.add_method('Set',
3958 'void',
3959 [param('ns3::Time const &', 'value')])
3960 return
3961
3962def register_Ns3TypeIdChecker_methods(root_module, cls):
3963 ## type-id.h (module 'core'): ns3::TypeIdChecker::TypeIdChecker() [constructor]
3964 cls.add_constructor([])
3965 ## type-id.h (module 'core'): ns3::TypeIdChecker::TypeIdChecker(ns3::TypeIdChecker const & arg0) [copy constructor]
3966 cls.add_constructor([param('ns3::TypeIdChecker const &', 'arg0')])
3967 return
3968
3969def register_Ns3TypeIdValue_methods(root_module, cls):
3970 ## type-id.h (module 'core'): ns3::TypeIdValue::TypeIdValue() [constructor]
3971 cls.add_constructor([])
3972 ## type-id.h (module 'core'): ns3::TypeIdValue::TypeIdValue(ns3::TypeIdValue const & arg0) [copy constructor]
3973 cls.add_constructor([param('ns3::TypeIdValue const &', 'arg0')])
3974 ## type-id.h (module 'core'): ns3::TypeIdValue::TypeIdValue(ns3::TypeId const & value) [constructor]
3975 cls.add_constructor([param('ns3::TypeId const &', 'value')])
3976 ## type-id.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::TypeIdValue::Copy() const [member function]
3977 cls.add_method('Copy',
3978 'ns3::Ptr< ns3::AttributeValue >',
3979 [],
3980 is_const=True, is_virtual=True)
3981 ## type-id.h (module 'core'): bool ns3::TypeIdValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3982 cls.add_method('DeserializeFromString',
3983 'bool',
3984 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3985 is_virtual=True)
3986 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeIdValue::Get() const [member function]
3987 cls.add_method('Get',
3988 'ns3::TypeId',
3989 [],
3990 is_const=True)
3991 ## type-id.h (module 'core'): std::string ns3::TypeIdValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3992 cls.add_method('SerializeToString',
3993 'std::string',
3994 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3995 is_const=True, is_virtual=True)
3996 ## type-id.h (module 'core'): void ns3::TypeIdValue::Set(ns3::TypeId const & value) [member function]
3997 cls.add_method('Set',
3998 'void',
3999 [param('ns3::TypeId const &', 'value')])
4000 return
4001
4002def register_Ns3AddressChecker_methods(root_module, cls):
4003 ## address.h (module 'network'): ns3::AddressChecker::AddressChecker() [constructor]
4004 cls.add_constructor([])
4005 ## address.h (module 'network'): ns3::AddressChecker::AddressChecker(ns3::AddressChecker const & arg0) [copy constructor]
4006 cls.add_constructor([param('ns3::AddressChecker const &', 'arg0')])
4007 return
4008
4009def register_Ns3AddressValue_methods(root_module, cls):
4010 ## address.h (module 'network'): ns3::AddressValue::AddressValue() [constructor]
4011 cls.add_constructor([])
4012 ## address.h (module 'network'): ns3::AddressValue::AddressValue(ns3::AddressValue const & arg0) [copy constructor]
4013 cls.add_constructor([param('ns3::AddressValue const &', 'arg0')])
4014 ## address.h (module 'network'): ns3::AddressValue::AddressValue(ns3::Address const & value) [constructor]
4015 cls.add_constructor([param('ns3::Address const &', 'value')])
4016 ## address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::AddressValue::Copy() const [member function]
4017 cls.add_method('Copy',
4018 'ns3::Ptr< ns3::AttributeValue >',
4019 [],
4020 is_const=True, is_virtual=True)
4021 ## address.h (module 'network'): bool ns3::AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4022 cls.add_method('DeserializeFromString',
4023 'bool',
4024 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4025 is_virtual=True)
4026 ## address.h (module 'network'): ns3::Address ns3::AddressValue::Get() const [member function]
4027 cls.add_method('Get',
4028 'ns3::Address',
4029 [],
4030 is_const=True)
4031 ## address.h (module 'network'): std::string ns3::AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4032 cls.add_method('SerializeToString',
4033 'std::string',
4034 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4035 is_const=True, is_virtual=True)
4036 ## address.h (module 'network'): void ns3::AddressValue::Set(ns3::Address const & value) [member function]
4037 cls.add_method('Set',
4038 'void',
4039 [param('ns3::Address const &', 'value')])
4040 return
4041
Ilya Moiseenko02fb7062011-08-11 17:18:00 -07004042def register_Ns3NDNabstractionContentPacket_methods(root_module, cls):
4043 ## ndn_contentpacket.h (module 'NDNabstraction'): ns3::NDNabstraction::ContentPacket::ContentPacket(ns3::NDNabstraction::ContentPacket const & arg0) [copy constructor]
4044 cls.add_constructor([param('ns3::NDNabstraction::ContentPacket const &', 'arg0')])
4045 ## ndn_contentpacket.h (module 'NDNabstraction'): ns3::NDNabstraction::ContentPacket::ContentPacket(ccn_charbuf const * Name, void const * data, size_t size) [constructor]
4046 cls.add_constructor([param('ccn_charbuf const *', 'Name'), param('void const *', 'data'), param('size_t', 'size')])
Ilya Moiseenko1762af72011-07-18 16:43:10 -07004047 return
4048
Ilya Moiseenkoc166cd32011-08-12 12:50:30 -07004049def register_Ns3NDNabstractionInterestHeader_methods(root_module, cls):
4050 ## interest-packet.h (module 'NDNabstraction'): ns3::NDNabstraction::InterestHeader::InterestHeader(ns3::NDNabstraction::InterestHeader const & arg0) [copy constructor]
4051 cls.add_constructor([param('ns3::NDNabstraction::InterestHeader const &', 'arg0')])
4052 ## interest-packet.h (module 'NDNabstraction'): ns3::NDNabstraction::InterestHeader::InterestHeader() [constructor]
Ilya Moiseenko1762af72011-07-18 16:43:10 -07004053 cls.add_constructor([])
Ilya Moiseenkoc166cd32011-08-12 12:50:30 -07004054 ## interest-packet.h (module 'NDNabstraction'): uint32_t ns3::NDNabstraction::InterestHeader::Deserialize(ns3::Buffer::Iterator start) [member function]
4055 cls.add_method('Deserialize',
4056 'uint32_t',
4057 [param('ns3::Buffer::Iterator', 'start')],
4058 is_virtual=True)
4059 ## interest-packet.h (module 'NDNabstraction'): void ns3::NDNabstraction::InterestHeader::EnableAnswerOriginKind() [member function]
4060 cls.add_method('EnableAnswerOriginKind',
4061 'void',
4062 [])
4063 ## interest-packet.h (module 'NDNabstraction'): void ns3::NDNabstraction::InterestHeader::EnableChildSelector() [member function]
4064 cls.add_method('EnableChildSelector',
4065 'void',
4066 [])
4067 ## interest-packet.h (module 'NDNabstraction'): ns3::NDNabstraction::Name::Components const & ns3::NDNabstraction::InterestHeader::GetExclude() const [member function]
4068 cls.add_method('GetExclude',
4069 'ns3::NDNabstraction::Name::Components const &',
Ilya Moiseenko02fb7062011-08-11 17:18:00 -07004070 [],
4071 is_const=True)
Ilya Moiseenkoc166cd32011-08-12 12:50:30 -07004072 ## interest-packet.h (module 'NDNabstraction'): ns3::TypeId ns3::NDNabstraction::InterestHeader::GetInstanceTypeId() const [member function]
4073 cls.add_method('GetInstanceTypeId',
4074 'ns3::TypeId',
4075 [],
4076 is_const=True, is_virtual=True)
4077 ## interest-packet.h (module 'NDNabstraction'): intmax_t ns3::NDNabstraction::InterestHeader::GetInterestLifetime() const [member function]
4078 cls.add_method('GetInterestLifetime',
4079 'intmax_t',
4080 [],
4081 is_const=True)
4082 ## interest-packet.h (module 'NDNabstraction'): int32_t ns3::NDNabstraction::InterestHeader::GetMaxSuffixComponents() const [member function]
4083 cls.add_method('GetMaxSuffixComponents',
4084 'int32_t',
4085 [],
4086 is_const=True)
4087 ## interest-packet.h (module 'NDNabstraction'): int32_t ns3::NDNabstraction::InterestHeader::GetMinSuffixComponents() const [member function]
4088 cls.add_method('GetMinSuffixComponents',
4089 'int32_t',
4090 [],
4091 is_const=True)
4092 ## interest-packet.h (module 'NDNabstraction'): ns3::NDNabstraction::Name::Components const & ns3::NDNabstraction::InterestHeader::GetName() const [member function]
4093 cls.add_method('GetName',
4094 'ns3::NDNabstraction::Name::Components const &',
4095 [],
4096 is_const=True)
4097 ## interest-packet.h (module 'NDNabstraction'): uint32_t ns3::NDNabstraction::InterestHeader::GetNonce() const [member function]
4098 cls.add_method('GetNonce',
4099 'uint32_t',
4100 [],
4101 is_const=True)
4102 ## interest-packet.h (module 'NDNabstraction'): int8_t ns3::NDNabstraction::InterestHeader::GetScope() const [member function]
4103 cls.add_method('GetScope',
4104 'int8_t',
4105 [],
4106 is_const=True)
4107 ## interest-packet.h (module 'NDNabstraction'): uint32_t ns3::NDNabstraction::InterestHeader::GetSerializedSize() const [member function]
4108 cls.add_method('GetSerializedSize',
4109 'uint32_t',
4110 [],
4111 is_const=True, is_virtual=True)
4112 ## interest-packet.h (module 'NDNabstraction'): static ns3::TypeId ns3::NDNabstraction::InterestHeader::GetTypeId() [member function]
4113 cls.add_method('GetTypeId',
4114 'ns3::TypeId',
4115 [],
4116 is_static=True)
4117 ## interest-packet.h (module 'NDNabstraction'): bool ns3::NDNabstraction::InterestHeader::IsEnabledAnswerOriginKind() const [member function]
4118 cls.add_method('IsEnabledAnswerOriginKind',
4119 'bool',
4120 [],
4121 is_const=True)
4122 ## interest-packet.h (module 'NDNabstraction'): bool ns3::NDNabstraction::InterestHeader::IsEnabledChildSelector() const [member function]
4123 cls.add_method('IsEnabledChildSelector',
4124 'bool',
4125 [],
4126 is_const=True)
4127 ## interest-packet.h (module 'NDNabstraction'): void ns3::NDNabstraction::InterestHeader::Print(std::ostream & os) const [member function]
4128 cls.add_method('Print',
4129 'void',
4130 [param('std::ostream &', 'os')],
4131 is_const=True, is_virtual=True)
4132 ## interest-packet.h (module 'NDNabstraction'): void ns3::NDNabstraction::InterestHeader::Serialize(ns3::Buffer::Iterator start) const [member function]
4133 cls.add_method('Serialize',
4134 'void',
4135 [param('ns3::Buffer::Iterator', 'start')],
4136 is_const=True, is_virtual=True)
4137 ## interest-packet.h (module 'NDNabstraction'): void ns3::NDNabstraction::InterestHeader::SetExclude(ns3::Ptr<ns3::NDNabstraction::Name::Components> const & exclude) [member function]
4138 cls.add_method('SetExclude',
4139 'void',
4140 [param('ns3::Ptr< ns3::NDNabstraction::Name::Components > const &', 'exclude')])
4141 ## interest-packet.h (module 'NDNabstraction'): void ns3::NDNabstraction::InterestHeader::SetInterestLifetime(intmax_t lifetime) [member function]
4142 cls.add_method('SetInterestLifetime',
4143 'void',
4144 [param('intmax_t', 'lifetime')])
4145 ## interest-packet.h (module 'NDNabstraction'): void ns3::NDNabstraction::InterestHeader::SetMaxSuffixComponents(int32_t value) [member function]
4146 cls.add_method('SetMaxSuffixComponents',
4147 'void',
4148 [param('int32_t', 'value')])
4149 ## interest-packet.h (module 'NDNabstraction'): void ns3::NDNabstraction::InterestHeader::SetMinSuffixComponents(int32_t value) [member function]
4150 cls.add_method('SetMinSuffixComponents',
4151 'void',
4152 [param('int32_t', 'value')])
4153 ## interest-packet.h (module 'NDNabstraction'): void ns3::NDNabstraction::InterestHeader::SetName(ns3::Ptr<ns3::NDNabstraction::Name::Components> const & name) [member function]
4154 cls.add_method('SetName',
4155 'void',
4156 [param('ns3::Ptr< ns3::NDNabstraction::Name::Components > const &', 'name')])
4157 ## interest-packet.h (module 'NDNabstraction'): void ns3::NDNabstraction::InterestHeader::SetNonce(uint32_t nonce) [member function]
4158 cls.add_method('SetNonce',
4159 'void',
4160 [param('uint32_t', 'nonce')])
4161 ## interest-packet.h (module 'NDNabstraction'): void ns3::NDNabstraction::InterestHeader::SetScope(int8_t scope) [member function]
4162 cls.add_method('SetScope',
4163 'void',
4164 [param('int8_t', 'scope')])
Ilya Moiseenko1762af72011-07-18 16:43:10 -07004165 return
4166
Ilya Moiseenko02fb7062011-08-11 17:18:00 -07004167def register_Ns3NDNabstractionNonceHeader_methods(root_module, cls):
4168 ## ndn_nonceheader.h (module 'NDNabstraction'): ns3::NDNabstraction::NonceHeader::NonceHeader(ns3::NDNabstraction::NonceHeader const & arg0) [copy constructor]
4169 cls.add_constructor([param('ns3::NDNabstraction::NonceHeader const &', 'arg0')])
4170 ## ndn_nonceheader.h (module 'NDNabstraction'): ns3::NDNabstraction::NonceHeader::NonceHeader() [constructor]
Ilya Moiseenko1762af72011-07-18 16:43:10 -07004171 cls.add_constructor([])
Ilya Moiseenko02fb7062011-08-11 17:18:00 -07004172 ## ndn_nonceheader.h (module 'NDNabstraction'): ns3::NDNabstraction::NonceHeader::NonceHeader(uint32_t nonce) [constructor]
4173 cls.add_constructor([param('uint32_t', 'nonce')])
4174 ## ndn_nonceheader.h (module 'NDNabstraction'): uint32_t ns3::NDNabstraction::NonceHeader::Deserialize(ns3::Buffer::Iterator start) [member function]
Ilya Moiseenko1762af72011-07-18 16:43:10 -07004175 cls.add_method('Deserialize',
4176 'uint32_t',
4177 [param('ns3::Buffer::Iterator', 'start')],
4178 is_virtual=True)
Ilya Moiseenko02fb7062011-08-11 17:18:00 -07004179 ## ndn_nonceheader.h (module 'NDNabstraction'): ns3::TypeId ns3::NDNabstraction::NonceHeader::GetInstanceTypeId() const [member function]
Ilya Moiseenko1762af72011-07-18 16:43:10 -07004180 cls.add_method('GetInstanceTypeId',
4181 'ns3::TypeId',
4182 [],
4183 is_const=True, is_virtual=True)
Ilya Moiseenko02fb7062011-08-11 17:18:00 -07004184 ## ndn_nonceheader.h (module 'NDNabstraction'): uint32_t ns3::NDNabstraction::NonceHeader::GetSerializedSize() const [member function]
Ilya Moiseenko1762af72011-07-18 16:43:10 -07004185 cls.add_method('GetSerializedSize',
4186 'uint32_t',
4187 [],
4188 is_const=True, is_virtual=True)
Ilya Moiseenko02fb7062011-08-11 17:18:00 -07004189 ## ndn_nonceheader.h (module 'NDNabstraction'): static ns3::TypeId ns3::NDNabstraction::NonceHeader::GetTypeId() [member function]
Ilya Moiseenko1762af72011-07-18 16:43:10 -07004190 cls.add_method('GetTypeId',
4191 'ns3::TypeId',
4192 [],
4193 is_static=True)
Ilya Moiseenko02fb7062011-08-11 17:18:00 -07004194 ## ndn_nonceheader.h (module 'NDNabstraction'): uint32_t ns3::NDNabstraction::NonceHeader::GetValue() [member function]
4195 cls.add_method('GetValue',
4196 'uint32_t',
4197 [])
4198 ## ndn_nonceheader.h (module 'NDNabstraction'): void ns3::NDNabstraction::NonceHeader::Print(std::ostream & os) const [member function]
Ilya Moiseenko1762af72011-07-18 16:43:10 -07004199 cls.add_method('Print',
4200 'void',
4201 [param('std::ostream &', 'os')],
4202 is_const=True, is_virtual=True)
Ilya Moiseenko02fb7062011-08-11 17:18:00 -07004203 ## ndn_nonceheader.h (module 'NDNabstraction'): void ns3::NDNabstraction::NonceHeader::Serialize(ns3::Buffer::Iterator start) const [member function]
Ilya Moiseenko1762af72011-07-18 16:43:10 -07004204 cls.add_method('Serialize',
4205 'void',
4206 [param('ns3::Buffer::Iterator', 'start')],
4207 is_const=True, is_virtual=True)
Ilya Moiseenko1762af72011-07-18 16:43:10 -07004208 return
4209
Ilya Moiseenko02fb7062011-08-11 17:18:00 -07004210def register_Ns3NDNabstractionTimeoutHeader_methods(root_module, cls):
4211 ## ndn_timeoutheader.h (module 'NDNabstraction'): ns3::NDNabstraction::TimeoutHeader::TimeoutHeader(ns3::NDNabstraction::TimeoutHeader const & arg0) [copy constructor]
4212 cls.add_constructor([param('ns3::NDNabstraction::TimeoutHeader const &', 'arg0')])
4213 ## ndn_timeoutheader.h (module 'NDNabstraction'): ns3::NDNabstraction::TimeoutHeader::TimeoutHeader() [constructor]
Ilya Moiseenko1762af72011-07-18 16:43:10 -07004214 cls.add_constructor([])
Ilya Moiseenko02fb7062011-08-11 17:18:00 -07004215 ## ndn_timeoutheader.h (module 'NDNabstraction'): ns3::NDNabstraction::TimeoutHeader::TimeoutHeader(uint32_t timeout) [constructor]
4216 cls.add_constructor([param('uint32_t', 'timeout')])
4217 ## ndn_timeoutheader.h (module 'NDNabstraction'): uint32_t ns3::NDNabstraction::TimeoutHeader::Deserialize(ns3::Buffer::Iterator start) [member function]
Ilya Moiseenko1762af72011-07-18 16:43:10 -07004218 cls.add_method('Deserialize',
4219 'uint32_t',
4220 [param('ns3::Buffer::Iterator', 'start')],
4221 is_virtual=True)
Ilya Moiseenko02fb7062011-08-11 17:18:00 -07004222 ## ndn_timeoutheader.h (module 'NDNabstraction'): ns3::TypeId ns3::NDNabstraction::TimeoutHeader::GetInstanceTypeId() const [member function]
Ilya Moiseenko1762af72011-07-18 16:43:10 -07004223 cls.add_method('GetInstanceTypeId',
4224 'ns3::TypeId',
4225 [],
4226 is_const=True, is_virtual=True)
Ilya Moiseenko02fb7062011-08-11 17:18:00 -07004227 ## ndn_timeoutheader.h (module 'NDNabstraction'): uint32_t ns3::NDNabstraction::TimeoutHeader::GetSerializedSize() const [member function]
Ilya Moiseenko1762af72011-07-18 16:43:10 -07004228 cls.add_method('GetSerializedSize',
4229 'uint32_t',
4230 [],
4231 is_const=True, is_virtual=True)
Ilya Moiseenko02fb7062011-08-11 17:18:00 -07004232 ## ndn_timeoutheader.h (module 'NDNabstraction'): static ns3::TypeId ns3::NDNabstraction::TimeoutHeader::GetTypeId() [member function]
Ilya Moiseenko1762af72011-07-18 16:43:10 -07004233 cls.add_method('GetTypeId',
4234 'ns3::TypeId',
4235 [],
4236 is_static=True)
Ilya Moiseenko02fb7062011-08-11 17:18:00 -07004237 ## ndn_timeoutheader.h (module 'NDNabstraction'): uint32_t ns3::NDNabstraction::TimeoutHeader::GetValue() [member function]
4238 cls.add_method('GetValue',
4239 'uint32_t',
4240 [])
4241 ## ndn_timeoutheader.h (module 'NDNabstraction'): void ns3::NDNabstraction::TimeoutHeader::Print(std::ostream & os) const [member function]
Ilya Moiseenko1762af72011-07-18 16:43:10 -07004242 cls.add_method('Print',
4243 'void',
4244 [param('std::ostream &', 'os')],
4245 is_const=True, is_virtual=True)
Ilya Moiseenko02fb7062011-08-11 17:18:00 -07004246 ## ndn_timeoutheader.h (module 'NDNabstraction'): void ns3::NDNabstraction::TimeoutHeader::Serialize(ns3::Buffer::Iterator start) const [member function]
Ilya Moiseenko1762af72011-07-18 16:43:10 -07004247 cls.add_method('Serialize',
4248 'void',
4249 [param('ns3::Buffer::Iterator', 'start')],
4250 is_const=True, is_virtual=True)
Ilya Moiseenko1762af72011-07-18 16:43:10 -07004251 return
4252
Ilya Moiseenkoc166cd32011-08-12 12:50:30 -07004253def register_Ns3NDNabstractionNameComponents_methods(root_module, cls):
4254 cls.add_output_stream_operator()
4255 ## name-components.h (module 'NDNabstraction'): ns3::NDNabstraction::Name::Components::Components(ns3::NDNabstraction::Name::Components const & arg0) [copy constructor]
4256 cls.add_constructor([param('ns3::NDNabstraction::Name::Components const &', 'arg0')])
4257 ## name-components.h (module 'NDNabstraction'): ns3::NDNabstraction::Name::Components::Components() [constructor]
4258 cls.add_constructor([])
4259 ## name-components.h (module 'NDNabstraction'): ns3::NDNabstraction::Name::Components::Components(std::string const & s) [constructor]
4260 cls.add_constructor([param('std::string const &', 's')])
4261 ## name-components.h (module 'NDNabstraction'): void ns3::NDNabstraction::Name::Components::Print(std::ostream & os) const [member function]
4262 cls.add_method('Print',
4263 'void',
4264 [param('std::ostream &', 'os')],
4265 is_const=True)
4266 ## name-components.h (module 'NDNabstraction'): ns3::NDNabstraction::Name::Components & ns3::NDNabstraction::Name::Components::operator()(std::string const & s) [member operator]
4267 cls.add_method('operator()',
4268 'ns3::NDNabstraction::Name::Components &',
4269 [param('std::string const &', 's')],
4270 custom_name='__call__')
4271 return
4272
Ilya Moiseenko1762af72011-07-18 16:43:10 -07004273def register_functions(root_module):
4274 module = root_module
4275 register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module)
Ilya Moiseenko02fb7062011-08-11 17:18:00 -07004276 register_functions_ns3_NDNabstraction(module.get_submodule('NDNabstraction'), root_module)
Ilya Moiseenkoc166cd32011-08-12 12:50:30 -07004277 register_functions_ns3_internal(module.get_submodule('internal'), root_module)
Ilya Moiseenko1762af72011-07-18 16:43:10 -07004278 return
4279
4280def register_functions_ns3_FatalImpl(module, root_module):
4281 return
4282
Ilya Moiseenko02fb7062011-08-11 17:18:00 -07004283def register_functions_ns3_NDNabstraction(module, root_module):
Ilya Moiseenkoc166cd32011-08-12 12:50:30 -07004284 register_functions_ns3_NDNabstraction_Name(module.get_submodule('Name'), root_module)
4285 return
4286
4287def register_functions_ns3_NDNabstraction_Name(module, root_module):
4288 return
4289
4290def register_functions_ns3_internal(module, root_module):
Ilya Moiseenko1762af72011-07-18 16:43:10 -07004291 return
4292
4293def main():
4294 out = FileCodeSink(sys.stdout)
4295 root_module = module_init()
4296 register_types(root_module)
4297 register_methods(root_module)
4298 register_functions(root_module)
4299 root_module.generate(out)
4300
4301if __name__ == '__main__':
4302 main()
4303