blob: 72485d1bc594bf4876fb6146ed40ffe3a85c3954 [file] [log] [blame]
Alexander Afanasyev381dea02011-11-03 08:33:26 -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():
17 root_module = Module('ns.NDNabstraction', cpp_namespace='::ns3')
18 return root_module
19
20def register_types(module):
21 root_module = module.get_root()
22
Alexander Afanasyev381dea02011-11-03 08:33:26 -070023 ## address.h (module 'network'): ns3::Address [class]
24 module.add_class('Address', import_from_module='ns.network')
25 ## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration]
26 module.add_enum('MaxSize_e', ['MAX_SIZE'], outer_class=root_module['ns3::Address'], import_from_module='ns.network')
27 ## application-container.h (module 'network'): ns3::ApplicationContainer [class]
28 module.add_class('ApplicationContainer', import_from_module='ns.network')
Alexander Afanasyev381dea02011-11-03 08:33:26 -070029 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class]
30 module.add_class('AttributeConstructionList', import_from_module='ns.core')
31 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct]
32 module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList'])
33 ## buffer.h (module 'network'): ns3::Buffer [class]
34 module.add_class('Buffer', import_from_module='ns.network')
35 ## buffer.h (module 'network'): ns3::Buffer::Iterator [class]
36 module.add_class('Iterator', import_from_module='ns.network', outer_class=root_module['ns3::Buffer'])
37 ## packet.h (module 'network'): ns3::ByteTagIterator [class]
38 module.add_class('ByteTagIterator', import_from_module='ns.network')
39 ## packet.h (module 'network'): ns3::ByteTagIterator::Item [class]
40 module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::ByteTagIterator'])
41 ## byte-tag-list.h (module 'network'): ns3::ByteTagList [class]
42 module.add_class('ByteTagList', import_from_module='ns.network')
43 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator [class]
44 module.add_class('Iterator', import_from_module='ns.network', outer_class=root_module['ns3::ByteTagList'])
45 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item [struct]
46 module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::ByteTagList::Iterator'])
47 ## callback.h (module 'core'): ns3::CallbackBase [class]
48 module.add_class('CallbackBase', import_from_module='ns.core')
Alexander Afanasyev4975f732011-12-20 17:52:19 -080049 ## ccnx-app-helper.h (module 'NDNabstraction'): ns3::CcnxAppHelper [class]
50 module.add_class('CcnxAppHelper')
Alexander Afanasyev381dea02011-11-03 08:33:26 -070051 ## ccnx-content-object-header.h (module 'NDNabstraction'): ns3::CcnxContentObjectHeaderException [class]
52 module.add_class('CcnxContentObjectHeaderException')
Alexander Afanasyev381dea02011-11-03 08:33:26 -070053 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibEntryContainer [struct]
54 module.add_class('CcnxFibEntryContainer')
55 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibFaceMetric [class]
56 module.add_class('CcnxFibFaceMetric')
57 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibFaceMetric::Status [enumeration]
58 module.add_enum('Status', ['NDN_FIB_GREEN', 'NDN_FIB_YELLOW', 'NDN_FIB_RED'], outer_class=root_module['ns3::CcnxFibFaceMetric'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -070059 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibFaceMetricContainer [struct]
60 module.add_class('CcnxFibFaceMetricContainer')
Alexander Afanasyev53872ce2011-12-16 13:17:18 -080061 ## ccnx-header-helper.h (module 'NDNabstraction'): ns3::CcnxHeaderHelper [class]
62 module.add_class('CcnxHeaderHelper')
63 ## ccnx-header-helper.h (module 'NDNabstraction'): ns3::CcnxHeaderHelper::Type [enumeration]
64 module.add_enum('Type', ['INTEREST', 'CONTENT_OBJECT'], outer_class=root_module['ns3::CcnxHeaderHelper'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -070065 ## ccnx-interest-header.h (module 'NDNabstraction'): ns3::CcnxInterestHeaderException [class]
66 module.add_class('CcnxInterestHeaderException')
Alexander Afanasyev07827182011-12-13 01:07:32 -080067 ## ccnx-stack-helper.h (module 'NDNabstraction'): ns3::CcnxStackHelper [class]
68 module.add_class('CcnxStackHelper')
Alexander Afanasyev53872ce2011-12-16 13:17:18 -080069 ## ccnx-header-helper.h (module 'NDNabstraction'): ns3::CcnxUnknownHeaderException [class]
70 module.add_class('CcnxUnknownHeaderException')
Alexander Afanasyev381dea02011-11-03 08:33:26 -070071 ## event-id.h (module 'core'): ns3::EventId [class]
72 module.add_class('EventId', import_from_module='ns.core')
73 ## ipv4-address.h (module 'network'): ns3::Ipv4Address [class]
74 module.add_class('Ipv4Address', import_from_module='ns.network')
75 ## ipv4-address.h (module 'network'): ns3::Ipv4Address [class]
76 root_module['ns3::Ipv4Address'].implicitly_converts_to(root_module['ns3::Address'])
77 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask [class]
78 module.add_class('Ipv4Mask', import_from_module='ns.network')
79 ## ipv6-address.h (module 'network'): ns3::Ipv6Address [class]
80 module.add_class('Ipv6Address', import_from_module='ns.network')
81 ## ipv6-address.h (module 'network'): ns3::Ipv6Address [class]
82 root_module['ns3::Ipv6Address'].implicitly_converts_to(root_module['ns3::Address'])
83 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix [class]
84 module.add_class('Ipv6Prefix', import_from_module='ns.network')
Alexander Afanasyev381dea02011-11-03 08:33:26 -070085 ## net-device-container.h (module 'network'): ns3::NetDeviceContainer [class]
86 module.add_class('NetDeviceContainer', import_from_module='ns.network')
87 ## node-container.h (module 'network'): ns3::NodeContainer [class]
88 module.add_class('NodeContainer', import_from_module='ns.network')
89 ## object-base.h (module 'core'): ns3::ObjectBase [class]
90 module.add_class('ObjectBase', allow_subclassing=True, import_from_module='ns.core')
91 ## object.h (module 'core'): ns3::ObjectDeleter [struct]
92 module.add_class('ObjectDeleter', import_from_module='ns.core')
93 ## object-factory.h (module 'core'): ns3::ObjectFactory [class]
94 module.add_class('ObjectFactory', import_from_module='ns.core')
95 ## packet-metadata.h (module 'network'): ns3::PacketMetadata [class]
96 module.add_class('PacketMetadata', import_from_module='ns.network')
97 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item [struct]
98 module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::PacketMetadata'])
99 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item [enumeration]
100 module.add_enum('', ['PAYLOAD', 'HEADER', 'TRAILER'], outer_class=root_module['ns3::PacketMetadata::Item'], import_from_module='ns.network')
101 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator [class]
102 module.add_class('ItemIterator', import_from_module='ns.network', outer_class=root_module['ns3::PacketMetadata'])
103 ## packet.h (module 'network'): ns3::PacketTagIterator [class]
104 module.add_class('PacketTagIterator', import_from_module='ns.network')
105 ## packet.h (module 'network'): ns3::PacketTagIterator::Item [class]
106 module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::PacketTagIterator'])
107 ## packet-tag-list.h (module 'network'): ns3::PacketTagList [class]
108 module.add_class('PacketTagList', import_from_module='ns.network')
109 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData [struct]
110 module.add_class('TagData', import_from_module='ns.network', outer_class=root_module['ns3::PacketTagList'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700111 ## random-variable.h (module 'core'): ns3::RandomVariable [class]
112 module.add_class('RandomVariable', import_from_module='ns.core')
113 ## random-variable.h (module 'core'): ns3::SeedManager [class]
114 module.add_class('SeedManager', import_from_module='ns.core')
115 ## random-variable.h (module 'core'): ns3::SequentialVariable [class]
116 module.add_class('SequentialVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
117 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Chunk, ns3::ObjectBase, ns3::DefaultDeleter<ns3::Chunk> > [class]
118 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Chunk', 'ns3::ObjectBase', 'ns3::DefaultDeleter<ns3::Chunk>'], parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
119 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter> [class]
120 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'))
Alexander Afanasyev4975f732011-12-20 17:52:19 -0800121 ## spring-mobility-helper.h (module 'NDNabstraction'): ns3::SpringMobilityHelper [class]
122 module.add_class('SpringMobilityHelper')
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700123 ## tag.h (module 'network'): ns3::Tag [class]
124 module.add_class('Tag', import_from_module='ns.network', parent=root_module['ns3::ObjectBase'])
125 ## tag-buffer.h (module 'network'): ns3::TagBuffer [class]
126 module.add_class('TagBuffer', import_from_module='ns.network')
127 ## random-variable.h (module 'core'): ns3::TriangularVariable [class]
128 module.add_class('TriangularVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
129 ## type-id.h (module 'core'): ns3::TypeId [class]
130 module.add_class('TypeId', import_from_module='ns.core')
131 ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration]
132 module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core')
133 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct]
134 module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId'])
135 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct]
136 module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId'])
137 ## random-variable.h (module 'core'): ns3::UniformVariable [class]
138 module.add_class('UniformVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Alexander Afanasyev4975f732011-12-20 17:52:19 -0800139 ## vector.h (module 'core'): ns3::Vector2D [class]
140 module.add_class('Vector2D', import_from_module='ns.core')
141 ## vector.h (module 'core'): ns3::Vector3D [class]
142 module.add_class('Vector3D', import_from_module='ns.core')
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700143 ## random-variable.h (module 'core'): ns3::WeibullVariable [class]
144 module.add_class('WeibullVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
145 ## random-variable.h (module 'core'): ns3::ZetaVariable [class]
146 module.add_class('ZetaVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
147 ## random-variable.h (module 'core'): ns3::ZipfVariable [class]
148 module.add_class('ZipfVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
149 ## empty.h (module 'core'): ns3::empty [class]
150 module.add_class('empty', import_from_module='ns.core')
151 ## int64x64-double.h (module 'core'): ns3::int64x64_t [class]
152 module.add_class('int64x64_t', import_from_module='ns.core')
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700153 ## chunk.h (module 'network'): ns3::Chunk [class]
154 module.add_class('Chunk', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::Chunk, ns3::ObjectBase, ns3::DefaultDeleter<ns3::Chunk> >'])
155 ## random-variable.h (module 'core'): ns3::ConstantVariable [class]
156 module.add_class('ConstantVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
157 ## random-variable.h (module 'core'): ns3::DeterministicVariable [class]
158 module.add_class('DeterministicVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
159 ## random-variable.h (module 'core'): ns3::EmpiricalVariable [class]
160 module.add_class('EmpiricalVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
161 ## random-variable.h (module 'core'): ns3::ErlangVariable [class]
162 module.add_class('ErlangVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
163 ## random-variable.h (module 'core'): ns3::ExponentialVariable [class]
164 module.add_class('ExponentialVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
165 ## random-variable.h (module 'core'): ns3::GammaVariable [class]
166 module.add_class('GammaVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
167 ## header.h (module 'network'): ns3::Header [class]
168 module.add_class('Header', import_from_module='ns.network', parent=root_module['ns3::Chunk'])
169 ## random-variable.h (module 'core'): ns3::IntEmpiricalVariable [class]
170 module.add_class('IntEmpiricalVariable', import_from_module='ns.core', parent=root_module['ns3::EmpiricalVariable'])
171 ## random-variable.h (module 'core'): ns3::LogNormalVariable [class]
172 module.add_class('LogNormalVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
173 ## random-variable.h (module 'core'): ns3::NormalVariable [class]
174 module.add_class('NormalVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
175 ## object.h (module 'core'): ns3::Object [class]
176 module.add_class('Object', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >'])
177 ## object.h (module 'core'): ns3::Object::AggregateIterator [class]
178 module.add_class('AggregateIterator', import_from_module='ns.core', outer_class=root_module['ns3::Object'])
179 ## random-variable.h (module 'core'): ns3::ParetoVariable [class]
180 module.add_class('ParetoVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700181 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> > [class]
182 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'))
183 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> > [class]
184 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'))
185 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> > [class]
186 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'))
187 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> > [class]
188 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'))
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700189 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CcnxFaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::CcnxFaceContainer> > [class]
190 module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::CcnxFaceContainer', 'ns3::empty', 'ns3::DefaultDeleter<ns3::CcnxFaceContainer>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
191 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CcnxFibEntry, ns3::empty, ns3::DefaultDeleter<ns3::CcnxFibEntry> > [class]
192 module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::CcnxFibEntry', 'ns3::empty', 'ns3::DefaultDeleter<ns3::CcnxFibEntry>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
193 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CcnxNameComponents, ns3::empty, ns3::DefaultDeleter<ns3::CcnxNameComponents> > [class]
194 module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::CcnxNameComponents', 'ns3::empty', 'ns3::DefaultDeleter<ns3::CcnxNameComponents>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700195 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> > [class]
196 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'))
197 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> > [class]
198 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::NixVector', 'ns3::empty', 'ns3::DefaultDeleter<ns3::NixVector>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700199 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> > [class]
200 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Packet', 'ns3::empty', 'ns3::DefaultDeleter<ns3::Packet>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyevae3b7c32011-12-13 13:20:06 -0800201 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter<ns3::TopologyReader> > [class]
202 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::TopologyReader', 'ns3::empty', 'ns3::DefaultDeleter<ns3::TopologyReader>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700203 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> > [class]
204 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::TraceSourceAccessor', 'ns3::empty', 'ns3::DefaultDeleter<ns3::TraceSourceAccessor>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700205 ## nstime.h (module 'core'): ns3::Time [class]
206 module.add_class('Time', import_from_module='ns.core')
207 ## nstime.h (module 'core'): ns3::Time::Unit [enumeration]
208 module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core')
209 ## nstime.h (module 'core'): ns3::Time [class]
210 root_module['ns3::Time'].implicitly_converts_to(root_module['ns3::int64x64_t'])
211 ## topology-reader.h (module 'topology-read'): ns3::TopologyReader [class]
Alexander Afanasyevae3b7c32011-12-13 13:20:06 -0800212 module.add_class('TopologyReader', import_from_module='ns.topology_read', parent=root_module['ns3::SimpleRefCount< ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter<ns3::TopologyReader> >'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700213 ## topology-reader.h (module 'topology-read'): ns3::TopologyReader::Link [class]
214 module.add_class('Link', import_from_module='ns.topology_read', outer_class=root_module['ns3::TopologyReader'])
215 ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor [class]
216 module.add_class('TraceSourceAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
217 ## trailer.h (module 'network'): ns3::Trailer [class]
218 module.add_class('Trailer', import_from_module='ns.network', parent=root_module['ns3::Chunk'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700219 ## annotated-topology-reader.h (module 'NDNabstraction'): ns3::AnnotatedTopologyReader [class]
220 module.add_class('AnnotatedTopologyReader', parent=root_module['ns3::TopologyReader'])
221 ## application.h (module 'network'): ns3::Application [class]
222 module.add_class('Application', import_from_module='ns.network', parent=root_module['ns3::Object'])
223 ## attribute.h (module 'core'): ns3::AttributeAccessor [class]
224 module.add_class('AttributeAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >'])
225 ## attribute.h (module 'core'): ns3::AttributeChecker [class]
226 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> >'])
227 ## attribute.h (module 'core'): ns3::AttributeValue [class]
228 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> >'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700229 ## callback.h (module 'core'): ns3::CallbackChecker [class]
230 module.add_class('CallbackChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
231 ## callback.h (module 'core'): ns3::CallbackImplBase [class]
232 module.add_class('CallbackImplBase', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >'])
233 ## callback.h (module 'core'): ns3::CallbackValue [class]
234 module.add_class('CallbackValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
235 ## ccnx.h (module 'NDNabstraction'): ns3::Ccnx [class]
236 module.add_class('Ccnx', parent=root_module['ns3::Object'])
Alexander Afanasyev8f5a9bb2011-12-18 19:49:02 -0800237 ## ccnx.h (module 'NDNabstraction'): ns3::Ccnx::DropReason [enumeration]
238 module.add_enum('DropReason', ['DUPLICATED', 'SUPPRESSED', 'NO_FACES', 'NON_DUPLICATED', 'AFTER_SATISFIED', 'UNSOLICITED'], outer_class=root_module['ns3::Ccnx'])
Alexander Afanasyev07827182011-12-13 01:07:32 -0800239 ## ccnx-app.h (module 'NDNabstraction'): ns3::CcnxApp [class]
240 module.add_class('CcnxApp', parent=root_module['ns3::Application'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700241 ## ccnx-content-object-header.h (module 'NDNabstraction'): ns3::CcnxContentObjectHeader [class]
242 module.add_class('CcnxContentObjectHeader', parent=root_module['ns3::Header'])
243 ## ccnx-content-object-header.h (module 'NDNabstraction'): ns3::CcnxContentObjectTail [class]
244 module.add_class('CcnxContentObjectTail', parent=root_module['ns3::Trailer'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700245 ## ccnx-face.h (module 'NDNabstraction'): ns3::CcnxFace [class]
Alexander Afanasyev53872ce2011-12-16 13:17:18 -0800246 module.add_class('CcnxFace', parent=root_module['ns3::Object'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700247 ## ccnx-face-container.h (module 'NDNabstraction'): ns3::CcnxFaceContainer [class]
248 module.add_class('CcnxFaceContainer', parent=root_module['ns3::SimpleRefCount< ns3::CcnxFaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::CcnxFaceContainer> >'])
Alexander Afanasyev07827182011-12-13 01:07:32 -0800249 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFib [class]
250 module.add_class('CcnxFib', parent=root_module['ns3::Object'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700251 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibEntry [class]
252 module.add_class('CcnxFibEntry', parent=root_module['ns3::SimpleRefCount< ns3::CcnxFibEntry, ns3::empty, ns3::DefaultDeleter<ns3::CcnxFibEntry> >'])
Alexander Afanasyev07827182011-12-13 01:07:32 -0800253 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibEntry::NoFaces [class]
254 module.add_class('NoFaces', outer_class=root_module['ns3::CcnxFibEntry'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700255 ## ccnx-interest-header.h (module 'NDNabstraction'): ns3::CcnxInterestHeader [class]
256 module.add_class('CcnxInterestHeader', parent=root_module['ns3::Header'])
Alexander Afanasyev07827182011-12-13 01:07:32 -0800257 ## ccnx-interest-header.h (module 'NDNabstraction'): ns3::CcnxInterestHeader [enumeration]
258 module.add_enum('', ['NORMAL_INTEREST', 'NACK_LOOP', 'NACK_CONGESTION', 'NACK_GIVEUP_PIT'], outer_class=root_module['ns3::CcnxInterestHeader'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700259 ## ccnx-name-components.h (module 'NDNabstraction'): ns3::CcnxNameComponents [class]
260 module.add_class('CcnxNameComponents', parent=root_module['ns3::SimpleRefCount< ns3::CcnxNameComponents, ns3::empty, ns3::DefaultDeleter<ns3::CcnxNameComponents> >'])
261 ## ccnx-name-components.h (module 'NDNabstraction'): ns3::CcnxNameComponentsChecker [class]
262 module.add_class('CcnxNameComponentsChecker', parent=root_module['ns3::AttributeChecker'])
263 ## ccnx-name-components.h (module 'NDNabstraction'): ns3::CcnxNameComponentsValue [class]
264 module.add_class('CcnxNameComponentsValue', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700265 ## attribute.h (module 'core'): ns3::EmptyAttributeValue [class]
266 module.add_class('EmptyAttributeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
267 ## event-impl.h (module 'core'): ns3::EventImpl [class]
268 module.add_class('EventImpl', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >'])
269 ## integer.h (module 'core'): ns3::IntegerValue [class]
270 module.add_class('IntegerValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
271 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker [class]
272 module.add_class('Ipv4AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
273 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue [class]
274 module.add_class('Ipv4AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
275 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker [class]
276 module.add_class('Ipv4MaskChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
277 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue [class]
278 module.add_class('Ipv4MaskValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
279 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker [class]
280 module.add_class('Ipv6AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
281 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue [class]
282 module.add_class('Ipv6AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
283 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker [class]
284 module.add_class('Ipv6PrefixChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
285 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue [class]
286 module.add_class('Ipv6PrefixValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyev4975f732011-12-20 17:52:19 -0800287 ## mobility-model.h (module 'mobility'): ns3::MobilityModel [class]
288 module.add_class('MobilityModel', import_from_module='ns.mobility', parent=root_module['ns3::Object'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700289 ## net-device.h (module 'network'): ns3::NetDevice [class]
290 module.add_class('NetDevice', import_from_module='ns.network', parent=root_module['ns3::Object'])
291 ## net-device.h (module 'network'): ns3::NetDevice::PacketType [enumeration]
292 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')
293 ## nix-vector.h (module 'network'): ns3::NixVector [class]
294 module.add_class('NixVector', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >'])
295 ## node.h (module 'network'): ns3::Node [class]
296 module.add_class('Node', import_from_module='ns.network', parent=root_module['ns3::Object'])
297 ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker [class]
298 module.add_class('ObjectFactoryChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
299 ## object-factory.h (module 'core'): ns3::ObjectFactoryValue [class]
300 module.add_class('ObjectFactoryValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700301 ## packet.h (module 'network'): ns3::Packet [class]
302 module.add_class('Packet', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700303 ## random-variable.h (module 'core'): ns3::RandomVariableChecker [class]
304 module.add_class('RandomVariableChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
305 ## random-variable.h (module 'core'): ns3::RandomVariableValue [class]
306 module.add_class('RandomVariableValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyev07827182011-12-13 01:07:32 -0800307 ## rocketfuel-weights-reader.h (module 'NDNabstraction'): ns3::RocketfuelWeightsReader [class]
Alexander Afanasyevae3b7c32011-12-13 13:20:06 -0800308 module.add_class('RocketfuelWeightsReader', parent=root_module['ns3::AnnotatedTopologyReader'])
309 ## rocketfuel-weights-reader.h (module 'NDNabstraction'): ns3::RocketfuelWeightsReader [enumeration]
310 module.add_enum('', ['WEIGHTS', 'LATENCIES'], outer_class=root_module['ns3::RocketfuelWeightsReader'])
Alexander Afanasyev4975f732011-12-20 17:52:19 -0800311 ## spring-mobility-model.h (module 'NDNabstraction'): ns3::SpringMobilityModel [class]
312 module.add_class('SpringMobilityModel', parent=root_module['ns3::MobilityModel'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700313 ## nstime.h (module 'core'): ns3::TimeChecker [class]
314 module.add_class('TimeChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
315 ## nstime.h (module 'core'): ns3::TimeValue [class]
316 module.add_class('TimeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
317 ## type-id.h (module 'core'): ns3::TypeIdChecker [class]
318 module.add_class('TypeIdChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
319 ## type-id.h (module 'core'): ns3::TypeIdValue [class]
320 module.add_class('TypeIdValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyev4975f732011-12-20 17:52:19 -0800321 ## vector.h (module 'core'): ns3::Vector2DChecker [class]
322 module.add_class('Vector2DChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
323 ## vector.h (module 'core'): ns3::Vector2DValue [class]
324 module.add_class('Vector2DValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
325 ## vector.h (module 'core'): ns3::Vector3DChecker [class]
326 module.add_class('Vector3DChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
327 ## vector.h (module 'core'): ns3::Vector3DValue [class]
328 module.add_class('Vector3DValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700329 ## address.h (module 'network'): ns3::AddressChecker [class]
330 module.add_class('AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
331 ## address.h (module 'network'): ns3::AddressValue [class]
332 module.add_class('AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700333 module.add_container('std::map< std::string, std::string >', ('std::string', 'std::string'), container_type='map')
334 module.add_container('std::list< boost::reference_wrapper< std::string const > >', 'boost::reference_wrapper< std::basic_string< char, std::char_traits< char >, std::allocator< char > > const >', container_type='list')
335 module.add_container('std::list< std::string >', 'std::string', container_type='list')
Alexander Afanasyev4975f732011-12-20 17:52:19 -0800336 typehandlers.add_type_alias('ns3::Vector3DChecker', 'ns3::VectorChecker')
337 typehandlers.add_type_alias('ns3::Vector3DChecker*', 'ns3::VectorChecker*')
338 typehandlers.add_type_alias('ns3::Vector3DChecker&', 'ns3::VectorChecker&')
339 module.add_typedef(root_module['ns3::Vector3DChecker'], 'VectorChecker')
340 typehandlers.add_type_alias('ns3::Vector3D', 'ns3::Vector')
341 typehandlers.add_type_alias('ns3::Vector3D*', 'ns3::Vector*')
342 typehandlers.add_type_alias('ns3::Vector3D&', 'ns3::Vector&')
343 module.add_typedef(root_module['ns3::Vector3D'], 'Vector')
344 typehandlers.add_type_alias('ns3::Vector3DValue', 'ns3::VectorValue')
345 typehandlers.add_type_alias('ns3::Vector3DValue*', 'ns3::VectorValue*')
346 typehandlers.add_type_alias('ns3::Vector3DValue&', 'ns3::VectorValue&')
347 module.add_typedef(root_module['ns3::Vector3DValue'], 'VectorValue')
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700348
349 ## Register a nested module for the namespace FatalImpl
350
351 nested_module = module.add_cpp_namespace('FatalImpl')
352 register_types_ns3_FatalImpl(nested_module)
353
354
355 ## Register a nested module for the namespace internal
356
357 nested_module = module.add_cpp_namespace('internal')
358 register_types_ns3_internal(nested_module)
359
360
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700361def register_types_ns3_FatalImpl(module):
362 root_module = module.get_root()
363
364
365def register_types_ns3_internal(module):
366 root_module = module.get_root()
367
368
369def register_methods(root_module):
370 register_Ns3Address_methods(root_module, root_module['ns3::Address'])
371 register_Ns3ApplicationContainer_methods(root_module, root_module['ns3::ApplicationContainer'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700372 register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList'])
373 register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item'])
374 register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer'])
375 register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator'])
376 register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator'])
377 register_Ns3ByteTagIteratorItem_methods(root_module, root_module['ns3::ByteTagIterator::Item'])
378 register_Ns3ByteTagList_methods(root_module, root_module['ns3::ByteTagList'])
379 register_Ns3ByteTagListIterator_methods(root_module, root_module['ns3::ByteTagList::Iterator'])
380 register_Ns3ByteTagListIteratorItem_methods(root_module, root_module['ns3::ByteTagList::Iterator::Item'])
381 register_Ns3CallbackBase_methods(root_module, root_module['ns3::CallbackBase'])
Alexander Afanasyev4975f732011-12-20 17:52:19 -0800382 register_Ns3CcnxAppHelper_methods(root_module, root_module['ns3::CcnxAppHelper'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700383 register_Ns3CcnxContentObjectHeaderException_methods(root_module, root_module['ns3::CcnxContentObjectHeaderException'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700384 register_Ns3CcnxFibEntryContainer_methods(root_module, root_module['ns3::CcnxFibEntryContainer'])
385 register_Ns3CcnxFibFaceMetric_methods(root_module, root_module['ns3::CcnxFibFaceMetric'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700386 register_Ns3CcnxFibFaceMetricContainer_methods(root_module, root_module['ns3::CcnxFibFaceMetricContainer'])
Alexander Afanasyev53872ce2011-12-16 13:17:18 -0800387 register_Ns3CcnxHeaderHelper_methods(root_module, root_module['ns3::CcnxHeaderHelper'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700388 register_Ns3CcnxInterestHeaderException_methods(root_module, root_module['ns3::CcnxInterestHeaderException'])
Alexander Afanasyev07827182011-12-13 01:07:32 -0800389 register_Ns3CcnxStackHelper_methods(root_module, root_module['ns3::CcnxStackHelper'])
Alexander Afanasyev53872ce2011-12-16 13:17:18 -0800390 register_Ns3CcnxUnknownHeaderException_methods(root_module, root_module['ns3::CcnxUnknownHeaderException'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700391 register_Ns3EventId_methods(root_module, root_module['ns3::EventId'])
392 register_Ns3Ipv4Address_methods(root_module, root_module['ns3::Ipv4Address'])
393 register_Ns3Ipv4Mask_methods(root_module, root_module['ns3::Ipv4Mask'])
394 register_Ns3Ipv6Address_methods(root_module, root_module['ns3::Ipv6Address'])
395 register_Ns3Ipv6Prefix_methods(root_module, root_module['ns3::Ipv6Prefix'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700396 register_Ns3NetDeviceContainer_methods(root_module, root_module['ns3::NetDeviceContainer'])
397 register_Ns3NodeContainer_methods(root_module, root_module['ns3::NodeContainer'])
398 register_Ns3ObjectBase_methods(root_module, root_module['ns3::ObjectBase'])
399 register_Ns3ObjectDeleter_methods(root_module, root_module['ns3::ObjectDeleter'])
400 register_Ns3ObjectFactory_methods(root_module, root_module['ns3::ObjectFactory'])
401 register_Ns3PacketMetadata_methods(root_module, root_module['ns3::PacketMetadata'])
402 register_Ns3PacketMetadataItem_methods(root_module, root_module['ns3::PacketMetadata::Item'])
403 register_Ns3PacketMetadataItemIterator_methods(root_module, root_module['ns3::PacketMetadata::ItemIterator'])
404 register_Ns3PacketTagIterator_methods(root_module, root_module['ns3::PacketTagIterator'])
405 register_Ns3PacketTagIteratorItem_methods(root_module, root_module['ns3::PacketTagIterator::Item'])
406 register_Ns3PacketTagList_methods(root_module, root_module['ns3::PacketTagList'])
407 register_Ns3PacketTagListTagData_methods(root_module, root_module['ns3::PacketTagList::TagData'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700408 register_Ns3RandomVariable_methods(root_module, root_module['ns3::RandomVariable'])
409 register_Ns3SeedManager_methods(root_module, root_module['ns3::SeedManager'])
410 register_Ns3SequentialVariable_methods(root_module, root_module['ns3::SequentialVariable'])
411 register_Ns3SimpleRefCount__Ns3Chunk_Ns3ObjectBase_Ns3DefaultDeleter__lt__ns3Chunk__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Chunk, ns3::ObjectBase, ns3::DefaultDeleter<ns3::Chunk> >'])
412 register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >'])
Alexander Afanasyev4975f732011-12-20 17:52:19 -0800413 register_Ns3SpringMobilityHelper_methods(root_module, root_module['ns3::SpringMobilityHelper'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700414 register_Ns3Tag_methods(root_module, root_module['ns3::Tag'])
415 register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer'])
416 register_Ns3TriangularVariable_methods(root_module, root_module['ns3::TriangularVariable'])
417 register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId'])
418 register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation'])
419 register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation'])
420 register_Ns3UniformVariable_methods(root_module, root_module['ns3::UniformVariable'])
Alexander Afanasyev4975f732011-12-20 17:52:19 -0800421 register_Ns3Vector2D_methods(root_module, root_module['ns3::Vector2D'])
422 register_Ns3Vector3D_methods(root_module, root_module['ns3::Vector3D'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700423 register_Ns3WeibullVariable_methods(root_module, root_module['ns3::WeibullVariable'])
424 register_Ns3ZetaVariable_methods(root_module, root_module['ns3::ZetaVariable'])
425 register_Ns3ZipfVariable_methods(root_module, root_module['ns3::ZipfVariable'])
426 register_Ns3Empty_methods(root_module, root_module['ns3::empty'])
427 register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700428 register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk'])
429 register_Ns3ConstantVariable_methods(root_module, root_module['ns3::ConstantVariable'])
430 register_Ns3DeterministicVariable_methods(root_module, root_module['ns3::DeterministicVariable'])
431 register_Ns3EmpiricalVariable_methods(root_module, root_module['ns3::EmpiricalVariable'])
432 register_Ns3ErlangVariable_methods(root_module, root_module['ns3::ErlangVariable'])
433 register_Ns3ExponentialVariable_methods(root_module, root_module['ns3::ExponentialVariable'])
434 register_Ns3GammaVariable_methods(root_module, root_module['ns3::GammaVariable'])
435 register_Ns3Header_methods(root_module, root_module['ns3::Header'])
436 register_Ns3IntEmpiricalVariable_methods(root_module, root_module['ns3::IntEmpiricalVariable'])
437 register_Ns3LogNormalVariable_methods(root_module, root_module['ns3::LogNormalVariable'])
438 register_Ns3NormalVariable_methods(root_module, root_module['ns3::NormalVariable'])
439 register_Ns3Object_methods(root_module, root_module['ns3::Object'])
440 register_Ns3ObjectAggregateIterator_methods(root_module, root_module['ns3::Object::AggregateIterator'])
441 register_Ns3ParetoVariable_methods(root_module, root_module['ns3::ParetoVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700442 register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >'])
443 register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeChecker__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >'])
444 register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >'])
445 register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700446 register_Ns3SimpleRefCount__Ns3CcnxFaceContainer_Ns3Empty_Ns3DefaultDeleter__lt__ns3CcnxFaceContainer__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::CcnxFaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::CcnxFaceContainer> >'])
447 register_Ns3SimpleRefCount__Ns3CcnxFibEntry_Ns3Empty_Ns3DefaultDeleter__lt__ns3CcnxFibEntry__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::CcnxFibEntry, ns3::empty, ns3::DefaultDeleter<ns3::CcnxFibEntry> >'])
448 register_Ns3SimpleRefCount__Ns3CcnxNameComponents_Ns3Empty_Ns3DefaultDeleter__lt__ns3CcnxNameComponents__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::CcnxNameComponents, ns3::empty, ns3::DefaultDeleter<ns3::CcnxNameComponents> >'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700449 register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >'])
450 register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700451 register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >'])
Alexander Afanasyevae3b7c32011-12-13 13:20:06 -0800452 register_Ns3SimpleRefCount__Ns3TopologyReader_Ns3Empty_Ns3DefaultDeleter__lt__ns3TopologyReader__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter<ns3::TopologyReader> >'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700453 register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700454 register_Ns3Time_methods(root_module, root_module['ns3::Time'])
455 register_Ns3TopologyReader_methods(root_module, root_module['ns3::TopologyReader'])
456 register_Ns3TopologyReaderLink_methods(root_module, root_module['ns3::TopologyReader::Link'])
457 register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor'])
458 register_Ns3Trailer_methods(root_module, root_module['ns3::Trailer'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700459 register_Ns3AnnotatedTopologyReader_methods(root_module, root_module['ns3::AnnotatedTopologyReader'])
460 register_Ns3Application_methods(root_module, root_module['ns3::Application'])
461 register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor'])
462 register_Ns3AttributeChecker_methods(root_module, root_module['ns3::AttributeChecker'])
463 register_Ns3AttributeValue_methods(root_module, root_module['ns3::AttributeValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700464 register_Ns3CallbackChecker_methods(root_module, root_module['ns3::CallbackChecker'])
465 register_Ns3CallbackImplBase_methods(root_module, root_module['ns3::CallbackImplBase'])
466 register_Ns3CallbackValue_methods(root_module, root_module['ns3::CallbackValue'])
467 register_Ns3Ccnx_methods(root_module, root_module['ns3::Ccnx'])
Alexander Afanasyev07827182011-12-13 01:07:32 -0800468 register_Ns3CcnxApp_methods(root_module, root_module['ns3::CcnxApp'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700469 register_Ns3CcnxContentObjectHeader_methods(root_module, root_module['ns3::CcnxContentObjectHeader'])
470 register_Ns3CcnxContentObjectTail_methods(root_module, root_module['ns3::CcnxContentObjectTail'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700471 register_Ns3CcnxFace_methods(root_module, root_module['ns3::CcnxFace'])
472 register_Ns3CcnxFaceContainer_methods(root_module, root_module['ns3::CcnxFaceContainer'])
Alexander Afanasyev07827182011-12-13 01:07:32 -0800473 register_Ns3CcnxFib_methods(root_module, root_module['ns3::CcnxFib'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700474 register_Ns3CcnxFibEntry_methods(root_module, root_module['ns3::CcnxFibEntry'])
Alexander Afanasyev07827182011-12-13 01:07:32 -0800475 register_Ns3CcnxFibEntryNoFaces_methods(root_module, root_module['ns3::CcnxFibEntry::NoFaces'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700476 register_Ns3CcnxInterestHeader_methods(root_module, root_module['ns3::CcnxInterestHeader'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700477 register_Ns3CcnxNameComponents_methods(root_module, root_module['ns3::CcnxNameComponents'])
478 register_Ns3CcnxNameComponentsChecker_methods(root_module, root_module['ns3::CcnxNameComponentsChecker'])
479 register_Ns3CcnxNameComponentsValue_methods(root_module, root_module['ns3::CcnxNameComponentsValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700480 register_Ns3EmptyAttributeValue_methods(root_module, root_module['ns3::EmptyAttributeValue'])
481 register_Ns3EventImpl_methods(root_module, root_module['ns3::EventImpl'])
482 register_Ns3IntegerValue_methods(root_module, root_module['ns3::IntegerValue'])
483 register_Ns3Ipv4AddressChecker_methods(root_module, root_module['ns3::Ipv4AddressChecker'])
484 register_Ns3Ipv4AddressValue_methods(root_module, root_module['ns3::Ipv4AddressValue'])
485 register_Ns3Ipv4MaskChecker_methods(root_module, root_module['ns3::Ipv4MaskChecker'])
486 register_Ns3Ipv4MaskValue_methods(root_module, root_module['ns3::Ipv4MaskValue'])
487 register_Ns3Ipv6AddressChecker_methods(root_module, root_module['ns3::Ipv6AddressChecker'])
488 register_Ns3Ipv6AddressValue_methods(root_module, root_module['ns3::Ipv6AddressValue'])
489 register_Ns3Ipv6PrefixChecker_methods(root_module, root_module['ns3::Ipv6PrefixChecker'])
490 register_Ns3Ipv6PrefixValue_methods(root_module, root_module['ns3::Ipv6PrefixValue'])
Alexander Afanasyev4975f732011-12-20 17:52:19 -0800491 register_Ns3MobilityModel_methods(root_module, root_module['ns3::MobilityModel'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700492 register_Ns3NetDevice_methods(root_module, root_module['ns3::NetDevice'])
493 register_Ns3NixVector_methods(root_module, root_module['ns3::NixVector'])
494 register_Ns3Node_methods(root_module, root_module['ns3::Node'])
495 register_Ns3ObjectFactoryChecker_methods(root_module, root_module['ns3::ObjectFactoryChecker'])
496 register_Ns3ObjectFactoryValue_methods(root_module, root_module['ns3::ObjectFactoryValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700497 register_Ns3Packet_methods(root_module, root_module['ns3::Packet'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700498 register_Ns3RandomVariableChecker_methods(root_module, root_module['ns3::RandomVariableChecker'])
499 register_Ns3RandomVariableValue_methods(root_module, root_module['ns3::RandomVariableValue'])
Alexander Afanasyev07827182011-12-13 01:07:32 -0800500 register_Ns3RocketfuelWeightsReader_methods(root_module, root_module['ns3::RocketfuelWeightsReader'])
Alexander Afanasyev4975f732011-12-20 17:52:19 -0800501 register_Ns3SpringMobilityModel_methods(root_module, root_module['ns3::SpringMobilityModel'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700502 register_Ns3TimeChecker_methods(root_module, root_module['ns3::TimeChecker'])
503 register_Ns3TimeValue_methods(root_module, root_module['ns3::TimeValue'])
504 register_Ns3TypeIdChecker_methods(root_module, root_module['ns3::TypeIdChecker'])
505 register_Ns3TypeIdValue_methods(root_module, root_module['ns3::TypeIdValue'])
Alexander Afanasyev4975f732011-12-20 17:52:19 -0800506 register_Ns3Vector2DChecker_methods(root_module, root_module['ns3::Vector2DChecker'])
507 register_Ns3Vector2DValue_methods(root_module, root_module['ns3::Vector2DValue'])
508 register_Ns3Vector3DChecker_methods(root_module, root_module['ns3::Vector3DChecker'])
509 register_Ns3Vector3DValue_methods(root_module, root_module['ns3::Vector3DValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700510 register_Ns3AddressChecker_methods(root_module, root_module['ns3::AddressChecker'])
511 register_Ns3AddressValue_methods(root_module, root_module['ns3::AddressValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700512 return
513
514def register_Ns3Address_methods(root_module, cls):
515 cls.add_binary_comparison_operator('!=')
516 cls.add_output_stream_operator()
517 cls.add_binary_comparison_operator('==')
518 cls.add_binary_comparison_operator('<')
519 ## address.h (module 'network'): ns3::Address::Address() [constructor]
520 cls.add_constructor([])
521 ## address.h (module 'network'): ns3::Address::Address(uint8_t type, uint8_t const * buffer, uint8_t len) [constructor]
522 cls.add_constructor([param('uint8_t', 'type'), param('uint8_t const *', 'buffer'), param('uint8_t', 'len')])
523 ## address.h (module 'network'): ns3::Address::Address(ns3::Address const & address) [copy constructor]
524 cls.add_constructor([param('ns3::Address const &', 'address')])
525 ## address.h (module 'network'): bool ns3::Address::CheckCompatible(uint8_t type, uint8_t len) const [member function]
526 cls.add_method('CheckCompatible',
527 'bool',
528 [param('uint8_t', 'type'), param('uint8_t', 'len')],
529 is_const=True)
530 ## address.h (module 'network'): uint32_t ns3::Address::CopyAllFrom(uint8_t const * buffer, uint8_t len) [member function]
531 cls.add_method('CopyAllFrom',
532 'uint32_t',
533 [param('uint8_t const *', 'buffer'), param('uint8_t', 'len')])
534 ## address.h (module 'network'): uint32_t ns3::Address::CopyAllTo(uint8_t * buffer, uint8_t len) const [member function]
535 cls.add_method('CopyAllTo',
536 'uint32_t',
537 [param('uint8_t *', 'buffer'), param('uint8_t', 'len')],
538 is_const=True)
539 ## address.h (module 'network'): uint32_t ns3::Address::CopyFrom(uint8_t const * buffer, uint8_t len) [member function]
540 cls.add_method('CopyFrom',
541 'uint32_t',
542 [param('uint8_t const *', 'buffer'), param('uint8_t', 'len')])
543 ## address.h (module 'network'): uint32_t ns3::Address::CopyTo(uint8_t * buffer) const [member function]
544 cls.add_method('CopyTo',
545 'uint32_t',
546 [param('uint8_t *', 'buffer')],
547 is_const=True)
548 ## address.h (module 'network'): void ns3::Address::Deserialize(ns3::TagBuffer buffer) [member function]
549 cls.add_method('Deserialize',
550 'void',
551 [param('ns3::TagBuffer', 'buffer')])
552 ## address.h (module 'network'): uint8_t ns3::Address::GetLength() const [member function]
553 cls.add_method('GetLength',
554 'uint8_t',
555 [],
556 is_const=True)
557 ## address.h (module 'network'): uint32_t ns3::Address::GetSerializedSize() const [member function]
558 cls.add_method('GetSerializedSize',
559 'uint32_t',
560 [],
561 is_const=True)
562 ## address.h (module 'network'): bool ns3::Address::IsInvalid() const [member function]
563 cls.add_method('IsInvalid',
564 'bool',
565 [],
566 is_const=True)
567 ## address.h (module 'network'): bool ns3::Address::IsMatchingType(uint8_t type) const [member function]
568 cls.add_method('IsMatchingType',
569 'bool',
570 [param('uint8_t', 'type')],
571 is_const=True)
572 ## address.h (module 'network'): static uint8_t ns3::Address::Register() [member function]
573 cls.add_method('Register',
574 'uint8_t',
575 [],
576 is_static=True)
577 ## address.h (module 'network'): void ns3::Address::Serialize(ns3::TagBuffer buffer) const [member function]
578 cls.add_method('Serialize',
579 'void',
580 [param('ns3::TagBuffer', 'buffer')],
581 is_const=True)
582 return
583
584def register_Ns3ApplicationContainer_methods(root_module, cls):
585 ## application-container.h (module 'network'): ns3::ApplicationContainer::ApplicationContainer(ns3::ApplicationContainer const & arg0) [copy constructor]
586 cls.add_constructor([param('ns3::ApplicationContainer const &', 'arg0')])
587 ## application-container.h (module 'network'): ns3::ApplicationContainer::ApplicationContainer() [constructor]
588 cls.add_constructor([])
589 ## application-container.h (module 'network'): ns3::ApplicationContainer::ApplicationContainer(ns3::Ptr<ns3::Application> application) [constructor]
590 cls.add_constructor([param('ns3::Ptr< ns3::Application >', 'application')])
591 ## application-container.h (module 'network'): ns3::ApplicationContainer::ApplicationContainer(std::string name) [constructor]
592 cls.add_constructor([param('std::string', 'name')])
593 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Add(ns3::ApplicationContainer other) [member function]
594 cls.add_method('Add',
595 'void',
596 [param('ns3::ApplicationContainer', 'other')])
597 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Add(ns3::Ptr<ns3::Application> application) [member function]
598 cls.add_method('Add',
599 'void',
600 [param('ns3::Ptr< ns3::Application >', 'application')])
601 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Add(std::string name) [member function]
602 cls.add_method('Add',
603 'void',
604 [param('std::string', 'name')])
605 ## 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]
606 cls.add_method('Begin',
607 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Application > const, std::vector< ns3::Ptr< ns3::Application > > >',
608 [],
609 is_const=True)
610 ## 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]
611 cls.add_method('End',
612 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Application > const, std::vector< ns3::Ptr< ns3::Application > > >',
613 [],
614 is_const=True)
615 ## application-container.h (module 'network'): ns3::Ptr<ns3::Application> ns3::ApplicationContainer::Get(uint32_t i) const [member function]
616 cls.add_method('Get',
617 'ns3::Ptr< ns3::Application >',
618 [param('uint32_t', 'i')],
619 is_const=True)
620 ## application-container.h (module 'network'): uint32_t ns3::ApplicationContainer::GetN() const [member function]
621 cls.add_method('GetN',
622 'uint32_t',
623 [],
624 is_const=True)
625 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Start(ns3::Time start) [member function]
626 cls.add_method('Start',
627 'void',
628 [param('ns3::Time', 'start')])
629 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Stop(ns3::Time stop) [member function]
630 cls.add_method('Stop',
631 'void',
632 [param('ns3::Time', 'stop')])
633 return
634
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700635def register_Ns3AttributeConstructionList_methods(root_module, cls):
636 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor]
637 cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')])
638 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor]
639 cls.add_constructor([])
640 ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr<ns3::AttributeChecker const> checker, ns3::Ptr<ns3::AttributeValue> value) [member function]
641 cls.add_method('Add',
642 'void',
643 [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')])
644 ## attribute-construction-list.h (module 'core'): std::_List_const_iterator<ns3::AttributeConstructionList::Item> ns3::AttributeConstructionList::Begin() const [member function]
645 cls.add_method('Begin',
646 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >',
647 [],
648 is_const=True)
649 ## attribute-construction-list.h (module 'core'): std::_List_const_iterator<ns3::AttributeConstructionList::Item> ns3::AttributeConstructionList::End() const [member function]
650 cls.add_method('End',
651 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >',
652 [],
653 is_const=True)
654 ## attribute-construction-list.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeConstructionList::Find(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
655 cls.add_method('Find',
656 'ns3::Ptr< ns3::AttributeValue >',
657 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
658 is_const=True)
659 return
660
661def register_Ns3AttributeConstructionListItem_methods(root_module, cls):
662 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor]
663 cls.add_constructor([])
664 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor]
665 cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')])
666 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable]
667 cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False)
668 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable]
669 cls.add_instance_attribute('name', 'std::string', is_const=False)
670 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable]
671 cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False)
672 return
673
674def register_Ns3Buffer_methods(root_module, cls):
675 ## buffer.h (module 'network'): ns3::Buffer::Buffer() [constructor]
676 cls.add_constructor([])
677 ## buffer.h (module 'network'): ns3::Buffer::Buffer(uint32_t dataSize) [constructor]
678 cls.add_constructor([param('uint32_t', 'dataSize')])
679 ## buffer.h (module 'network'): ns3::Buffer::Buffer(uint32_t dataSize, bool initialize) [constructor]
680 cls.add_constructor([param('uint32_t', 'dataSize'), param('bool', 'initialize')])
681 ## buffer.h (module 'network'): ns3::Buffer::Buffer(ns3::Buffer const & o) [copy constructor]
682 cls.add_constructor([param('ns3::Buffer const &', 'o')])
683 ## buffer.h (module 'network'): bool ns3::Buffer::AddAtEnd(uint32_t end) [member function]
684 cls.add_method('AddAtEnd',
685 'bool',
686 [param('uint32_t', 'end')])
687 ## buffer.h (module 'network'): void ns3::Buffer::AddAtEnd(ns3::Buffer const & o) [member function]
688 cls.add_method('AddAtEnd',
689 'void',
690 [param('ns3::Buffer const &', 'o')])
691 ## buffer.h (module 'network'): bool ns3::Buffer::AddAtStart(uint32_t start) [member function]
692 cls.add_method('AddAtStart',
693 'bool',
694 [param('uint32_t', 'start')])
695 ## buffer.h (module 'network'): ns3::Buffer::Iterator ns3::Buffer::Begin() const [member function]
696 cls.add_method('Begin',
697 'ns3::Buffer::Iterator',
698 [],
699 is_const=True)
700 ## buffer.h (module 'network'): void ns3::Buffer::CopyData(std::ostream * os, uint32_t size) const [member function]
701 cls.add_method('CopyData',
702 'void',
703 [param('std::ostream *', 'os'), param('uint32_t', 'size')],
704 is_const=True)
705 ## buffer.h (module 'network'): uint32_t ns3::Buffer::CopyData(uint8_t * buffer, uint32_t size) const [member function]
706 cls.add_method('CopyData',
707 'uint32_t',
708 [param('uint8_t *', 'buffer'), param('uint32_t', 'size')],
709 is_const=True)
710 ## buffer.h (module 'network'): ns3::Buffer ns3::Buffer::CreateFragment(uint32_t start, uint32_t length) const [member function]
711 cls.add_method('CreateFragment',
712 'ns3::Buffer',
713 [param('uint32_t', 'start'), param('uint32_t', 'length')],
714 is_const=True)
715 ## buffer.h (module 'network'): ns3::Buffer ns3::Buffer::CreateFullCopy() const [member function]
716 cls.add_method('CreateFullCopy',
717 'ns3::Buffer',
718 [],
719 is_const=True)
720 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Deserialize(uint8_t const * buffer, uint32_t size) [member function]
721 cls.add_method('Deserialize',
722 'uint32_t',
723 [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
724 ## buffer.h (module 'network'): ns3::Buffer::Iterator ns3::Buffer::End() const [member function]
725 cls.add_method('End',
726 'ns3::Buffer::Iterator',
727 [],
728 is_const=True)
729 ## buffer.h (module 'network'): int32_t ns3::Buffer::GetCurrentEndOffset() const [member function]
730 cls.add_method('GetCurrentEndOffset',
731 'int32_t',
732 [],
733 is_const=True)
734 ## buffer.h (module 'network'): int32_t ns3::Buffer::GetCurrentStartOffset() const [member function]
735 cls.add_method('GetCurrentStartOffset',
736 'int32_t',
737 [],
738 is_const=True)
739 ## buffer.h (module 'network'): uint32_t ns3::Buffer::GetSerializedSize() const [member function]
740 cls.add_method('GetSerializedSize',
741 'uint32_t',
742 [],
743 is_const=True)
744 ## buffer.h (module 'network'): uint32_t ns3::Buffer::GetSize() const [member function]
745 cls.add_method('GetSize',
746 'uint32_t',
747 [],
748 is_const=True)
749 ## buffer.h (module 'network'): uint8_t const * ns3::Buffer::PeekData() const [member function]
750 cls.add_method('PeekData',
751 'uint8_t const *',
752 [],
753 is_const=True)
754 ## buffer.h (module 'network'): void ns3::Buffer::RemoveAtEnd(uint32_t end) [member function]
755 cls.add_method('RemoveAtEnd',
756 'void',
757 [param('uint32_t', 'end')])
758 ## buffer.h (module 'network'): void ns3::Buffer::RemoveAtStart(uint32_t start) [member function]
759 cls.add_method('RemoveAtStart',
760 'void',
761 [param('uint32_t', 'start')])
762 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
763 cls.add_method('Serialize',
764 'uint32_t',
765 [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')],
766 is_const=True)
767 return
768
769def register_Ns3BufferIterator_methods(root_module, cls):
770 ## buffer.h (module 'network'): ns3::Buffer::Iterator::Iterator(ns3::Buffer::Iterator const & arg0) [copy constructor]
771 cls.add_constructor([param('ns3::Buffer::Iterator const &', 'arg0')])
772 ## buffer.h (module 'network'): ns3::Buffer::Iterator::Iterator() [constructor]
773 cls.add_constructor([])
774 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::CalculateIpChecksum(uint16_t size) [member function]
775 cls.add_method('CalculateIpChecksum',
776 'uint16_t',
777 [param('uint16_t', 'size')])
778 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::CalculateIpChecksum(uint16_t size, uint32_t initialChecksum) [member function]
779 cls.add_method('CalculateIpChecksum',
780 'uint16_t',
781 [param('uint16_t', 'size'), param('uint32_t', 'initialChecksum')])
782 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::GetDistanceFrom(ns3::Buffer::Iterator const & o) const [member function]
783 cls.add_method('GetDistanceFrom',
784 'uint32_t',
785 [param('ns3::Buffer::Iterator const &', 'o')],
786 is_const=True)
787 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::GetSize() const [member function]
788 cls.add_method('GetSize',
789 'uint32_t',
790 [],
791 is_const=True)
792 ## buffer.h (module 'network'): bool ns3::Buffer::Iterator::IsEnd() const [member function]
793 cls.add_method('IsEnd',
794 'bool',
795 [],
796 is_const=True)
797 ## buffer.h (module 'network'): bool ns3::Buffer::Iterator::IsStart() const [member function]
798 cls.add_method('IsStart',
799 'bool',
800 [],
801 is_const=True)
802 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Next() [member function]
803 cls.add_method('Next',
804 'void',
805 [])
806 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Next(uint32_t delta) [member function]
807 cls.add_method('Next',
808 'void',
809 [param('uint32_t', 'delta')])
810 ## buffer.h (module 'network'): uint8_t ns3::Buffer::Iterator::PeekU8() [member function]
811 cls.add_method('PeekU8',
812 'uint8_t',
813 [])
814 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Prev() [member function]
815 cls.add_method('Prev',
816 'void',
817 [])
818 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Prev(uint32_t delta) [member function]
819 cls.add_method('Prev',
820 'void',
821 [param('uint32_t', 'delta')])
822 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Read(uint8_t * buffer, uint32_t size) [member function]
823 cls.add_method('Read',
824 'void',
825 [param('uint8_t *', 'buffer'), param('uint32_t', 'size')])
826 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Read(ns3::Buffer::Iterator start, uint32_t size) [member function]
827 cls.add_method('Read',
828 'void',
829 [param('ns3::Buffer::Iterator', 'start'), param('uint32_t', 'size')])
830 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadLsbtohU16() [member function]
831 cls.add_method('ReadLsbtohU16',
832 'uint16_t',
833 [])
834 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadLsbtohU32() [member function]
835 cls.add_method('ReadLsbtohU32',
836 'uint32_t',
837 [])
838 ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadLsbtohU64() [member function]
839 cls.add_method('ReadLsbtohU64',
840 'uint64_t',
841 [])
842 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadNtohU16() [member function]
843 cls.add_method('ReadNtohU16',
844 'uint16_t',
845 [])
846 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadNtohU32() [member function]
847 cls.add_method('ReadNtohU32',
848 'uint32_t',
849 [])
850 ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadNtohU64() [member function]
851 cls.add_method('ReadNtohU64',
852 'uint64_t',
853 [])
854 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadU16() [member function]
855 cls.add_method('ReadU16',
856 'uint16_t',
857 [])
858 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadU32() [member function]
859 cls.add_method('ReadU32',
860 'uint32_t',
861 [])
862 ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadU64() [member function]
863 cls.add_method('ReadU64',
864 'uint64_t',
865 [])
866 ## buffer.h (module 'network'): uint8_t ns3::Buffer::Iterator::ReadU8() [member function]
867 cls.add_method('ReadU8',
868 'uint8_t',
869 [])
870 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Write(uint8_t const * buffer, uint32_t size) [member function]
871 cls.add_method('Write',
872 'void',
873 [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
874 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Write(ns3::Buffer::Iterator start, ns3::Buffer::Iterator end) [member function]
875 cls.add_method('Write',
876 'void',
877 [param('ns3::Buffer::Iterator', 'start'), param('ns3::Buffer::Iterator', 'end')])
878 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU16(uint16_t data) [member function]
879 cls.add_method('WriteHtolsbU16',
880 'void',
881 [param('uint16_t', 'data')])
882 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU32(uint32_t data) [member function]
883 cls.add_method('WriteHtolsbU32',
884 'void',
885 [param('uint32_t', 'data')])
886 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU64(uint64_t data) [member function]
887 cls.add_method('WriteHtolsbU64',
888 'void',
889 [param('uint64_t', 'data')])
890 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU16(uint16_t data) [member function]
891 cls.add_method('WriteHtonU16',
892 'void',
893 [param('uint16_t', 'data')])
894 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU32(uint32_t data) [member function]
895 cls.add_method('WriteHtonU32',
896 'void',
897 [param('uint32_t', 'data')])
898 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU64(uint64_t data) [member function]
899 cls.add_method('WriteHtonU64',
900 'void',
901 [param('uint64_t', 'data')])
902 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU16(uint16_t data) [member function]
903 cls.add_method('WriteU16',
904 'void',
905 [param('uint16_t', 'data')])
906 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU32(uint32_t data) [member function]
907 cls.add_method('WriteU32',
908 'void',
909 [param('uint32_t', 'data')])
910 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU64(uint64_t data) [member function]
911 cls.add_method('WriteU64',
912 'void',
913 [param('uint64_t', 'data')])
914 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU8(uint8_t data) [member function]
915 cls.add_method('WriteU8',
916 'void',
917 [param('uint8_t', 'data')])
918 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU8(uint8_t data, uint32_t len) [member function]
919 cls.add_method('WriteU8',
920 'void',
921 [param('uint8_t', 'data'), param('uint32_t', 'len')])
922 return
923
924def register_Ns3ByteTagIterator_methods(root_module, cls):
925 ## packet.h (module 'network'): ns3::ByteTagIterator::ByteTagIterator(ns3::ByteTagIterator const & arg0) [copy constructor]
926 cls.add_constructor([param('ns3::ByteTagIterator const &', 'arg0')])
927 ## packet.h (module 'network'): bool ns3::ByteTagIterator::HasNext() const [member function]
928 cls.add_method('HasNext',
929 'bool',
930 [],
931 is_const=True)
932 ## packet.h (module 'network'): ns3::ByteTagIterator::Item ns3::ByteTagIterator::Next() [member function]
933 cls.add_method('Next',
934 'ns3::ByteTagIterator::Item',
935 [])
936 return
937
938def register_Ns3ByteTagIteratorItem_methods(root_module, cls):
939 ## packet.h (module 'network'): ns3::ByteTagIterator::Item::Item(ns3::ByteTagIterator::Item const & arg0) [copy constructor]
940 cls.add_constructor([param('ns3::ByteTagIterator::Item const &', 'arg0')])
941 ## packet.h (module 'network'): uint32_t ns3::ByteTagIterator::Item::GetEnd() const [member function]
942 cls.add_method('GetEnd',
943 'uint32_t',
944 [],
945 is_const=True)
946 ## packet.h (module 'network'): uint32_t ns3::ByteTagIterator::Item::GetStart() const [member function]
947 cls.add_method('GetStart',
948 'uint32_t',
949 [],
950 is_const=True)
951 ## packet.h (module 'network'): void ns3::ByteTagIterator::Item::GetTag(ns3::Tag & tag) const [member function]
952 cls.add_method('GetTag',
953 'void',
954 [param('ns3::Tag &', 'tag')],
955 is_const=True)
956 ## packet.h (module 'network'): ns3::TypeId ns3::ByteTagIterator::Item::GetTypeId() const [member function]
957 cls.add_method('GetTypeId',
958 'ns3::TypeId',
959 [],
960 is_const=True)
961 return
962
963def register_Ns3ByteTagList_methods(root_module, cls):
964 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::ByteTagList() [constructor]
965 cls.add_constructor([])
966 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::ByteTagList(ns3::ByteTagList const & o) [copy constructor]
967 cls.add_constructor([param('ns3::ByteTagList const &', 'o')])
968 ## byte-tag-list.h (module 'network'): ns3::TagBuffer ns3::ByteTagList::Add(ns3::TypeId tid, uint32_t bufferSize, int32_t start, int32_t end) [member function]
969 cls.add_method('Add',
970 'ns3::TagBuffer',
971 [param('ns3::TypeId', 'tid'), param('uint32_t', 'bufferSize'), param('int32_t', 'start'), param('int32_t', 'end')])
972 ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::Add(ns3::ByteTagList const & o) [member function]
973 cls.add_method('Add',
974 'void',
975 [param('ns3::ByteTagList const &', 'o')])
976 ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::AddAtEnd(int32_t adjustment, int32_t appendOffset) [member function]
977 cls.add_method('AddAtEnd',
978 'void',
979 [param('int32_t', 'adjustment'), param('int32_t', 'appendOffset')])
980 ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::AddAtStart(int32_t adjustment, int32_t prependOffset) [member function]
981 cls.add_method('AddAtStart',
982 'void',
983 [param('int32_t', 'adjustment'), param('int32_t', 'prependOffset')])
984 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator ns3::ByteTagList::Begin(int32_t offsetStart, int32_t offsetEnd) const [member function]
985 cls.add_method('Begin',
986 'ns3::ByteTagList::Iterator',
987 [param('int32_t', 'offsetStart'), param('int32_t', 'offsetEnd')],
988 is_const=True)
989 ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::RemoveAll() [member function]
990 cls.add_method('RemoveAll',
991 'void',
992 [])
993 return
994
995def register_Ns3ByteTagListIterator_methods(root_module, cls):
996 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Iterator(ns3::ByteTagList::Iterator const & arg0) [copy constructor]
997 cls.add_constructor([param('ns3::ByteTagList::Iterator const &', 'arg0')])
998 ## byte-tag-list.h (module 'network'): uint32_t ns3::ByteTagList::Iterator::GetOffsetStart() const [member function]
999 cls.add_method('GetOffsetStart',
1000 'uint32_t',
1001 [],
1002 is_const=True)
1003 ## byte-tag-list.h (module 'network'): bool ns3::ByteTagList::Iterator::HasNext() const [member function]
1004 cls.add_method('HasNext',
1005 'bool',
1006 [],
1007 is_const=True)
1008 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item ns3::ByteTagList::Iterator::Next() [member function]
1009 cls.add_method('Next',
1010 'ns3::ByteTagList::Iterator::Item',
1011 [])
1012 return
1013
1014def register_Ns3ByteTagListIteratorItem_methods(root_module, cls):
1015 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::Item(ns3::ByteTagList::Iterator::Item const & arg0) [copy constructor]
1016 cls.add_constructor([param('ns3::ByteTagList::Iterator::Item const &', 'arg0')])
1017 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::Item(ns3::TagBuffer buf) [constructor]
1018 cls.add_constructor([param('ns3::TagBuffer', 'buf')])
1019 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::buf [variable]
1020 cls.add_instance_attribute('buf', 'ns3::TagBuffer', is_const=False)
1021 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::end [variable]
1022 cls.add_instance_attribute('end', 'int32_t', is_const=False)
1023 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::size [variable]
1024 cls.add_instance_attribute('size', 'uint32_t', is_const=False)
1025 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::start [variable]
1026 cls.add_instance_attribute('start', 'int32_t', is_const=False)
1027 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::tid [variable]
1028 cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
1029 return
1030
1031def register_Ns3CallbackBase_methods(root_module, cls):
1032 ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase(ns3::CallbackBase const & arg0) [copy constructor]
1033 cls.add_constructor([param('ns3::CallbackBase const &', 'arg0')])
1034 ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase() [constructor]
1035 cls.add_constructor([])
1036 ## callback.h (module 'core'): ns3::Ptr<ns3::CallbackImplBase> ns3::CallbackBase::GetImpl() const [member function]
1037 cls.add_method('GetImpl',
1038 'ns3::Ptr< ns3::CallbackImplBase >',
1039 [],
1040 is_const=True)
1041 ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase(ns3::Ptr<ns3::CallbackImplBase> impl) [constructor]
1042 cls.add_constructor([param('ns3::Ptr< ns3::CallbackImplBase >', 'impl')],
1043 visibility='protected')
1044 ## callback.h (module 'core'): static std::string ns3::CallbackBase::Demangle(std::string const & mangled) [member function]
1045 cls.add_method('Demangle',
1046 'std::string',
1047 [param('std::string const &', 'mangled')],
1048 is_static=True, visibility='protected')
1049 return
1050
Alexander Afanasyev4975f732011-12-20 17:52:19 -08001051def register_Ns3CcnxAppHelper_methods(root_module, cls):
1052 ## ccnx-app-helper.h (module 'NDNabstraction'): ns3::CcnxAppHelper::CcnxAppHelper(ns3::CcnxAppHelper const & arg0) [copy constructor]
1053 cls.add_constructor([param('ns3::CcnxAppHelper const &', 'arg0')])
1054 ## ccnx-app-helper.h (module 'NDNabstraction'): ns3::CcnxAppHelper::CcnxAppHelper(std::string const & prefix) [constructor]
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001055 cls.add_constructor([param('std::string const &', 'prefix')])
Alexander Afanasyev4975f732011-12-20 17:52:19 -08001056 ## ccnx-app-helper.h (module 'NDNabstraction'): ns3::ApplicationContainer ns3::CcnxAppHelper::Install(ns3::NodeContainer c) [member function]
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001057 cls.add_method('Install',
1058 'ns3::ApplicationContainer',
1059 [param('ns3::NodeContainer', 'c')])
Alexander Afanasyev4975f732011-12-20 17:52:19 -08001060 ## ccnx-app-helper.h (module 'NDNabstraction'): ns3::ApplicationContainer ns3::CcnxAppHelper::Install(ns3::Ptr<ns3::Node> node) [member function]
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001061 cls.add_method('Install',
1062 'ns3::ApplicationContainer',
1063 [param('ns3::Ptr< ns3::Node >', 'node')])
Alexander Afanasyev4975f732011-12-20 17:52:19 -08001064 ## ccnx-app-helper.h (module 'NDNabstraction'): ns3::ApplicationContainer ns3::CcnxAppHelper::Install(std::string nodeName) [member function]
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001065 cls.add_method('Install',
1066 'ns3::ApplicationContainer',
1067 [param('std::string', 'nodeName')])
Alexander Afanasyev4975f732011-12-20 17:52:19 -08001068 ## ccnx-app-helper.h (module 'NDNabstraction'): void ns3::CcnxAppHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function]
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001069 cls.add_method('SetAttribute',
1070 'void',
1071 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
Alexander Afanasyev4975f732011-12-20 17:52:19 -08001072 ## ccnx-app-helper.h (module 'NDNabstraction'): void ns3::CcnxAppHelper::SetPrefix(std::string const & prefix) [member function]
1073 cls.add_method('SetPrefix',
1074 'void',
1075 [param('std::string const &', 'prefix')])
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001076 return
1077
1078def register_Ns3CcnxContentObjectHeaderException_methods(root_module, cls):
1079 ## ccnx-content-object-header.h (module 'NDNabstraction'): ns3::CcnxContentObjectHeaderException::CcnxContentObjectHeaderException() [constructor]
1080 cls.add_constructor([])
1081 ## ccnx-content-object-header.h (module 'NDNabstraction'): ns3::CcnxContentObjectHeaderException::CcnxContentObjectHeaderException(ns3::CcnxContentObjectHeaderException const & arg0) [copy constructor]
1082 cls.add_constructor([param('ns3::CcnxContentObjectHeaderException const &', 'arg0')])
1083 return
1084
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001085def register_Ns3CcnxFibEntryContainer_methods(root_module, cls):
1086 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibEntryContainer::CcnxFibEntryContainer() [constructor]
1087 cls.add_constructor([])
1088 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibEntryContainer::CcnxFibEntryContainer(ns3::CcnxFibEntryContainer const & arg0) [copy constructor]
1089 cls.add_constructor([param('ns3::CcnxFibEntryContainer const &', 'arg0')])
1090 return
1091
1092def register_Ns3CcnxFibFaceMetric_methods(root_module, cls):
1093 cls.add_output_stream_operator()
1094 cls.add_binary_comparison_operator('<')
1095 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibFaceMetric::CcnxFibFaceMetric(ns3::CcnxFibFaceMetric const & arg0) [copy constructor]
1096 cls.add_constructor([param('ns3::CcnxFibFaceMetric const &', 'arg0')])
1097 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibFaceMetric::CcnxFibFaceMetric(ns3::Ptr<ns3::CcnxFace> face, int cost) [constructor]
1098 cls.add_constructor([param('ns3::Ptr< ns3::CcnxFace >', 'face'), param('int', 'cost')])
1099 ## ccnx-fib.h (module 'NDNabstraction'): ns3::Ptr<ns3::CcnxFace> ns3::CcnxFibFaceMetric::GetFace() const [member function]
1100 cls.add_method('GetFace',
1101 'ns3::Ptr< ns3::CcnxFace >',
1102 [],
1103 is_const=True)
Alexander Afanasyev07827182011-12-13 01:07:32 -08001104 ## ccnx-fib.h (module 'NDNabstraction'): void ns3::CcnxFibFaceMetric::UpdateRtt(ns3::Time const & rttSample) [member function]
1105 cls.add_method('UpdateRtt',
1106 'void',
1107 [param('ns3::Time const &', 'rttSample')])
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001108 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibFaceMetric::m_face [variable]
1109 cls.add_instance_attribute('m_face', 'ns3::Ptr< ns3::CcnxFace >', is_const=False)
1110 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibFaceMetric::m_routingCost [variable]
1111 cls.add_instance_attribute('m_routingCost', 'int32_t', is_const=False)
1112 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibFaceMetric::m_rttVar [variable]
1113 cls.add_instance_attribute('m_rttVar', 'ns3::Time', is_const=False)
1114 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibFaceMetric::m_sRtt [variable]
1115 cls.add_instance_attribute('m_sRtt', 'ns3::Time', is_const=False)
1116 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibFaceMetric::m_status [variable]
1117 cls.add_instance_attribute('m_status', 'ns3::CcnxFibFaceMetric::Status', is_const=False)
1118 return
1119
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001120def register_Ns3CcnxFibFaceMetricContainer_methods(root_module, cls):
1121 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibFaceMetricContainer::CcnxFibFaceMetricContainer() [constructor]
1122 cls.add_constructor([])
1123 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibFaceMetricContainer::CcnxFibFaceMetricContainer(ns3::CcnxFibFaceMetricContainer const & arg0) [copy constructor]
1124 cls.add_constructor([param('ns3::CcnxFibFaceMetricContainer const &', 'arg0')])
1125 return
1126
Alexander Afanasyev53872ce2011-12-16 13:17:18 -08001127def register_Ns3CcnxHeaderHelper_methods(root_module, cls):
1128 ## ccnx-header-helper.h (module 'NDNabstraction'): ns3::CcnxHeaderHelper::CcnxHeaderHelper() [constructor]
1129 cls.add_constructor([])
1130 ## ccnx-header-helper.h (module 'NDNabstraction'): ns3::CcnxHeaderHelper::CcnxHeaderHelper(ns3::CcnxHeaderHelper const & arg0) [copy constructor]
1131 cls.add_constructor([param('ns3::CcnxHeaderHelper const &', 'arg0')])
1132 ## ccnx-header-helper.h (module 'NDNabstraction'): static ns3::CcnxHeaderHelper::Type ns3::CcnxHeaderHelper::GetCcnxHeaderType(ns3::Ptr<const ns3::Packet> packet) [member function]
1133 cls.add_method('GetCcnxHeaderType',
1134 'ns3::CcnxHeaderHelper::Type',
1135 [param('ns3::Ptr< ns3::Packet const >', 'packet')],
1136 is_static=True)
1137 return
1138
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001139def register_Ns3CcnxInterestHeaderException_methods(root_module, cls):
1140 ## ccnx-interest-header.h (module 'NDNabstraction'): ns3::CcnxInterestHeaderException::CcnxInterestHeaderException() [constructor]
1141 cls.add_constructor([])
1142 ## ccnx-interest-header.h (module 'NDNabstraction'): ns3::CcnxInterestHeaderException::CcnxInterestHeaderException(ns3::CcnxInterestHeaderException const & arg0) [copy constructor]
1143 cls.add_constructor([param('ns3::CcnxInterestHeaderException const &', 'arg0')])
1144 return
1145
Alexander Afanasyev07827182011-12-13 01:07:32 -08001146def register_Ns3CcnxStackHelper_methods(root_module, cls):
1147 ## ccnx-stack-helper.h (module 'NDNabstraction'): ns3::CcnxStackHelper::CcnxStackHelper() [constructor]
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001148 cls.add_constructor([])
Alexander Afanasyev07827182011-12-13 01:07:32 -08001149 ## ccnx-stack-helper.h (module 'NDNabstraction'): void ns3::CcnxStackHelper::SetForwardingStrategy(std::string forwardingStrategy) [member function]
1150 cls.add_method('SetForwardingStrategy',
1151 'void',
1152 [param('std::string', 'forwardingStrategy')])
1153 ## ccnx-stack-helper.h (module 'NDNabstraction'): void ns3::CcnxStackHelper::EnableLimits(bool enable=true, ns3::Time avgRtt=ns3::Seconds( ), uint32_t avgContentObject=1100, uint32_t avgInterest=40) [member function]
1154 cls.add_method('EnableLimits',
1155 'void',
1156 [param('bool', 'enable', default_value='true'), param('ns3::Time', 'avgRtt', default_value='ns3::Seconds(0)'), param('uint32_t', 'avgContentObject', default_value='1100'), param('uint32_t', 'avgInterest', default_value='40')])
1157 ## ccnx-stack-helper.h (module 'NDNabstraction'): ns3::Ptr<ns3::CcnxFaceContainer> ns3::CcnxStackHelper::Install(std::string nodeName) const [member function]
1158 cls.add_method('Install',
1159 'ns3::Ptr< ns3::CcnxFaceContainer >',
1160 [param('std::string', 'nodeName')],
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001161 is_const=True)
Alexander Afanasyev07827182011-12-13 01:07:32 -08001162 ## ccnx-stack-helper.h (module 'NDNabstraction'): ns3::Ptr<ns3::CcnxFaceContainer> ns3::CcnxStackHelper::Install(ns3::Ptr<ns3::Node> node) const [member function]
1163 cls.add_method('Install',
1164 'ns3::Ptr< ns3::CcnxFaceContainer >',
1165 [param('ns3::Ptr< ns3::Node >', 'node')],
1166 is_const=True)
1167 ## ccnx-stack-helper.h (module 'NDNabstraction'): ns3::Ptr<ns3::CcnxFaceContainer> ns3::CcnxStackHelper::Install(ns3::NodeContainer c) const [member function]
1168 cls.add_method('Install',
1169 'ns3::Ptr< ns3::CcnxFaceContainer >',
1170 [param('ns3::NodeContainer', 'c')],
1171 is_const=True)
1172 ## ccnx-stack-helper.h (module 'NDNabstraction'): ns3::Ptr<ns3::CcnxFaceContainer> ns3::CcnxStackHelper::InstallAll() const [member function]
1173 cls.add_method('InstallAll',
1174 'ns3::Ptr< ns3::CcnxFaceContainer >',
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001175 [],
1176 is_const=True)
Alexander Afanasyev07827182011-12-13 01:07:32 -08001177 ## ccnx-stack-helper.h (module 'NDNabstraction'): void ns3::CcnxStackHelper::AddRoute(std::string nodeName, std::string prefix, uint32_t faceId, int32_t metric) const [member function]
1178 cls.add_method('AddRoute',
1179 'void',
1180 [param('std::string', 'nodeName'), param('std::string', 'prefix'), param('uint32_t', 'faceId'), param('int32_t', 'metric')],
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001181 is_const=True)
Alexander Afanasyev07827182011-12-13 01:07:32 -08001182 ## ccnx-stack-helper.h (module 'NDNabstraction'): void ns3::CcnxStackHelper::AddRoute(ns3::Ptr<ns3::Node> node, std::string prefix, ns3::Ptr<ns3::CcnxFace> face, int32_t metric) const [member function]
1183 cls.add_method('AddRoute',
1184 'void',
1185 [param('ns3::Ptr< ns3::Node >', 'node'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::CcnxFace >', 'face'), param('int32_t', 'metric')],
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001186 is_const=True)
Alexander Afanasyev07827182011-12-13 01:07:32 -08001187 ## ccnx-stack-helper.h (module 'NDNabstraction'): void ns3::CcnxStackHelper::SetDefaultRoutes(bool needSet) [member function]
1188 cls.add_method('SetDefaultRoutes',
1189 'void',
1190 [param('bool', 'needSet')])
1191 ## ccnx-stack-helper.h (module 'NDNabstraction'): void ns3::CcnxStackHelper::InstallFakeGlobalRoutes() [member function]
1192 cls.add_method('InstallFakeGlobalRoutes',
1193 'void',
1194 [])
1195 ## ccnx-stack-helper.h (module 'NDNabstraction'): void ns3::CcnxStackHelper::InstallRouteTo(ns3::Ptr<ns3::Node> node) [member function]
1196 cls.add_method('InstallRouteTo',
1197 'void',
1198 [param('ns3::Ptr< ns3::Node >', 'node')])
1199 ## ccnx-stack-helper.h (module 'NDNabstraction'): void ns3::CcnxStackHelper::InstallRoutesToAll() [member function]
1200 cls.add_method('InstallRoutesToAll',
1201 'void',
1202 [])
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001203 return
1204
Alexander Afanasyev53872ce2011-12-16 13:17:18 -08001205def register_Ns3CcnxUnknownHeaderException_methods(root_module, cls):
1206 ## ccnx-header-helper.h (module 'NDNabstraction'): ns3::CcnxUnknownHeaderException::CcnxUnknownHeaderException() [constructor]
1207 cls.add_constructor([])
1208 ## ccnx-header-helper.h (module 'NDNabstraction'): ns3::CcnxUnknownHeaderException::CcnxUnknownHeaderException(ns3::CcnxUnknownHeaderException const & arg0) [copy constructor]
1209 cls.add_constructor([param('ns3::CcnxUnknownHeaderException const &', 'arg0')])
1210 return
1211
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001212def register_Ns3EventId_methods(root_module, cls):
1213 cls.add_binary_comparison_operator('!=')
1214 cls.add_binary_comparison_operator('==')
1215 ## event-id.h (module 'core'): ns3::EventId::EventId(ns3::EventId const & arg0) [copy constructor]
1216 cls.add_constructor([param('ns3::EventId const &', 'arg0')])
1217 ## event-id.h (module 'core'): ns3::EventId::EventId() [constructor]
1218 cls.add_constructor([])
1219 ## event-id.h (module 'core'): ns3::EventId::EventId(ns3::Ptr<ns3::EventImpl> const & impl, uint64_t ts, uint32_t context, uint32_t uid) [constructor]
1220 cls.add_constructor([param('ns3::Ptr< ns3::EventImpl > const &', 'impl'), param('uint64_t', 'ts'), param('uint32_t', 'context'), param('uint32_t', 'uid')])
1221 ## event-id.h (module 'core'): void ns3::EventId::Cancel() [member function]
1222 cls.add_method('Cancel',
1223 'void',
1224 [])
1225 ## event-id.h (module 'core'): uint32_t ns3::EventId::GetContext() const [member function]
1226 cls.add_method('GetContext',
1227 'uint32_t',
1228 [],
1229 is_const=True)
1230 ## event-id.h (module 'core'): uint64_t ns3::EventId::GetTs() const [member function]
1231 cls.add_method('GetTs',
1232 'uint64_t',
1233 [],
1234 is_const=True)
1235 ## event-id.h (module 'core'): uint32_t ns3::EventId::GetUid() const [member function]
1236 cls.add_method('GetUid',
1237 'uint32_t',
1238 [],
1239 is_const=True)
1240 ## event-id.h (module 'core'): bool ns3::EventId::IsExpired() const [member function]
1241 cls.add_method('IsExpired',
1242 'bool',
1243 [],
1244 is_const=True)
1245 ## event-id.h (module 'core'): bool ns3::EventId::IsRunning() const [member function]
1246 cls.add_method('IsRunning',
1247 'bool',
1248 [],
1249 is_const=True)
1250 ## event-id.h (module 'core'): ns3::EventImpl * ns3::EventId::PeekEventImpl() const [member function]
1251 cls.add_method('PeekEventImpl',
1252 'ns3::EventImpl *',
1253 [],
1254 is_const=True)
1255 return
1256
1257def register_Ns3Ipv4Address_methods(root_module, cls):
1258 cls.add_binary_comparison_operator('!=')
1259 cls.add_output_stream_operator()
1260 cls.add_binary_comparison_operator('==')
1261 cls.add_binary_comparison_operator('<')
1262 ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(ns3::Ipv4Address const & arg0) [copy constructor]
1263 cls.add_constructor([param('ns3::Ipv4Address const &', 'arg0')])
1264 ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address() [constructor]
1265 cls.add_constructor([])
1266 ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(uint32_t address) [constructor]
1267 cls.add_constructor([param('uint32_t', 'address')])
1268 ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(char const * address) [constructor]
1269 cls.add_constructor([param('char const *', 'address')])
1270 ## ipv4-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv4Address::CombineMask(ns3::Ipv4Mask const & mask) const [member function]
1271 cls.add_method('CombineMask',
1272 'ns3::Ipv4Address',
1273 [param('ns3::Ipv4Mask const &', 'mask')],
1274 is_const=True)
1275 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::ConvertFrom(ns3::Address const & address) [member function]
1276 cls.add_method('ConvertFrom',
1277 'ns3::Ipv4Address',
1278 [param('ns3::Address const &', 'address')],
1279 is_static=True)
1280 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::Deserialize(uint8_t const * buf) [member function]
1281 cls.add_method('Deserialize',
1282 'ns3::Ipv4Address',
1283 [param('uint8_t const *', 'buf')],
1284 is_static=True)
1285 ## ipv4-address.h (module 'network'): uint32_t const & ns3::Ipv4Address::Get() const [member function]
1286 cls.add_method('Get',
1287 'uint32_t const &',
1288 [],
1289 is_const=True)
1290 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetAny() [member function]
1291 cls.add_method('GetAny',
1292 'ns3::Ipv4Address',
1293 [],
1294 is_static=True)
1295 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetBroadcast() [member function]
1296 cls.add_method('GetBroadcast',
1297 'ns3::Ipv4Address',
1298 [],
1299 is_static=True)
1300 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetLoopback() [member function]
1301 cls.add_method('GetLoopback',
1302 'ns3::Ipv4Address',
1303 [],
1304 is_static=True)
1305 ## ipv4-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv4Address::GetSubnetDirectedBroadcast(ns3::Ipv4Mask const & mask) const [member function]
1306 cls.add_method('GetSubnetDirectedBroadcast',
1307 'ns3::Ipv4Address',
1308 [param('ns3::Ipv4Mask const &', 'mask')],
1309 is_const=True)
1310 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetZero() [member function]
1311 cls.add_method('GetZero',
1312 'ns3::Ipv4Address',
1313 [],
1314 is_static=True)
1315 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsBroadcast() const [member function]
1316 cls.add_method('IsBroadcast',
1317 'bool',
1318 [],
1319 is_const=True)
1320 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsEqual(ns3::Ipv4Address const & other) const [member function]
1321 cls.add_method('IsEqual',
1322 'bool',
1323 [param('ns3::Ipv4Address const &', 'other')],
1324 is_const=True)
1325 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsLocalMulticast() const [member function]
1326 cls.add_method('IsLocalMulticast',
1327 'bool',
1328 [],
1329 is_const=True)
1330 ## ipv4-address.h (module 'network'): static bool ns3::Ipv4Address::IsMatchingType(ns3::Address const & address) [member function]
1331 cls.add_method('IsMatchingType',
1332 'bool',
1333 [param('ns3::Address const &', 'address')],
1334 is_static=True)
1335 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsMulticast() const [member function]
1336 cls.add_method('IsMulticast',
1337 'bool',
1338 [],
1339 is_const=True)
1340 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsSubnetDirectedBroadcast(ns3::Ipv4Mask const & mask) const [member function]
1341 cls.add_method('IsSubnetDirectedBroadcast',
1342 'bool',
1343 [param('ns3::Ipv4Mask const &', 'mask')],
1344 is_const=True)
1345 ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Print(std::ostream & os) const [member function]
1346 cls.add_method('Print',
1347 'void',
1348 [param('std::ostream &', 'os')],
1349 is_const=True)
1350 ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Serialize(uint8_t * buf) const [member function]
1351 cls.add_method('Serialize',
1352 'void',
1353 [param('uint8_t *', 'buf')],
1354 is_const=True)
1355 ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Set(uint32_t address) [member function]
1356 cls.add_method('Set',
1357 'void',
1358 [param('uint32_t', 'address')])
1359 ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Set(char const * address) [member function]
1360 cls.add_method('Set',
1361 'void',
1362 [param('char const *', 'address')])
1363 return
1364
1365def register_Ns3Ipv4Mask_methods(root_module, cls):
1366 cls.add_binary_comparison_operator('!=')
1367 cls.add_output_stream_operator()
1368 cls.add_binary_comparison_operator('==')
1369 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask(ns3::Ipv4Mask const & arg0) [copy constructor]
1370 cls.add_constructor([param('ns3::Ipv4Mask const &', 'arg0')])
1371 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask() [constructor]
1372 cls.add_constructor([])
1373 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask(uint32_t mask) [constructor]
1374 cls.add_constructor([param('uint32_t', 'mask')])
1375 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask(char const * mask) [constructor]
1376 cls.add_constructor([param('char const *', 'mask')])
1377 ## ipv4-address.h (module 'network'): uint32_t ns3::Ipv4Mask::Get() const [member function]
1378 cls.add_method('Get',
1379 'uint32_t',
1380 [],
1381 is_const=True)
1382 ## ipv4-address.h (module 'network'): uint32_t ns3::Ipv4Mask::GetInverse() const [member function]
1383 cls.add_method('GetInverse',
1384 'uint32_t',
1385 [],
1386 is_const=True)
1387 ## ipv4-address.h (module 'network'): static ns3::Ipv4Mask ns3::Ipv4Mask::GetLoopback() [member function]
1388 cls.add_method('GetLoopback',
1389 'ns3::Ipv4Mask',
1390 [],
1391 is_static=True)
1392 ## ipv4-address.h (module 'network'): static ns3::Ipv4Mask ns3::Ipv4Mask::GetOnes() [member function]
1393 cls.add_method('GetOnes',
1394 'ns3::Ipv4Mask',
1395 [],
1396 is_static=True)
1397 ## ipv4-address.h (module 'network'): uint16_t ns3::Ipv4Mask::GetPrefixLength() const [member function]
1398 cls.add_method('GetPrefixLength',
1399 'uint16_t',
1400 [],
1401 is_const=True)
1402 ## ipv4-address.h (module 'network'): static ns3::Ipv4Mask ns3::Ipv4Mask::GetZero() [member function]
1403 cls.add_method('GetZero',
1404 'ns3::Ipv4Mask',
1405 [],
1406 is_static=True)
1407 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Mask::IsEqual(ns3::Ipv4Mask other) const [member function]
1408 cls.add_method('IsEqual',
1409 'bool',
1410 [param('ns3::Ipv4Mask', 'other')],
1411 is_const=True)
1412 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Mask::IsMatch(ns3::Ipv4Address a, ns3::Ipv4Address b) const [member function]
1413 cls.add_method('IsMatch',
1414 'bool',
1415 [param('ns3::Ipv4Address', 'a'), param('ns3::Ipv4Address', 'b')],
1416 is_const=True)
1417 ## ipv4-address.h (module 'network'): void ns3::Ipv4Mask::Print(std::ostream & os) const [member function]
1418 cls.add_method('Print',
1419 'void',
1420 [param('std::ostream &', 'os')],
1421 is_const=True)
1422 ## ipv4-address.h (module 'network'): void ns3::Ipv4Mask::Set(uint32_t mask) [member function]
1423 cls.add_method('Set',
1424 'void',
1425 [param('uint32_t', 'mask')])
1426 return
1427
1428def register_Ns3Ipv6Address_methods(root_module, cls):
1429 cls.add_binary_comparison_operator('!=')
1430 cls.add_output_stream_operator()
1431 cls.add_binary_comparison_operator('==')
1432 cls.add_binary_comparison_operator('<')
1433 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address() [constructor]
1434 cls.add_constructor([])
1435 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(char const * address) [constructor]
1436 cls.add_constructor([param('char const *', 'address')])
1437 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(uint8_t * address) [constructor]
1438 cls.add_constructor([param('uint8_t *', 'address')])
1439 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(ns3::Ipv6Address const & addr) [copy constructor]
1440 cls.add_constructor([param('ns3::Ipv6Address const &', 'addr')])
1441 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(ns3::Ipv6Address const * addr) [constructor]
1442 cls.add_constructor([param('ns3::Ipv6Address const *', 'addr')])
1443 ## ipv6-address.h (module 'network'): ns3::Ipv6Address ns3::Ipv6Address::CombinePrefix(ns3::Ipv6Prefix const & prefix) [member function]
1444 cls.add_method('CombinePrefix',
1445 'ns3::Ipv6Address',
1446 [param('ns3::Ipv6Prefix const &', 'prefix')])
1447 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::ConvertFrom(ns3::Address const & address) [member function]
1448 cls.add_method('ConvertFrom',
1449 'ns3::Ipv6Address',
1450 [param('ns3::Address const &', 'address')],
1451 is_static=True)
1452 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::Deserialize(uint8_t const * buf) [member function]
1453 cls.add_method('Deserialize',
1454 'ns3::Ipv6Address',
1455 [param('uint8_t const *', 'buf')],
1456 is_static=True)
1457 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAllHostsMulticast() [member function]
1458 cls.add_method('GetAllHostsMulticast',
1459 'ns3::Ipv6Address',
1460 [],
1461 is_static=True)
1462 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAllNodesMulticast() [member function]
1463 cls.add_method('GetAllNodesMulticast',
1464 'ns3::Ipv6Address',
1465 [],
1466 is_static=True)
1467 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAllRoutersMulticast() [member function]
1468 cls.add_method('GetAllRoutersMulticast',
1469 'ns3::Ipv6Address',
1470 [],
1471 is_static=True)
1472 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAny() [member function]
1473 cls.add_method('GetAny',
1474 'ns3::Ipv6Address',
1475 [],
1476 is_static=True)
1477 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::GetBytes(uint8_t * buf) const [member function]
1478 cls.add_method('GetBytes',
1479 'void',
1480 [param('uint8_t *', 'buf')],
1481 is_const=True)
1482 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetLoopback() [member function]
1483 cls.add_method('GetLoopback',
1484 'ns3::Ipv6Address',
1485 [],
1486 is_static=True)
1487 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetOnes() [member function]
1488 cls.add_method('GetOnes',
1489 'ns3::Ipv6Address',
1490 [],
1491 is_static=True)
1492 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetZero() [member function]
1493 cls.add_method('GetZero',
1494 'ns3::Ipv6Address',
1495 [],
1496 is_static=True)
1497 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAllHostsMulticast() const [member function]
1498 cls.add_method('IsAllHostsMulticast',
1499 'bool',
1500 [],
1501 is_const=True)
1502 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAllNodesMulticast() const [member function]
1503 cls.add_method('IsAllNodesMulticast',
1504 'bool',
1505 [],
1506 is_const=True)
1507 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAllRoutersMulticast() const [member function]
1508 cls.add_method('IsAllRoutersMulticast',
1509 'bool',
1510 [],
1511 is_const=True)
1512 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAny() const [member function]
1513 cls.add_method('IsAny',
1514 'bool',
1515 [],
1516 is_const=True)
1517 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsEqual(ns3::Ipv6Address const & other) const [member function]
1518 cls.add_method('IsEqual',
1519 'bool',
1520 [param('ns3::Ipv6Address const &', 'other')],
1521 is_const=True)
1522 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsLinkLocal() const [member function]
1523 cls.add_method('IsLinkLocal',
1524 'bool',
1525 [],
1526 is_const=True)
1527 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsLocalhost() const [member function]
1528 cls.add_method('IsLocalhost',
1529 'bool',
1530 [],
1531 is_const=True)
1532 ## ipv6-address.h (module 'network'): static bool ns3::Ipv6Address::IsMatchingType(ns3::Address const & address) [member function]
1533 cls.add_method('IsMatchingType',
1534 'bool',
1535 [param('ns3::Address const &', 'address')],
1536 is_static=True)
1537 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsMulticast() const [member function]
1538 cls.add_method('IsMulticast',
1539 'bool',
1540 [],
1541 is_const=True)
1542 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsSolicitedMulticast() const [member function]
1543 cls.add_method('IsSolicitedMulticast',
1544 'bool',
1545 [],
1546 is_const=True)
1547 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredAddress(ns3::Mac48Address addr, ns3::Ipv6Address prefix) [member function]
1548 cls.add_method('MakeAutoconfiguredAddress',
1549 'ns3::Ipv6Address',
1550 [param('ns3::Mac48Address', 'addr'), param('ns3::Ipv6Address', 'prefix')],
1551 is_static=True)
1552 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredLinkLocalAddress(ns3::Mac48Address mac) [member function]
1553 cls.add_method('MakeAutoconfiguredLinkLocalAddress',
1554 'ns3::Ipv6Address',
1555 [param('ns3::Mac48Address', 'mac')],
1556 is_static=True)
1557 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeSolicitedAddress(ns3::Ipv6Address addr) [member function]
1558 cls.add_method('MakeSolicitedAddress',
1559 'ns3::Ipv6Address',
1560 [param('ns3::Ipv6Address', 'addr')],
1561 is_static=True)
1562 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Print(std::ostream & os) const [member function]
1563 cls.add_method('Print',
1564 'void',
1565 [param('std::ostream &', 'os')],
1566 is_const=True)
1567 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Serialize(uint8_t * buf) const [member function]
1568 cls.add_method('Serialize',
1569 'void',
1570 [param('uint8_t *', 'buf')],
1571 is_const=True)
1572 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Set(char const * address) [member function]
1573 cls.add_method('Set',
1574 'void',
1575 [param('char const *', 'address')])
1576 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Set(uint8_t * address) [member function]
1577 cls.add_method('Set',
1578 'void',
1579 [param('uint8_t *', 'address')])
1580 return
1581
1582def register_Ns3Ipv6Prefix_methods(root_module, cls):
1583 cls.add_binary_comparison_operator('!=')
1584 cls.add_output_stream_operator()
1585 cls.add_binary_comparison_operator('==')
1586 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix() [constructor]
1587 cls.add_constructor([])
1588 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(uint8_t * prefix) [constructor]
1589 cls.add_constructor([param('uint8_t *', 'prefix')])
1590 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(char const * prefix) [constructor]
1591 cls.add_constructor([param('char const *', 'prefix')])
1592 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(uint8_t prefix) [constructor]
1593 cls.add_constructor([param('uint8_t', 'prefix')])
1594 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(ns3::Ipv6Prefix const & prefix) [copy constructor]
1595 cls.add_constructor([param('ns3::Ipv6Prefix const &', 'prefix')])
1596 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(ns3::Ipv6Prefix const * prefix) [constructor]
1597 cls.add_constructor([param('ns3::Ipv6Prefix const *', 'prefix')])
1598 ## ipv6-address.h (module 'network'): void ns3::Ipv6Prefix::GetBytes(uint8_t * buf) const [member function]
1599 cls.add_method('GetBytes',
1600 'void',
1601 [param('uint8_t *', 'buf')],
1602 is_const=True)
1603 ## ipv6-address.h (module 'network'): static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetLoopback() [member function]
1604 cls.add_method('GetLoopback',
1605 'ns3::Ipv6Prefix',
1606 [],
1607 is_static=True)
1608 ## ipv6-address.h (module 'network'): static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetOnes() [member function]
1609 cls.add_method('GetOnes',
1610 'ns3::Ipv6Prefix',
1611 [],
1612 is_static=True)
1613 ## ipv6-address.h (module 'network'): uint8_t ns3::Ipv6Prefix::GetPrefixLength() const [member function]
1614 cls.add_method('GetPrefixLength',
1615 'uint8_t',
1616 [],
1617 is_const=True)
1618 ## ipv6-address.h (module 'network'): static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetZero() [member function]
1619 cls.add_method('GetZero',
1620 'ns3::Ipv6Prefix',
1621 [],
1622 is_static=True)
1623 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Prefix::IsEqual(ns3::Ipv6Prefix const & other) const [member function]
1624 cls.add_method('IsEqual',
1625 'bool',
1626 [param('ns3::Ipv6Prefix const &', 'other')],
1627 is_const=True)
1628 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Prefix::IsMatch(ns3::Ipv6Address a, ns3::Ipv6Address b) const [member function]
1629 cls.add_method('IsMatch',
1630 'bool',
1631 [param('ns3::Ipv6Address', 'a'), param('ns3::Ipv6Address', 'b')],
1632 is_const=True)
1633 ## ipv6-address.h (module 'network'): void ns3::Ipv6Prefix::Print(std::ostream & os) const [member function]
1634 cls.add_method('Print',
1635 'void',
1636 [param('std::ostream &', 'os')],
1637 is_const=True)
1638 return
1639
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001640def register_Ns3NetDeviceContainer_methods(root_module, cls):
1641 ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(ns3::NetDeviceContainer const & arg0) [copy constructor]
1642 cls.add_constructor([param('ns3::NetDeviceContainer const &', 'arg0')])
1643 ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer() [constructor]
1644 cls.add_constructor([])
1645 ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(ns3::Ptr<ns3::NetDevice> dev) [constructor]
1646 cls.add_constructor([param('ns3::Ptr< ns3::NetDevice >', 'dev')])
1647 ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(std::string devName) [constructor]
1648 cls.add_constructor([param('std::string', 'devName')])
1649 ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(ns3::NetDeviceContainer const & a, ns3::NetDeviceContainer const & b) [constructor]
1650 cls.add_constructor([param('ns3::NetDeviceContainer const &', 'a'), param('ns3::NetDeviceContainer const &', 'b')])
1651 ## net-device-container.h (module 'network'): void ns3::NetDeviceContainer::Add(ns3::NetDeviceContainer other) [member function]
1652 cls.add_method('Add',
1653 'void',
1654 [param('ns3::NetDeviceContainer', 'other')])
1655 ## net-device-container.h (module 'network'): void ns3::NetDeviceContainer::Add(ns3::Ptr<ns3::NetDevice> device) [member function]
1656 cls.add_method('Add',
1657 'void',
1658 [param('ns3::Ptr< ns3::NetDevice >', 'device')])
1659 ## net-device-container.h (module 'network'): void ns3::NetDeviceContainer::Add(std::string deviceName) [member function]
1660 cls.add_method('Add',
1661 'void',
1662 [param('std::string', 'deviceName')])
1663 ## net-device-container.h (module 'network'): __gnu_cxx::__normal_iterator<const ns3::Ptr<ns3::NetDevice>*,std::vector<ns3::Ptr<ns3::NetDevice>, std::allocator<ns3::Ptr<ns3::NetDevice> > > > ns3::NetDeviceContainer::Begin() const [member function]
1664 cls.add_method('Begin',
1665 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::NetDevice > const, std::vector< ns3::Ptr< ns3::NetDevice > > >',
1666 [],
1667 is_const=True)
1668 ## net-device-container.h (module 'network'): __gnu_cxx::__normal_iterator<const ns3::Ptr<ns3::NetDevice>*,std::vector<ns3::Ptr<ns3::NetDevice>, std::allocator<ns3::Ptr<ns3::NetDevice> > > > ns3::NetDeviceContainer::End() const [member function]
1669 cls.add_method('End',
1670 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::NetDevice > const, std::vector< ns3::Ptr< ns3::NetDevice > > >',
1671 [],
1672 is_const=True)
1673 ## net-device-container.h (module 'network'): ns3::Ptr<ns3::NetDevice> ns3::NetDeviceContainer::Get(uint32_t i) const [member function]
1674 cls.add_method('Get',
1675 'ns3::Ptr< ns3::NetDevice >',
1676 [param('uint32_t', 'i')],
1677 is_const=True)
1678 ## net-device-container.h (module 'network'): uint32_t ns3::NetDeviceContainer::GetN() const [member function]
1679 cls.add_method('GetN',
1680 'uint32_t',
1681 [],
1682 is_const=True)
1683 return
1684
1685def register_Ns3NodeContainer_methods(root_module, cls):
1686 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & arg0) [copy constructor]
1687 cls.add_constructor([param('ns3::NodeContainer const &', 'arg0')])
1688 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer() [constructor]
1689 cls.add_constructor([])
1690 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::Ptr<ns3::Node> node) [constructor]
1691 cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node')])
1692 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(std::string nodeName) [constructor]
1693 cls.add_constructor([param('std::string', 'nodeName')])
1694 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b) [constructor]
1695 cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b')])
1696 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b, ns3::NodeContainer const & c) [constructor]
1697 cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b'), param('ns3::NodeContainer const &', 'c')])
1698 ## 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]
1699 cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b'), param('ns3::NodeContainer const &', 'c'), param('ns3::NodeContainer const &', 'd')])
1700 ## 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]
1701 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')])
1702 ## node-container.h (module 'network'): void ns3::NodeContainer::Add(ns3::NodeContainer other) [member function]
1703 cls.add_method('Add',
1704 'void',
1705 [param('ns3::NodeContainer', 'other')])
1706 ## node-container.h (module 'network'): void ns3::NodeContainer::Add(ns3::Ptr<ns3::Node> node) [member function]
1707 cls.add_method('Add',
1708 'void',
1709 [param('ns3::Ptr< ns3::Node >', 'node')])
1710 ## node-container.h (module 'network'): void ns3::NodeContainer::Add(std::string nodeName) [member function]
1711 cls.add_method('Add',
1712 'void',
1713 [param('std::string', 'nodeName')])
1714 ## 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]
1715 cls.add_method('Begin',
1716 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >',
1717 [],
1718 is_const=True)
1719 ## node-container.h (module 'network'): void ns3::NodeContainer::Create(uint32_t n) [member function]
1720 cls.add_method('Create',
1721 'void',
1722 [param('uint32_t', 'n')])
1723 ## node-container.h (module 'network'): void ns3::NodeContainer::Create(uint32_t n, uint32_t systemId) [member function]
1724 cls.add_method('Create',
1725 'void',
1726 [param('uint32_t', 'n'), param('uint32_t', 'systemId')])
1727 ## 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]
1728 cls.add_method('End',
1729 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >',
1730 [],
1731 is_const=True)
1732 ## node-container.h (module 'network'): ns3::Ptr<ns3::Node> ns3::NodeContainer::Get(uint32_t i) const [member function]
1733 cls.add_method('Get',
1734 'ns3::Ptr< ns3::Node >',
1735 [param('uint32_t', 'i')],
1736 is_const=True)
1737 ## node-container.h (module 'network'): static ns3::NodeContainer ns3::NodeContainer::GetGlobal() [member function]
1738 cls.add_method('GetGlobal',
1739 'ns3::NodeContainer',
1740 [],
1741 is_static=True)
1742 ## node-container.h (module 'network'): uint32_t ns3::NodeContainer::GetN() const [member function]
1743 cls.add_method('GetN',
1744 'uint32_t',
1745 [],
1746 is_const=True)
1747 ## node-container.h (module 'network'): ns3::NodeContainer & ns3::NodeContainer::operator()(ns3::NodeContainer other) [member operator]
1748 cls.add_method('operator()',
1749 'ns3::NodeContainer &',
1750 [param('ns3::NodeContainer', 'other')],
1751 custom_name='__call__')
1752 ## node-container.h (module 'network'): ns3::NodeContainer & ns3::NodeContainer::operator()(ns3::Ptr<ns3::Node> node) [member operator]
1753 cls.add_method('operator()',
1754 'ns3::NodeContainer &',
1755 [param('ns3::Ptr< ns3::Node >', 'node')],
1756 custom_name='__call__')
1757 ## node-container.h (module 'network'): ns3::NodeContainer & ns3::NodeContainer::operator()(std::string nodeName) [member operator]
1758 cls.add_method('operator()',
1759 'ns3::NodeContainer &',
1760 [param('std::string', 'nodeName')],
1761 custom_name='__call__')
1762 return
1763
1764def register_Ns3ObjectBase_methods(root_module, cls):
1765 ## object-base.h (module 'core'): ns3::ObjectBase::ObjectBase() [constructor]
1766 cls.add_constructor([])
1767 ## object-base.h (module 'core'): ns3::ObjectBase::ObjectBase(ns3::ObjectBase const & arg0) [copy constructor]
1768 cls.add_constructor([param('ns3::ObjectBase const &', 'arg0')])
1769 ## object-base.h (module 'core'): void ns3::ObjectBase::GetAttribute(std::string name, ns3::AttributeValue & value) const [member function]
1770 cls.add_method('GetAttribute',
1771 'void',
1772 [param('std::string', 'name'), param('ns3::AttributeValue &', 'value')],
1773 is_const=True)
1774 ## object-base.h (module 'core'): bool ns3::ObjectBase::GetAttributeFailSafe(std::string name, ns3::AttributeValue & attribute) const [member function]
1775 cls.add_method('GetAttributeFailSafe',
1776 'bool',
1777 [param('std::string', 'name'), param('ns3::AttributeValue &', 'attribute')],
1778 is_const=True)
1779 ## object-base.h (module 'core'): ns3::TypeId ns3::ObjectBase::GetInstanceTypeId() const [member function]
1780 cls.add_method('GetInstanceTypeId',
1781 'ns3::TypeId',
1782 [],
1783 is_pure_virtual=True, is_const=True, is_virtual=True)
1784 ## object-base.h (module 'core'): static ns3::TypeId ns3::ObjectBase::GetTypeId() [member function]
1785 cls.add_method('GetTypeId',
1786 'ns3::TypeId',
1787 [],
1788 is_static=True)
1789 ## object-base.h (module 'core'): void ns3::ObjectBase::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function]
1790 cls.add_method('SetAttribute',
1791 'void',
1792 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
1793 ## object-base.h (module 'core'): bool ns3::ObjectBase::SetAttributeFailSafe(std::string name, ns3::AttributeValue const & value) [member function]
1794 cls.add_method('SetAttributeFailSafe',
1795 'bool',
1796 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
1797 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceConnect(std::string name, std::string context, ns3::CallbackBase const & cb) [member function]
1798 cls.add_method('TraceConnect',
1799 'bool',
1800 [param('std::string', 'name'), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')])
1801 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceConnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function]
1802 cls.add_method('TraceConnectWithoutContext',
1803 'bool',
1804 [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')])
1805 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceDisconnect(std::string name, std::string context, ns3::CallbackBase const & cb) [member function]
1806 cls.add_method('TraceDisconnect',
1807 'bool',
1808 [param('std::string', 'name'), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')])
1809 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceDisconnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function]
1810 cls.add_method('TraceDisconnectWithoutContext',
1811 'bool',
1812 [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')])
1813 ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function]
1814 cls.add_method('ConstructSelf',
1815 'void',
1816 [param('ns3::AttributeConstructionList const &', 'attributes')],
1817 visibility='protected')
1818 ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function]
1819 cls.add_method('NotifyConstructionCompleted',
1820 'void',
1821 [],
1822 visibility='protected', is_virtual=True)
1823 return
1824
1825def register_Ns3ObjectDeleter_methods(root_module, cls):
1826 ## object.h (module 'core'): ns3::ObjectDeleter::ObjectDeleter() [constructor]
1827 cls.add_constructor([])
1828 ## object.h (module 'core'): ns3::ObjectDeleter::ObjectDeleter(ns3::ObjectDeleter const & arg0) [copy constructor]
1829 cls.add_constructor([param('ns3::ObjectDeleter const &', 'arg0')])
1830 ## object.h (module 'core'): static void ns3::ObjectDeleter::Delete(ns3::Object * object) [member function]
1831 cls.add_method('Delete',
1832 'void',
1833 [param('ns3::Object *', 'object')],
1834 is_static=True)
1835 return
1836
1837def register_Ns3ObjectFactory_methods(root_module, cls):
1838 cls.add_output_stream_operator()
1839 ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(ns3::ObjectFactory const & arg0) [copy constructor]
1840 cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')])
1841 ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor]
1842 cls.add_constructor([])
1843 ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor]
1844 cls.add_constructor([param('std::string', 'typeId')])
1845 ## object-factory.h (module 'core'): ns3::Ptr<ns3::Object> ns3::ObjectFactory::Create() const [member function]
1846 cls.add_method('Create',
1847 'ns3::Ptr< ns3::Object >',
1848 [],
1849 is_const=True)
1850 ## object-factory.h (module 'core'): ns3::TypeId ns3::ObjectFactory::GetTypeId() const [member function]
1851 cls.add_method('GetTypeId',
1852 'ns3::TypeId',
1853 [],
1854 is_const=True)
1855 ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(std::string name, ns3::AttributeValue const & value) [member function]
1856 cls.add_method('Set',
1857 'void',
1858 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
1859 ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function]
1860 cls.add_method('SetTypeId',
1861 'void',
1862 [param('ns3::TypeId', 'tid')])
1863 ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(char const * tid) [member function]
1864 cls.add_method('SetTypeId',
1865 'void',
1866 [param('char const *', 'tid')])
1867 ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(std::string tid) [member function]
1868 cls.add_method('SetTypeId',
1869 'void',
1870 [param('std::string', 'tid')])
1871 return
1872
1873def register_Ns3PacketMetadata_methods(root_module, cls):
1874 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::PacketMetadata(uint64_t uid, uint32_t size) [constructor]
1875 cls.add_constructor([param('uint64_t', 'uid'), param('uint32_t', 'size')])
1876 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::PacketMetadata(ns3::PacketMetadata const & o) [copy constructor]
1877 cls.add_constructor([param('ns3::PacketMetadata const &', 'o')])
1878 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddAtEnd(ns3::PacketMetadata const & o) [member function]
1879 cls.add_method('AddAtEnd',
1880 'void',
1881 [param('ns3::PacketMetadata const &', 'o')])
1882 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddHeader(ns3::Header const & header, uint32_t size) [member function]
1883 cls.add_method('AddHeader',
1884 'void',
1885 [param('ns3::Header const &', 'header'), param('uint32_t', 'size')])
1886 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddPaddingAtEnd(uint32_t end) [member function]
1887 cls.add_method('AddPaddingAtEnd',
1888 'void',
1889 [param('uint32_t', 'end')])
1890 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddTrailer(ns3::Trailer const & trailer, uint32_t size) [member function]
1891 cls.add_method('AddTrailer',
1892 'void',
1893 [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')])
1894 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator ns3::PacketMetadata::BeginItem(ns3::Buffer buffer) const [member function]
1895 cls.add_method('BeginItem',
1896 'ns3::PacketMetadata::ItemIterator',
1897 [param('ns3::Buffer', 'buffer')],
1898 is_const=True)
1899 ## packet-metadata.h (module 'network'): ns3::PacketMetadata ns3::PacketMetadata::CreateFragment(uint32_t start, uint32_t end) const [member function]
1900 cls.add_method('CreateFragment',
1901 'ns3::PacketMetadata',
1902 [param('uint32_t', 'start'), param('uint32_t', 'end')],
1903 is_const=True)
1904 ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::Deserialize(uint8_t const * buffer, uint32_t size) [member function]
1905 cls.add_method('Deserialize',
1906 'uint32_t',
1907 [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
1908 ## packet-metadata.h (module 'network'): static void ns3::PacketMetadata::Enable() [member function]
1909 cls.add_method('Enable',
1910 'void',
1911 [],
1912 is_static=True)
1913 ## packet-metadata.h (module 'network'): static void ns3::PacketMetadata::EnableChecking() [member function]
1914 cls.add_method('EnableChecking',
1915 'void',
1916 [],
1917 is_static=True)
1918 ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::GetSerializedSize() const [member function]
1919 cls.add_method('GetSerializedSize',
1920 'uint32_t',
1921 [],
1922 is_const=True)
1923 ## packet-metadata.h (module 'network'): uint64_t ns3::PacketMetadata::GetUid() const [member function]
1924 cls.add_method('GetUid',
1925 'uint64_t',
1926 [],
1927 is_const=True)
1928 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveAtEnd(uint32_t end) [member function]
1929 cls.add_method('RemoveAtEnd',
1930 'void',
1931 [param('uint32_t', 'end')])
1932 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveAtStart(uint32_t start) [member function]
1933 cls.add_method('RemoveAtStart',
1934 'void',
1935 [param('uint32_t', 'start')])
1936 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveHeader(ns3::Header const & header, uint32_t size) [member function]
1937 cls.add_method('RemoveHeader',
1938 'void',
1939 [param('ns3::Header const &', 'header'), param('uint32_t', 'size')])
1940 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveTrailer(ns3::Trailer const & trailer, uint32_t size) [member function]
1941 cls.add_method('RemoveTrailer',
1942 'void',
1943 [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')])
1944 ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
1945 cls.add_method('Serialize',
1946 'uint32_t',
1947 [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')],
1948 is_const=True)
1949 return
1950
1951def register_Ns3PacketMetadataItem_methods(root_module, cls):
1952 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::Item() [constructor]
1953 cls.add_constructor([])
1954 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::Item(ns3::PacketMetadata::Item const & arg0) [copy constructor]
1955 cls.add_constructor([param('ns3::PacketMetadata::Item const &', 'arg0')])
1956 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::current [variable]
1957 cls.add_instance_attribute('current', 'ns3::Buffer::Iterator', is_const=False)
1958 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentSize [variable]
1959 cls.add_instance_attribute('currentSize', 'uint32_t', is_const=False)
1960 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentTrimedFromEnd [variable]
1961 cls.add_instance_attribute('currentTrimedFromEnd', 'uint32_t', is_const=False)
1962 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentTrimedFromStart [variable]
1963 cls.add_instance_attribute('currentTrimedFromStart', 'uint32_t', is_const=False)
1964 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::isFragment [variable]
1965 cls.add_instance_attribute('isFragment', 'bool', is_const=False)
1966 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::tid [variable]
1967 cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
1968 return
1969
1970def register_Ns3PacketMetadataItemIterator_methods(root_module, cls):
1971 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata::ItemIterator const & arg0) [copy constructor]
1972 cls.add_constructor([param('ns3::PacketMetadata::ItemIterator const &', 'arg0')])
1973 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata const * metadata, ns3::Buffer buffer) [constructor]
1974 cls.add_constructor([param('ns3::PacketMetadata const *', 'metadata'), param('ns3::Buffer', 'buffer')])
1975 ## packet-metadata.h (module 'network'): bool ns3::PacketMetadata::ItemIterator::HasNext() const [member function]
1976 cls.add_method('HasNext',
1977 'bool',
1978 [],
1979 is_const=True)
1980 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item ns3::PacketMetadata::ItemIterator::Next() [member function]
1981 cls.add_method('Next',
1982 'ns3::PacketMetadata::Item',
1983 [])
1984 return
1985
1986def register_Ns3PacketTagIterator_methods(root_module, cls):
1987 ## packet.h (module 'network'): ns3::PacketTagIterator::PacketTagIterator(ns3::PacketTagIterator const & arg0) [copy constructor]
1988 cls.add_constructor([param('ns3::PacketTagIterator const &', 'arg0')])
1989 ## packet.h (module 'network'): bool ns3::PacketTagIterator::HasNext() const [member function]
1990 cls.add_method('HasNext',
1991 'bool',
1992 [],
1993 is_const=True)
1994 ## packet.h (module 'network'): ns3::PacketTagIterator::Item ns3::PacketTagIterator::Next() [member function]
1995 cls.add_method('Next',
1996 'ns3::PacketTagIterator::Item',
1997 [])
1998 return
1999
2000def register_Ns3PacketTagIteratorItem_methods(root_module, cls):
2001 ## packet.h (module 'network'): ns3::PacketTagIterator::Item::Item(ns3::PacketTagIterator::Item const & arg0) [copy constructor]
2002 cls.add_constructor([param('ns3::PacketTagIterator::Item const &', 'arg0')])
2003 ## packet.h (module 'network'): void ns3::PacketTagIterator::Item::GetTag(ns3::Tag & tag) const [member function]
2004 cls.add_method('GetTag',
2005 'void',
2006 [param('ns3::Tag &', 'tag')],
2007 is_const=True)
2008 ## packet.h (module 'network'): ns3::TypeId ns3::PacketTagIterator::Item::GetTypeId() const [member function]
2009 cls.add_method('GetTypeId',
2010 'ns3::TypeId',
2011 [],
2012 is_const=True)
2013 return
2014
2015def register_Ns3PacketTagList_methods(root_module, cls):
2016 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::PacketTagList() [constructor]
2017 cls.add_constructor([])
2018 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::PacketTagList(ns3::PacketTagList const & o) [copy constructor]
2019 cls.add_constructor([param('ns3::PacketTagList const &', 'o')])
2020 ## packet-tag-list.h (module 'network'): void ns3::PacketTagList::Add(ns3::Tag const & tag) const [member function]
2021 cls.add_method('Add',
2022 'void',
2023 [param('ns3::Tag const &', 'tag')],
2024 is_const=True)
2025 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData const * ns3::PacketTagList::Head() const [member function]
2026 cls.add_method('Head',
2027 'ns3::PacketTagList::TagData const *',
2028 [],
2029 is_const=True)
2030 ## packet-tag-list.h (module 'network'): bool ns3::PacketTagList::Peek(ns3::Tag & tag) const [member function]
2031 cls.add_method('Peek',
2032 'bool',
2033 [param('ns3::Tag &', 'tag')],
2034 is_const=True)
2035 ## packet-tag-list.h (module 'network'): bool ns3::PacketTagList::Remove(ns3::Tag & tag) [member function]
2036 cls.add_method('Remove',
2037 'bool',
2038 [param('ns3::Tag &', 'tag')])
2039 ## packet-tag-list.h (module 'network'): void ns3::PacketTagList::RemoveAll() [member function]
2040 cls.add_method('RemoveAll',
2041 'void',
2042 [])
2043 return
2044
2045def register_Ns3PacketTagListTagData_methods(root_module, cls):
2046 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::TagData() [constructor]
2047 cls.add_constructor([])
2048 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::TagData(ns3::PacketTagList::TagData const & arg0) [copy constructor]
2049 cls.add_constructor([param('ns3::PacketTagList::TagData const &', 'arg0')])
2050 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::count [variable]
2051 cls.add_instance_attribute('count', 'uint32_t', is_const=False)
2052 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::data [variable]
2053 cls.add_instance_attribute('data', 'uint8_t [ 20 ]', is_const=False)
2054 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::next [variable]
2055 cls.add_instance_attribute('next', 'ns3::PacketTagList::TagData *', is_const=False)
2056 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::tid [variable]
2057 cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
2058 return
2059
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002060def register_Ns3RandomVariable_methods(root_module, cls):
2061 cls.add_output_stream_operator()
2062 ## random-variable.h (module 'core'): ns3::RandomVariable::RandomVariable() [constructor]
2063 cls.add_constructor([])
2064 ## random-variable.h (module 'core'): ns3::RandomVariable::RandomVariable(ns3::RandomVariable const & o) [copy constructor]
2065 cls.add_constructor([param('ns3::RandomVariable const &', 'o')])
2066 ## random-variable.h (module 'core'): uint32_t ns3::RandomVariable::GetInteger() const [member function]
2067 cls.add_method('GetInteger',
2068 'uint32_t',
2069 [],
2070 is_const=True)
2071 ## random-variable.h (module 'core'): double ns3::RandomVariable::GetValue() const [member function]
2072 cls.add_method('GetValue',
2073 'double',
2074 [],
2075 is_const=True)
2076 return
2077
2078def register_Ns3SeedManager_methods(root_module, cls):
2079 ## random-variable.h (module 'core'): ns3::SeedManager::SeedManager() [constructor]
2080 cls.add_constructor([])
2081 ## random-variable.h (module 'core'): ns3::SeedManager::SeedManager(ns3::SeedManager const & arg0) [copy constructor]
2082 cls.add_constructor([param('ns3::SeedManager const &', 'arg0')])
2083 ## random-variable.h (module 'core'): static bool ns3::SeedManager::CheckSeed(uint32_t seed) [member function]
2084 cls.add_method('CheckSeed',
2085 'bool',
2086 [param('uint32_t', 'seed')],
2087 is_static=True)
2088 ## random-variable.h (module 'core'): static uint32_t ns3::SeedManager::GetRun() [member function]
2089 cls.add_method('GetRun',
2090 'uint32_t',
2091 [],
2092 is_static=True)
2093 ## random-variable.h (module 'core'): static uint32_t ns3::SeedManager::GetSeed() [member function]
2094 cls.add_method('GetSeed',
2095 'uint32_t',
2096 [],
2097 is_static=True)
2098 ## random-variable.h (module 'core'): static void ns3::SeedManager::SetRun(uint32_t run) [member function]
2099 cls.add_method('SetRun',
2100 'void',
2101 [param('uint32_t', 'run')],
2102 is_static=True)
2103 ## random-variable.h (module 'core'): static void ns3::SeedManager::SetSeed(uint32_t seed) [member function]
2104 cls.add_method('SetSeed',
2105 'void',
2106 [param('uint32_t', 'seed')],
2107 is_static=True)
2108 return
2109
2110def register_Ns3SequentialVariable_methods(root_module, cls):
2111 ## random-variable.h (module 'core'): ns3::SequentialVariable::SequentialVariable(ns3::SequentialVariable const & arg0) [copy constructor]
2112 cls.add_constructor([param('ns3::SequentialVariable const &', 'arg0')])
2113 ## random-variable.h (module 'core'): ns3::SequentialVariable::SequentialVariable(double f, double l, double i=1, uint32_t c=1) [constructor]
2114 cls.add_constructor([param('double', 'f'), param('double', 'l'), param('double', 'i', default_value='1'), param('uint32_t', 'c', default_value='1')])
2115 ## random-variable.h (module 'core'): ns3::SequentialVariable::SequentialVariable(double f, double l, ns3::RandomVariable const & i, uint32_t c=1) [constructor]
2116 cls.add_constructor([param('double', 'f'), param('double', 'l'), param('ns3::RandomVariable const &', 'i'), param('uint32_t', 'c', default_value='1')])
2117 return
2118
2119def register_Ns3SimpleRefCount__Ns3Chunk_Ns3ObjectBase_Ns3DefaultDeleter__lt__ns3Chunk__gt___methods(root_module, cls):
2120 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Chunk, ns3::ObjectBase, ns3::DefaultDeleter<ns3::Chunk> >::SimpleRefCount() [constructor]
2121 cls.add_constructor([])
2122 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Chunk, ns3::ObjectBase, ns3::DefaultDeleter<ns3::Chunk> >::SimpleRefCount(ns3::SimpleRefCount<ns3::Chunk, ns3::ObjectBase, ns3::DefaultDeleter<ns3::Chunk> > const & o) [copy constructor]
2123 cls.add_constructor([param('ns3::SimpleRefCount< ns3::Chunk, ns3::ObjectBase, ns3::DefaultDeleter< ns3::Chunk > > const &', 'o')])
2124 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::Chunk, ns3::ObjectBase, ns3::DefaultDeleter<ns3::Chunk> >::Cleanup() [member function]
2125 cls.add_method('Cleanup',
2126 'void',
2127 [],
2128 is_static=True)
2129 return
2130
2131def register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, cls):
2132 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter>::SimpleRefCount() [constructor]
2133 cls.add_constructor([])
2134 ## 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]
2135 cls.add_constructor([param('ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter > const &', 'o')])
2136 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter>::Cleanup() [member function]
2137 cls.add_method('Cleanup',
2138 'void',
2139 [],
2140 is_static=True)
2141 return
2142
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002143def register_Ns3SpringMobilityHelper_methods(root_module, cls):
2144 ## spring-mobility-helper.h (module 'NDNabstraction'): ns3::SpringMobilityHelper::SpringMobilityHelper() [constructor]
2145 cls.add_constructor([])
2146 ## spring-mobility-helper.h (module 'NDNabstraction'): ns3::SpringMobilityHelper::SpringMobilityHelper(ns3::SpringMobilityHelper const & arg0) [copy constructor]
2147 cls.add_constructor([param('ns3::SpringMobilityHelper const &', 'arg0')])
2148 ## spring-mobility-helper.h (module 'NDNabstraction'): static void ns3::SpringMobilityHelper::InstallSprings(ns3::Ptr<ns3::Node> node1, ns3::Ptr<ns3::Node> node2) [member function]
2149 cls.add_method('InstallSprings',
2150 'void',
2151 [param('ns3::Ptr< ns3::Node >', 'node1'), param('ns3::Ptr< ns3::Node >', 'node2')],
2152 is_static=True)
2153 ## spring-mobility-helper.h (module 'NDNabstraction'): static void ns3::SpringMobilityHelper::InstallSprings(std::_List_const_iterator<ns3::TopologyReader::Link> first, std::_List_const_iterator<ns3::TopologyReader::Link> end) [member function]
2154 cls.add_method('InstallSprings',
2155 'void',
2156 [param('std::_List_const_iterator< ns3::TopologyReader::Link >', 'first'), param('std::_List_const_iterator< ns3::TopologyReader::Link >', 'end')],
2157 is_static=True)
2158 return
2159
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002160def register_Ns3Tag_methods(root_module, cls):
2161 ## tag.h (module 'network'): ns3::Tag::Tag() [constructor]
2162 cls.add_constructor([])
2163 ## tag.h (module 'network'): ns3::Tag::Tag(ns3::Tag const & arg0) [copy constructor]
2164 cls.add_constructor([param('ns3::Tag const &', 'arg0')])
2165 ## tag.h (module 'network'): void ns3::Tag::Deserialize(ns3::TagBuffer i) [member function]
2166 cls.add_method('Deserialize',
2167 'void',
2168 [param('ns3::TagBuffer', 'i')],
2169 is_pure_virtual=True, is_virtual=True)
2170 ## tag.h (module 'network'): uint32_t ns3::Tag::GetSerializedSize() const [member function]
2171 cls.add_method('GetSerializedSize',
2172 'uint32_t',
2173 [],
2174 is_pure_virtual=True, is_const=True, is_virtual=True)
2175 ## tag.h (module 'network'): static ns3::TypeId ns3::Tag::GetTypeId() [member function]
2176 cls.add_method('GetTypeId',
2177 'ns3::TypeId',
2178 [],
2179 is_static=True)
2180 ## tag.h (module 'network'): void ns3::Tag::Print(std::ostream & os) const [member function]
2181 cls.add_method('Print',
2182 'void',
2183 [param('std::ostream &', 'os')],
2184 is_pure_virtual=True, is_const=True, is_virtual=True)
2185 ## tag.h (module 'network'): void ns3::Tag::Serialize(ns3::TagBuffer i) const [member function]
2186 cls.add_method('Serialize',
2187 'void',
2188 [param('ns3::TagBuffer', 'i')],
2189 is_pure_virtual=True, is_const=True, is_virtual=True)
2190 return
2191
2192def register_Ns3TagBuffer_methods(root_module, cls):
2193 ## tag-buffer.h (module 'network'): ns3::TagBuffer::TagBuffer(ns3::TagBuffer const & arg0) [copy constructor]
2194 cls.add_constructor([param('ns3::TagBuffer const &', 'arg0')])
2195 ## tag-buffer.h (module 'network'): ns3::TagBuffer::TagBuffer(uint8_t * start, uint8_t * end) [constructor]
2196 cls.add_constructor([param('uint8_t *', 'start'), param('uint8_t *', 'end')])
2197 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::CopyFrom(ns3::TagBuffer o) [member function]
2198 cls.add_method('CopyFrom',
2199 'void',
2200 [param('ns3::TagBuffer', 'o')])
2201 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::Read(uint8_t * buffer, uint32_t size) [member function]
2202 cls.add_method('Read',
2203 'void',
2204 [param('uint8_t *', 'buffer'), param('uint32_t', 'size')])
2205 ## tag-buffer.h (module 'network'): double ns3::TagBuffer::ReadDouble() [member function]
2206 cls.add_method('ReadDouble',
2207 'double',
2208 [])
2209 ## tag-buffer.h (module 'network'): uint16_t ns3::TagBuffer::ReadU16() [member function]
2210 cls.add_method('ReadU16',
2211 'uint16_t',
2212 [])
2213 ## tag-buffer.h (module 'network'): uint32_t ns3::TagBuffer::ReadU32() [member function]
2214 cls.add_method('ReadU32',
2215 'uint32_t',
2216 [])
2217 ## tag-buffer.h (module 'network'): uint64_t ns3::TagBuffer::ReadU64() [member function]
2218 cls.add_method('ReadU64',
2219 'uint64_t',
2220 [])
2221 ## tag-buffer.h (module 'network'): uint8_t ns3::TagBuffer::ReadU8() [member function]
2222 cls.add_method('ReadU8',
2223 'uint8_t',
2224 [])
2225 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::TrimAtEnd(uint32_t trim) [member function]
2226 cls.add_method('TrimAtEnd',
2227 'void',
2228 [param('uint32_t', 'trim')])
2229 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::Write(uint8_t const * buffer, uint32_t size) [member function]
2230 cls.add_method('Write',
2231 'void',
2232 [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
2233 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteDouble(double v) [member function]
2234 cls.add_method('WriteDouble',
2235 'void',
2236 [param('double', 'v')])
2237 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU16(uint16_t data) [member function]
2238 cls.add_method('WriteU16',
2239 'void',
2240 [param('uint16_t', 'data')])
2241 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU32(uint32_t data) [member function]
2242 cls.add_method('WriteU32',
2243 'void',
2244 [param('uint32_t', 'data')])
2245 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU64(uint64_t v) [member function]
2246 cls.add_method('WriteU64',
2247 'void',
2248 [param('uint64_t', 'v')])
2249 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU8(uint8_t v) [member function]
2250 cls.add_method('WriteU8',
2251 'void',
2252 [param('uint8_t', 'v')])
2253 return
2254
2255def register_Ns3TriangularVariable_methods(root_module, cls):
2256 ## random-variable.h (module 'core'): ns3::TriangularVariable::TriangularVariable(ns3::TriangularVariable const & arg0) [copy constructor]
2257 cls.add_constructor([param('ns3::TriangularVariable const &', 'arg0')])
2258 ## random-variable.h (module 'core'): ns3::TriangularVariable::TriangularVariable() [constructor]
2259 cls.add_constructor([])
2260 ## random-variable.h (module 'core'): ns3::TriangularVariable::TriangularVariable(double s, double l, double mean) [constructor]
2261 cls.add_constructor([param('double', 's'), param('double', 'l'), param('double', 'mean')])
2262 return
2263
2264def register_Ns3TypeId_methods(root_module, cls):
2265 cls.add_binary_comparison_operator('!=')
2266 cls.add_output_stream_operator()
2267 cls.add_binary_comparison_operator('==')
2268 cls.add_binary_comparison_operator('<')
2269 ## type-id.h (module 'core'): ns3::TypeId::TypeId(char const * name) [constructor]
2270 cls.add_constructor([param('char const *', 'name')])
2271 ## type-id.h (module 'core'): ns3::TypeId::TypeId() [constructor]
2272 cls.add_constructor([])
2273 ## type-id.h (module 'core'): ns3::TypeId::TypeId(ns3::TypeId const & o) [copy constructor]
2274 cls.add_constructor([param('ns3::TypeId const &', 'o')])
2275 ## 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]
2276 cls.add_method('AddAttribute',
2277 'ns3::TypeId',
2278 [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')])
2279 ## 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]
2280 cls.add_method('AddAttribute',
2281 'ns3::TypeId',
2282 [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')])
2283 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr<ns3::TraceSourceAccessor const> accessor) [member function]
2284 cls.add_method('AddTraceSource',
2285 'ns3::TypeId',
2286 [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')])
2287 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function]
2288 cls.add_method('GetAttribute',
2289 'ns3::TypeId::AttributeInformation',
2290 [param('uint32_t', 'i')],
2291 is_const=True)
2292 ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function]
2293 cls.add_method('GetAttributeFullName',
2294 'std::string',
2295 [param('uint32_t', 'i')],
2296 is_const=True)
2297 ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function]
2298 cls.add_method('GetAttributeN',
2299 'uint32_t',
2300 [],
2301 is_const=True)
2302 ## 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]
2303 cls.add_method('GetConstructor',
2304 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >',
2305 [],
2306 is_const=True)
2307 ## type-id.h (module 'core'): std::string ns3::TypeId::GetGroupName() const [member function]
2308 cls.add_method('GetGroupName',
2309 'std::string',
2310 [],
2311 is_const=True)
2312 ## type-id.h (module 'core'): std::string ns3::TypeId::GetName() const [member function]
2313 cls.add_method('GetName',
2314 'std::string',
2315 [],
2316 is_const=True)
2317 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::GetParent() const [member function]
2318 cls.add_method('GetParent',
2319 'ns3::TypeId',
2320 [],
2321 is_const=True)
2322 ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::GetRegistered(uint32_t i) [member function]
2323 cls.add_method('GetRegistered',
2324 'ns3::TypeId',
2325 [param('uint32_t', 'i')],
2326 is_static=True)
2327 ## type-id.h (module 'core'): static uint32_t ns3::TypeId::GetRegisteredN() [member function]
2328 cls.add_method('GetRegisteredN',
2329 'uint32_t',
2330 [],
2331 is_static=True)
2332 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function]
2333 cls.add_method('GetTraceSource',
2334 'ns3::TypeId::TraceSourceInformation',
2335 [param('uint32_t', 'i')],
2336 is_const=True)
2337 ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function]
2338 cls.add_method('GetTraceSourceN',
2339 'uint32_t',
2340 [],
2341 is_const=True)
2342 ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function]
2343 cls.add_method('GetUid',
2344 'uint16_t',
2345 [],
2346 is_const=True)
2347 ## type-id.h (module 'core'): bool ns3::TypeId::HasConstructor() const [member function]
2348 cls.add_method('HasConstructor',
2349 'bool',
2350 [],
2351 is_const=True)
2352 ## type-id.h (module 'core'): bool ns3::TypeId::HasParent() const [member function]
2353 cls.add_method('HasParent',
2354 'bool',
2355 [],
2356 is_const=True)
2357 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::HideFromDocumentation() [member function]
2358 cls.add_method('HideFromDocumentation',
2359 'ns3::TypeId',
2360 [])
2361 ## type-id.h (module 'core'): bool ns3::TypeId::IsChildOf(ns3::TypeId other) const [member function]
2362 cls.add_method('IsChildOf',
2363 'bool',
2364 [param('ns3::TypeId', 'other')],
2365 is_const=True)
2366 ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function]
2367 cls.add_method('LookupAttributeByName',
2368 'bool',
2369 [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')],
2370 is_const=True)
2371 ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function]
2372 cls.add_method('LookupByName',
2373 'ns3::TypeId',
2374 [param('std::string', 'name')],
2375 is_static=True)
2376 ## type-id.h (module 'core'): ns3::Ptr<ns3::TraceSourceAccessor const> ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function]
2377 cls.add_method('LookupTraceSourceByName',
2378 'ns3::Ptr< ns3::TraceSourceAccessor const >',
2379 [param('std::string', 'name')],
2380 is_const=True)
2381 ## type-id.h (module 'core'): bool ns3::TypeId::MustHideFromDocumentation() const [member function]
2382 cls.add_method('MustHideFromDocumentation',
2383 'bool',
2384 [],
2385 is_const=True)
2386 ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr<ns3::AttributeValue const> initialValue) [member function]
2387 cls.add_method('SetAttributeInitialValue',
2388 'bool',
2389 [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')])
2390 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function]
2391 cls.add_method('SetGroupName',
2392 'ns3::TypeId',
2393 [param('std::string', 'groupName')])
2394 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetParent(ns3::TypeId tid) [member function]
2395 cls.add_method('SetParent',
2396 'ns3::TypeId',
2397 [param('ns3::TypeId', 'tid')])
2398 ## type-id.h (module 'core'): void ns3::TypeId::SetUid(uint16_t tid) [member function]
2399 cls.add_method('SetUid',
2400 'void',
2401 [param('uint16_t', 'tid')])
2402 return
2403
2404def register_Ns3TypeIdAttributeInformation_methods(root_module, cls):
2405 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor]
2406 cls.add_constructor([])
2407 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor]
2408 cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')])
2409 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable]
2410 cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False)
2411 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable]
2412 cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False)
2413 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable]
2414 cls.add_instance_attribute('flags', 'uint32_t', is_const=False)
2415 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable]
2416 cls.add_instance_attribute('help', 'std::string', is_const=False)
2417 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable]
2418 cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False)
2419 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable]
2420 cls.add_instance_attribute('name', 'std::string', is_const=False)
2421 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable]
2422 cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False)
2423 return
2424
2425def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls):
2426 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor]
2427 cls.add_constructor([])
2428 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor]
2429 cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')])
2430 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable]
2431 cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False)
2432 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable]
2433 cls.add_instance_attribute('help', 'std::string', is_const=False)
2434 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable]
2435 cls.add_instance_attribute('name', 'std::string', is_const=False)
2436 return
2437
2438def register_Ns3UniformVariable_methods(root_module, cls):
2439 ## random-variable.h (module 'core'): ns3::UniformVariable::UniformVariable(ns3::UniformVariable const & arg0) [copy constructor]
2440 cls.add_constructor([param('ns3::UniformVariable const &', 'arg0')])
2441 ## random-variable.h (module 'core'): ns3::UniformVariable::UniformVariable() [constructor]
2442 cls.add_constructor([])
2443 ## random-variable.h (module 'core'): ns3::UniformVariable::UniformVariable(double s, double l) [constructor]
2444 cls.add_constructor([param('double', 's'), param('double', 'l')])
2445 ## random-variable.h (module 'core'): uint32_t ns3::UniformVariable::GetInteger(uint32_t s, uint32_t l) [member function]
2446 cls.add_method('GetInteger',
2447 'uint32_t',
2448 [param('uint32_t', 's'), param('uint32_t', 'l')])
2449 ## random-variable.h (module 'core'): double ns3::UniformVariable::GetValue() const [member function]
2450 cls.add_method('GetValue',
2451 'double',
2452 [],
2453 is_const=True)
2454 ## random-variable.h (module 'core'): double ns3::UniformVariable::GetValue(double s, double l) [member function]
2455 cls.add_method('GetValue',
2456 'double',
2457 [param('double', 's'), param('double', 'l')])
2458 return
2459
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002460def register_Ns3Vector2D_methods(root_module, cls):
2461 cls.add_output_stream_operator()
2462 cls.add_binary_numeric_operator('*', root_module['ns3::Vector2D'], root_module['ns3::Vector2D'], param('ns3::Vector2D const &', 'right'))
2463 cls.add_binary_numeric_operator('*', root_module['ns3::Vector2D'], root_module['ns3::Vector2D'], param('double', 'right'))
2464 cls.add_binary_numeric_operator('+', root_module['ns3::Vector2D'], root_module['ns3::Vector2D'], param('ns3::Vector2D const &', 'right'))
2465 cls.add_binary_numeric_operator('+', root_module['ns3::Vector2D'], root_module['ns3::Vector2D'], param('double', 'right'))
2466 cls.add_inplace_numeric_operator('+=', param('ns3::Vector2D const &', 'right'))
2467 cls.add_inplace_numeric_operator('+=', param('double', 'right'))
2468 cls.add_binary_numeric_operator('-', root_module['ns3::Vector2D'], root_module['ns3::Vector2D'], param('ns3::Vector2D const &', 'right'))
2469 cls.add_binary_numeric_operator('/', root_module['ns3::Vector2D'], root_module['ns3::Vector2D'], param('double', 'right'))
2470 ## vector.h (module 'core'): ns3::Vector2D::Vector2D(ns3::Vector2D const & arg0) [copy constructor]
2471 cls.add_constructor([param('ns3::Vector2D const &', 'arg0')])
2472 ## vector.h (module 'core'): ns3::Vector2D::Vector2D(double _x, double _y) [constructor]
2473 cls.add_constructor([param('double', '_x'), param('double', '_y')])
2474 ## vector.h (module 'core'): ns3::Vector2D::Vector2D() [constructor]
2475 cls.add_constructor([])
2476 ## vector.h (module 'core'): ns3::Vector2D::x [variable]
2477 cls.add_instance_attribute('x', 'double', is_const=False)
2478 ## vector.h (module 'core'): ns3::Vector2D::y [variable]
2479 cls.add_instance_attribute('y', 'double', is_const=False)
2480 return
2481
2482def register_Ns3Vector3D_methods(root_module, cls):
2483 cls.add_output_stream_operator()
2484 cls.add_binary_numeric_operator('*', root_module['ns3::Vector3D'], root_module['ns3::Vector3D'], param('ns3::Vector3D const &', 'right'))
2485 cls.add_binary_numeric_operator('*', root_module['ns3::Vector3D'], root_module['ns3::Vector3D'], param('double', 'right'))
2486 cls.add_binary_numeric_operator('+', root_module['ns3::Vector3D'], root_module['ns3::Vector3D'], param('ns3::Vector3D const &', 'right'))
2487 cls.add_binary_numeric_operator('+', root_module['ns3::Vector3D'], root_module['ns3::Vector3D'], param('double', 'right'))
2488 cls.add_inplace_numeric_operator('+=', param('ns3::Vector3D const &', 'right'))
2489 cls.add_inplace_numeric_operator('+=', param('double', 'right'))
2490 cls.add_binary_numeric_operator('-', root_module['ns3::Vector3D'], root_module['ns3::Vector3D'], param('ns3::Vector3D const &', 'right'))
2491 cls.add_binary_numeric_operator('/', root_module['ns3::Vector3D'], root_module['ns3::Vector3D'], param('double', 'right'))
2492 ## vector.h (module 'core'): ns3::Vector3D::Vector3D(ns3::Vector3D const & arg0) [copy constructor]
2493 cls.add_constructor([param('ns3::Vector3D const &', 'arg0')])
2494 ## vector.h (module 'core'): ns3::Vector3D::Vector3D(double _x, double _y, double _z) [constructor]
2495 cls.add_constructor([param('double', '_x'), param('double', '_y'), param('double', '_z')])
2496 ## vector.h (module 'core'): ns3::Vector3D::Vector3D() [constructor]
2497 cls.add_constructor([])
2498 ## vector.h (module 'core'): ns3::Vector3D::x [variable]
2499 cls.add_instance_attribute('x', 'double', is_const=False)
2500 ## vector.h (module 'core'): ns3::Vector3D::y [variable]
2501 cls.add_instance_attribute('y', 'double', is_const=False)
2502 ## vector.h (module 'core'): ns3::Vector3D::z [variable]
2503 cls.add_instance_attribute('z', 'double', is_const=False)
2504 return
2505
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002506def register_Ns3WeibullVariable_methods(root_module, cls):
2507 ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(ns3::WeibullVariable const & arg0) [copy constructor]
2508 cls.add_constructor([param('ns3::WeibullVariable const &', 'arg0')])
2509 ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable() [constructor]
2510 cls.add_constructor([])
2511 ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(double m) [constructor]
2512 cls.add_constructor([param('double', 'm')])
2513 ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(double m, double s) [constructor]
2514 cls.add_constructor([param('double', 'm'), param('double', 's')])
2515 ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(double m, double s, double b) [constructor]
2516 cls.add_constructor([param('double', 'm'), param('double', 's'), param('double', 'b')])
2517 return
2518
2519def register_Ns3ZetaVariable_methods(root_module, cls):
2520 ## random-variable.h (module 'core'): ns3::ZetaVariable::ZetaVariable(ns3::ZetaVariable const & arg0) [copy constructor]
2521 cls.add_constructor([param('ns3::ZetaVariable const &', 'arg0')])
2522 ## random-variable.h (module 'core'): ns3::ZetaVariable::ZetaVariable(double alpha) [constructor]
2523 cls.add_constructor([param('double', 'alpha')])
2524 ## random-variable.h (module 'core'): ns3::ZetaVariable::ZetaVariable() [constructor]
2525 cls.add_constructor([])
2526 return
2527
2528def register_Ns3ZipfVariable_methods(root_module, cls):
2529 ## random-variable.h (module 'core'): ns3::ZipfVariable::ZipfVariable(ns3::ZipfVariable const & arg0) [copy constructor]
2530 cls.add_constructor([param('ns3::ZipfVariable const &', 'arg0')])
2531 ## random-variable.h (module 'core'): ns3::ZipfVariable::ZipfVariable(long int N, double alpha) [constructor]
2532 cls.add_constructor([param('long int', 'N'), param('double', 'alpha')])
2533 ## random-variable.h (module 'core'): ns3::ZipfVariable::ZipfVariable() [constructor]
2534 cls.add_constructor([])
2535 return
2536
2537def register_Ns3Empty_methods(root_module, cls):
2538 ## empty.h (module 'core'): ns3::empty::empty() [constructor]
2539 cls.add_constructor([])
2540 ## empty.h (module 'core'): ns3::empty::empty(ns3::empty const & arg0) [copy constructor]
2541 cls.add_constructor([param('ns3::empty const &', 'arg0')])
2542 return
2543
2544def register_Ns3Int64x64_t_methods(root_module, cls):
2545 cls.add_binary_comparison_operator('!=')
2546 cls.add_inplace_numeric_operator('*=', param('ns3::int64x64_t const &', 'right'))
2547 cls.add_inplace_numeric_operator('+=', param('ns3::int64x64_t const &', 'right'))
2548 cls.add_inplace_numeric_operator('-=', param('ns3::int64x64_t const &', 'right'))
2549 cls.add_inplace_numeric_operator('/=', param('ns3::int64x64_t const &', 'right'))
2550 cls.add_output_stream_operator()
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002551 cls.add_binary_comparison_operator('<=')
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002552 cls.add_binary_comparison_operator('==')
2553 cls.add_binary_comparison_operator('>=')
2554 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
2555 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
2556 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
2557 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
2558 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
2559 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
2560 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
2561 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
2562 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
2563 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
2564 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
2565 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
2566 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
2567 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
2568 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
2569 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
2570 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
2571 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
2572 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
2573 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
2574 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
2575 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
2576 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
2577 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
2578 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
2579 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
2580 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
2581 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
2582 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
2583 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
2584 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
2585 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
2586 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
2587 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
2588 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
2589 cls.add_unary_numeric_operator('-')
2590 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
2591 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
2592 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
2593 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
2594 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
2595 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
2596 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
2597 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
2598 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
2599 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
2600 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
2601 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
2602 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
2603 cls.add_binary_comparison_operator('<')
2604 cls.add_binary_comparison_operator('>')
2605 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t() [constructor]
2606 cls.add_constructor([])
2607 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(double v) [constructor]
2608 cls.add_constructor([param('double', 'v')])
2609 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(int v) [constructor]
2610 cls.add_constructor([param('int', 'v')])
2611 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long int v) [constructor]
2612 cls.add_constructor([param('long int', 'v')])
2613 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long long int v) [constructor]
2614 cls.add_constructor([param('long long int', 'v')])
2615 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(unsigned int v) [constructor]
2616 cls.add_constructor([param('unsigned int', 'v')])
2617 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long unsigned int v) [constructor]
2618 cls.add_constructor([param('long unsigned int', 'v')])
2619 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long long unsigned int v) [constructor]
2620 cls.add_constructor([param('long long unsigned int', 'v')])
2621 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(int64_t hi, uint64_t lo) [constructor]
2622 cls.add_constructor([param('int64_t', 'hi'), param('uint64_t', 'lo')])
2623 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(ns3::int64x64_t const & o) [copy constructor]
2624 cls.add_constructor([param('ns3::int64x64_t const &', 'o')])
2625 ## int64x64-double.h (module 'core'): double ns3::int64x64_t::GetDouble() const [member function]
2626 cls.add_method('GetDouble',
2627 'double',
2628 [],
2629 is_const=True)
2630 ## int64x64-double.h (module 'core'): int64_t ns3::int64x64_t::GetHigh() const [member function]
2631 cls.add_method('GetHigh',
2632 'int64_t',
2633 [],
2634 is_const=True)
2635 ## int64x64-double.h (module 'core'): uint64_t ns3::int64x64_t::GetLow() const [member function]
2636 cls.add_method('GetLow',
2637 'uint64_t',
2638 [],
2639 is_const=True)
2640 ## int64x64-double.h (module 'core'): static ns3::int64x64_t ns3::int64x64_t::Invert(uint64_t v) [member function]
2641 cls.add_method('Invert',
2642 'ns3::int64x64_t',
2643 [param('uint64_t', 'v')],
2644 is_static=True)
2645 ## int64x64-double.h (module 'core'): void ns3::int64x64_t::MulByInvert(ns3::int64x64_t const & o) [member function]
2646 cls.add_method('MulByInvert',
2647 'void',
2648 [param('ns3::int64x64_t const &', 'o')])
2649 return
2650
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002651def register_Ns3Chunk_methods(root_module, cls):
2652 ## chunk.h (module 'network'): ns3::Chunk::Chunk() [constructor]
2653 cls.add_constructor([])
2654 ## chunk.h (module 'network'): ns3::Chunk::Chunk(ns3::Chunk const & arg0) [copy constructor]
2655 cls.add_constructor([param('ns3::Chunk const &', 'arg0')])
2656 ## chunk.h (module 'network'): uint32_t ns3::Chunk::Deserialize(ns3::Buffer::Iterator start) [member function]
2657 cls.add_method('Deserialize',
2658 'uint32_t',
2659 [param('ns3::Buffer::Iterator', 'start')],
2660 is_pure_virtual=True, is_virtual=True)
2661 ## chunk.h (module 'network'): static ns3::TypeId ns3::Chunk::GetTypeId() [member function]
2662 cls.add_method('GetTypeId',
2663 'ns3::TypeId',
2664 [],
2665 is_static=True)
2666 ## chunk.h (module 'network'): void ns3::Chunk::Print(std::ostream & os) const [member function]
2667 cls.add_method('Print',
2668 'void',
2669 [param('std::ostream &', 'os')],
2670 is_pure_virtual=True, is_const=True, is_virtual=True)
2671 return
2672
2673def register_Ns3ConstantVariable_methods(root_module, cls):
2674 ## random-variable.h (module 'core'): ns3::ConstantVariable::ConstantVariable(ns3::ConstantVariable const & arg0) [copy constructor]
2675 cls.add_constructor([param('ns3::ConstantVariable const &', 'arg0')])
2676 ## random-variable.h (module 'core'): ns3::ConstantVariable::ConstantVariable() [constructor]
2677 cls.add_constructor([])
2678 ## random-variable.h (module 'core'): ns3::ConstantVariable::ConstantVariable(double c) [constructor]
2679 cls.add_constructor([param('double', 'c')])
2680 ## random-variable.h (module 'core'): void ns3::ConstantVariable::SetConstant(double c) [member function]
2681 cls.add_method('SetConstant',
2682 'void',
2683 [param('double', 'c')])
2684 return
2685
2686def register_Ns3DeterministicVariable_methods(root_module, cls):
2687 ## random-variable.h (module 'core'): ns3::DeterministicVariable::DeterministicVariable(ns3::DeterministicVariable const & arg0) [copy constructor]
2688 cls.add_constructor([param('ns3::DeterministicVariable const &', 'arg0')])
2689 ## random-variable.h (module 'core'): ns3::DeterministicVariable::DeterministicVariable(double * d, uint32_t c) [constructor]
2690 cls.add_constructor([param('double *', 'd'), param('uint32_t', 'c')])
2691 return
2692
2693def register_Ns3EmpiricalVariable_methods(root_module, cls):
2694 ## random-variable.h (module 'core'): ns3::EmpiricalVariable::EmpiricalVariable(ns3::EmpiricalVariable const & arg0) [copy constructor]
2695 cls.add_constructor([param('ns3::EmpiricalVariable const &', 'arg0')])
2696 ## random-variable.h (module 'core'): ns3::EmpiricalVariable::EmpiricalVariable() [constructor]
2697 cls.add_constructor([])
2698 ## random-variable.h (module 'core'): void ns3::EmpiricalVariable::CDF(double v, double c) [member function]
2699 cls.add_method('CDF',
2700 'void',
2701 [param('double', 'v'), param('double', 'c')])
2702 return
2703
2704def register_Ns3ErlangVariable_methods(root_module, cls):
2705 ## random-variable.h (module 'core'): ns3::ErlangVariable::ErlangVariable(ns3::ErlangVariable const & arg0) [copy constructor]
2706 cls.add_constructor([param('ns3::ErlangVariable const &', 'arg0')])
2707 ## random-variable.h (module 'core'): ns3::ErlangVariable::ErlangVariable() [constructor]
2708 cls.add_constructor([])
2709 ## random-variable.h (module 'core'): ns3::ErlangVariable::ErlangVariable(unsigned int k, double lambda) [constructor]
2710 cls.add_constructor([param('unsigned int', 'k'), param('double', 'lambda')])
2711 ## random-variable.h (module 'core'): double ns3::ErlangVariable::GetValue() const [member function]
2712 cls.add_method('GetValue',
2713 'double',
2714 [],
2715 is_const=True)
2716 ## random-variable.h (module 'core'): double ns3::ErlangVariable::GetValue(unsigned int k, double lambda) const [member function]
2717 cls.add_method('GetValue',
2718 'double',
2719 [param('unsigned int', 'k'), param('double', 'lambda')],
2720 is_const=True)
2721 return
2722
2723def register_Ns3ExponentialVariable_methods(root_module, cls):
2724 ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable(ns3::ExponentialVariable const & arg0) [copy constructor]
2725 cls.add_constructor([param('ns3::ExponentialVariable const &', 'arg0')])
2726 ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable() [constructor]
2727 cls.add_constructor([])
2728 ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable(double m) [constructor]
2729 cls.add_constructor([param('double', 'm')])
2730 ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable(double m, double b) [constructor]
2731 cls.add_constructor([param('double', 'm'), param('double', 'b')])
2732 return
2733
2734def register_Ns3GammaVariable_methods(root_module, cls):
2735 ## random-variable.h (module 'core'): ns3::GammaVariable::GammaVariable(ns3::GammaVariable const & arg0) [copy constructor]
2736 cls.add_constructor([param('ns3::GammaVariable const &', 'arg0')])
2737 ## random-variable.h (module 'core'): ns3::GammaVariable::GammaVariable() [constructor]
2738 cls.add_constructor([])
2739 ## random-variable.h (module 'core'): ns3::GammaVariable::GammaVariable(double alpha, double beta) [constructor]
2740 cls.add_constructor([param('double', 'alpha'), param('double', 'beta')])
2741 ## random-variable.h (module 'core'): double ns3::GammaVariable::GetValue() const [member function]
2742 cls.add_method('GetValue',
2743 'double',
2744 [],
2745 is_const=True)
2746 ## random-variable.h (module 'core'): double ns3::GammaVariable::GetValue(double alpha, double beta) const [member function]
2747 cls.add_method('GetValue',
2748 'double',
2749 [param('double', 'alpha'), param('double', 'beta')],
2750 is_const=True)
2751 return
2752
2753def register_Ns3Header_methods(root_module, cls):
2754 cls.add_output_stream_operator()
2755 ## header.h (module 'network'): ns3::Header::Header() [constructor]
2756 cls.add_constructor([])
2757 ## header.h (module 'network'): ns3::Header::Header(ns3::Header const & arg0) [copy constructor]
2758 cls.add_constructor([param('ns3::Header const &', 'arg0')])
2759 ## header.h (module 'network'): uint32_t ns3::Header::Deserialize(ns3::Buffer::Iterator start) [member function]
2760 cls.add_method('Deserialize',
2761 'uint32_t',
2762 [param('ns3::Buffer::Iterator', 'start')],
2763 is_pure_virtual=True, is_virtual=True)
2764 ## header.h (module 'network'): uint32_t ns3::Header::GetSerializedSize() const [member function]
2765 cls.add_method('GetSerializedSize',
2766 'uint32_t',
2767 [],
2768 is_pure_virtual=True, is_const=True, is_virtual=True)
2769 ## header.h (module 'network'): static ns3::TypeId ns3::Header::GetTypeId() [member function]
2770 cls.add_method('GetTypeId',
2771 'ns3::TypeId',
2772 [],
2773 is_static=True)
2774 ## header.h (module 'network'): void ns3::Header::Print(std::ostream & os) const [member function]
2775 cls.add_method('Print',
2776 'void',
2777 [param('std::ostream &', 'os')],
2778 is_pure_virtual=True, is_const=True, is_virtual=True)
2779 ## header.h (module 'network'): void ns3::Header::Serialize(ns3::Buffer::Iterator start) const [member function]
2780 cls.add_method('Serialize',
2781 'void',
2782 [param('ns3::Buffer::Iterator', 'start')],
2783 is_pure_virtual=True, is_const=True, is_virtual=True)
2784 return
2785
2786def register_Ns3IntEmpiricalVariable_methods(root_module, cls):
2787 ## random-variable.h (module 'core'): ns3::IntEmpiricalVariable::IntEmpiricalVariable(ns3::IntEmpiricalVariable const & arg0) [copy constructor]
2788 cls.add_constructor([param('ns3::IntEmpiricalVariable const &', 'arg0')])
2789 ## random-variable.h (module 'core'): ns3::IntEmpiricalVariable::IntEmpiricalVariable() [constructor]
2790 cls.add_constructor([])
2791 return
2792
2793def register_Ns3LogNormalVariable_methods(root_module, cls):
2794 ## random-variable.h (module 'core'): ns3::LogNormalVariable::LogNormalVariable(ns3::LogNormalVariable const & arg0) [copy constructor]
2795 cls.add_constructor([param('ns3::LogNormalVariable const &', 'arg0')])
2796 ## random-variable.h (module 'core'): ns3::LogNormalVariable::LogNormalVariable(double mu, double sigma) [constructor]
2797 cls.add_constructor([param('double', 'mu'), param('double', 'sigma')])
2798 return
2799
2800def register_Ns3NormalVariable_methods(root_module, cls):
2801 ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable(ns3::NormalVariable const & arg0) [copy constructor]
2802 cls.add_constructor([param('ns3::NormalVariable const &', 'arg0')])
2803 ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable() [constructor]
2804 cls.add_constructor([])
2805 ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable(double m, double v) [constructor]
2806 cls.add_constructor([param('double', 'm'), param('double', 'v')])
2807 ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable(double m, double v, double b) [constructor]
2808 cls.add_constructor([param('double', 'm'), param('double', 'v'), param('double', 'b')])
2809 return
2810
2811def register_Ns3Object_methods(root_module, cls):
2812 ## object.h (module 'core'): ns3::Object::Object() [constructor]
2813 cls.add_constructor([])
2814 ## object.h (module 'core'): void ns3::Object::AggregateObject(ns3::Ptr<ns3::Object> other) [member function]
2815 cls.add_method('AggregateObject',
2816 'void',
2817 [param('ns3::Ptr< ns3::Object >', 'other')])
2818 ## object.h (module 'core'): void ns3::Object::Dispose() [member function]
2819 cls.add_method('Dispose',
2820 'void',
2821 [])
2822 ## object.h (module 'core'): ns3::Object::AggregateIterator ns3::Object::GetAggregateIterator() const [member function]
2823 cls.add_method('GetAggregateIterator',
2824 'ns3::Object::AggregateIterator',
2825 [],
2826 is_const=True)
2827 ## object.h (module 'core'): ns3::TypeId ns3::Object::GetInstanceTypeId() const [member function]
2828 cls.add_method('GetInstanceTypeId',
2829 'ns3::TypeId',
2830 [],
2831 is_const=True, is_virtual=True)
2832 ## object.h (module 'core'): static ns3::TypeId ns3::Object::GetTypeId() [member function]
2833 cls.add_method('GetTypeId',
2834 'ns3::TypeId',
2835 [],
2836 is_static=True)
2837 ## object.h (module 'core'): void ns3::Object::Start() [member function]
2838 cls.add_method('Start',
2839 'void',
2840 [])
2841 ## object.h (module 'core'): ns3::Object::Object(ns3::Object const & o) [copy constructor]
2842 cls.add_constructor([param('ns3::Object const &', 'o')],
2843 visibility='protected')
2844 ## object.h (module 'core'): void ns3::Object::DoDispose() [member function]
2845 cls.add_method('DoDispose',
2846 'void',
2847 [],
2848 visibility='protected', is_virtual=True)
2849 ## object.h (module 'core'): void ns3::Object::DoStart() [member function]
2850 cls.add_method('DoStart',
2851 'void',
2852 [],
2853 visibility='protected', is_virtual=True)
2854 ## object.h (module 'core'): void ns3::Object::NotifyNewAggregate() [member function]
2855 cls.add_method('NotifyNewAggregate',
2856 'void',
2857 [],
2858 visibility='protected', is_virtual=True)
2859 return
2860
2861def register_Ns3ObjectAggregateIterator_methods(root_module, cls):
2862 ## object.h (module 'core'): ns3::Object::AggregateIterator::AggregateIterator(ns3::Object::AggregateIterator const & arg0) [copy constructor]
2863 cls.add_constructor([param('ns3::Object::AggregateIterator const &', 'arg0')])
2864 ## object.h (module 'core'): ns3::Object::AggregateIterator::AggregateIterator() [constructor]
2865 cls.add_constructor([])
2866 ## object.h (module 'core'): bool ns3::Object::AggregateIterator::HasNext() const [member function]
2867 cls.add_method('HasNext',
2868 'bool',
2869 [],
2870 is_const=True)
2871 ## object.h (module 'core'): ns3::Ptr<ns3::Object const> ns3::Object::AggregateIterator::Next() [member function]
2872 cls.add_method('Next',
2873 'ns3::Ptr< ns3::Object const >',
2874 [])
2875 return
2876
2877def register_Ns3ParetoVariable_methods(root_module, cls):
2878 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(ns3::ParetoVariable const & arg0) [copy constructor]
2879 cls.add_constructor([param('ns3::ParetoVariable const &', 'arg0')])
2880 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable() [constructor]
2881 cls.add_constructor([])
2882 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(double m) [constructor]
2883 cls.add_constructor([param('double', 'm')])
2884 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(double m, double s) [constructor]
2885 cls.add_constructor([param('double', 'm'), param('double', 's')])
2886 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(double m, double s, double b) [constructor]
2887 cls.add_constructor([param('double', 'm'), param('double', 's'), param('double', 'b')])
2888 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(std::pair<double,double> params) [constructor]
2889 cls.add_constructor([param('std::pair< double, double >', 'params')])
2890 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(std::pair<double,double> params, double b) [constructor]
2891 cls.add_constructor([param('std::pair< double, double >', 'params'), param('double', 'b')])
2892 return
2893
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002894def register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, cls):
2895 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >::SimpleRefCount() [constructor]
2896 cls.add_constructor([])
2897 ## 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]
2898 cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter< ns3::AttributeAccessor > > const &', 'o')])
2899 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >::Cleanup() [member function]
2900 cls.add_method('Cleanup',
2901 'void',
2902 [],
2903 is_static=True)
2904 return
2905
2906def register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeChecker__gt___methods(root_module, cls):
2907 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >::SimpleRefCount() [constructor]
2908 cls.add_constructor([])
2909 ## 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]
2910 cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter< ns3::AttributeChecker > > const &', 'o')])
2911 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >::Cleanup() [member function]
2912 cls.add_method('Cleanup',
2913 'void',
2914 [],
2915 is_static=True)
2916 return
2917
2918def register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, cls):
2919 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >::SimpleRefCount() [constructor]
2920 cls.add_constructor([])
2921 ## 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]
2922 cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter< ns3::AttributeValue > > const &', 'o')])
2923 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >::Cleanup() [member function]
2924 cls.add_method('Cleanup',
2925 'void',
2926 [],
2927 is_static=True)
2928 return
2929
2930def register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, cls):
2931 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >::SimpleRefCount() [constructor]
2932 cls.add_constructor([])
2933 ## 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]
2934 cls.add_constructor([param('ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter< ns3::CallbackImplBase > > const &', 'o')])
2935 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >::Cleanup() [member function]
2936 cls.add_method('Cleanup',
2937 'void',
2938 [],
2939 is_static=True)
2940 return
2941
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002942def register_Ns3SimpleRefCount__Ns3CcnxFaceContainer_Ns3Empty_Ns3DefaultDeleter__lt__ns3CcnxFaceContainer__gt___methods(root_module, cls):
2943 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CcnxFaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::CcnxFaceContainer> >::SimpleRefCount() [constructor]
2944 cls.add_constructor([])
2945 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CcnxFaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::CcnxFaceContainer> >::SimpleRefCount(ns3::SimpleRefCount<ns3::CcnxFaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::CcnxFaceContainer> > const & o) [copy constructor]
2946 cls.add_constructor([param('ns3::SimpleRefCount< ns3::CcnxFaceContainer, ns3::empty, ns3::DefaultDeleter< ns3::CcnxFaceContainer > > const &', 'o')])
2947 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::CcnxFaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::CcnxFaceContainer> >::Cleanup() [member function]
2948 cls.add_method('Cleanup',
2949 'void',
2950 [],
2951 is_static=True)
2952 return
2953
2954def register_Ns3SimpleRefCount__Ns3CcnxFibEntry_Ns3Empty_Ns3DefaultDeleter__lt__ns3CcnxFibEntry__gt___methods(root_module, cls):
2955 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CcnxFibEntry, ns3::empty, ns3::DefaultDeleter<ns3::CcnxFibEntry> >::SimpleRefCount() [constructor]
2956 cls.add_constructor([])
2957 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CcnxFibEntry, ns3::empty, ns3::DefaultDeleter<ns3::CcnxFibEntry> >::SimpleRefCount(ns3::SimpleRefCount<ns3::CcnxFibEntry, ns3::empty, ns3::DefaultDeleter<ns3::CcnxFibEntry> > const & o) [copy constructor]
2958 cls.add_constructor([param('ns3::SimpleRefCount< ns3::CcnxFibEntry, ns3::empty, ns3::DefaultDeleter< ns3::CcnxFibEntry > > const &', 'o')])
2959 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::CcnxFibEntry, ns3::empty, ns3::DefaultDeleter<ns3::CcnxFibEntry> >::Cleanup() [member function]
2960 cls.add_method('Cleanup',
2961 'void',
2962 [],
2963 is_static=True)
2964 return
2965
2966def register_Ns3SimpleRefCount__Ns3CcnxNameComponents_Ns3Empty_Ns3DefaultDeleter__lt__ns3CcnxNameComponents__gt___methods(root_module, cls):
2967 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CcnxNameComponents, ns3::empty, ns3::DefaultDeleter<ns3::CcnxNameComponents> >::SimpleRefCount() [constructor]
2968 cls.add_constructor([])
2969 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CcnxNameComponents, ns3::empty, ns3::DefaultDeleter<ns3::CcnxNameComponents> >::SimpleRefCount(ns3::SimpleRefCount<ns3::CcnxNameComponents, ns3::empty, ns3::DefaultDeleter<ns3::CcnxNameComponents> > const & o) [copy constructor]
2970 cls.add_constructor([param('ns3::SimpleRefCount< ns3::CcnxNameComponents, ns3::empty, ns3::DefaultDeleter< ns3::CcnxNameComponents > > const &', 'o')])
2971 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::CcnxNameComponents, ns3::empty, ns3::DefaultDeleter<ns3::CcnxNameComponents> >::Cleanup() [member function]
2972 cls.add_method('Cleanup',
2973 'void',
2974 [],
2975 is_static=True)
2976 return
2977
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002978def register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, cls):
2979 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >::SimpleRefCount() [constructor]
2980 cls.add_constructor([])
2981 ## 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]
2982 cls.add_constructor([param('ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter< ns3::EventImpl > > const &', 'o')])
2983 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >::Cleanup() [member function]
2984 cls.add_method('Cleanup',
2985 'void',
2986 [],
2987 is_static=True)
2988 return
2989
2990def register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, cls):
2991 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >::SimpleRefCount() [constructor]
2992 cls.add_constructor([])
2993 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >::SimpleRefCount(ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> > const & o) [copy constructor]
2994 cls.add_constructor([param('ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter< ns3::NixVector > > const &', 'o')])
2995 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >::Cleanup() [member function]
2996 cls.add_method('Cleanup',
2997 'void',
2998 [],
2999 is_static=True)
3000 return
3001
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003002def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, cls):
3003 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >::SimpleRefCount() [constructor]
3004 cls.add_constructor([])
3005 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >::SimpleRefCount(ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> > const & o) [copy constructor]
3006 cls.add_constructor([param('ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter< ns3::Packet > > const &', 'o')])
3007 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >::Cleanup() [member function]
3008 cls.add_method('Cleanup',
3009 'void',
3010 [],
3011 is_static=True)
3012 return
3013
Alexander Afanasyevae3b7c32011-12-13 13:20:06 -08003014def register_Ns3SimpleRefCount__Ns3TopologyReader_Ns3Empty_Ns3DefaultDeleter__lt__ns3TopologyReader__gt___methods(root_module, cls):
3015 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter<ns3::TopologyReader> >::SimpleRefCount() [constructor]
3016 cls.add_constructor([])
3017 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter<ns3::TopologyReader> >::SimpleRefCount(ns3::SimpleRefCount<ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter<ns3::TopologyReader> > const & o) [copy constructor]
3018 cls.add_constructor([param('ns3::SimpleRefCount< ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter< ns3::TopologyReader > > const &', 'o')])
3019 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter<ns3::TopologyReader> >::Cleanup() [member function]
3020 cls.add_method('Cleanup',
3021 'void',
3022 [],
3023 is_static=True)
3024 return
3025
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003026def register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, cls):
3027 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >::SimpleRefCount() [constructor]
3028 cls.add_constructor([])
3029 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >::SimpleRefCount(ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> > const & o) [copy constructor]
3030 cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > const &', 'o')])
3031 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >::Cleanup() [member function]
3032 cls.add_method('Cleanup',
3033 'void',
3034 [],
3035 is_static=True)
3036 return
3037
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003038def register_Ns3Time_methods(root_module, cls):
3039 cls.add_binary_comparison_operator('!=')
3040 cls.add_inplace_numeric_operator('+=', param('ns3::Time const &', 'right'))
3041 cls.add_inplace_numeric_operator('-=', param('ns3::Time const &', 'right'))
3042 cls.add_output_stream_operator()
Alexander Afanasyev4975f732011-12-20 17:52:19 -08003043 cls.add_binary_comparison_operator('<=')
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003044 cls.add_binary_comparison_operator('==')
3045 cls.add_binary_comparison_operator('>=')
3046 cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right'))
3047 cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right'))
3048 cls.add_binary_comparison_operator('<')
3049 cls.add_binary_comparison_operator('>')
3050 ## nstime.h (module 'core'): ns3::Time::Time() [constructor]
3051 cls.add_constructor([])
3052 ## nstime.h (module 'core'): ns3::Time::Time(ns3::Time const & o) [copy constructor]
3053 cls.add_constructor([param('ns3::Time const &', 'o')])
3054 ## nstime.h (module 'core'): ns3::Time::Time(double v) [constructor]
3055 cls.add_constructor([param('double', 'v')])
3056 ## nstime.h (module 'core'): ns3::Time::Time(int v) [constructor]
3057 cls.add_constructor([param('int', 'v')])
3058 ## nstime.h (module 'core'): ns3::Time::Time(long int v) [constructor]
3059 cls.add_constructor([param('long int', 'v')])
3060 ## nstime.h (module 'core'): ns3::Time::Time(long long int v) [constructor]
3061 cls.add_constructor([param('long long int', 'v')])
3062 ## nstime.h (module 'core'): ns3::Time::Time(unsigned int v) [constructor]
3063 cls.add_constructor([param('unsigned int', 'v')])
3064 ## nstime.h (module 'core'): ns3::Time::Time(long unsigned int v) [constructor]
3065 cls.add_constructor([param('long unsigned int', 'v')])
3066 ## nstime.h (module 'core'): ns3::Time::Time(long long unsigned int v) [constructor]
3067 cls.add_constructor([param('long long unsigned int', 'v')])
3068 ## nstime.h (module 'core'): ns3::Time::Time(std::string const & s) [constructor]
3069 cls.add_constructor([param('std::string const &', 's')])
3070 ## nstime.h (module 'core'): ns3::Time::Time(ns3::int64x64_t const & value) [constructor]
3071 cls.add_constructor([param('ns3::int64x64_t const &', 'value')])
3072 ## nstime.h (module 'core'): int ns3::Time::Compare(ns3::Time const & o) const [member function]
3073 cls.add_method('Compare',
3074 'int',
3075 [param('ns3::Time const &', 'o')],
3076 is_const=True)
3077 ## nstime.h (module 'core'): static ns3::Time ns3::Time::From(ns3::int64x64_t const & from, ns3::Time::Unit timeUnit) [member function]
3078 cls.add_method('From',
3079 'ns3::Time',
3080 [param('ns3::int64x64_t const &', 'from'), param('ns3::Time::Unit', 'timeUnit')],
3081 is_static=True)
3082 ## nstime.h (module 'core'): static ns3::Time ns3::Time::From(ns3::int64x64_t const & value) [member function]
3083 cls.add_method('From',
3084 'ns3::Time',
3085 [param('ns3::int64x64_t const &', 'value')],
3086 is_static=True)
3087 ## nstime.h (module 'core'): static ns3::Time ns3::Time::FromDouble(double value, ns3::Time::Unit timeUnit) [member function]
3088 cls.add_method('FromDouble',
3089 'ns3::Time',
3090 [param('double', 'value'), param('ns3::Time::Unit', 'timeUnit')],
3091 is_static=True)
3092 ## nstime.h (module 'core'): static ns3::Time ns3::Time::FromInteger(uint64_t value, ns3::Time::Unit timeUnit) [member function]
3093 cls.add_method('FromInteger',
3094 'ns3::Time',
3095 [param('uint64_t', 'value'), param('ns3::Time::Unit', 'timeUnit')],
3096 is_static=True)
3097 ## nstime.h (module 'core'): double ns3::Time::GetDouble() const [member function]
3098 cls.add_method('GetDouble',
3099 'double',
3100 [],
3101 is_const=True)
3102 ## nstime.h (module 'core'): int64_t ns3::Time::GetFemtoSeconds() const [member function]
3103 cls.add_method('GetFemtoSeconds',
3104 'int64_t',
3105 [],
3106 is_const=True)
3107 ## nstime.h (module 'core'): int64_t ns3::Time::GetInteger() const [member function]
3108 cls.add_method('GetInteger',
3109 'int64_t',
3110 [],
3111 is_const=True)
3112 ## nstime.h (module 'core'): int64_t ns3::Time::GetMicroSeconds() const [member function]
3113 cls.add_method('GetMicroSeconds',
3114 'int64_t',
3115 [],
3116 is_const=True)
3117 ## nstime.h (module 'core'): int64_t ns3::Time::GetMilliSeconds() const [member function]
3118 cls.add_method('GetMilliSeconds',
3119 'int64_t',
3120 [],
3121 is_const=True)
3122 ## nstime.h (module 'core'): int64_t ns3::Time::GetNanoSeconds() const [member function]
3123 cls.add_method('GetNanoSeconds',
3124 'int64_t',
3125 [],
3126 is_const=True)
3127 ## nstime.h (module 'core'): int64_t ns3::Time::GetPicoSeconds() const [member function]
3128 cls.add_method('GetPicoSeconds',
3129 'int64_t',
3130 [],
3131 is_const=True)
3132 ## nstime.h (module 'core'): static ns3::Time::Unit ns3::Time::GetResolution() [member function]
3133 cls.add_method('GetResolution',
3134 'ns3::Time::Unit',
3135 [],
3136 is_static=True)
3137 ## nstime.h (module 'core'): double ns3::Time::GetSeconds() const [member function]
3138 cls.add_method('GetSeconds',
3139 'double',
3140 [],
3141 is_const=True)
3142 ## nstime.h (module 'core'): int64_t ns3::Time::GetTimeStep() const [member function]
3143 cls.add_method('GetTimeStep',
3144 'int64_t',
3145 [],
3146 is_const=True)
3147 ## nstime.h (module 'core'): bool ns3::Time::IsNegative() const [member function]
3148 cls.add_method('IsNegative',
3149 'bool',
3150 [],
3151 is_const=True)
3152 ## nstime.h (module 'core'): bool ns3::Time::IsPositive() const [member function]
3153 cls.add_method('IsPositive',
3154 'bool',
3155 [],
3156 is_const=True)
3157 ## nstime.h (module 'core'): bool ns3::Time::IsStrictlyNegative() const [member function]
3158 cls.add_method('IsStrictlyNegative',
3159 'bool',
3160 [],
3161 is_const=True)
3162 ## nstime.h (module 'core'): bool ns3::Time::IsStrictlyPositive() const [member function]
3163 cls.add_method('IsStrictlyPositive',
3164 'bool',
3165 [],
3166 is_const=True)
3167 ## nstime.h (module 'core'): bool ns3::Time::IsZero() const [member function]
3168 cls.add_method('IsZero',
3169 'bool',
3170 [],
3171 is_const=True)
3172 ## nstime.h (module 'core'): static void ns3::Time::SetResolution(ns3::Time::Unit resolution) [member function]
3173 cls.add_method('SetResolution',
3174 'void',
3175 [param('ns3::Time::Unit', 'resolution')],
3176 is_static=True)
3177 ## nstime.h (module 'core'): ns3::int64x64_t ns3::Time::To(ns3::Time::Unit timeUnit) const [member function]
3178 cls.add_method('To',
3179 'ns3::int64x64_t',
3180 [param('ns3::Time::Unit', 'timeUnit')],
3181 is_const=True)
3182 ## nstime.h (module 'core'): double ns3::Time::ToDouble(ns3::Time::Unit timeUnit) const [member function]
3183 cls.add_method('ToDouble',
3184 'double',
3185 [param('ns3::Time::Unit', 'timeUnit')],
3186 is_const=True)
3187 ## nstime.h (module 'core'): int64_t ns3::Time::ToInteger(ns3::Time::Unit timeUnit) const [member function]
3188 cls.add_method('ToInteger',
3189 'int64_t',
3190 [param('ns3::Time::Unit', 'timeUnit')],
3191 is_const=True)
3192 return
3193
3194def register_Ns3TopologyReader_methods(root_module, cls):
3195 ## topology-reader.h (module 'topology-read'): ns3::TopologyReader::TopologyReader() [constructor]
3196 cls.add_constructor([])
3197 ## topology-reader.h (module 'topology-read'): void ns3::TopologyReader::AddLink(ns3::TopologyReader::Link link) [member function]
3198 cls.add_method('AddLink',
3199 'void',
3200 [param('ns3::TopologyReader::Link', 'link')])
3201 ## topology-reader.h (module 'topology-read'): std::string ns3::TopologyReader::GetFileName() const [member function]
3202 cls.add_method('GetFileName',
3203 'std::string',
3204 [],
3205 is_const=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003206 ## topology-reader.h (module 'topology-read'): std::_List_const_iterator<ns3::TopologyReader::Link> ns3::TopologyReader::LinksBegin() const [member function]
3207 cls.add_method('LinksBegin',
3208 'std::_List_const_iterator< ns3::TopologyReader::Link >',
3209 [],
3210 is_const=True)
3211 ## topology-reader.h (module 'topology-read'): bool ns3::TopologyReader::LinksEmpty() const [member function]
3212 cls.add_method('LinksEmpty',
3213 'bool',
3214 [],
3215 is_const=True)
3216 ## topology-reader.h (module 'topology-read'): std::_List_const_iterator<ns3::TopologyReader::Link> ns3::TopologyReader::LinksEnd() const [member function]
3217 cls.add_method('LinksEnd',
3218 'std::_List_const_iterator< ns3::TopologyReader::Link >',
3219 [],
3220 is_const=True)
3221 ## topology-reader.h (module 'topology-read'): int ns3::TopologyReader::LinksSize() const [member function]
3222 cls.add_method('LinksSize',
3223 'int',
3224 [],
3225 is_const=True)
3226 ## topology-reader.h (module 'topology-read'): ns3::NodeContainer ns3::TopologyReader::Read() [member function]
3227 cls.add_method('Read',
3228 'ns3::NodeContainer',
3229 [],
3230 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyev07827182011-12-13 01:07:32 -08003231 ## topology-reader.h (module 'topology-read'): void ns3::TopologyReader::SetFileName(std::string const & fileName) [member function]
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003232 cls.add_method('SetFileName',
3233 'void',
Alexander Afanasyev07827182011-12-13 01:07:32 -08003234 [param('std::string const &', 'fileName')])
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003235 return
3236
3237def register_Ns3TopologyReaderLink_methods(root_module, cls):
3238 ## topology-reader.h (module 'topology-read'): ns3::TopologyReader::Link::Link(ns3::TopologyReader::Link const & arg0) [copy constructor]
3239 cls.add_constructor([param('ns3::TopologyReader::Link const &', 'arg0')])
Alexander Afanasyev07827182011-12-13 01:07:32 -08003240 ## topology-reader.h (module 'topology-read'): ns3::TopologyReader::Link::Link(ns3::Ptr<ns3::Node> fromPtr, std::string const & fromName, ns3::Ptr<ns3::Node> toPtr, std::string const & toName) [constructor]
3241 cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'fromPtr'), param('std::string const &', 'fromName'), param('ns3::Ptr< ns3::Node >', 'toPtr'), param('std::string const &', 'toName')])
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003242 ## topology-reader.h (module 'topology-read'): std::_Rb_tree_const_iterator<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > ns3::TopologyReader::Link::AttributesBegin() [member function]
3243 cls.add_method('AttributesBegin',
3244 'std::_Rb_tree_const_iterator< std::pair< std::basic_string< char, std::char_traits< char >, std::allocator< char > > const, std::basic_string< char, std::char_traits< char >, std::allocator< char > > > >',
3245 [])
3246 ## topology-reader.h (module 'topology-read'): std::_Rb_tree_const_iterator<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > ns3::TopologyReader::Link::AttributesEnd() [member function]
3247 cls.add_method('AttributesEnd',
3248 'std::_Rb_tree_const_iterator< std::pair< std::basic_string< char, std::char_traits< char >, std::allocator< char > > const, std::basic_string< char, std::char_traits< char >, std::allocator< char > > > >',
3249 [])
Alexander Afanasyev07827182011-12-13 01:07:32 -08003250 ## topology-reader.h (module 'topology-read'): std::string ns3::TopologyReader::Link::GetAttribute(std::string const & name) const [member function]
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003251 cls.add_method('GetAttribute',
3252 'std::string',
Alexander Afanasyev07827182011-12-13 01:07:32 -08003253 [param('std::string const &', 'name')],
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003254 is_const=True)
Alexander Afanasyev07827182011-12-13 01:07:32 -08003255 ## topology-reader.h (module 'topology-read'): bool ns3::TopologyReader::Link::GetAttributeFailSafe(std::string const & name, std::string & value) const [member function]
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003256 cls.add_method('GetAttributeFailSafe',
3257 'bool',
Alexander Afanasyev07827182011-12-13 01:07:32 -08003258 [param('std::string const &', 'name'), param('std::string &', 'value')],
3259 is_const=True)
3260 ## topology-reader.h (module 'topology-read'): ns3::Ptr<ns3::NetDevice> ns3::TopologyReader::Link::GetFromNetDevice() const [member function]
3261 cls.add_method('GetFromNetDevice',
3262 'ns3::Ptr< ns3::NetDevice >',
3263 [],
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003264 is_const=True)
3265 ## topology-reader.h (module 'topology-read'): ns3::Ptr<ns3::Node> ns3::TopologyReader::Link::GetFromNode() const [member function]
3266 cls.add_method('GetFromNode',
3267 'ns3::Ptr< ns3::Node >',
3268 [],
3269 is_const=True)
3270 ## topology-reader.h (module 'topology-read'): std::string ns3::TopologyReader::Link::GetFromNodeName() const [member function]
3271 cls.add_method('GetFromNodeName',
3272 'std::string',
3273 [],
3274 is_const=True)
Alexander Afanasyev07827182011-12-13 01:07:32 -08003275 ## topology-reader.h (module 'topology-read'): ns3::Ptr<ns3::NetDevice> ns3::TopologyReader::Link::GetToNetDevice() const [member function]
3276 cls.add_method('GetToNetDevice',
3277 'ns3::Ptr< ns3::NetDevice >',
3278 [],
3279 is_const=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003280 ## topology-reader.h (module 'topology-read'): ns3::Ptr<ns3::Node> ns3::TopologyReader::Link::GetToNode() const [member function]
3281 cls.add_method('GetToNode',
3282 'ns3::Ptr< ns3::Node >',
3283 [],
3284 is_const=True)
3285 ## topology-reader.h (module 'topology-read'): std::string ns3::TopologyReader::Link::GetToNodeName() const [member function]
3286 cls.add_method('GetToNodeName',
3287 'std::string',
3288 [],
3289 is_const=True)
Alexander Afanasyev07827182011-12-13 01:07:32 -08003290 ## topology-reader.h (module 'topology-read'): void ns3::TopologyReader::Link::SetAttribute(std::string const & name, std::string const & value) [member function]
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003291 cls.add_method('SetAttribute',
3292 'void',
Alexander Afanasyev07827182011-12-13 01:07:32 -08003293 [param('std::string const &', 'name'), param('std::string const &', 'value')])
3294 ## topology-reader.h (module 'topology-read'): void ns3::TopologyReader::Link::SetNetDevices(ns3::Ptr<ns3::NetDevice> from, ns3::Ptr<ns3::NetDevice> to) [member function]
3295 cls.add_method('SetNetDevices',
3296 'void',
3297 [param('ns3::Ptr< ns3::NetDevice >', 'from'), param('ns3::Ptr< ns3::NetDevice >', 'to')])
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003298 return
3299
3300def register_Ns3TraceSourceAccessor_methods(root_module, cls):
3301 ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor]
3302 cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')])
3303 ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor]
3304 cls.add_constructor([])
3305 ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function]
3306 cls.add_method('Connect',
3307 'bool',
3308 [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')],
3309 is_pure_virtual=True, is_const=True, is_virtual=True)
3310 ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function]
3311 cls.add_method('ConnectWithoutContext',
3312 'bool',
3313 [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')],
3314 is_pure_virtual=True, is_const=True, is_virtual=True)
3315 ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function]
3316 cls.add_method('Disconnect',
3317 'bool',
3318 [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')],
3319 is_pure_virtual=True, is_const=True, is_virtual=True)
3320 ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function]
3321 cls.add_method('DisconnectWithoutContext',
3322 'bool',
3323 [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')],
3324 is_pure_virtual=True, is_const=True, is_virtual=True)
3325 return
3326
3327def register_Ns3Trailer_methods(root_module, cls):
3328 cls.add_output_stream_operator()
3329 ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor]
3330 cls.add_constructor([])
3331 ## trailer.h (module 'network'): ns3::Trailer::Trailer(ns3::Trailer const & arg0) [copy constructor]
3332 cls.add_constructor([param('ns3::Trailer const &', 'arg0')])
3333 ## trailer.h (module 'network'): uint32_t ns3::Trailer::Deserialize(ns3::Buffer::Iterator end) [member function]
3334 cls.add_method('Deserialize',
3335 'uint32_t',
3336 [param('ns3::Buffer::Iterator', 'end')],
3337 is_pure_virtual=True, is_virtual=True)
3338 ## trailer.h (module 'network'): uint32_t ns3::Trailer::GetSerializedSize() const [member function]
3339 cls.add_method('GetSerializedSize',
3340 'uint32_t',
3341 [],
3342 is_pure_virtual=True, is_const=True, is_virtual=True)
3343 ## trailer.h (module 'network'): static ns3::TypeId ns3::Trailer::GetTypeId() [member function]
3344 cls.add_method('GetTypeId',
3345 'ns3::TypeId',
3346 [],
3347 is_static=True)
3348 ## trailer.h (module 'network'): void ns3::Trailer::Print(std::ostream & os) const [member function]
3349 cls.add_method('Print',
3350 'void',
3351 [param('std::ostream &', 'os')],
3352 is_pure_virtual=True, is_const=True, is_virtual=True)
3353 ## trailer.h (module 'network'): void ns3::Trailer::Serialize(ns3::Buffer::Iterator start) const [member function]
3354 cls.add_method('Serialize',
3355 'void',
3356 [param('ns3::Buffer::Iterator', 'start')],
3357 is_pure_virtual=True, is_const=True, is_virtual=True)
3358 return
3359
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003360def register_Ns3AnnotatedTopologyReader_methods(root_module, cls):
Alexander Afanasyev07827182011-12-13 01:07:32 -08003361 ## annotated-topology-reader.h (module 'NDNabstraction'): ns3::AnnotatedTopologyReader::AnnotatedTopologyReader(std::string const & path="") [constructor]
3362 cls.add_constructor([param('std::string const &', 'path', default_value='""')])
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003363 ## annotated-topology-reader.h (module 'NDNabstraction'): ns3::NodeContainer ns3::AnnotatedTopologyReader::Read() [member function]
3364 cls.add_method('Read',
3365 'ns3::NodeContainer',
3366 [],
3367 is_virtual=True)
Alexander Afanasyev07827182011-12-13 01:07:32 -08003368 ## annotated-topology-reader.h (module 'NDNabstraction'): void ns3::AnnotatedTopologyReader::AssignIpv4Addresses(ns3::Ipv4Address base) [member function]
3369 cls.add_method('AssignIpv4Addresses',
3370 'void',
3371 [param('ns3::Ipv4Address', 'base')])
Alexander Afanasyevae3b7c32011-12-13 13:20:06 -08003372 ## annotated-topology-reader.h (module 'NDNabstraction'): void ns3::AnnotatedTopologyReader::SetBoundingBox(double ulx, double uly, double lrx, double lry) [member function]
3373 cls.add_method('SetBoundingBox',
3374 'void',
3375 [param('double', 'ulx'), param('double', 'uly'), param('double', 'lrx'), param('double', 'lry')])
Alexander Afanasyev53872ce2011-12-16 13:17:18 -08003376 ## annotated-topology-reader.h (module 'NDNabstraction'): void ns3::AnnotatedTopologyReader::SetMobilityModel(std::string const & model) [member function]
3377 cls.add_method('SetMobilityModel',
3378 'void',
3379 [param('std::string const &', 'model')])
Alexander Afanasyevae3b7c32011-12-13 13:20:06 -08003380 ## annotated-topology-reader.h (module 'NDNabstraction'): ns3::Ptr<ns3::Node> ns3::AnnotatedTopologyReader::CreateNode(std::string const name) [member function]
3381 cls.add_method('CreateNode',
3382 'ns3::Ptr< ns3::Node >',
3383 [param('std::string const', 'name')],
3384 visibility='protected')
3385 ## annotated-topology-reader.h (module 'NDNabstraction'): ns3::Ptr<ns3::Node> ns3::AnnotatedTopologyReader::CreateNode(std::string const name, double posX, double posY) [member function]
3386 cls.add_method('CreateNode',
3387 'ns3::Ptr< ns3::Node >',
3388 [param('std::string const', 'name'), param('double', 'posX'), param('double', 'posY')],
3389 visibility='protected')
Alexander Afanasyev53872ce2011-12-16 13:17:18 -08003390 ## annotated-topology-reader.h (module 'NDNabstraction'): void ns3::AnnotatedTopologyReader::ApplySettings() [member function]
3391 cls.add_method('ApplySettings',
3392 'void',
3393 [],
3394 visibility='protected')
3395 ## annotated-topology-reader.h (module 'NDNabstraction'): void ns3::AnnotatedTopologyReader::ApplyOspfMetric() [member function]
3396 cls.add_method('ApplyOspfMetric',
3397 'void',
3398 [],
3399 visibility='protected')
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003400 return
3401
3402def register_Ns3Application_methods(root_module, cls):
3403 ## application.h (module 'network'): ns3::Application::Application(ns3::Application const & arg0) [copy constructor]
3404 cls.add_constructor([param('ns3::Application const &', 'arg0')])
3405 ## application.h (module 'network'): ns3::Application::Application() [constructor]
3406 cls.add_constructor([])
3407 ## application.h (module 'network'): ns3::Ptr<ns3::Node> ns3::Application::GetNode() const [member function]
3408 cls.add_method('GetNode',
3409 'ns3::Ptr< ns3::Node >',
3410 [],
3411 is_const=True)
3412 ## application.h (module 'network'): static ns3::TypeId ns3::Application::GetTypeId() [member function]
3413 cls.add_method('GetTypeId',
3414 'ns3::TypeId',
3415 [],
3416 is_static=True)
3417 ## application.h (module 'network'): void ns3::Application::SetNode(ns3::Ptr<ns3::Node> node) [member function]
3418 cls.add_method('SetNode',
3419 'void',
3420 [param('ns3::Ptr< ns3::Node >', 'node')])
3421 ## application.h (module 'network'): void ns3::Application::SetStartTime(ns3::Time start) [member function]
3422 cls.add_method('SetStartTime',
3423 'void',
3424 [param('ns3::Time', 'start')])
3425 ## application.h (module 'network'): void ns3::Application::SetStopTime(ns3::Time stop) [member function]
3426 cls.add_method('SetStopTime',
3427 'void',
3428 [param('ns3::Time', 'stop')])
3429 ## application.h (module 'network'): void ns3::Application::DoDispose() [member function]
3430 cls.add_method('DoDispose',
3431 'void',
3432 [],
3433 visibility='protected', is_virtual=True)
3434 ## application.h (module 'network'): void ns3::Application::DoStart() [member function]
3435 cls.add_method('DoStart',
3436 'void',
3437 [],
3438 visibility='protected', is_virtual=True)
3439 ## application.h (module 'network'): void ns3::Application::StartApplication() [member function]
3440 cls.add_method('StartApplication',
3441 'void',
3442 [],
Alexander Afanasyev07827182011-12-13 01:07:32 -08003443 visibility='protected', is_virtual=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003444 ## application.h (module 'network'): void ns3::Application::StopApplication() [member function]
3445 cls.add_method('StopApplication',
3446 'void',
3447 [],
Alexander Afanasyev07827182011-12-13 01:07:32 -08003448 visibility='protected', is_virtual=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003449 return
3450
3451def register_Ns3AttributeAccessor_methods(root_module, cls):
3452 ## attribute.h (module 'core'): ns3::AttributeAccessor::AttributeAccessor(ns3::AttributeAccessor const & arg0) [copy constructor]
3453 cls.add_constructor([param('ns3::AttributeAccessor const &', 'arg0')])
3454 ## attribute.h (module 'core'): ns3::AttributeAccessor::AttributeAccessor() [constructor]
3455 cls.add_constructor([])
3456 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::Get(ns3::ObjectBase const * object, ns3::AttributeValue & attribute) const [member function]
3457 cls.add_method('Get',
3458 'bool',
3459 [param('ns3::ObjectBase const *', 'object'), param('ns3::AttributeValue &', 'attribute')],
3460 is_pure_virtual=True, is_const=True, is_virtual=True)
3461 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::HasGetter() const [member function]
3462 cls.add_method('HasGetter',
3463 'bool',
3464 [],
3465 is_pure_virtual=True, is_const=True, is_virtual=True)
3466 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::HasSetter() const [member function]
3467 cls.add_method('HasSetter',
3468 'bool',
3469 [],
3470 is_pure_virtual=True, is_const=True, is_virtual=True)
3471 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::Set(ns3::ObjectBase * object, ns3::AttributeValue const & value) const [member function]
3472 cls.add_method('Set',
3473 'bool',
3474 [param('ns3::ObjectBase *', 'object', transfer_ownership=False), param('ns3::AttributeValue const &', 'value')],
3475 is_pure_virtual=True, is_const=True, is_virtual=True)
3476 return
3477
3478def register_Ns3AttributeChecker_methods(root_module, cls):
3479 ## attribute.h (module 'core'): ns3::AttributeChecker::AttributeChecker(ns3::AttributeChecker const & arg0) [copy constructor]
3480 cls.add_constructor([param('ns3::AttributeChecker const &', 'arg0')])
3481 ## attribute.h (module 'core'): ns3::AttributeChecker::AttributeChecker() [constructor]
3482 cls.add_constructor([])
3483 ## attribute.h (module 'core'): bool ns3::AttributeChecker::Check(ns3::AttributeValue const & value) const [member function]
3484 cls.add_method('Check',
3485 'bool',
3486 [param('ns3::AttributeValue const &', 'value')],
3487 is_pure_virtual=True, is_const=True, is_virtual=True)
3488 ## attribute.h (module 'core'): bool ns3::AttributeChecker::Copy(ns3::AttributeValue const & source, ns3::AttributeValue & destination) const [member function]
3489 cls.add_method('Copy',
3490 'bool',
3491 [param('ns3::AttributeValue const &', 'source'), param('ns3::AttributeValue &', 'destination')],
3492 is_pure_virtual=True, is_const=True, is_virtual=True)
3493 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeChecker::Create() const [member function]
3494 cls.add_method('Create',
3495 'ns3::Ptr< ns3::AttributeValue >',
3496 [],
3497 is_pure_virtual=True, is_const=True, is_virtual=True)
3498 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function]
3499 cls.add_method('CreateValidValue',
3500 'ns3::Ptr< ns3::AttributeValue >',
3501 [param('ns3::AttributeValue const &', 'value')],
3502 is_const=True)
3503 ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function]
3504 cls.add_method('GetUnderlyingTypeInformation',
3505 'std::string',
3506 [],
3507 is_pure_virtual=True, is_const=True, is_virtual=True)
3508 ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetValueTypeName() const [member function]
3509 cls.add_method('GetValueTypeName',
3510 'std::string',
3511 [],
3512 is_pure_virtual=True, is_const=True, is_virtual=True)
3513 ## attribute.h (module 'core'): bool ns3::AttributeChecker::HasUnderlyingTypeInformation() const [member function]
3514 cls.add_method('HasUnderlyingTypeInformation',
3515 'bool',
3516 [],
3517 is_pure_virtual=True, is_const=True, is_virtual=True)
3518 return
3519
3520def register_Ns3AttributeValue_methods(root_module, cls):
3521 ## attribute.h (module 'core'): ns3::AttributeValue::AttributeValue(ns3::AttributeValue const & arg0) [copy constructor]
3522 cls.add_constructor([param('ns3::AttributeValue const &', 'arg0')])
3523 ## attribute.h (module 'core'): ns3::AttributeValue::AttributeValue() [constructor]
3524 cls.add_constructor([])
3525 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeValue::Copy() const [member function]
3526 cls.add_method('Copy',
3527 'ns3::Ptr< ns3::AttributeValue >',
3528 [],
3529 is_pure_virtual=True, is_const=True, is_virtual=True)
3530 ## attribute.h (module 'core'): bool ns3::AttributeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3531 cls.add_method('DeserializeFromString',
3532 'bool',
3533 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3534 is_pure_virtual=True, is_virtual=True)
3535 ## attribute.h (module 'core'): std::string ns3::AttributeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3536 cls.add_method('SerializeToString',
3537 'std::string',
3538 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3539 is_pure_virtual=True, is_const=True, is_virtual=True)
3540 return
3541
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003542def register_Ns3CallbackChecker_methods(root_module, cls):
3543 ## callback.h (module 'core'): ns3::CallbackChecker::CallbackChecker() [constructor]
3544 cls.add_constructor([])
3545 ## callback.h (module 'core'): ns3::CallbackChecker::CallbackChecker(ns3::CallbackChecker const & arg0) [copy constructor]
3546 cls.add_constructor([param('ns3::CallbackChecker const &', 'arg0')])
3547 return
3548
3549def register_Ns3CallbackImplBase_methods(root_module, cls):
3550 ## callback.h (module 'core'): ns3::CallbackImplBase::CallbackImplBase() [constructor]
3551 cls.add_constructor([])
3552 ## callback.h (module 'core'): ns3::CallbackImplBase::CallbackImplBase(ns3::CallbackImplBase const & arg0) [copy constructor]
3553 cls.add_constructor([param('ns3::CallbackImplBase const &', 'arg0')])
3554 ## callback.h (module 'core'): bool ns3::CallbackImplBase::IsEqual(ns3::Ptr<ns3::CallbackImplBase const> other) const [member function]
3555 cls.add_method('IsEqual',
3556 'bool',
3557 [param('ns3::Ptr< ns3::CallbackImplBase const >', 'other')],
3558 is_pure_virtual=True, is_const=True, is_virtual=True)
3559 return
3560
3561def register_Ns3CallbackValue_methods(root_module, cls):
3562 ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue(ns3::CallbackValue const & arg0) [copy constructor]
3563 cls.add_constructor([param('ns3::CallbackValue const &', 'arg0')])
3564 ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue() [constructor]
3565 cls.add_constructor([])
3566 ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue(ns3::CallbackBase const & base) [constructor]
3567 cls.add_constructor([param('ns3::CallbackBase const &', 'base')])
3568 ## callback.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::CallbackValue::Copy() const [member function]
3569 cls.add_method('Copy',
3570 'ns3::Ptr< ns3::AttributeValue >',
3571 [],
3572 is_const=True, is_virtual=True)
3573 ## callback.h (module 'core'): bool ns3::CallbackValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3574 cls.add_method('DeserializeFromString',
3575 'bool',
3576 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3577 is_virtual=True)
3578 ## callback.h (module 'core'): std::string ns3::CallbackValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3579 cls.add_method('SerializeToString',
3580 'std::string',
3581 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3582 is_const=True, is_virtual=True)
3583 ## callback.h (module 'core'): void ns3::CallbackValue::Set(ns3::CallbackBase base) [member function]
3584 cls.add_method('Set',
3585 'void',
3586 [param('ns3::CallbackBase', 'base')])
3587 return
3588
3589def register_Ns3Ccnx_methods(root_module, cls):
3590 ## ccnx.h (module 'NDNabstraction'): ns3::Ccnx::Ccnx() [constructor]
3591 cls.add_constructor([])
3592 ## ccnx.h (module 'NDNabstraction'): ns3::Ccnx::Ccnx(ns3::Ccnx const & arg0) [copy constructor]
3593 cls.add_constructor([param('ns3::Ccnx const &', 'arg0')])
3594 ## ccnx.h (module 'NDNabstraction'): uint32_t ns3::Ccnx::AddFace(ns3::Ptr<ns3::CcnxFace> const & face) [member function]
3595 cls.add_method('AddFace',
3596 'uint32_t',
3597 [param('ns3::Ptr< ns3::CcnxFace > const &', 'face')],
3598 is_pure_virtual=True, is_virtual=True)
3599 ## ccnx.h (module 'NDNabstraction'): ns3::Ptr<ns3::CcnxFace> ns3::Ccnx::GetFace(uint32_t face) const [member function]
3600 cls.add_method('GetFace',
3601 'ns3::Ptr< ns3::CcnxFace >',
3602 [param('uint32_t', 'face')],
3603 is_pure_virtual=True, is_const=True, is_virtual=True)
Alexander Afanasyev07827182011-12-13 01:07:32 -08003604 ## ccnx.h (module 'NDNabstraction'): ns3::Ptr<ns3::CcnxFace> ns3::Ccnx::GetFaceByNetDevice(ns3::Ptr<ns3::NetDevice> netDevice) const [member function]
3605 cls.add_method('GetFaceByNetDevice',
3606 'ns3::Ptr< ns3::CcnxFace >',
3607 [param('ns3::Ptr< ns3::NetDevice >', 'netDevice')],
3608 is_pure_virtual=True, is_const=True, is_virtual=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003609 ## ccnx.h (module 'NDNabstraction'): ns3::Ptr<ns3::CcnxForwardingStrategy> ns3::Ccnx::GetForwardingStrategy() const [member function]
3610 cls.add_method('GetForwardingStrategy',
3611 'ns3::Ptr< ns3::CcnxForwardingStrategy >',
3612 [],
3613 is_pure_virtual=True, is_const=True, is_virtual=True)
3614 ## ccnx.h (module 'NDNabstraction'): uint32_t ns3::Ccnx::GetNFaces() const [member function]
3615 cls.add_method('GetNFaces',
3616 'uint32_t',
3617 [],
3618 is_pure_virtual=True, is_const=True, is_virtual=True)
3619 ## ccnx.h (module 'NDNabstraction'): static ns3::TypeId ns3::Ccnx::GetTypeId() [member function]
3620 cls.add_method('GetTypeId',
3621 'ns3::TypeId',
3622 [],
3623 is_static=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003624 ## ccnx.h (module 'NDNabstraction'): void ns3::Ccnx::RemoveFace(ns3::Ptr<ns3::CcnxFace> face) [member function]
3625 cls.add_method('RemoveFace',
3626 'void',
3627 [param('ns3::Ptr< ns3::CcnxFace >', 'face')],
3628 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003629 ## ccnx.h (module 'NDNabstraction'): void ns3::Ccnx::SetForwardingStrategy(ns3::Ptr<ns3::CcnxForwardingStrategy> forwardingStrategy) [member function]
3630 cls.add_method('SetForwardingStrategy',
3631 'void',
3632 [param('ns3::Ptr< ns3::CcnxForwardingStrategy >', 'forwardingStrategy')],
3633 is_pure_virtual=True, is_virtual=True)
3634 return
3635
Alexander Afanasyev07827182011-12-13 01:07:32 -08003636def register_Ns3CcnxApp_methods(root_module, cls):
3637 ## ccnx-app.h (module 'NDNabstraction'): ns3::CcnxApp::CcnxApp(ns3::CcnxApp const & arg0) [copy constructor]
3638 cls.add_constructor([param('ns3::CcnxApp const &', 'arg0')])
3639 ## ccnx-app.h (module 'NDNabstraction'): ns3::CcnxApp::CcnxApp() [constructor]
3640 cls.add_constructor([])
3641 ## ccnx-app.h (module 'NDNabstraction'): static ns3::TypeId ns3::CcnxApp::GetTypeId() [member function]
3642 cls.add_method('GetTypeId',
3643 'ns3::TypeId',
3644 [],
3645 is_static=True)
3646 ## ccnx-app.h (module 'NDNabstraction'): void ns3::CcnxApp::OnContentObject(ns3::Ptr<const ns3::CcnxContentObjectHeader> const & contentObject, ns3::Ptr<const ns3::Packet> const & payload) [member function]
3647 cls.add_method('OnContentObject',
3648 'void',
3649 [param('ns3::Ptr< ns3::CcnxContentObjectHeader const > const &', 'contentObject'), param('ns3::Ptr< ns3::Packet const > const &', 'payload')],
3650 is_virtual=True)
3651 ## ccnx-app.h (module 'NDNabstraction'): void ns3::CcnxApp::OnInterest(ns3::Ptr<const ns3::CcnxInterestHeader> const & interest) [member function]
3652 cls.add_method('OnInterest',
3653 'void',
3654 [param('ns3::Ptr< ns3::CcnxInterestHeader const > const &', 'interest')],
3655 is_virtual=True)
3656 ## ccnx-app.h (module 'NDNabstraction'): void ns3::CcnxApp::OnNack(ns3::Ptr<const ns3::CcnxInterestHeader> const & interest) [member function]
3657 cls.add_method('OnNack',
3658 'void',
3659 [param('ns3::Ptr< ns3::CcnxInterestHeader const > const &', 'interest')],
3660 is_virtual=True)
3661 ## ccnx-app.h (module 'NDNabstraction'): void ns3::CcnxApp::RegisterProtocolHandler(ns3::Callback<bool, ns3::Ptr<ns3::Packet const> const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> handler) [member function]
3662 cls.add_method('RegisterProtocolHandler',
3663 'void',
3664 [param('ns3::Callback< bool, ns3::Ptr< ns3::Packet const >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'handler')])
3665 ## ccnx-app.h (module 'NDNabstraction'): void ns3::CcnxApp::DoDispose() [member function]
3666 cls.add_method('DoDispose',
3667 'void',
3668 [],
3669 visibility='protected', is_virtual=True)
3670 ## ccnx-app.h (module 'NDNabstraction'): void ns3::CcnxApp::StartApplication() [member function]
3671 cls.add_method('StartApplication',
3672 'void',
3673 [],
3674 visibility='protected', is_virtual=True)
3675 ## ccnx-app.h (module 'NDNabstraction'): void ns3::CcnxApp::StopApplication() [member function]
3676 cls.add_method('StopApplication',
3677 'void',
3678 [],
3679 visibility='protected', is_virtual=True)
3680 return
3681
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003682def register_Ns3CcnxContentObjectHeader_methods(root_module, cls):
3683 ## ccnx-content-object-header.h (module 'NDNabstraction'): ns3::CcnxContentObjectHeader::CcnxContentObjectHeader(ns3::CcnxContentObjectHeader const & arg0) [copy constructor]
3684 cls.add_constructor([param('ns3::CcnxContentObjectHeader const &', 'arg0')])
3685 ## ccnx-content-object-header.h (module 'NDNabstraction'): ns3::CcnxContentObjectHeader::CcnxContentObjectHeader() [constructor]
3686 cls.add_constructor([])
3687 ## ccnx-content-object-header.h (module 'NDNabstraction'): uint32_t ns3::CcnxContentObjectHeader::Deserialize(ns3::Buffer::Iterator start) [member function]
3688 cls.add_method('Deserialize',
3689 'uint32_t',
3690 [param('ns3::Buffer::Iterator', 'start')],
3691 is_virtual=True)
3692 ## ccnx-content-object-header.h (module 'NDNabstraction'): ns3::TypeId ns3::CcnxContentObjectHeader::GetInstanceTypeId() const [member function]
3693 cls.add_method('GetInstanceTypeId',
3694 'ns3::TypeId',
3695 [],
3696 is_const=True, is_virtual=True)
3697 ## ccnx-content-object-header.h (module 'NDNabstraction'): ns3::CcnxNameComponents const & ns3::CcnxContentObjectHeader::GetName() const [member function]
3698 cls.add_method('GetName',
3699 'ns3::CcnxNameComponents const &',
3700 [],
3701 is_const=True)
3702 ## ccnx-content-object-header.h (module 'NDNabstraction'): uint32_t ns3::CcnxContentObjectHeader::GetSerializedSize() const [member function]
3703 cls.add_method('GetSerializedSize',
3704 'uint32_t',
3705 [],
3706 is_const=True, is_virtual=True)
3707 ## ccnx-content-object-header.h (module 'NDNabstraction'): static ns3::TypeId ns3::CcnxContentObjectHeader::GetTypeId() [member function]
3708 cls.add_method('GetTypeId',
3709 'ns3::TypeId',
3710 [],
3711 is_static=True)
3712 ## ccnx-content-object-header.h (module 'NDNabstraction'): void ns3::CcnxContentObjectHeader::Print(std::ostream & os) const [member function]
3713 cls.add_method('Print',
3714 'void',
3715 [param('std::ostream &', 'os')],
3716 is_const=True, is_virtual=True)
3717 ## ccnx-content-object-header.h (module 'NDNabstraction'): void ns3::CcnxContentObjectHeader::Serialize(ns3::Buffer::Iterator start) const [member function]
3718 cls.add_method('Serialize',
3719 'void',
3720 [param('ns3::Buffer::Iterator', 'start')],
3721 is_const=True, is_virtual=True)
3722 ## ccnx-content-object-header.h (module 'NDNabstraction'): void ns3::CcnxContentObjectHeader::SetName(ns3::Ptr<ns3::CcnxNameComponents> const & name) [member function]
3723 cls.add_method('SetName',
3724 'void',
3725 [param('ns3::Ptr< ns3::CcnxNameComponents > const &', 'name')])
3726 return
3727
3728def register_Ns3CcnxContentObjectTail_methods(root_module, cls):
3729 ## ccnx-content-object-header.h (module 'NDNabstraction'): ns3::CcnxContentObjectTail::CcnxContentObjectTail(ns3::CcnxContentObjectTail const & arg0) [copy constructor]
3730 cls.add_constructor([param('ns3::CcnxContentObjectTail const &', 'arg0')])
3731 ## ccnx-content-object-header.h (module 'NDNabstraction'): ns3::CcnxContentObjectTail::CcnxContentObjectTail() [constructor]
3732 cls.add_constructor([])
3733 ## ccnx-content-object-header.h (module 'NDNabstraction'): uint32_t ns3::CcnxContentObjectTail::Deserialize(ns3::Buffer::Iterator start) [member function]
3734 cls.add_method('Deserialize',
3735 'uint32_t',
3736 [param('ns3::Buffer::Iterator', 'start')],
3737 is_virtual=True)
3738 ## ccnx-content-object-header.h (module 'NDNabstraction'): ns3::TypeId ns3::CcnxContentObjectTail::GetInstanceTypeId() const [member function]
3739 cls.add_method('GetInstanceTypeId',
3740 'ns3::TypeId',
3741 [],
3742 is_const=True, is_virtual=True)
3743 ## ccnx-content-object-header.h (module 'NDNabstraction'): uint32_t ns3::CcnxContentObjectTail::GetSerializedSize() const [member function]
3744 cls.add_method('GetSerializedSize',
3745 'uint32_t',
3746 [],
3747 is_const=True, is_virtual=True)
3748 ## ccnx-content-object-header.h (module 'NDNabstraction'): static ns3::TypeId ns3::CcnxContentObjectTail::GetTypeId() [member function]
3749 cls.add_method('GetTypeId',
3750 'ns3::TypeId',
3751 [],
3752 is_static=True)
3753 ## ccnx-content-object-header.h (module 'NDNabstraction'): void ns3::CcnxContentObjectTail::Print(std::ostream & os) const [member function]
3754 cls.add_method('Print',
3755 'void',
3756 [param('std::ostream &', 'os')],
3757 is_const=True, is_virtual=True)
3758 ## ccnx-content-object-header.h (module 'NDNabstraction'): void ns3::CcnxContentObjectTail::Serialize(ns3::Buffer::Iterator start) const [member function]
3759 cls.add_method('Serialize',
3760 'void',
3761 [param('ns3::Buffer::Iterator', 'start')],
3762 is_const=True, is_virtual=True)
3763 return
3764
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003765def register_Ns3CcnxFace_methods(root_module, cls):
3766 cls.add_output_stream_operator()
3767 cls.add_binary_comparison_operator('<')
3768 cls.add_binary_comparison_operator('==')
Alexander Afanasyev07827182011-12-13 01:07:32 -08003769 ## ccnx-face.h (module 'NDNabstraction'): ns3::CcnxFace::CcnxFace(ns3::Ptr<ns3::Node> node) [constructor]
3770 cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node')])
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003771 ## ccnx-face.h (module 'NDNabstraction'): uint32_t ns3::CcnxFace::GetId() const [member function]
3772 cls.add_method('GetId',
3773 'uint32_t',
3774 [],
3775 is_const=True)
Alexander Afanasyev53872ce2011-12-16 13:17:18 -08003776 ## ccnx-face.h (module 'NDNabstraction'): static ns3::TypeId ns3::CcnxFace::GetTypeId() [member function]
3777 cls.add_method('GetTypeId',
3778 'ns3::TypeId',
3779 [],
3780 is_static=True)
Alexander Afanasyev07827182011-12-13 01:07:32 -08003781 ## ccnx-face.h (module 'NDNabstraction'): bool ns3::CcnxFace::IsBelowLimit() [member function]
3782 cls.add_method('IsBelowLimit',
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003783 'bool',
Alexander Afanasyev07827182011-12-13 01:07:32 -08003784 [])
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003785 ## ccnx-face.h (module 'NDNabstraction'): bool ns3::CcnxFace::IsUp() const [member function]
3786 cls.add_method('IsUp',
3787 'bool',
3788 [],
3789 is_const=True, is_virtual=True)
Alexander Afanasyev4975f732011-12-20 17:52:19 -08003790 ## ccnx-face.h (module 'NDNabstraction'): void ns3::CcnxFace::LeakBucket() [member function]
Alexander Afanasyev07827182011-12-13 01:07:32 -08003791 cls.add_method('LeakBucket',
3792 'void',
Alexander Afanasyev07827182011-12-13 01:07:32 -08003793 [])
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003794 ## ccnx-face.h (module 'NDNabstraction'): std::ostream & ns3::CcnxFace::Print(std::ostream & os) const [member function]
3795 cls.add_method('Print',
3796 'std::ostream &',
3797 [param('std::ostream &', 'os')],
3798 is_const=True, is_virtual=True)
Alexander Afanasyev07827182011-12-13 01:07:32 -08003799 ## ccnx-face.h (module 'NDNabstraction'): bool ns3::CcnxFace::Receive(ns3::Ptr<const ns3::Packet> const & p) [member function]
3800 cls.add_method('Receive',
3801 'bool',
3802 [param('ns3::Ptr< ns3::Packet const > const &', 'p')])
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003803 ## ccnx-face.h (module 'NDNabstraction'): void ns3::CcnxFace::RegisterProtocolHandler(ns3::Callback<void, ns3::Ptr<ns3::CcnxFace> const&, ns3::Ptr<ns3::Packet const> const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> handler) [member function]
3804 cls.add_method('RegisterProtocolHandler',
3805 'void',
3806 [param('ns3::Callback< void, ns3::Ptr< ns3::CcnxFace >, ns3::Ptr< ns3::Packet const >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'handler')],
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003807 is_virtual=True)
Alexander Afanasyev07827182011-12-13 01:07:32 -08003808 ## ccnx-face.h (module 'NDNabstraction'): bool ns3::CcnxFace::Send(ns3::Ptr<ns3::Packet> p) [member function]
3809 cls.add_method('Send',
3810 'bool',
3811 [param('ns3::Ptr< ns3::Packet >', 'p')])
3812 ## ccnx-face.h (module 'NDNabstraction'): void ns3::CcnxFace::SetBucketLeak(double leak) [member function]
3813 cls.add_method('SetBucketLeak',
3814 'void',
3815 [param('double', 'leak')])
3816 ## ccnx-face.h (module 'NDNabstraction'): void ns3::CcnxFace::SetBucketMax(double bucket) [member function]
3817 cls.add_method('SetBucketMax',
3818 'void',
3819 [param('double', 'bucket')])
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003820 ## ccnx-face.h (module 'NDNabstraction'): void ns3::CcnxFace::SetId(uint32_t id) [member function]
3821 cls.add_method('SetId',
3822 'void',
3823 [param('uint32_t', 'id')])
Alexander Afanasyev07827182011-12-13 01:07:32 -08003824 ## ccnx-face.h (module 'NDNabstraction'): void ns3::CcnxFace::SetUp(bool up=true) [member function]
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003825 cls.add_method('SetUp',
3826 'void',
Alexander Afanasyev07827182011-12-13 01:07:32 -08003827 [param('bool', 'up', default_value='true')],
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003828 is_virtual=True)
Alexander Afanasyev07827182011-12-13 01:07:32 -08003829 ## ccnx-face.h (module 'NDNabstraction'): void ns3::CcnxFace::SendImpl(ns3::Ptr<ns3::Packet> p) [member function]
3830 cls.add_method('SendImpl',
3831 'void',
3832 [param('ns3::Ptr< ns3::Packet >', 'p')],
3833 is_pure_virtual=True, visibility='protected', is_virtual=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003834 return
3835
3836def register_Ns3CcnxFaceContainer_methods(root_module, cls):
3837 ## ccnx-face-container.h (module 'NDNabstraction'): ns3::CcnxFaceContainer::CcnxFaceContainer() [constructor]
3838 cls.add_constructor([])
3839 ## ccnx-face-container.h (module 'NDNabstraction'): ns3::CcnxFaceContainer::CcnxFaceContainer(ns3::CcnxFaceContainer const & other) [copy constructor]
3840 cls.add_constructor([param('ns3::CcnxFaceContainer const &', 'other')])
3841 ## ccnx-face-container.h (module 'NDNabstraction'): void ns3::CcnxFaceContainer::Add(ns3::Ptr<ns3::CcnxFace> const & face) [member function]
3842 cls.add_method('Add',
3843 'void',
3844 [param('ns3::Ptr< ns3::CcnxFace > const &', 'face')])
3845 ## ccnx-face-container.h (module 'NDNabstraction'): void ns3::CcnxFaceContainer::AddAll(ns3::Ptr<ns3::CcnxFaceContainer> other) [member function]
3846 cls.add_method('AddAll',
3847 'void',
3848 [param('ns3::Ptr< ns3::CcnxFaceContainer >', 'other')])
3849 ## ccnx-face-container.h (module 'NDNabstraction'): void ns3::CcnxFaceContainer::AddAll(ns3::CcnxFaceContainer const & other) [member function]
3850 cls.add_method('AddAll',
3851 'void',
3852 [param('ns3::CcnxFaceContainer const &', 'other')])
3853 ## ccnx-face-container.h (module 'NDNabstraction'): __gnu_cxx::__normal_iterator<const ns3::Ptr<ns3::CcnxFace>*,std::vector<ns3::Ptr<ns3::CcnxFace>, std::allocator<ns3::Ptr<ns3::CcnxFace> > > > ns3::CcnxFaceContainer::Begin() const [member function]
3854 cls.add_method('Begin',
3855 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::CcnxFace > const, std::vector< ns3::Ptr< ns3::CcnxFace > > >',
3856 [],
3857 is_const=True)
3858 ## ccnx-face-container.h (module 'NDNabstraction'): __gnu_cxx::__normal_iterator<const ns3::Ptr<ns3::CcnxFace>*,std::vector<ns3::Ptr<ns3::CcnxFace>, std::allocator<ns3::Ptr<ns3::CcnxFace> > > > ns3::CcnxFaceContainer::End() const [member function]
3859 cls.add_method('End',
3860 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::CcnxFace > const, std::vector< ns3::Ptr< ns3::CcnxFace > > >',
3861 [],
3862 is_const=True)
3863 ## ccnx-face-container.h (module 'NDNabstraction'): ns3::Ptr<ns3::CcnxFace> ns3::CcnxFaceContainer::Get(__gnu_cxx::__normal_iterator<const ns3::Ptr<ns3::CcnxFace>*,std::vector<ns3::Ptr<ns3::CcnxFace>, std::allocator<ns3::Ptr<ns3::CcnxFace> > > > i) const [member function]
3864 cls.add_method('Get',
3865 'ns3::Ptr< ns3::CcnxFace >',
3866 [param('__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::CcnxFace > const, std::vector< ns3::Ptr< ns3::CcnxFace > > >', 'i')],
3867 is_const=True)
3868 ## ccnx-face-container.h (module 'NDNabstraction'): uint32_t ns3::CcnxFaceContainer::GetN() const [member function]
3869 cls.add_method('GetN',
3870 'uint32_t',
3871 [],
3872 is_const=True)
3873 return
3874
Alexander Afanasyev07827182011-12-13 01:07:32 -08003875def register_Ns3CcnxFib_methods(root_module, cls):
3876 cls.add_output_stream_operator()
3877 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFib::CcnxFib() [constructor]
3878 cls.add_constructor([])
3879 ## ccnx-fib.h (module 'NDNabstraction'): boost::multi_index::detail::hashed_index_iterator<boost::multi_index::detail::hashed_index_node<boost::multi_index::detail::random_access_index_node<boost::multi_index::detail::index_node_base<ns3::CcnxFibEntry, std::allocator<ns3::CcnxFibEntry> > > >,boost::multi_index::detail::bucket_array<std::allocator<ns3::CcnxFibEntry> > > ns3::CcnxFib::Add(ns3::CcnxNameComponents const & prefix, ns3::Ptr<ns3::CcnxFace> face, int32_t metric) [member function]
3880 cls.add_method('Add',
3881 'boost::multi_index::detail::hashed_index_iterator< boost::multi_index::detail::hashed_index_node< boost::multi_index::detail::random_access_index_node< boost::multi_index::detail::index_node_base< ns3::CcnxFibEntry, std::allocator< ns3::CcnxFibEntry > > > >, boost::multi_index::detail::bucket_array< std::allocator< ns3::CcnxFibEntry > > >',
3882 [param('ns3::CcnxNameComponents const &', 'prefix'), param('ns3::Ptr< ns3::CcnxFace >', 'face'), param('int32_t', 'metric')])
3883 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibEntry const & ns3::CcnxFib::GetCcnxFibEntry(uint32_t index) [member function]
3884 cls.add_method('GetCcnxFibEntry',
3885 'ns3::CcnxFibEntry const &',
3886 [param('uint32_t', 'index')])
3887 ## ccnx-fib.h (module 'NDNabstraction'): uint32_t ns3::CcnxFib::GetCcnxFibEntryCount() const [member function]
3888 cls.add_method('GetCcnxFibEntryCount',
3889 'uint32_t',
3890 [],
3891 is_const=True)
3892 ## ccnx-fib.h (module 'NDNabstraction'): static ns3::TypeId ns3::CcnxFib::GetTypeId() [member function]
3893 cls.add_method('GetTypeId',
3894 'ns3::TypeId',
3895 [],
3896 is_static=True)
3897 ## ccnx-fib.h (module 'NDNabstraction'): boost::multi_index::detail::hashed_index_iterator<boost::multi_index::detail::hashed_index_node<boost::multi_index::detail::random_access_index_node<boost::multi_index::detail::index_node_base<ns3::CcnxFibEntry, std::allocator<ns3::CcnxFibEntry> > > >,boost::multi_index::detail::bucket_array<std::allocator<ns3::CcnxFibEntry> > > ns3::CcnxFib::LongestPrefixMatch(ns3::CcnxInterestHeader const & interest) const [member function]
3898 cls.add_method('LongestPrefixMatch',
3899 'boost::multi_index::detail::hashed_index_iterator< boost::multi_index::detail::hashed_index_node< boost::multi_index::detail::random_access_index_node< boost::multi_index::detail::index_node_base< ns3::CcnxFibEntry, std::allocator< ns3::CcnxFibEntry > > > >, boost::multi_index::detail::bucket_array< std::allocator< ns3::CcnxFibEntry > > >',
3900 [param('ns3::CcnxInterestHeader const &', 'interest')],
3901 is_const=True)
3902 ## ccnx-fib.h (module 'NDNabstraction'): void ns3::CcnxFib::Remove(ns3::CcnxFibEntry const & entry, ns3::Ptr<ns3::CcnxFace> face) [member function]
3903 cls.add_method('Remove',
3904 'void',
3905 [param('ns3::CcnxFibEntry const &', 'entry'), param('ns3::Ptr< ns3::CcnxFace >', 'face')])
3906 ## ccnx-fib.h (module 'NDNabstraction'): void ns3::CcnxFib::RemoveFromAll(ns3::Ptr<ns3::CcnxFace> face) [member function]
3907 cls.add_method('RemoveFromAll',
3908 'void',
3909 [param('ns3::Ptr< ns3::CcnxFace >', 'face')])
3910 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFib::m_fib [variable]
3911 cls.add_instance_attribute('m_fib', 'boost::multi_index::multi_index_container< ns3::CcnxFibEntry, boost::multi_index::indexed_by< boost::multi_index::hashed_unique< boost::multi_index::tag< ns3::__ccnx_private::i_prefix, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na >, boost::multi_index::const_mem_fun< ns3::CcnxFibEntry, ns3::CcnxNameComponents const &, & ( ns3::CcnxFibEntry::GetPrefix ( ) const ) >, ns3::CcnxPrefixHash, mpl_::na >, boost::multi_index::random_access< boost::multi_index::tag< ns3::__ccnx_private::i_nth, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na > >, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na >, std::allocator< ns3::CcnxFibEntry > >', is_const=False)
3912 ## ccnx-fib.h (module 'NDNabstraction'): void ns3::CcnxFib::DoDispose() [member function]
3913 cls.add_method('DoDispose',
3914 'void',
3915 [],
3916 visibility='protected', is_virtual=True)
3917 ## ccnx-fib.h (module 'NDNabstraction'): void ns3::CcnxFib::NotifyNewAggregate() [member function]
3918 cls.add_method('NotifyNewAggregate',
3919 'void',
3920 [],
3921 visibility='protected', is_virtual=True)
3922 return
3923
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003924def register_Ns3CcnxFibEntry_methods(root_module, cls):
3925 cls.add_output_stream_operator()
3926 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibEntry::CcnxFibEntry(ns3::CcnxFibEntry const & arg0) [copy constructor]
3927 cls.add_constructor([param('ns3::CcnxFibEntry const &', 'arg0')])
3928 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibEntry::CcnxFibEntry(ns3::CcnxNameComponents const & prefix) [constructor]
3929 cls.add_constructor([param('ns3::CcnxNameComponents const &', 'prefix')])
Alexander Afanasyev07827182011-12-13 01:07:32 -08003930 ## ccnx-fib.h (module 'NDNabstraction'): void ns3::CcnxFibEntry::AddOrUpdateRoutingMetric(ns3::Ptr<ns3::CcnxFace> face, int32_t metric) [member function]
3931 cls.add_method('AddOrUpdateRoutingMetric',
3932 'void',
3933 [param('ns3::Ptr< ns3::CcnxFace >', 'face'), param('int32_t', 'metric')])
3934 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibFaceMetric const & ns3::CcnxFibEntry::FindBestCandidate(uint32_t skip=0) const [member function]
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003935 cls.add_method('FindBestCandidate',
Alexander Afanasyev07827182011-12-13 01:07:32 -08003936 'ns3::CcnxFibFaceMetric const &',
3937 [param('uint32_t', 'skip', default_value='0')],
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003938 is_const=True)
3939 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxNameComponents const & ns3::CcnxFibEntry::GetPrefix() const [member function]
3940 cls.add_method('GetPrefix',
3941 'ns3::CcnxNameComponents const &',
3942 [],
3943 is_const=True)
Alexander Afanasyev07827182011-12-13 01:07:32 -08003944 ## ccnx-fib.h (module 'NDNabstraction'): void ns3::CcnxFibEntry::RemoveFace(ns3::Ptr<ns3::CcnxFace> const & face) [member function]
3945 cls.add_method('RemoveFace',
3946 'void',
3947 [param('ns3::Ptr< ns3::CcnxFace > const &', 'face')])
3948 ## ccnx-fib.h (module 'NDNabstraction'): void ns3::CcnxFibEntry::UpdateFaceRtt(ns3::Ptr<ns3::CcnxFace> face, ns3::Time const & sample) [member function]
3949 cls.add_method('UpdateFaceRtt',
3950 'void',
3951 [param('ns3::Ptr< ns3::CcnxFace >', 'face'), param('ns3::Time const &', 'sample')])
3952 ## ccnx-fib.h (module 'NDNabstraction'): void ns3::CcnxFibEntry::UpdateStatus(ns3::Ptr<ns3::CcnxFace> face, ns3::CcnxFibFaceMetric::Status status) [member function]
3953 cls.add_method('UpdateStatus',
3954 'void',
3955 [param('ns3::Ptr< ns3::CcnxFace >', 'face'), param('ns3::CcnxFibFaceMetric::Status', 'status')])
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003956 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibEntry::m_faces [variable]
3957 cls.add_instance_attribute('m_faces', 'boost::multi_index::multi_index_container< ns3::CcnxFibFaceMetric, boost::multi_index::indexed_by< boost::multi_index::ordered_unique< boost::multi_index::tag< ns3::__ccnx_private::i_face, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na >, boost::multi_index::member< ns3::CcnxFibFaceMetric, ns3::Ptr< ns3::CcnxFace >, & ( ns3::CcnxFibFaceMetric::m_face ) >, mpl_::na >, boost::multi_index::ordered_non_unique< boost::multi_index::tag< ns3::__ccnx_private::i_metric, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na >, boost::multi_index::composite_key< ns3::CcnxFibFaceMetric, boost::multi_index::member< ns3::CcnxFibFaceMetric, ns3::CcnxFibFaceMetric::Status, & ( ns3::CcnxFibFaceMetric::m_status ) >, boost::multi_index::member< ns3::CcnxFibFaceMetric, int, & ( ns3::CcnxFibFaceMetric::m_routingCost ) >, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type >, mpl_::na >, boost::multi_index::random_access< boost::multi_index::tag< ns3::__ccnx_private::i_nth, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na > >, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na >, std::allocator< ns3::CcnxFibFaceMetric > >', is_const=False)
3958 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibEntry::m_needsProbing [variable]
3959 cls.add_instance_attribute('m_needsProbing', 'bool', is_const=False)
3960 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibEntry::m_prefix [variable]
3961 cls.add_instance_attribute('m_prefix', 'ns3::Ptr< ns3::CcnxNameComponents >', is_const=False)
3962 return
3963
Alexander Afanasyev07827182011-12-13 01:07:32 -08003964def register_Ns3CcnxFibEntryNoFaces_methods(root_module, cls):
3965 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibEntry::NoFaces::NoFaces() [constructor]
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003966 cls.add_constructor([])
Alexander Afanasyev07827182011-12-13 01:07:32 -08003967 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibEntry::NoFaces::NoFaces(ns3::CcnxFibEntry::NoFaces const & arg0) [copy constructor]
3968 cls.add_constructor([param('ns3::CcnxFibEntry::NoFaces const &', 'arg0')])
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003969 return
3970
3971def register_Ns3CcnxInterestHeader_methods(root_module, cls):
3972 ## ccnx-interest-header.h (module 'NDNabstraction'): ns3::CcnxInterestHeader::CcnxInterestHeader(ns3::CcnxInterestHeader const & arg0) [copy constructor]
3973 cls.add_constructor([param('ns3::CcnxInterestHeader const &', 'arg0')])
3974 ## ccnx-interest-header.h (module 'NDNabstraction'): ns3::CcnxInterestHeader::CcnxInterestHeader() [constructor]
3975 cls.add_constructor([])
3976 ## ccnx-interest-header.h (module 'NDNabstraction'): uint32_t ns3::CcnxInterestHeader::Deserialize(ns3::Buffer::Iterator start) [member function]
3977 cls.add_method('Deserialize',
3978 'uint32_t',
3979 [param('ns3::Buffer::Iterator', 'start')],
3980 is_virtual=True)
3981 ## ccnx-interest-header.h (module 'NDNabstraction'): ns3::CcnxNameComponents const & ns3::CcnxInterestHeader::GetExclude() const [member function]
3982 cls.add_method('GetExclude',
3983 'ns3::CcnxNameComponents const &',
3984 [],
3985 is_const=True)
3986 ## ccnx-interest-header.h (module 'NDNabstraction'): ns3::TypeId ns3::CcnxInterestHeader::GetInstanceTypeId() const [member function]
3987 cls.add_method('GetInstanceTypeId',
3988 'ns3::TypeId',
3989 [],
3990 is_const=True, is_virtual=True)
3991 ## ccnx-interest-header.h (module 'NDNabstraction'): ns3::Time ns3::CcnxInterestHeader::GetInterestLifetime() const [member function]
3992 cls.add_method('GetInterestLifetime',
3993 'ns3::Time',
3994 [],
3995 is_const=True)
3996 ## ccnx-interest-header.h (module 'NDNabstraction'): int32_t ns3::CcnxInterestHeader::GetMaxSuffixComponents() const [member function]
3997 cls.add_method('GetMaxSuffixComponents',
3998 'int32_t',
3999 [],
4000 is_const=True)
4001 ## ccnx-interest-header.h (module 'NDNabstraction'): int32_t ns3::CcnxInterestHeader::GetMinSuffixComponents() const [member function]
4002 cls.add_method('GetMinSuffixComponents',
4003 'int32_t',
4004 [],
4005 is_const=True)
Alexander Afanasyev07827182011-12-13 01:07:32 -08004006 ## ccnx-interest-header.h (module 'NDNabstraction'): uint32_t ns3::CcnxInterestHeader::GetNack() const [member function]
4007 cls.add_method('GetNack',
4008 'uint32_t',
4009 [],
4010 is_const=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004011 ## ccnx-interest-header.h (module 'NDNabstraction'): ns3::CcnxNameComponents const & ns3::CcnxInterestHeader::GetName() const [member function]
4012 cls.add_method('GetName',
4013 'ns3::CcnxNameComponents const &',
4014 [],
4015 is_const=True)
4016 ## ccnx-interest-header.h (module 'NDNabstraction'): uint32_t ns3::CcnxInterestHeader::GetNonce() const [member function]
4017 cls.add_method('GetNonce',
4018 'uint32_t',
4019 [],
4020 is_const=True)
4021 ## ccnx-interest-header.h (module 'NDNabstraction'): int8_t ns3::CcnxInterestHeader::GetScope() const [member function]
4022 cls.add_method('GetScope',
4023 'int8_t',
4024 [],
4025 is_const=True)
4026 ## ccnx-interest-header.h (module 'NDNabstraction'): uint32_t ns3::CcnxInterestHeader::GetSerializedSize() const [member function]
4027 cls.add_method('GetSerializedSize',
4028 'uint32_t',
4029 [],
4030 is_const=True, is_virtual=True)
4031 ## ccnx-interest-header.h (module 'NDNabstraction'): static ns3::TypeId ns3::CcnxInterestHeader::GetTypeId() [member function]
4032 cls.add_method('GetTypeId',
4033 'ns3::TypeId',
4034 [],
4035 is_static=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004036 ## ccnx-interest-header.h (module 'NDNabstraction'): bool ns3::CcnxInterestHeader::IsEnabledAnswerOriginKind() const [member function]
4037 cls.add_method('IsEnabledAnswerOriginKind',
4038 'bool',
4039 [],
4040 is_const=True)
4041 ## ccnx-interest-header.h (module 'NDNabstraction'): bool ns3::CcnxInterestHeader::IsEnabledChildSelector() const [member function]
4042 cls.add_method('IsEnabledChildSelector',
4043 'bool',
4044 [],
4045 is_const=True)
4046 ## ccnx-interest-header.h (module 'NDNabstraction'): bool ns3::CcnxInterestHeader::IsEnabledExclude() const [member function]
4047 cls.add_method('IsEnabledExclude',
4048 'bool',
4049 [],
4050 is_const=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004051 ## ccnx-interest-header.h (module 'NDNabstraction'): void ns3::CcnxInterestHeader::Print(std::ostream & os) const [member function]
4052 cls.add_method('Print',
4053 'void',
4054 [param('std::ostream &', 'os')],
4055 is_const=True, is_virtual=True)
4056 ## ccnx-interest-header.h (module 'NDNabstraction'): void ns3::CcnxInterestHeader::Serialize(ns3::Buffer::Iterator start) const [member function]
4057 cls.add_method('Serialize',
4058 'void',
4059 [param('ns3::Buffer::Iterator', 'start')],
4060 is_const=True, is_virtual=True)
4061 ## ccnx-interest-header.h (module 'NDNabstraction'): void ns3::CcnxInterestHeader::SetAnswerOriginKind(bool value) [member function]
4062 cls.add_method('SetAnswerOriginKind',
4063 'void',
4064 [param('bool', 'value')])
4065 ## ccnx-interest-header.h (module 'NDNabstraction'): void ns3::CcnxInterestHeader::SetChildSelector(bool value) [member function]
4066 cls.add_method('SetChildSelector',
4067 'void',
4068 [param('bool', 'value')])
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004069 ## ccnx-interest-header.h (module 'NDNabstraction'): void ns3::CcnxInterestHeader::SetExclude(ns3::Ptr<ns3::CcnxNameComponents> const & exclude) [member function]
4070 cls.add_method('SetExclude',
4071 'void',
4072 [param('ns3::Ptr< ns3::CcnxNameComponents > const &', 'exclude')])
4073 ## ccnx-interest-header.h (module 'NDNabstraction'): void ns3::CcnxInterestHeader::SetInterestLifetime(ns3::Time time) [member function]
4074 cls.add_method('SetInterestLifetime',
4075 'void',
4076 [param('ns3::Time', 'time')])
4077 ## ccnx-interest-header.h (module 'NDNabstraction'): void ns3::CcnxInterestHeader::SetMaxSuffixComponents(int32_t value) [member function]
4078 cls.add_method('SetMaxSuffixComponents',
4079 'void',
4080 [param('int32_t', 'value')])
4081 ## ccnx-interest-header.h (module 'NDNabstraction'): void ns3::CcnxInterestHeader::SetMinSuffixComponents(int32_t value) [member function]
4082 cls.add_method('SetMinSuffixComponents',
4083 'void',
4084 [param('int32_t', 'value')])
Alexander Afanasyev07827182011-12-13 01:07:32 -08004085 ## ccnx-interest-header.h (module 'NDNabstraction'): void ns3::CcnxInterestHeader::SetNack(uint32_t nackType) [member function]
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004086 cls.add_method('SetNack',
4087 'void',
Alexander Afanasyev07827182011-12-13 01:07:32 -08004088 [param('uint32_t', 'nackType')])
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004089 ## ccnx-interest-header.h (module 'NDNabstraction'): void ns3::CcnxInterestHeader::SetName(ns3::Ptr<ns3::CcnxNameComponents> const & name) [member function]
4090 cls.add_method('SetName',
4091 'void',
4092 [param('ns3::Ptr< ns3::CcnxNameComponents > const &', 'name')])
4093 ## ccnx-interest-header.h (module 'NDNabstraction'): void ns3::CcnxInterestHeader::SetNonce(uint32_t nonce) [member function]
4094 cls.add_method('SetNonce',
4095 'void',
4096 [param('uint32_t', 'nonce')])
4097 ## ccnx-interest-header.h (module 'NDNabstraction'): void ns3::CcnxInterestHeader::SetScope(int8_t scope) [member function]
4098 cls.add_method('SetScope',
4099 'void',
4100 [param('int8_t', 'scope')])
4101 return
4102
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004103def register_Ns3CcnxNameComponents_methods(root_module, cls):
4104 cls.add_output_stream_operator()
4105 cls.add_binary_comparison_operator('<')
4106 cls.add_binary_comparison_operator('==')
4107 ## ccnx-name-components.h (module 'NDNabstraction'): ns3::CcnxNameComponents::CcnxNameComponents(ns3::CcnxNameComponents const & arg0) [copy constructor]
4108 cls.add_constructor([param('ns3::CcnxNameComponents const &', 'arg0')])
4109 ## ccnx-name-components.h (module 'NDNabstraction'): ns3::CcnxNameComponents::CcnxNameComponents() [constructor]
4110 cls.add_constructor([])
4111 ## ccnx-name-components.h (module 'NDNabstraction'): ns3::CcnxNameComponents::CcnxNameComponents(std::list<boost::reference_wrapper<std::string const>, std::allocator<boost::reference_wrapper<std::string const> > > const & components) [constructor]
4112 cls.add_constructor([param('std::list< boost::reference_wrapper< std::string const > > const &', 'components')])
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004113 ## ccnx-name-components.h (module 'NDNabstraction'): std::list<std::string, std::allocator<std::string> > const & ns3::CcnxNameComponents::GetComponents() const [member function]
4114 cls.add_method('GetComponents',
4115 'std::list< std::string > const &',
4116 [],
4117 is_const=True)
4118 ## ccnx-name-components.h (module 'NDNabstraction'): std::list<boost::reference_wrapper<std::string const>, std::allocator<boost::reference_wrapper<std::string const> > > ns3::CcnxNameComponents::GetSubComponents(size_t num) const [member function]
4119 cls.add_method('GetSubComponents',
4120 'std::list< boost::reference_wrapper< std::string const > >',
4121 [param('size_t', 'num')],
4122 is_const=True)
4123 ## ccnx-name-components.h (module 'NDNabstraction'): void ns3::CcnxNameComponents::Print(std::ostream & os) const [member function]
4124 cls.add_method('Print',
4125 'void',
4126 [param('std::ostream &', 'os')],
4127 is_const=True)
4128 ## ccnx-name-components.h (module 'NDNabstraction'): size_t ns3::CcnxNameComponents::size() const [member function]
4129 cls.add_method('size',
4130 'size_t',
4131 [],
4132 is_const=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004133 return
4134
4135def register_Ns3CcnxNameComponentsChecker_methods(root_module, cls):
4136 ## ccnx-name-components.h (module 'NDNabstraction'): ns3::CcnxNameComponentsChecker::CcnxNameComponentsChecker() [constructor]
4137 cls.add_constructor([])
4138 ## ccnx-name-components.h (module 'NDNabstraction'): ns3::CcnxNameComponentsChecker::CcnxNameComponentsChecker(ns3::CcnxNameComponentsChecker const & arg0) [copy constructor]
4139 cls.add_constructor([param('ns3::CcnxNameComponentsChecker const &', 'arg0')])
4140 return
4141
4142def register_Ns3CcnxNameComponentsValue_methods(root_module, cls):
4143 ## ccnx-name-components.h (module 'NDNabstraction'): ns3::CcnxNameComponentsValue::CcnxNameComponentsValue() [constructor]
4144 cls.add_constructor([])
4145 ## ccnx-name-components.h (module 'NDNabstraction'): ns3::CcnxNameComponentsValue::CcnxNameComponentsValue(ns3::CcnxNameComponentsValue const & arg0) [copy constructor]
4146 cls.add_constructor([param('ns3::CcnxNameComponentsValue const &', 'arg0')])
4147 ## ccnx-name-components.h (module 'NDNabstraction'): ns3::CcnxNameComponentsValue::CcnxNameComponentsValue(ns3::CcnxNameComponents const & value) [constructor]
4148 cls.add_constructor([param('ns3::CcnxNameComponents const &', 'value')])
4149 ## ccnx-name-components.h (module 'NDNabstraction'): ns3::Ptr<ns3::AttributeValue> ns3::CcnxNameComponentsValue::Copy() const [member function]
4150 cls.add_method('Copy',
4151 'ns3::Ptr< ns3::AttributeValue >',
4152 [],
4153 is_const=True, is_virtual=True)
4154 ## ccnx-name-components.h (module 'NDNabstraction'): bool ns3::CcnxNameComponentsValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4155 cls.add_method('DeserializeFromString',
4156 'bool',
4157 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4158 is_virtual=True)
4159 ## ccnx-name-components.h (module 'NDNabstraction'): ns3::CcnxNameComponents ns3::CcnxNameComponentsValue::Get() const [member function]
4160 cls.add_method('Get',
4161 'ns3::CcnxNameComponents',
4162 [],
4163 is_const=True)
4164 ## ccnx-name-components.h (module 'NDNabstraction'): std::string ns3::CcnxNameComponentsValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4165 cls.add_method('SerializeToString',
4166 'std::string',
4167 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4168 is_const=True, is_virtual=True)
4169 ## ccnx-name-components.h (module 'NDNabstraction'): void ns3::CcnxNameComponentsValue::Set(ns3::CcnxNameComponents const & value) [member function]
4170 cls.add_method('Set',
4171 'void',
4172 [param('ns3::CcnxNameComponents const &', 'value')])
4173 return
4174
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004175def register_Ns3EmptyAttributeValue_methods(root_module, cls):
4176 ## attribute.h (module 'core'): ns3::EmptyAttributeValue::EmptyAttributeValue(ns3::EmptyAttributeValue const & arg0) [copy constructor]
4177 cls.add_constructor([param('ns3::EmptyAttributeValue const &', 'arg0')])
4178 ## attribute.h (module 'core'): ns3::EmptyAttributeValue::EmptyAttributeValue() [constructor]
4179 cls.add_constructor([])
4180 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::EmptyAttributeValue::Copy() const [member function]
4181 cls.add_method('Copy',
4182 'ns3::Ptr< ns3::AttributeValue >',
4183 [],
4184 is_const=True, visibility='private', is_virtual=True)
4185 ## attribute.h (module 'core'): bool ns3::EmptyAttributeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4186 cls.add_method('DeserializeFromString',
4187 'bool',
4188 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4189 visibility='private', is_virtual=True)
4190 ## attribute.h (module 'core'): std::string ns3::EmptyAttributeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4191 cls.add_method('SerializeToString',
4192 'std::string',
4193 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4194 is_const=True, visibility='private', is_virtual=True)
4195 return
4196
4197def register_Ns3EventImpl_methods(root_module, cls):
4198 ## event-impl.h (module 'core'): ns3::EventImpl::EventImpl(ns3::EventImpl const & arg0) [copy constructor]
4199 cls.add_constructor([param('ns3::EventImpl const &', 'arg0')])
4200 ## event-impl.h (module 'core'): ns3::EventImpl::EventImpl() [constructor]
4201 cls.add_constructor([])
4202 ## event-impl.h (module 'core'): void ns3::EventImpl::Cancel() [member function]
4203 cls.add_method('Cancel',
4204 'void',
4205 [])
4206 ## event-impl.h (module 'core'): void ns3::EventImpl::Invoke() [member function]
4207 cls.add_method('Invoke',
4208 'void',
4209 [])
4210 ## event-impl.h (module 'core'): bool ns3::EventImpl::IsCancelled() [member function]
4211 cls.add_method('IsCancelled',
4212 'bool',
4213 [])
4214 ## event-impl.h (module 'core'): void ns3::EventImpl::Notify() [member function]
4215 cls.add_method('Notify',
4216 'void',
4217 [],
4218 is_pure_virtual=True, visibility='protected', is_virtual=True)
4219 return
4220
4221def register_Ns3IntegerValue_methods(root_module, cls):
4222 ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue() [constructor]
4223 cls.add_constructor([])
4224 ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue(ns3::IntegerValue const & arg0) [copy constructor]
4225 cls.add_constructor([param('ns3::IntegerValue const &', 'arg0')])
4226 ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue(int64_t const & value) [constructor]
4227 cls.add_constructor([param('int64_t const &', 'value')])
4228 ## integer.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::IntegerValue::Copy() const [member function]
4229 cls.add_method('Copy',
4230 'ns3::Ptr< ns3::AttributeValue >',
4231 [],
4232 is_const=True, is_virtual=True)
4233 ## integer.h (module 'core'): bool ns3::IntegerValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4234 cls.add_method('DeserializeFromString',
4235 'bool',
4236 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4237 is_virtual=True)
4238 ## integer.h (module 'core'): int64_t ns3::IntegerValue::Get() const [member function]
4239 cls.add_method('Get',
4240 'int64_t',
4241 [],
4242 is_const=True)
4243 ## integer.h (module 'core'): std::string ns3::IntegerValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4244 cls.add_method('SerializeToString',
4245 'std::string',
4246 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4247 is_const=True, is_virtual=True)
4248 ## integer.h (module 'core'): void ns3::IntegerValue::Set(int64_t const & value) [member function]
4249 cls.add_method('Set',
4250 'void',
4251 [param('int64_t const &', 'value')])
4252 return
4253
4254def register_Ns3Ipv4AddressChecker_methods(root_module, cls):
4255 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker::Ipv4AddressChecker() [constructor]
4256 cls.add_constructor([])
4257 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker::Ipv4AddressChecker(ns3::Ipv4AddressChecker const & arg0) [copy constructor]
4258 cls.add_constructor([param('ns3::Ipv4AddressChecker const &', 'arg0')])
4259 return
4260
4261def register_Ns3Ipv4AddressValue_methods(root_module, cls):
4262 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue::Ipv4AddressValue() [constructor]
4263 cls.add_constructor([])
4264 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue::Ipv4AddressValue(ns3::Ipv4AddressValue const & arg0) [copy constructor]
4265 cls.add_constructor([param('ns3::Ipv4AddressValue const &', 'arg0')])
4266 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue::Ipv4AddressValue(ns3::Ipv4Address const & value) [constructor]
4267 cls.add_constructor([param('ns3::Ipv4Address const &', 'value')])
4268 ## ipv4-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv4AddressValue::Copy() const [member function]
4269 cls.add_method('Copy',
4270 'ns3::Ptr< ns3::AttributeValue >',
4271 [],
4272 is_const=True, is_virtual=True)
4273 ## ipv4-address.h (module 'network'): bool ns3::Ipv4AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4274 cls.add_method('DeserializeFromString',
4275 'bool',
4276 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4277 is_virtual=True)
4278 ## ipv4-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv4AddressValue::Get() const [member function]
4279 cls.add_method('Get',
4280 'ns3::Ipv4Address',
4281 [],
4282 is_const=True)
4283 ## ipv4-address.h (module 'network'): std::string ns3::Ipv4AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4284 cls.add_method('SerializeToString',
4285 'std::string',
4286 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4287 is_const=True, is_virtual=True)
4288 ## ipv4-address.h (module 'network'): void ns3::Ipv4AddressValue::Set(ns3::Ipv4Address const & value) [member function]
4289 cls.add_method('Set',
4290 'void',
4291 [param('ns3::Ipv4Address const &', 'value')])
4292 return
4293
4294def register_Ns3Ipv4MaskChecker_methods(root_module, cls):
4295 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker::Ipv4MaskChecker() [constructor]
4296 cls.add_constructor([])
4297 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker::Ipv4MaskChecker(ns3::Ipv4MaskChecker const & arg0) [copy constructor]
4298 cls.add_constructor([param('ns3::Ipv4MaskChecker const &', 'arg0')])
4299 return
4300
4301def register_Ns3Ipv4MaskValue_methods(root_module, cls):
4302 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue::Ipv4MaskValue() [constructor]
4303 cls.add_constructor([])
4304 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue::Ipv4MaskValue(ns3::Ipv4MaskValue const & arg0) [copy constructor]
4305 cls.add_constructor([param('ns3::Ipv4MaskValue const &', 'arg0')])
4306 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue::Ipv4MaskValue(ns3::Ipv4Mask const & value) [constructor]
4307 cls.add_constructor([param('ns3::Ipv4Mask const &', 'value')])
4308 ## ipv4-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv4MaskValue::Copy() const [member function]
4309 cls.add_method('Copy',
4310 'ns3::Ptr< ns3::AttributeValue >',
4311 [],
4312 is_const=True, is_virtual=True)
4313 ## ipv4-address.h (module 'network'): bool ns3::Ipv4MaskValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4314 cls.add_method('DeserializeFromString',
4315 'bool',
4316 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4317 is_virtual=True)
4318 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask ns3::Ipv4MaskValue::Get() const [member function]
4319 cls.add_method('Get',
4320 'ns3::Ipv4Mask',
4321 [],
4322 is_const=True)
4323 ## ipv4-address.h (module 'network'): std::string ns3::Ipv4MaskValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4324 cls.add_method('SerializeToString',
4325 'std::string',
4326 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4327 is_const=True, is_virtual=True)
4328 ## ipv4-address.h (module 'network'): void ns3::Ipv4MaskValue::Set(ns3::Ipv4Mask const & value) [member function]
4329 cls.add_method('Set',
4330 'void',
4331 [param('ns3::Ipv4Mask const &', 'value')])
4332 return
4333
4334def register_Ns3Ipv6AddressChecker_methods(root_module, cls):
4335 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker::Ipv6AddressChecker() [constructor]
4336 cls.add_constructor([])
4337 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker::Ipv6AddressChecker(ns3::Ipv6AddressChecker const & arg0) [copy constructor]
4338 cls.add_constructor([param('ns3::Ipv6AddressChecker const &', 'arg0')])
4339 return
4340
4341def register_Ns3Ipv6AddressValue_methods(root_module, cls):
4342 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue::Ipv6AddressValue() [constructor]
4343 cls.add_constructor([])
4344 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue::Ipv6AddressValue(ns3::Ipv6AddressValue const & arg0) [copy constructor]
4345 cls.add_constructor([param('ns3::Ipv6AddressValue const &', 'arg0')])
4346 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue::Ipv6AddressValue(ns3::Ipv6Address const & value) [constructor]
4347 cls.add_constructor([param('ns3::Ipv6Address const &', 'value')])
4348 ## ipv6-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv6AddressValue::Copy() const [member function]
4349 cls.add_method('Copy',
4350 'ns3::Ptr< ns3::AttributeValue >',
4351 [],
4352 is_const=True, is_virtual=True)
4353 ## ipv6-address.h (module 'network'): bool ns3::Ipv6AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4354 cls.add_method('DeserializeFromString',
4355 'bool',
4356 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4357 is_virtual=True)
4358 ## ipv6-address.h (module 'network'): ns3::Ipv6Address ns3::Ipv6AddressValue::Get() const [member function]
4359 cls.add_method('Get',
4360 'ns3::Ipv6Address',
4361 [],
4362 is_const=True)
4363 ## ipv6-address.h (module 'network'): std::string ns3::Ipv6AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4364 cls.add_method('SerializeToString',
4365 'std::string',
4366 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4367 is_const=True, is_virtual=True)
4368 ## ipv6-address.h (module 'network'): void ns3::Ipv6AddressValue::Set(ns3::Ipv6Address const & value) [member function]
4369 cls.add_method('Set',
4370 'void',
4371 [param('ns3::Ipv6Address const &', 'value')])
4372 return
4373
4374def register_Ns3Ipv6PrefixChecker_methods(root_module, cls):
4375 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker::Ipv6PrefixChecker() [constructor]
4376 cls.add_constructor([])
4377 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker::Ipv6PrefixChecker(ns3::Ipv6PrefixChecker const & arg0) [copy constructor]
4378 cls.add_constructor([param('ns3::Ipv6PrefixChecker const &', 'arg0')])
4379 return
4380
4381def register_Ns3Ipv6PrefixValue_methods(root_module, cls):
4382 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue::Ipv6PrefixValue() [constructor]
4383 cls.add_constructor([])
4384 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue::Ipv6PrefixValue(ns3::Ipv6PrefixValue const & arg0) [copy constructor]
4385 cls.add_constructor([param('ns3::Ipv6PrefixValue const &', 'arg0')])
4386 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue::Ipv6PrefixValue(ns3::Ipv6Prefix const & value) [constructor]
4387 cls.add_constructor([param('ns3::Ipv6Prefix const &', 'value')])
4388 ## ipv6-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv6PrefixValue::Copy() const [member function]
4389 cls.add_method('Copy',
4390 'ns3::Ptr< ns3::AttributeValue >',
4391 [],
4392 is_const=True, is_virtual=True)
4393 ## ipv6-address.h (module 'network'): bool ns3::Ipv6PrefixValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4394 cls.add_method('DeserializeFromString',
4395 'bool',
4396 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4397 is_virtual=True)
4398 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix ns3::Ipv6PrefixValue::Get() const [member function]
4399 cls.add_method('Get',
4400 'ns3::Ipv6Prefix',
4401 [],
4402 is_const=True)
4403 ## ipv6-address.h (module 'network'): std::string ns3::Ipv6PrefixValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4404 cls.add_method('SerializeToString',
4405 'std::string',
4406 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4407 is_const=True, is_virtual=True)
4408 ## ipv6-address.h (module 'network'): void ns3::Ipv6PrefixValue::Set(ns3::Ipv6Prefix const & value) [member function]
4409 cls.add_method('Set',
4410 'void',
4411 [param('ns3::Ipv6Prefix const &', 'value')])
4412 return
4413
Alexander Afanasyev4975f732011-12-20 17:52:19 -08004414def register_Ns3MobilityModel_methods(root_module, cls):
4415 ## mobility-model.h (module 'mobility'): ns3::MobilityModel::MobilityModel(ns3::MobilityModel const & arg0) [copy constructor]
4416 cls.add_constructor([param('ns3::MobilityModel const &', 'arg0')])
4417 ## mobility-model.h (module 'mobility'): ns3::MobilityModel::MobilityModel() [constructor]
4418 cls.add_constructor([])
4419 ## mobility-model.h (module 'mobility'): double ns3::MobilityModel::GetDistanceFrom(ns3::Ptr<const ns3::MobilityModel> position) const [member function]
4420 cls.add_method('GetDistanceFrom',
4421 'double',
4422 [param('ns3::Ptr< ns3::MobilityModel const >', 'position')],
4423 is_const=True)
4424 ## mobility-model.h (module 'mobility'): ns3::Vector ns3::MobilityModel::GetPosition() const [member function]
4425 cls.add_method('GetPosition',
4426 'ns3::Vector',
4427 [],
4428 is_const=True)
4429 ## mobility-model.h (module 'mobility'): double ns3::MobilityModel::GetRelativeSpeed(ns3::Ptr<const ns3::MobilityModel> other) const [member function]
4430 cls.add_method('GetRelativeSpeed',
4431 'double',
4432 [param('ns3::Ptr< ns3::MobilityModel const >', 'other')],
4433 is_const=True)
4434 ## mobility-model.h (module 'mobility'): static ns3::TypeId ns3::MobilityModel::GetTypeId() [member function]
4435 cls.add_method('GetTypeId',
4436 'ns3::TypeId',
4437 [],
4438 is_static=True)
4439 ## mobility-model.h (module 'mobility'): ns3::Vector ns3::MobilityModel::GetVelocity() const [member function]
4440 cls.add_method('GetVelocity',
4441 'ns3::Vector',
4442 [],
4443 is_const=True)
4444 ## mobility-model.h (module 'mobility'): void ns3::MobilityModel::SetPosition(ns3::Vector const & position) [member function]
4445 cls.add_method('SetPosition',
4446 'void',
4447 [param('ns3::Vector const &', 'position')])
4448 ## mobility-model.h (module 'mobility'): void ns3::MobilityModel::NotifyCourseChange() const [member function]
4449 cls.add_method('NotifyCourseChange',
4450 'void',
4451 [],
4452 is_const=True, visibility='protected')
4453 ## mobility-model.h (module 'mobility'): ns3::Vector ns3::MobilityModel::DoGetPosition() const [member function]
4454 cls.add_method('DoGetPosition',
4455 'ns3::Vector',
4456 [],
4457 is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
4458 ## mobility-model.h (module 'mobility'): ns3::Vector ns3::MobilityModel::DoGetVelocity() const [member function]
4459 cls.add_method('DoGetVelocity',
4460 'ns3::Vector',
4461 [],
4462 is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
4463 ## mobility-model.h (module 'mobility'): void ns3::MobilityModel::DoSetPosition(ns3::Vector const & position) [member function]
4464 cls.add_method('DoSetPosition',
4465 'void',
4466 [param('ns3::Vector const &', 'position')],
4467 is_pure_virtual=True, visibility='private', is_virtual=True)
4468 return
4469
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004470def register_Ns3NetDevice_methods(root_module, cls):
4471 ## net-device.h (module 'network'): ns3::NetDevice::NetDevice() [constructor]
4472 cls.add_constructor([])
4473 ## net-device.h (module 'network'): ns3::NetDevice::NetDevice(ns3::NetDevice const & arg0) [copy constructor]
4474 cls.add_constructor([param('ns3::NetDevice const &', 'arg0')])
4475 ## 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]
4476 cls.add_method('AddLinkChangeCallback',
4477 'void',
4478 [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')],
4479 is_pure_virtual=True, is_virtual=True)
4480 ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetAddress() const [member function]
4481 cls.add_method('GetAddress',
4482 'ns3::Address',
4483 [],
4484 is_pure_virtual=True, is_const=True, is_virtual=True)
4485 ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetBroadcast() const [member function]
4486 cls.add_method('GetBroadcast',
4487 'ns3::Address',
4488 [],
4489 is_pure_virtual=True, is_const=True, is_virtual=True)
4490 ## net-device.h (module 'network'): ns3::Ptr<ns3::Channel> ns3::NetDevice::GetChannel() const [member function]
4491 cls.add_method('GetChannel',
4492 'ns3::Ptr< ns3::Channel >',
4493 [],
4494 is_pure_virtual=True, is_const=True, is_virtual=True)
4495 ## net-device.h (module 'network'): uint32_t ns3::NetDevice::GetIfIndex() const [member function]
4496 cls.add_method('GetIfIndex',
4497 'uint32_t',
4498 [],
4499 is_pure_virtual=True, is_const=True, is_virtual=True)
4500 ## net-device.h (module 'network'): uint16_t ns3::NetDevice::GetMtu() const [member function]
4501 cls.add_method('GetMtu',
4502 'uint16_t',
4503 [],
4504 is_pure_virtual=True, is_const=True, is_virtual=True)
4505 ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetMulticast(ns3::Ipv4Address multicastGroup) const [member function]
4506 cls.add_method('GetMulticast',
4507 'ns3::Address',
4508 [param('ns3::Ipv4Address', 'multicastGroup')],
4509 is_pure_virtual=True, is_const=True, is_virtual=True)
4510 ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetMulticast(ns3::Ipv6Address addr) const [member function]
4511 cls.add_method('GetMulticast',
4512 'ns3::Address',
4513 [param('ns3::Ipv6Address', 'addr')],
4514 is_pure_virtual=True, is_const=True, is_virtual=True)
4515 ## net-device.h (module 'network'): ns3::Ptr<ns3::Node> ns3::NetDevice::GetNode() const [member function]
4516 cls.add_method('GetNode',
4517 'ns3::Ptr< ns3::Node >',
4518 [],
4519 is_pure_virtual=True, is_const=True, is_virtual=True)
4520 ## net-device.h (module 'network'): static ns3::TypeId ns3::NetDevice::GetTypeId() [member function]
4521 cls.add_method('GetTypeId',
4522 'ns3::TypeId',
4523 [],
4524 is_static=True)
4525 ## net-device.h (module 'network'): bool ns3::NetDevice::IsBridge() const [member function]
4526 cls.add_method('IsBridge',
4527 'bool',
4528 [],
4529 is_pure_virtual=True, is_const=True, is_virtual=True)
4530 ## net-device.h (module 'network'): bool ns3::NetDevice::IsBroadcast() const [member function]
4531 cls.add_method('IsBroadcast',
4532 'bool',
4533 [],
4534 is_pure_virtual=True, is_const=True, is_virtual=True)
4535 ## net-device.h (module 'network'): bool ns3::NetDevice::IsLinkUp() const [member function]
4536 cls.add_method('IsLinkUp',
4537 'bool',
4538 [],
4539 is_pure_virtual=True, is_const=True, is_virtual=True)
4540 ## net-device.h (module 'network'): bool ns3::NetDevice::IsMulticast() const [member function]
4541 cls.add_method('IsMulticast',
4542 'bool',
4543 [],
4544 is_pure_virtual=True, is_const=True, is_virtual=True)
4545 ## net-device.h (module 'network'): bool ns3::NetDevice::IsPointToPoint() const [member function]
4546 cls.add_method('IsPointToPoint',
4547 'bool',
4548 [],
4549 is_pure_virtual=True, is_const=True, is_virtual=True)
4550 ## net-device.h (module 'network'): bool ns3::NetDevice::NeedsArp() const [member function]
4551 cls.add_method('NeedsArp',
4552 'bool',
4553 [],
4554 is_pure_virtual=True, is_const=True, is_virtual=True)
4555 ## net-device.h (module 'network'): bool ns3::NetDevice::Send(ns3::Ptr<ns3::Packet> packet, ns3::Address const & dest, uint16_t protocolNumber) [member function]
4556 cls.add_method('Send',
4557 'bool',
4558 [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')],
4559 is_pure_virtual=True, is_virtual=True)
4560 ## 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]
4561 cls.add_method('SendFrom',
4562 'bool',
4563 [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')],
4564 is_pure_virtual=True, is_virtual=True)
4565 ## net-device.h (module 'network'): void ns3::NetDevice::SetAddress(ns3::Address address) [member function]
4566 cls.add_method('SetAddress',
4567 'void',
4568 [param('ns3::Address', 'address')],
4569 is_pure_virtual=True, is_virtual=True)
4570 ## net-device.h (module 'network'): void ns3::NetDevice::SetIfIndex(uint32_t const index) [member function]
4571 cls.add_method('SetIfIndex',
4572 'void',
4573 [param('uint32_t const', 'index')],
4574 is_pure_virtual=True, is_virtual=True)
4575 ## net-device.h (module 'network'): bool ns3::NetDevice::SetMtu(uint16_t const mtu) [member function]
4576 cls.add_method('SetMtu',
4577 'bool',
4578 [param('uint16_t const', 'mtu')],
4579 is_pure_virtual=True, is_virtual=True)
4580 ## net-device.h (module 'network'): void ns3::NetDevice::SetNode(ns3::Ptr<ns3::Node> node) [member function]
4581 cls.add_method('SetNode',
4582 'void',
4583 [param('ns3::Ptr< ns3::Node >', 'node')],
4584 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyev07827182011-12-13 01:07:32 -08004585 ## 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]
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004586 cls.add_method('SetPromiscReceiveCallback',
4587 'void',
Alexander Afanasyev07827182011-12-13 01:07:32 -08004588 [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')],
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004589 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyev07827182011-12-13 01:07:32 -08004590 ## 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]
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004591 cls.add_method('SetReceiveCallback',
4592 'void',
Alexander Afanasyev07827182011-12-13 01:07:32 -08004593 [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')],
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004594 is_pure_virtual=True, is_virtual=True)
4595 ## net-device.h (module 'network'): bool ns3::NetDevice::SupportsSendFrom() const [member function]
4596 cls.add_method('SupportsSendFrom',
4597 'bool',
4598 [],
4599 is_pure_virtual=True, is_const=True, is_virtual=True)
4600 return
4601
4602def register_Ns3NixVector_methods(root_module, cls):
4603 cls.add_output_stream_operator()
4604 ## nix-vector.h (module 'network'): ns3::NixVector::NixVector() [constructor]
4605 cls.add_constructor([])
4606 ## nix-vector.h (module 'network'): ns3::NixVector::NixVector(ns3::NixVector const & o) [copy constructor]
4607 cls.add_constructor([param('ns3::NixVector const &', 'o')])
4608 ## nix-vector.h (module 'network'): void ns3::NixVector::AddNeighborIndex(uint32_t newBits, uint32_t numberOfBits) [member function]
4609 cls.add_method('AddNeighborIndex',
4610 'void',
4611 [param('uint32_t', 'newBits'), param('uint32_t', 'numberOfBits')])
4612 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::BitCount(uint32_t numberOfNeighbors) const [member function]
4613 cls.add_method('BitCount',
4614 'uint32_t',
4615 [param('uint32_t', 'numberOfNeighbors')],
4616 is_const=True)
4617 ## nix-vector.h (module 'network'): ns3::Ptr<ns3::NixVector> ns3::NixVector::Copy() const [member function]
4618 cls.add_method('Copy',
4619 'ns3::Ptr< ns3::NixVector >',
4620 [],
4621 is_const=True)
4622 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::Deserialize(uint32_t const * buffer, uint32_t size) [member function]
4623 cls.add_method('Deserialize',
4624 'uint32_t',
4625 [param('uint32_t const *', 'buffer'), param('uint32_t', 'size')])
4626 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::ExtractNeighborIndex(uint32_t numberOfBits) [member function]
4627 cls.add_method('ExtractNeighborIndex',
4628 'uint32_t',
4629 [param('uint32_t', 'numberOfBits')])
4630 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::GetRemainingBits() [member function]
4631 cls.add_method('GetRemainingBits',
4632 'uint32_t',
4633 [])
4634 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::GetSerializedSize() const [member function]
4635 cls.add_method('GetSerializedSize',
4636 'uint32_t',
4637 [],
4638 is_const=True)
4639 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::Serialize(uint32_t * buffer, uint32_t maxSize) const [member function]
4640 cls.add_method('Serialize',
4641 'uint32_t',
4642 [param('uint32_t *', 'buffer'), param('uint32_t', 'maxSize')],
4643 is_const=True)
4644 return
4645
4646def register_Ns3Node_methods(root_module, cls):
4647 ## node.h (module 'network'): ns3::Node::Node(ns3::Node const & arg0) [copy constructor]
4648 cls.add_constructor([param('ns3::Node const &', 'arg0')])
4649 ## node.h (module 'network'): ns3::Node::Node() [constructor]
4650 cls.add_constructor([])
4651 ## node.h (module 'network'): ns3::Node::Node(uint32_t systemId) [constructor]
4652 cls.add_constructor([param('uint32_t', 'systemId')])
4653 ## node.h (module 'network'): uint32_t ns3::Node::AddApplication(ns3::Ptr<ns3::Application> application) [member function]
4654 cls.add_method('AddApplication',
4655 'uint32_t',
4656 [param('ns3::Ptr< ns3::Application >', 'application')])
4657 ## node.h (module 'network'): uint32_t ns3::Node::AddDevice(ns3::Ptr<ns3::NetDevice> device) [member function]
4658 cls.add_method('AddDevice',
4659 'uint32_t',
4660 [param('ns3::Ptr< ns3::NetDevice >', 'device')])
4661 ## node.h (module 'network'): static bool ns3::Node::ChecksumEnabled() [member function]
4662 cls.add_method('ChecksumEnabled',
4663 'bool',
4664 [],
4665 is_static=True)
4666 ## node.h (module 'network'): ns3::Ptr<ns3::Application> ns3::Node::GetApplication(uint32_t index) const [member function]
4667 cls.add_method('GetApplication',
4668 'ns3::Ptr< ns3::Application >',
4669 [param('uint32_t', 'index')],
4670 is_const=True)
4671 ## node.h (module 'network'): ns3::Ptr<ns3::NetDevice> ns3::Node::GetDevice(uint32_t index) const [member function]
4672 cls.add_method('GetDevice',
4673 'ns3::Ptr< ns3::NetDevice >',
4674 [param('uint32_t', 'index')],
4675 is_const=True)
4676 ## node.h (module 'network'): uint32_t ns3::Node::GetId() const [member function]
4677 cls.add_method('GetId',
4678 'uint32_t',
4679 [],
4680 is_const=True)
4681 ## node.h (module 'network'): uint32_t ns3::Node::GetNApplications() const [member function]
4682 cls.add_method('GetNApplications',
4683 'uint32_t',
4684 [],
4685 is_const=True)
4686 ## node.h (module 'network'): uint32_t ns3::Node::GetNDevices() const [member function]
4687 cls.add_method('GetNDevices',
4688 'uint32_t',
4689 [],
4690 is_const=True)
4691 ## node.h (module 'network'): uint32_t ns3::Node::GetSystemId() const [member function]
4692 cls.add_method('GetSystemId',
4693 'uint32_t',
4694 [],
4695 is_const=True)
4696 ## node.h (module 'network'): static ns3::TypeId ns3::Node::GetTypeId() [member function]
4697 cls.add_method('GetTypeId',
4698 'ns3::TypeId',
4699 [],
4700 is_static=True)
4701 ## node.h (module 'network'): void ns3::Node::RegisterDeviceAdditionListener(ns3::Callback<void,ns3::Ptr<ns3::NetDevice>,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> listener) [member function]
4702 cls.add_method('RegisterDeviceAdditionListener',
4703 'void',
4704 [param('ns3::Callback< void, ns3::Ptr< ns3::NetDevice >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'listener')])
4705 ## 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]
4706 cls.add_method('RegisterProtocolHandler',
4707 'void',
4708 [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')])
4709 ## node.h (module 'network'): void ns3::Node::UnregisterDeviceAdditionListener(ns3::Callback<void,ns3::Ptr<ns3::NetDevice>,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> listener) [member function]
4710 cls.add_method('UnregisterDeviceAdditionListener',
4711 'void',
4712 [param('ns3::Callback< void, ns3::Ptr< ns3::NetDevice >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'listener')])
4713 ## 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]
4714 cls.add_method('UnregisterProtocolHandler',
4715 'void',
4716 [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')])
4717 ## node.h (module 'network'): void ns3::Node::DoDispose() [member function]
4718 cls.add_method('DoDispose',
4719 'void',
4720 [],
4721 visibility='protected', is_virtual=True)
4722 ## node.h (module 'network'): void ns3::Node::DoStart() [member function]
4723 cls.add_method('DoStart',
4724 'void',
4725 [],
4726 visibility='protected', is_virtual=True)
4727 return
4728
4729def register_Ns3ObjectFactoryChecker_methods(root_module, cls):
4730 ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker::ObjectFactoryChecker() [constructor]
4731 cls.add_constructor([])
4732 ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker::ObjectFactoryChecker(ns3::ObjectFactoryChecker const & arg0) [copy constructor]
4733 cls.add_constructor([param('ns3::ObjectFactoryChecker const &', 'arg0')])
4734 return
4735
4736def register_Ns3ObjectFactoryValue_methods(root_module, cls):
4737 ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue() [constructor]
4738 cls.add_constructor([])
4739 ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue(ns3::ObjectFactoryValue const & arg0) [copy constructor]
4740 cls.add_constructor([param('ns3::ObjectFactoryValue const &', 'arg0')])
4741 ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue(ns3::ObjectFactory const & value) [constructor]
4742 cls.add_constructor([param('ns3::ObjectFactory const &', 'value')])
4743 ## object-factory.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::ObjectFactoryValue::Copy() const [member function]
4744 cls.add_method('Copy',
4745 'ns3::Ptr< ns3::AttributeValue >',
4746 [],
4747 is_const=True, is_virtual=True)
4748 ## object-factory.h (module 'core'): bool ns3::ObjectFactoryValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4749 cls.add_method('DeserializeFromString',
4750 'bool',
4751 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4752 is_virtual=True)
4753 ## object-factory.h (module 'core'): ns3::ObjectFactory ns3::ObjectFactoryValue::Get() const [member function]
4754 cls.add_method('Get',
4755 'ns3::ObjectFactory',
4756 [],
4757 is_const=True)
4758 ## object-factory.h (module 'core'): std::string ns3::ObjectFactoryValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4759 cls.add_method('SerializeToString',
4760 'std::string',
4761 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4762 is_const=True, is_virtual=True)
4763 ## object-factory.h (module 'core'): void ns3::ObjectFactoryValue::Set(ns3::ObjectFactory const & value) [member function]
4764 cls.add_method('Set',
4765 'void',
4766 [param('ns3::ObjectFactory const &', 'value')])
4767 return
4768
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004769def register_Ns3Packet_methods(root_module, cls):
4770 cls.add_output_stream_operator()
4771 ## packet.h (module 'network'): ns3::Packet::Packet() [constructor]
4772 cls.add_constructor([])
4773 ## packet.h (module 'network'): ns3::Packet::Packet(ns3::Packet const & o) [copy constructor]
4774 cls.add_constructor([param('ns3::Packet const &', 'o')])
4775 ## packet.h (module 'network'): ns3::Packet::Packet(uint32_t size) [constructor]
4776 cls.add_constructor([param('uint32_t', 'size')])
4777 ## packet.h (module 'network'): ns3::Packet::Packet(uint8_t const * buffer, uint32_t size, bool magic) [constructor]
4778 cls.add_constructor([param('uint8_t const *', 'buffer'), param('uint32_t', 'size'), param('bool', 'magic')])
4779 ## packet.h (module 'network'): ns3::Packet::Packet(uint8_t const * buffer, uint32_t size) [constructor]
4780 cls.add_constructor([param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
Alexander Afanasyev07827182011-12-13 01:07:32 -08004781 ## packet.h (module 'network'): void ns3::Packet::AddAtEnd(ns3::Ptr<const ns3::Packet> packet) [member function]
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004782 cls.add_method('AddAtEnd',
4783 'void',
4784 [param('ns3::Ptr< ns3::Packet const >', 'packet')])
4785 ## packet.h (module 'network'): void ns3::Packet::AddByteTag(ns3::Tag const & tag) const [member function]
4786 cls.add_method('AddByteTag',
4787 'void',
4788 [param('ns3::Tag const &', 'tag')],
4789 is_const=True)
4790 ## packet.h (module 'network'): void ns3::Packet::AddHeader(ns3::Header const & header) [member function]
4791 cls.add_method('AddHeader',
4792 'void',
4793 [param('ns3::Header const &', 'header')])
4794 ## packet.h (module 'network'): void ns3::Packet::AddPacketTag(ns3::Tag const & tag) const [member function]
4795 cls.add_method('AddPacketTag',
4796 'void',
4797 [param('ns3::Tag const &', 'tag')],
4798 is_const=True)
4799 ## packet.h (module 'network'): void ns3::Packet::AddPaddingAtEnd(uint32_t size) [member function]
4800 cls.add_method('AddPaddingAtEnd',
4801 'void',
4802 [param('uint32_t', 'size')])
4803 ## packet.h (module 'network'): void ns3::Packet::AddTrailer(ns3::Trailer const & trailer) [member function]
4804 cls.add_method('AddTrailer',
4805 'void',
4806 [param('ns3::Trailer const &', 'trailer')])
4807 ## packet.h (module 'network'): ns3::PacketMetadata::ItemIterator ns3::Packet::BeginItem() const [member function]
4808 cls.add_method('BeginItem',
4809 'ns3::PacketMetadata::ItemIterator',
4810 [],
4811 is_const=True)
4812 ## packet.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Packet::Copy() const [member function]
4813 cls.add_method('Copy',
4814 'ns3::Ptr< ns3::Packet >',
4815 [],
4816 is_const=True)
4817 ## packet.h (module 'network'): uint32_t ns3::Packet::CopyData(uint8_t * buffer, uint32_t size) const [member function]
4818 cls.add_method('CopyData',
4819 'uint32_t',
4820 [param('uint8_t *', 'buffer'), param('uint32_t', 'size')],
4821 is_const=True)
4822 ## packet.h (module 'network'): void ns3::Packet::CopyData(std::ostream * os, uint32_t size) const [member function]
4823 cls.add_method('CopyData',
4824 'void',
4825 [param('std::ostream *', 'os'), param('uint32_t', 'size')],
4826 is_const=True)
4827 ## packet.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Packet::CreateFragment(uint32_t start, uint32_t length) const [member function]
4828 cls.add_method('CreateFragment',
4829 'ns3::Ptr< ns3::Packet >',
4830 [param('uint32_t', 'start'), param('uint32_t', 'length')],
4831 is_const=True)
4832 ## packet.h (module 'network'): static void ns3::Packet::EnableChecking() [member function]
4833 cls.add_method('EnableChecking',
4834 'void',
4835 [],
4836 is_static=True)
4837 ## packet.h (module 'network'): static void ns3::Packet::EnablePrinting() [member function]
4838 cls.add_method('EnablePrinting',
4839 'void',
4840 [],
4841 is_static=True)
4842 ## packet.h (module 'network'): bool ns3::Packet::FindFirstMatchingByteTag(ns3::Tag & tag) const [member function]
4843 cls.add_method('FindFirstMatchingByteTag',
4844 'bool',
4845 [param('ns3::Tag &', 'tag')],
4846 is_const=True)
4847 ## packet.h (module 'network'): ns3::ByteTagIterator ns3::Packet::GetByteTagIterator() const [member function]
4848 cls.add_method('GetByteTagIterator',
4849 'ns3::ByteTagIterator',
4850 [],
4851 is_const=True)
4852 ## packet.h (module 'network'): ns3::Ptr<ns3::NixVector> ns3::Packet::GetNixVector() const [member function]
4853 cls.add_method('GetNixVector',
4854 'ns3::Ptr< ns3::NixVector >',
4855 [],
4856 is_const=True)
4857 ## packet.h (module 'network'): ns3::PacketTagIterator ns3::Packet::GetPacketTagIterator() const [member function]
4858 cls.add_method('GetPacketTagIterator',
4859 'ns3::PacketTagIterator',
4860 [],
4861 is_const=True)
4862 ## packet.h (module 'network'): uint32_t ns3::Packet::GetSerializedSize() const [member function]
4863 cls.add_method('GetSerializedSize',
4864 'uint32_t',
4865 [],
4866 is_const=True)
4867 ## packet.h (module 'network'): uint32_t ns3::Packet::GetSize() const [member function]
4868 cls.add_method('GetSize',
4869 'uint32_t',
4870 [],
4871 is_const=True)
4872 ## packet.h (module 'network'): uint64_t ns3::Packet::GetUid() const [member function]
4873 cls.add_method('GetUid',
4874 'uint64_t',
4875 [],
4876 is_const=True)
4877 ## packet.h (module 'network'): uint8_t const * ns3::Packet::PeekData() const [member function]
4878 cls.add_method('PeekData',
4879 'uint8_t const *',
4880 [],
4881 deprecated=True, is_const=True)
4882 ## packet.h (module 'network'): uint32_t ns3::Packet::PeekHeader(ns3::Header & header) const [member function]
4883 cls.add_method('PeekHeader',
4884 'uint32_t',
4885 [param('ns3::Header &', 'header')],
4886 is_const=True)
4887 ## packet.h (module 'network'): bool ns3::Packet::PeekPacketTag(ns3::Tag & tag) const [member function]
4888 cls.add_method('PeekPacketTag',
4889 'bool',
4890 [param('ns3::Tag &', 'tag')],
4891 is_const=True)
4892 ## packet.h (module 'network'): uint32_t ns3::Packet::PeekTrailer(ns3::Trailer & trailer) [member function]
4893 cls.add_method('PeekTrailer',
4894 'uint32_t',
4895 [param('ns3::Trailer &', 'trailer')])
4896 ## packet.h (module 'network'): void ns3::Packet::Print(std::ostream & os) const [member function]
4897 cls.add_method('Print',
4898 'void',
4899 [param('std::ostream &', 'os')],
4900 is_const=True)
4901 ## packet.h (module 'network'): void ns3::Packet::PrintByteTags(std::ostream & os) const [member function]
4902 cls.add_method('PrintByteTags',
4903 'void',
4904 [param('std::ostream &', 'os')],
4905 is_const=True)
4906 ## packet.h (module 'network'): void ns3::Packet::PrintPacketTags(std::ostream & os) const [member function]
4907 cls.add_method('PrintPacketTags',
4908 'void',
4909 [param('std::ostream &', 'os')],
4910 is_const=True)
4911 ## packet.h (module 'network'): void ns3::Packet::RemoveAllByteTags() [member function]
4912 cls.add_method('RemoveAllByteTags',
4913 'void',
4914 [])
4915 ## packet.h (module 'network'): void ns3::Packet::RemoveAllPacketTags() [member function]
4916 cls.add_method('RemoveAllPacketTags',
4917 'void',
4918 [])
4919 ## packet.h (module 'network'): void ns3::Packet::RemoveAtEnd(uint32_t size) [member function]
4920 cls.add_method('RemoveAtEnd',
4921 'void',
4922 [param('uint32_t', 'size')])
4923 ## packet.h (module 'network'): void ns3::Packet::RemoveAtStart(uint32_t size) [member function]
4924 cls.add_method('RemoveAtStart',
4925 'void',
4926 [param('uint32_t', 'size')])
4927 ## packet.h (module 'network'): uint32_t ns3::Packet::RemoveHeader(ns3::Header & header) [member function]
4928 cls.add_method('RemoveHeader',
4929 'uint32_t',
4930 [param('ns3::Header &', 'header')])
4931 ## packet.h (module 'network'): bool ns3::Packet::RemovePacketTag(ns3::Tag & tag) [member function]
4932 cls.add_method('RemovePacketTag',
4933 'bool',
4934 [param('ns3::Tag &', 'tag')])
4935 ## packet.h (module 'network'): uint32_t ns3::Packet::RemoveTrailer(ns3::Trailer & trailer) [member function]
4936 cls.add_method('RemoveTrailer',
4937 'uint32_t',
4938 [param('ns3::Trailer &', 'trailer')])
4939 ## packet.h (module 'network'): uint32_t ns3::Packet::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
4940 cls.add_method('Serialize',
4941 'uint32_t',
4942 [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')],
4943 is_const=True)
4944 ## packet.h (module 'network'): void ns3::Packet::SetNixVector(ns3::Ptr<ns3::NixVector> arg0) [member function]
4945 cls.add_method('SetNixVector',
4946 'void',
4947 [param('ns3::Ptr< ns3::NixVector >', 'arg0')])
4948 return
4949
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004950def register_Ns3RandomVariableChecker_methods(root_module, cls):
4951 ## random-variable.h (module 'core'): ns3::RandomVariableChecker::RandomVariableChecker() [constructor]
4952 cls.add_constructor([])
4953 ## random-variable.h (module 'core'): ns3::RandomVariableChecker::RandomVariableChecker(ns3::RandomVariableChecker const & arg0) [copy constructor]
4954 cls.add_constructor([param('ns3::RandomVariableChecker const &', 'arg0')])
4955 return
4956
4957def register_Ns3RandomVariableValue_methods(root_module, cls):
4958 ## random-variable.h (module 'core'): ns3::RandomVariableValue::RandomVariableValue() [constructor]
4959 cls.add_constructor([])
4960 ## random-variable.h (module 'core'): ns3::RandomVariableValue::RandomVariableValue(ns3::RandomVariableValue const & arg0) [copy constructor]
4961 cls.add_constructor([param('ns3::RandomVariableValue const &', 'arg0')])
4962 ## random-variable.h (module 'core'): ns3::RandomVariableValue::RandomVariableValue(ns3::RandomVariable const & value) [constructor]
4963 cls.add_constructor([param('ns3::RandomVariable const &', 'value')])
4964 ## random-variable.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::RandomVariableValue::Copy() const [member function]
4965 cls.add_method('Copy',
4966 'ns3::Ptr< ns3::AttributeValue >',
4967 [],
4968 is_const=True, is_virtual=True)
4969 ## random-variable.h (module 'core'): bool ns3::RandomVariableValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4970 cls.add_method('DeserializeFromString',
4971 'bool',
4972 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4973 is_virtual=True)
4974 ## random-variable.h (module 'core'): ns3::RandomVariable ns3::RandomVariableValue::Get() const [member function]
4975 cls.add_method('Get',
4976 'ns3::RandomVariable',
4977 [],
4978 is_const=True)
4979 ## random-variable.h (module 'core'): std::string ns3::RandomVariableValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4980 cls.add_method('SerializeToString',
4981 'std::string',
4982 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4983 is_const=True, is_virtual=True)
4984 ## random-variable.h (module 'core'): void ns3::RandomVariableValue::Set(ns3::RandomVariable const & value) [member function]
4985 cls.add_method('Set',
4986 'void',
4987 [param('ns3::RandomVariable const &', 'value')])
4988 return
4989
Alexander Afanasyev07827182011-12-13 01:07:32 -08004990def register_Ns3RocketfuelWeightsReader_methods(root_module, cls):
Alexander Afanasyev53872ce2011-12-16 13:17:18 -08004991 ## rocketfuel-weights-reader.h (module 'NDNabstraction'): ns3::RocketfuelWeightsReader::RocketfuelWeightsReader(std::string const & path="") [constructor]
4992 cls.add_constructor([param('std::string const &', 'path', default_value='""')])
Alexander Afanasyevae3b7c32011-12-13 13:20:06 -08004993 ## rocketfuel-weights-reader.h (module 'NDNabstraction'): void ns3::RocketfuelWeightsReader::SetFileType(uint8_t inputType) [member function]
4994 cls.add_method('SetFileType',
4995 'void',
4996 [param('uint8_t', 'inputType')])
Alexander Afanasyev07827182011-12-13 01:07:32 -08004997 ## rocketfuel-weights-reader.h (module 'NDNabstraction'): ns3::NodeContainer ns3::RocketfuelWeightsReader::Read() [member function]
4998 cls.add_method('Read',
4999 'ns3::NodeContainer',
5000 [],
Alexander Afanasyev381dea02011-11-03 08:33:26 -07005001 is_virtual=True)
Alexander Afanasyev53872ce2011-12-16 13:17:18 -08005002 ## rocketfuel-weights-reader.h (module 'NDNabstraction'): void ns3::RocketfuelWeightsReader::Commit() [member function]
5003 cls.add_method('Commit',
5004 'void',
5005 [])
Alexander Afanasyev381dea02011-11-03 08:33:26 -07005006 return
5007
Alexander Afanasyev4975f732011-12-20 17:52:19 -08005008def register_Ns3SpringMobilityModel_methods(root_module, cls):
5009 ## spring-mobility-model.h (module 'NDNabstraction'): ns3::SpringMobilityModel::SpringMobilityModel(ns3::SpringMobilityModel const & arg0) [copy constructor]
5010 cls.add_constructor([param('ns3::SpringMobilityModel const &', 'arg0')])
5011 ## spring-mobility-model.h (module 'NDNabstraction'): ns3::SpringMobilityModel::SpringMobilityModel() [constructor]
5012 cls.add_constructor([])
5013 ## spring-mobility-model.h (module 'NDNabstraction'): void ns3::SpringMobilityModel::AddSpring(ns3::Ptr<ns3::MobilityModel> node) [member function]
5014 cls.add_method('AddSpring',
5015 'void',
5016 [param('ns3::Ptr< ns3::MobilityModel >', 'node')])
5017 ## spring-mobility-model.h (module 'NDNabstraction'): static ns3::TypeId ns3::SpringMobilityModel::GetTypeId() [member function]
5018 cls.add_method('GetTypeId',
5019 'ns3::TypeId',
5020 [],
5021 is_static=True)
5022 ## spring-mobility-model.h (module 'NDNabstraction'): ns3::Vector ns3::SpringMobilityModel::DoGetPosition() const [member function]
5023 cls.add_method('DoGetPosition',
5024 'ns3::Vector',
5025 [],
5026 is_const=True, visibility='private', is_virtual=True)
5027 ## spring-mobility-model.h (module 'NDNabstraction'): ns3::Vector ns3::SpringMobilityModel::DoGetVelocity() const [member function]
5028 cls.add_method('DoGetVelocity',
5029 'ns3::Vector',
5030 [],
5031 is_const=True, visibility='private', is_virtual=True)
5032 ## spring-mobility-model.h (module 'NDNabstraction'): void ns3::SpringMobilityModel::DoSetPosition(ns3::Vector const & position) [member function]
5033 cls.add_method('DoSetPosition',
5034 'void',
5035 [param('ns3::Vector const &', 'position')],
5036 visibility='private', is_virtual=True)
5037 ## spring-mobility-model.h (module 'NDNabstraction'): void ns3::SpringMobilityModel::DoStart() [member function]
5038 cls.add_method('DoStart',
5039 'void',
5040 [],
5041 visibility='private', is_virtual=True)
5042 return
5043
Alexander Afanasyev381dea02011-11-03 08:33:26 -07005044def register_Ns3TimeChecker_methods(root_module, cls):
5045 ## nstime.h (module 'core'): ns3::TimeChecker::TimeChecker() [constructor]
5046 cls.add_constructor([])
5047 ## nstime.h (module 'core'): ns3::TimeChecker::TimeChecker(ns3::TimeChecker const & arg0) [copy constructor]
5048 cls.add_constructor([param('ns3::TimeChecker const &', 'arg0')])
5049 return
5050
5051def register_Ns3TimeValue_methods(root_module, cls):
5052 ## nstime.h (module 'core'): ns3::TimeValue::TimeValue() [constructor]
5053 cls.add_constructor([])
5054 ## nstime.h (module 'core'): ns3::TimeValue::TimeValue(ns3::TimeValue const & arg0) [copy constructor]
5055 cls.add_constructor([param('ns3::TimeValue const &', 'arg0')])
5056 ## nstime.h (module 'core'): ns3::TimeValue::TimeValue(ns3::Time const & value) [constructor]
5057 cls.add_constructor([param('ns3::Time const &', 'value')])
5058 ## nstime.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::TimeValue::Copy() const [member function]
5059 cls.add_method('Copy',
5060 'ns3::Ptr< ns3::AttributeValue >',
5061 [],
5062 is_const=True, is_virtual=True)
5063 ## nstime.h (module 'core'): bool ns3::TimeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
5064 cls.add_method('DeserializeFromString',
5065 'bool',
5066 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
5067 is_virtual=True)
5068 ## nstime.h (module 'core'): ns3::Time ns3::TimeValue::Get() const [member function]
5069 cls.add_method('Get',
5070 'ns3::Time',
5071 [],
5072 is_const=True)
5073 ## nstime.h (module 'core'): std::string ns3::TimeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
5074 cls.add_method('SerializeToString',
5075 'std::string',
5076 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
5077 is_const=True, is_virtual=True)
5078 ## nstime.h (module 'core'): void ns3::TimeValue::Set(ns3::Time const & value) [member function]
5079 cls.add_method('Set',
5080 'void',
5081 [param('ns3::Time const &', 'value')])
5082 return
5083
5084def register_Ns3TypeIdChecker_methods(root_module, cls):
5085 ## type-id.h (module 'core'): ns3::TypeIdChecker::TypeIdChecker() [constructor]
5086 cls.add_constructor([])
5087 ## type-id.h (module 'core'): ns3::TypeIdChecker::TypeIdChecker(ns3::TypeIdChecker const & arg0) [copy constructor]
5088 cls.add_constructor([param('ns3::TypeIdChecker const &', 'arg0')])
5089 return
5090
5091def register_Ns3TypeIdValue_methods(root_module, cls):
5092 ## type-id.h (module 'core'): ns3::TypeIdValue::TypeIdValue() [constructor]
5093 cls.add_constructor([])
5094 ## type-id.h (module 'core'): ns3::TypeIdValue::TypeIdValue(ns3::TypeIdValue const & arg0) [copy constructor]
5095 cls.add_constructor([param('ns3::TypeIdValue const &', 'arg0')])
5096 ## type-id.h (module 'core'): ns3::TypeIdValue::TypeIdValue(ns3::TypeId const & value) [constructor]
5097 cls.add_constructor([param('ns3::TypeId const &', 'value')])
5098 ## type-id.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::TypeIdValue::Copy() const [member function]
5099 cls.add_method('Copy',
5100 'ns3::Ptr< ns3::AttributeValue >',
5101 [],
5102 is_const=True, is_virtual=True)
5103 ## type-id.h (module 'core'): bool ns3::TypeIdValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
5104 cls.add_method('DeserializeFromString',
5105 'bool',
5106 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
5107 is_virtual=True)
5108 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeIdValue::Get() const [member function]
5109 cls.add_method('Get',
5110 'ns3::TypeId',
5111 [],
5112 is_const=True)
5113 ## type-id.h (module 'core'): std::string ns3::TypeIdValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
5114 cls.add_method('SerializeToString',
5115 'std::string',
5116 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
5117 is_const=True, is_virtual=True)
5118 ## type-id.h (module 'core'): void ns3::TypeIdValue::Set(ns3::TypeId const & value) [member function]
5119 cls.add_method('Set',
5120 'void',
5121 [param('ns3::TypeId const &', 'value')])
5122 return
5123
Alexander Afanasyev4975f732011-12-20 17:52:19 -08005124def register_Ns3Vector2DChecker_methods(root_module, cls):
5125 ## vector.h (module 'core'): ns3::Vector2DChecker::Vector2DChecker() [constructor]
5126 cls.add_constructor([])
5127 ## vector.h (module 'core'): ns3::Vector2DChecker::Vector2DChecker(ns3::Vector2DChecker const & arg0) [copy constructor]
5128 cls.add_constructor([param('ns3::Vector2DChecker const &', 'arg0')])
5129 return
5130
5131def register_Ns3Vector2DValue_methods(root_module, cls):
5132 ## vector.h (module 'core'): ns3::Vector2DValue::Vector2DValue() [constructor]
5133 cls.add_constructor([])
5134 ## vector.h (module 'core'): ns3::Vector2DValue::Vector2DValue(ns3::Vector2DValue const & arg0) [copy constructor]
5135 cls.add_constructor([param('ns3::Vector2DValue const &', 'arg0')])
5136 ## vector.h (module 'core'): ns3::Vector2DValue::Vector2DValue(ns3::Vector2D const & value) [constructor]
5137 cls.add_constructor([param('ns3::Vector2D const &', 'value')])
5138 ## vector.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::Vector2DValue::Copy() const [member function]
5139 cls.add_method('Copy',
5140 'ns3::Ptr< ns3::AttributeValue >',
5141 [],
5142 is_const=True, is_virtual=True)
5143 ## vector.h (module 'core'): bool ns3::Vector2DValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
5144 cls.add_method('DeserializeFromString',
5145 'bool',
5146 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
5147 is_virtual=True)
5148 ## vector.h (module 'core'): ns3::Vector2D ns3::Vector2DValue::Get() const [member function]
5149 cls.add_method('Get',
5150 'ns3::Vector2D',
5151 [],
5152 is_const=True)
5153 ## vector.h (module 'core'): std::string ns3::Vector2DValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
5154 cls.add_method('SerializeToString',
5155 'std::string',
5156 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
5157 is_const=True, is_virtual=True)
5158 ## vector.h (module 'core'): void ns3::Vector2DValue::Set(ns3::Vector2D const & value) [member function]
5159 cls.add_method('Set',
5160 'void',
5161 [param('ns3::Vector2D const &', 'value')])
5162 return
5163
5164def register_Ns3Vector3DChecker_methods(root_module, cls):
5165 ## vector.h (module 'core'): ns3::Vector3DChecker::Vector3DChecker() [constructor]
5166 cls.add_constructor([])
5167 ## vector.h (module 'core'): ns3::Vector3DChecker::Vector3DChecker(ns3::Vector3DChecker const & arg0) [copy constructor]
5168 cls.add_constructor([param('ns3::Vector3DChecker const &', 'arg0')])
5169 return
5170
5171def register_Ns3Vector3DValue_methods(root_module, cls):
5172 ## vector.h (module 'core'): ns3::Vector3DValue::Vector3DValue() [constructor]
5173 cls.add_constructor([])
5174 ## vector.h (module 'core'): ns3::Vector3DValue::Vector3DValue(ns3::Vector3DValue const & arg0) [copy constructor]
5175 cls.add_constructor([param('ns3::Vector3DValue const &', 'arg0')])
5176 ## vector.h (module 'core'): ns3::Vector3DValue::Vector3DValue(ns3::Vector3D const & value) [constructor]
5177 cls.add_constructor([param('ns3::Vector3D const &', 'value')])
5178 ## vector.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::Vector3DValue::Copy() const [member function]
5179 cls.add_method('Copy',
5180 'ns3::Ptr< ns3::AttributeValue >',
5181 [],
5182 is_const=True, is_virtual=True)
5183 ## vector.h (module 'core'): bool ns3::Vector3DValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
5184 cls.add_method('DeserializeFromString',
5185 'bool',
5186 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
5187 is_virtual=True)
5188 ## vector.h (module 'core'): ns3::Vector3D ns3::Vector3DValue::Get() const [member function]
5189 cls.add_method('Get',
5190 'ns3::Vector3D',
5191 [],
5192 is_const=True)
5193 ## vector.h (module 'core'): std::string ns3::Vector3DValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
5194 cls.add_method('SerializeToString',
5195 'std::string',
5196 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
5197 is_const=True, is_virtual=True)
5198 ## vector.h (module 'core'): void ns3::Vector3DValue::Set(ns3::Vector3D const & value) [member function]
5199 cls.add_method('Set',
5200 'void',
5201 [param('ns3::Vector3D const &', 'value')])
5202 return
5203
Alexander Afanasyev381dea02011-11-03 08:33:26 -07005204def register_Ns3AddressChecker_methods(root_module, cls):
5205 ## address.h (module 'network'): ns3::AddressChecker::AddressChecker() [constructor]
5206 cls.add_constructor([])
5207 ## address.h (module 'network'): ns3::AddressChecker::AddressChecker(ns3::AddressChecker const & arg0) [copy constructor]
5208 cls.add_constructor([param('ns3::AddressChecker const &', 'arg0')])
5209 return
5210
5211def register_Ns3AddressValue_methods(root_module, cls):
5212 ## address.h (module 'network'): ns3::AddressValue::AddressValue() [constructor]
5213 cls.add_constructor([])
5214 ## address.h (module 'network'): ns3::AddressValue::AddressValue(ns3::AddressValue const & arg0) [copy constructor]
5215 cls.add_constructor([param('ns3::AddressValue const &', 'arg0')])
5216 ## address.h (module 'network'): ns3::AddressValue::AddressValue(ns3::Address const & value) [constructor]
5217 cls.add_constructor([param('ns3::Address const &', 'value')])
5218 ## address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::AddressValue::Copy() const [member function]
5219 cls.add_method('Copy',
5220 'ns3::Ptr< ns3::AttributeValue >',
5221 [],
5222 is_const=True, is_virtual=True)
5223 ## address.h (module 'network'): bool ns3::AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
5224 cls.add_method('DeserializeFromString',
5225 'bool',
5226 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
5227 is_virtual=True)
5228 ## address.h (module 'network'): ns3::Address ns3::AddressValue::Get() const [member function]
5229 cls.add_method('Get',
5230 'ns3::Address',
5231 [],
5232 is_const=True)
5233 ## address.h (module 'network'): std::string ns3::AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
5234 cls.add_method('SerializeToString',
5235 'std::string',
5236 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
5237 is_const=True, is_virtual=True)
5238 ## address.h (module 'network'): void ns3::AddressValue::Set(ns3::Address const & value) [member function]
5239 cls.add_method('Set',
5240 'void',
5241 [param('ns3::Address const &', 'value')])
5242 return
5243
Alexander Afanasyev381dea02011-11-03 08:33:26 -07005244def register_functions(root_module):
5245 module = root_module
5246 ## ccnx-name-components.h (module 'NDNabstraction'): extern ns3::Ptr<ns3::AttributeChecker const> ns3::MakeCcnxNameComponentsChecker() [free function]
5247 module.add_function('MakeCcnxNameComponentsChecker',
5248 'ns3::Ptr< ns3::AttributeChecker const >',
5249 [])
Alexander Afanasyev381dea02011-11-03 08:33:26 -07005250 register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module)
5251 register_functions_ns3_internal(module.get_submodule('internal'), root_module)
5252 return
5253
Alexander Afanasyev381dea02011-11-03 08:33:26 -07005254def register_functions_ns3_FatalImpl(module, root_module):
5255 return
5256
5257def register_functions_ns3_internal(module, root_module):
5258 return
5259
5260def main():
5261 out = FileCodeSink(sys.stdout)
5262 root_module = module_init()
5263 register_types(root_module)
5264 register_methods(root_module)
5265 register_functions(root_module)
5266 root_module.generate(out)
5267
5268if __name__ == '__main__':
5269 main()
5270