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