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