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