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