blob: b00bf371ac0894fa64991787194f6dad9b8f57cf [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')
Alexander Afanasyev4975f732011-12-20 17:52:19 -080049 ## ccnx-app-helper.h (module 'NDNabstraction'): ns3::CcnxAppHelper [class]
50 module.add_class('CcnxAppHelper')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -080051 ## 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 Afanasyev53872ce2011-12-16 13:17:18 -080061 ## ccnx-header-helper.h (module 'NDNabstraction'): ns3::CcnxHeaderHelper [class]
62 module.add_class('CcnxHeaderHelper')
63 ## ccnx-header-helper.h (module 'NDNabstraction'): ns3::CcnxHeaderHelper::Type [enumeration]
64 module.add_enum('Type', ['INTEREST', 'CONTENT_OBJECT'], outer_class=root_module['ns3::CcnxHeaderHelper'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -080065 ## ccnx-interest-header.h (module 'NDNabstraction'): ns3::CcnxInterestHeaderException [class]
66 module.add_class('CcnxInterestHeaderException')
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -080067 ## ccnx-stack-helper.h (module 'NDNabstraction'): ns3::CcnxStackHelper [class]
68 module.add_class('CcnxStackHelper')
Alexander Afanasyevb3e4b852011-12-23 15:58:20 -080069 ## ccnx-trace-helper.h (module 'NDNabstraction'): ns3::CcnxTraceHelper [class]
70 module.add_class('CcnxTraceHelper')
Alexander Afanasyev53872ce2011-12-16 13:17:18 -080071 ## ccnx-header-helper.h (module 'NDNabstraction'): ns3::CcnxUnknownHeaderException [class]
72 module.add_class('CcnxUnknownHeaderException')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -080073 ## event-id.h (module 'core'): ns3::EventId [class]
74 module.add_class('EventId', import_from_module='ns.core')
75 ## ipv4-address.h (module 'network'): ns3::Ipv4Address [class]
76 module.add_class('Ipv4Address', import_from_module='ns.network')
77 ## ipv4-address.h (module 'network'): ns3::Ipv4Address [class]
78 root_module['ns3::Ipv4Address'].implicitly_converts_to(root_module['ns3::Address'])
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -080079 ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4InterfaceAddress [class]
80 module.add_class('Ipv4InterfaceAddress', import_from_module='ns.internet')
81 ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e [enumeration]
82 module.add_enum('InterfaceAddressScope_e', ['HOST', 'LINK', 'GLOBAL'], outer_class=root_module['ns3::Ipv4InterfaceAddress'], import_from_module='ns.internet')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -080083 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask [class]
84 module.add_class('Ipv4Mask', import_from_module='ns.network')
85 ## ipv6-address.h (module 'network'): ns3::Ipv6Address [class]
86 module.add_class('Ipv6Address', import_from_module='ns.network')
87 ## ipv6-address.h (module 'network'): ns3::Ipv6Address [class]
88 root_module['ns3::Ipv6Address'].implicitly_converts_to(root_module['ns3::Address'])
89 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix [class]
90 module.add_class('Ipv6Prefix', import_from_module='ns.network')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -080091 ## net-device-container.h (module 'network'): ns3::NetDeviceContainer [class]
92 module.add_class('NetDeviceContainer', import_from_module='ns.network')
93 ## node-container.h (module 'network'): ns3::NodeContainer [class]
94 module.add_class('NodeContainer', import_from_module='ns.network')
95 ## object-base.h (module 'core'): ns3::ObjectBase [class]
96 module.add_class('ObjectBase', allow_subclassing=True, import_from_module='ns.core')
97 ## object.h (module 'core'): ns3::ObjectDeleter [struct]
98 module.add_class('ObjectDeleter', import_from_module='ns.core')
99 ## object-factory.h (module 'core'): ns3::ObjectFactory [class]
100 module.add_class('ObjectFactory', import_from_module='ns.core')
101 ## packet-metadata.h (module 'network'): ns3::PacketMetadata [class]
102 module.add_class('PacketMetadata', import_from_module='ns.network')
103 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item [struct]
104 module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::PacketMetadata'])
105 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item [enumeration]
106 module.add_enum('', ['PAYLOAD', 'HEADER', 'TRAILER'], outer_class=root_module['ns3::PacketMetadata::Item'], import_from_module='ns.network')
107 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator [class]
108 module.add_class('ItemIterator', import_from_module='ns.network', outer_class=root_module['ns3::PacketMetadata'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800109 ## random-variable.h (module 'core'): ns3::RandomVariable [class]
110 module.add_class('RandomVariable', import_from_module='ns.core')
111 ## random-variable.h (module 'core'): ns3::SeedManager [class]
112 module.add_class('SeedManager', import_from_module='ns.core')
113 ## random-variable.h (module 'core'): ns3::SequentialVariable [class]
114 module.add_class('SequentialVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
115 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Chunk, ns3::ObjectBase, ns3::DefaultDeleter<ns3::Chunk> > [class]
116 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'))
117 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter> [class]
118 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter'], parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyev4975f732011-12-20 17:52:19 -0800119 ## spring-mobility-helper.h (module 'NDNabstraction'): ns3::SpringMobilityHelper [class]
120 module.add_class('SpringMobilityHelper')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800121 ## tag-buffer.h (module 'network'): ns3::TagBuffer [class]
122 module.add_class('TagBuffer', import_from_module='ns.network')
123 ## random-variable.h (module 'core'): ns3::TriangularVariable [class]
124 module.add_class('TriangularVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
125 ## type-id.h (module 'core'): ns3::TypeId [class]
126 module.add_class('TypeId', import_from_module='ns.core')
127 ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration]
128 module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core')
129 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct]
130 module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId'])
131 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct]
132 module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId'])
133 ## random-variable.h (module 'core'): ns3::UniformVariable [class]
134 module.add_class('UniformVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Alexander Afanasyev4975f732011-12-20 17:52:19 -0800135 ## vector.h (module 'core'): ns3::Vector2D [class]
136 module.add_class('Vector2D', import_from_module='ns.core')
137 ## vector.h (module 'core'): ns3::Vector3D [class]
138 module.add_class('Vector3D', import_from_module='ns.core')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800139 ## random-variable.h (module 'core'): ns3::WeibullVariable [class]
140 module.add_class('WeibullVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
141 ## random-variable.h (module 'core'): ns3::ZetaVariable [class]
142 module.add_class('ZetaVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
143 ## random-variable.h (module 'core'): ns3::ZipfVariable [class]
144 module.add_class('ZipfVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
145 ## empty.h (module 'core'): ns3::empty [class]
146 module.add_class('empty', import_from_module='ns.core')
147 ## int64x64-double.h (module 'core'): ns3::int64x64_t [class]
148 module.add_class('int64x64_t', import_from_module='ns.core')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800149 ## chunk.h (module 'network'): ns3::Chunk [class]
150 module.add_class('Chunk', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::Chunk, ns3::ObjectBase, ns3::DefaultDeleter<ns3::Chunk> >'])
151 ## random-variable.h (module 'core'): ns3::ConstantVariable [class]
152 module.add_class('ConstantVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
153 ## random-variable.h (module 'core'): ns3::DeterministicVariable [class]
154 module.add_class('DeterministicVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
155 ## random-variable.h (module 'core'): ns3::EmpiricalVariable [class]
156 module.add_class('EmpiricalVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
157 ## random-variable.h (module 'core'): ns3::ErlangVariable [class]
158 module.add_class('ErlangVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
159 ## random-variable.h (module 'core'): ns3::ExponentialVariable [class]
160 module.add_class('ExponentialVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
161 ## random-variable.h (module 'core'): ns3::GammaVariable [class]
162 module.add_class('GammaVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
163 ## header.h (module 'network'): ns3::Header [class]
164 module.add_class('Header', import_from_module='ns.network', parent=root_module['ns3::Chunk'])
165 ## random-variable.h (module 'core'): ns3::IntEmpiricalVariable [class]
166 module.add_class('IntEmpiricalVariable', import_from_module='ns.core', parent=root_module['ns3::EmpiricalVariable'])
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -0800167 ## ipv4-header.h (module 'internet'): ns3::Ipv4Header [class]
168 module.add_class('Ipv4Header', import_from_module='ns.internet', parent=root_module['ns3::Header'])
169 ## ipv4-header.h (module 'internet'): ns3::Ipv4Header::DscpType [enumeration]
170 module.add_enum('DscpType', ['DscpDefault', 'CS1', 'AF11', 'AF12', 'AF13', 'CS2', 'AF21', 'AF22', 'AF23', 'CS3', 'AF31', 'AF32', 'AF33', 'CS4', 'AF41', 'AF42', 'AF43', 'CS5', 'EF', 'CS6', 'CS7'], outer_class=root_module['ns3::Ipv4Header'], import_from_module='ns.internet')
171 ## ipv4-header.h (module 'internet'): ns3::Ipv4Header::EcnType [enumeration]
172 module.add_enum('EcnType', ['NotECT', 'ECT1', 'ECT0', 'CE'], outer_class=root_module['ns3::Ipv4Header'], import_from_module='ns.internet')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800173 ## random-variable.h (module 'core'): ns3::LogNormalVariable [class]
174 module.add_class('LogNormalVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
175 ## random-variable.h (module 'core'): ns3::NormalVariable [class]
176 module.add_class('NormalVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
177 ## object.h (module 'core'): ns3::Object [class]
178 module.add_class('Object', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >'])
179 ## object.h (module 'core'): ns3::Object::AggregateIterator [class]
180 module.add_class('AggregateIterator', import_from_module='ns.core', outer_class=root_module['ns3::Object'])
181 ## random-variable.h (module 'core'): ns3::ParetoVariable [class]
182 module.add_class('ParetoVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800183 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> > [class]
184 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'))
185 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> > [class]
186 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'))
187 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> > [class]
188 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'))
189 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> > [class]
190 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 Afanasyevb3e4b852011-12-23 15:58:20 -0800191 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CcnxAppTracer, ns3::empty, ns3::DefaultDeleter<ns3::CcnxAppTracer> > [class]
192 module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::CcnxAppTracer', 'ns3::empty', 'ns3::DefaultDeleter<ns3::CcnxAppTracer>'], 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 -0800193 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CcnxFaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::CcnxFaceContainer> > [class]
194 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'))
195 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CcnxFibEntry, ns3::empty, ns3::DefaultDeleter<ns3::CcnxFibEntry> > [class]
196 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'))
Alexander Afanasyevb3e4b852011-12-23 15:58:20 -0800197 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CcnxL3Tracer, ns3::empty, ns3::DefaultDeleter<ns3::CcnxL3Tracer> > [class]
198 module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::CcnxL3Tracer', 'ns3::empty', 'ns3::DefaultDeleter<ns3::CcnxL3Tracer>'], 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 -0800199 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CcnxNameComponents, ns3::empty, ns3::DefaultDeleter<ns3::CcnxNameComponents> > [class]
200 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 Afanasyeve9c9d722012-01-19 16:59:30 -0800201 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CcnxPathWeightTracer, ns3::empty, ns3::DefaultDeleter<ns3::CcnxPathWeightTracer> > [class]
202 module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::CcnxPathWeightTracer', 'ns3::empty', 'ns3::DefaultDeleter<ns3::CcnxPathWeightTracer>'], 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 -0800203 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> > [class]
204 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'))
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -0800205 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Ipv4AppTracer, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4AppTracer> > [class]
206 module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::Ipv4AppTracer', 'ns3::empty', 'ns3::DefaultDeleter<ns3::Ipv4AppTracer>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
207 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4MulticastRoute> > [class]
208 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Ipv4MulticastRoute', 'ns3::empty', 'ns3::DefaultDeleter<ns3::Ipv4MulticastRoute>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
209 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4Route> > [class]
210 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Ipv4Route', 'ns3::empty', 'ns3::DefaultDeleter<ns3::Ipv4Route>'], 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 -0800211 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> > [class]
212 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 -0800213 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> > [class]
214 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Packet', 'ns3::empty', 'ns3::DefaultDeleter<ns3::Packet>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyevae3b7c32011-12-13 13:20:06 -0800215 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter<ns3::TopologyReader> > [class]
216 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::TopologyReader', 'ns3::empty', 'ns3::DefaultDeleter<ns3::TopologyReader>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800217 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> > [class]
218 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 Afanasyeve9c9d722012-01-19 16:59:30 -0800219 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::WindowTracer, ns3::empty, ns3::DefaultDeleter<ns3::WindowTracer> > [class]
220 module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::WindowTracer', 'ns3::empty', 'ns3::DefaultDeleter<ns3::WindowTracer>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
221 ## socket.h (module 'network'): ns3::Socket [class]
222 module.add_class('Socket', import_from_module='ns.network', parent=root_module['ns3::Object'])
223 ## socket.h (module 'network'): ns3::Socket::SocketErrno [enumeration]
224 module.add_enum('SocketErrno', ['ERROR_NOTERROR', 'ERROR_ISCONN', 'ERROR_NOTCONN', 'ERROR_MSGSIZE', 'ERROR_AGAIN', 'ERROR_SHUTDOWN', 'ERROR_OPNOTSUPP', 'ERROR_AFNOSUPPORT', 'ERROR_INVAL', 'ERROR_BADF', 'ERROR_NOROUTETOHOST', 'ERROR_NODEV', 'ERROR_ADDRNOTAVAIL', 'ERROR_ADDRINUSE', 'SOCKET_ERRNO_LAST'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
225 ## socket.h (module 'network'): ns3::Socket::SocketType [enumeration]
226 module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
227 ## tag.h (module 'network'): ns3::Tag [class]
228 module.add_class('Tag', import_from_module='ns.network', parent=root_module['ns3::Object'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800229 ## nstime.h (module 'core'): ns3::Time [class]
230 module.add_class('Time', import_from_module='ns.core')
231 ## nstime.h (module 'core'): ns3::Time::Unit [enumeration]
232 module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core')
233 ## nstime.h (module 'core'): ns3::Time [class]
234 root_module['ns3::Time'].implicitly_converts_to(root_module['ns3::int64x64_t'])
235 ## topology-reader.h (module 'topology-read'): ns3::TopologyReader [class]
Alexander Afanasyevae3b7c32011-12-13 13:20:06 -0800236 module.add_class('TopologyReader', import_from_module='ns.topology_read', parent=root_module['ns3::SimpleRefCount< ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter<ns3::TopologyReader> >'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800237 ## topology-reader.h (module 'topology-read'): ns3::TopologyReader::Link [class]
238 module.add_class('Link', import_from_module='ns.topology_read', outer_class=root_module['ns3::TopologyReader'])
239 ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor [class]
240 module.add_class('TraceSourceAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
241 ## trailer.h (module 'network'): ns3::Trailer [class]
242 module.add_class('Trailer', import_from_module='ns.network', parent=root_module['ns3::Chunk'])
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -0800243 ## ccnx-path-stretch-tag.h (module 'NDNabstraction'): ns3::WeightsPathStretchTag [class]
244 module.add_class('WeightsPathStretchTag', parent=root_module['ns3::Tag'])
245 ## ccnx-path-stretch-tag.h (module 'NDNabstraction'): ns3::WeightsPathStretchTag::NodeWeightPair [struct]
246 module.add_class('NodeWeightPair', outer_class=root_module['ns3::WeightsPathStretchTag'])
247 ## ccnx-consumer-window-tracer.h (module 'NDNabstraction'): ns3::WindowTracer [class]
248 module.add_class('WindowTracer', parent=root_module['ns3::SimpleRefCount< ns3::WindowTracer, ns3::empty, ns3::DefaultDeleter<ns3::WindowTracer> >'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800249 ## annotated-topology-reader.h (module 'NDNabstraction'): ns3::AnnotatedTopologyReader [class]
250 module.add_class('AnnotatedTopologyReader', parent=root_module['ns3::TopologyReader'])
251 ## application.h (module 'network'): ns3::Application [class]
252 module.add_class('Application', import_from_module='ns.network', parent=root_module['ns3::Object'])
253 ## attribute.h (module 'core'): ns3::AttributeAccessor [class]
254 module.add_class('AttributeAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >'])
255 ## attribute.h (module 'core'): ns3::AttributeChecker [class]
256 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> >'])
257 ## attribute.h (module 'core'): ns3::AttributeValue [class]
258 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 Afanasyeve9c9d722012-01-19 16:59:30 -0800259 ## batches.h (module 'NDNabstraction'): ns3::BatchesChecker [class]
260 module.add_class('BatchesChecker', parent=root_module['ns3::AttributeChecker'])
261 ## batches.h (module 'NDNabstraction'): ns3::BatchesValue [class]
262 module.add_class('BatchesValue', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800263 ## callback.h (module 'core'): ns3::CallbackChecker [class]
264 module.add_class('CallbackChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
265 ## callback.h (module 'core'): ns3::CallbackImplBase [class]
266 module.add_class('CallbackImplBase', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >'])
267 ## callback.h (module 'core'): ns3::CallbackValue [class]
268 module.add_class('CallbackValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
269 ## ccnx.h (module 'NDNabstraction'): ns3::Ccnx [class]
270 module.add_class('Ccnx', parent=root_module['ns3::Object'])
Alexander Afanasyev8f5a9bb2011-12-18 19:49:02 -0800271 ## ccnx.h (module 'NDNabstraction'): ns3::Ccnx::DropReason [enumeration]
272 module.add_enum('DropReason', ['DUPLICATED', 'SUPPRESSED', 'NO_FACES', 'NON_DUPLICATED', 'AFTER_SATISFIED', 'UNSOLICITED'], outer_class=root_module['ns3::Ccnx'])
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -0800273 ## ccnx-app.h (module 'NDNabstraction'): ns3::CcnxApp [class]
274 module.add_class('CcnxApp', parent=root_module['ns3::Application'])
Alexander Afanasyevb3e4b852011-12-23 15:58:20 -0800275 ## ccnx-app-tracer.h (module 'NDNabstraction'): ns3::CcnxAppTracer [class]
276 module.add_class('CcnxAppTracer', parent=root_module['ns3::SimpleRefCount< ns3::CcnxAppTracer, ns3::empty, ns3::DefaultDeleter<ns3::CcnxAppTracer> >'])
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -0800277 ## ccnx-consumer-window-tracer.h (module 'NDNabstraction'): ns3::CcnxConsumerWindowTracer [class]
278 module.add_class('CcnxConsumerWindowTracer', parent=root_module['ns3::WindowTracer'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800279 ## ccnx-content-object-header.h (module 'NDNabstraction'): ns3::CcnxContentObjectHeader [class]
280 module.add_class('CcnxContentObjectHeader', parent=root_module['ns3::Header'])
281 ## ccnx-content-object-header.h (module 'NDNabstraction'): ns3::CcnxContentObjectTail [class]
282 module.add_class('CcnxContentObjectTail', parent=root_module['ns3::Trailer'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800283 ## ccnx-face.h (module 'NDNabstraction'): ns3::CcnxFace [class]
Alexander Afanasyev53872ce2011-12-16 13:17:18 -0800284 module.add_class('CcnxFace', parent=root_module['ns3::Object'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800285 ## ccnx-face-container.h (module 'NDNabstraction'): ns3::CcnxFaceContainer [class]
286 module.add_class('CcnxFaceContainer', parent=root_module['ns3::SimpleRefCount< ns3::CcnxFaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::CcnxFaceContainer> >'])
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -0800287 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFib [class]
288 module.add_class('CcnxFib', parent=root_module['ns3::Object'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800289 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibEntry [class]
290 module.add_class('CcnxFibEntry', parent=root_module['ns3::SimpleRefCount< ns3::CcnxFibEntry, ns3::empty, ns3::DefaultDeleter<ns3::CcnxFibEntry> >'])
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -0800291 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibEntry::NoFaces [class]
292 module.add_class('NoFaces', outer_class=root_module['ns3::CcnxFibEntry'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800293 ## ccnx-interest-header.h (module 'NDNabstraction'): ns3::CcnxInterestHeader [class]
294 module.add_class('CcnxInterestHeader', parent=root_module['ns3::Header'])
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -0800295 ## ccnx-interest-header.h (module 'NDNabstraction'): ns3::CcnxInterestHeader [enumeration]
296 module.add_enum('', ['NORMAL_INTEREST', 'NACK_LOOP', 'NACK_CONGESTION', 'NACK_GIVEUP_PIT'], outer_class=root_module['ns3::CcnxInterestHeader'])
Alexander Afanasyevb3e4b852011-12-23 15:58:20 -0800297 ## ccnx-l3-tracer.h (module 'NDNabstraction'): ns3::CcnxL3Tracer [class]
298 module.add_class('CcnxL3Tracer', parent=root_module['ns3::SimpleRefCount< ns3::CcnxL3Tracer, ns3::empty, ns3::DefaultDeleter<ns3::CcnxL3Tracer> >'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800299 ## ccnx-name-components.h (module 'NDNabstraction'): ns3::CcnxNameComponents [class]
300 module.add_class('CcnxNameComponents', parent=root_module['ns3::SimpleRefCount< ns3::CcnxNameComponents, ns3::empty, ns3::DefaultDeleter<ns3::CcnxNameComponents> >'])
301 ## ccnx-name-components.h (module 'NDNabstraction'): ns3::CcnxNameComponentsChecker [class]
302 module.add_class('CcnxNameComponentsChecker', parent=root_module['ns3::AttributeChecker'])
303 ## ccnx-name-components.h (module 'NDNabstraction'): ns3::CcnxNameComponentsValue [class]
304 module.add_class('CcnxNameComponentsValue', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -0800305 ## ccnx-path-weight-tracer.h (module 'NDNabstraction'): ns3::CcnxPathWeightTracer [class]
306 module.add_class('CcnxPathWeightTracer', parent=root_module['ns3::SimpleRefCount< ns3::CcnxPathWeightTracer, ns3::empty, ns3::DefaultDeleter<ns3::CcnxPathWeightTracer> >'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800307 ## attribute.h (module 'core'): ns3::EmptyAttributeValue [class]
308 module.add_class('EmptyAttributeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
309 ## event-impl.h (module 'core'): ns3::EventImpl [class]
310 module.add_class('EventImpl', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >'])
311 ## integer.h (module 'core'): ns3::IntegerValue [class]
312 module.add_class('IntegerValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -0800313 ## ipv4.h (module 'internet'): ns3::Ipv4 [class]
314 module.add_class('Ipv4', import_from_module='ns.internet', parent=root_module['ns3::Object'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800315 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker [class]
316 module.add_class('Ipv4AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
317 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue [class]
318 module.add_class('Ipv4AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -0800319 ## ipv4-app-tracer.h (module 'NDNabstraction'): ns3::Ipv4AppTracer [class]
320 module.add_class('Ipv4AppTracer', parent=root_module['ns3::SimpleRefCount< ns3::Ipv4AppTracer, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4AppTracer> >'])
321 ## ipv4-l4-protocol.h (module 'internet'): ns3::Ipv4L4Protocol [class]
322 module.add_class('Ipv4L4Protocol', import_from_module='ns.internet', parent=root_module['ns3::Object'])
323 ## ipv4-l4-protocol.h (module 'internet'): ns3::Ipv4L4Protocol::RxStatus [enumeration]
324 module.add_enum('RxStatus', ['RX_OK', 'RX_CSUM_FAILED', 'RX_ENDPOINT_CLOSED', 'RX_ENDPOINT_UNREACH'], outer_class=root_module['ns3::Ipv4L4Protocol'], import_from_module='ns.internet')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800325 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker [class]
326 module.add_class('Ipv4MaskChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
327 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue [class]
328 module.add_class('Ipv4MaskValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -0800329 ## ipv4-route.h (module 'internet'): ns3::Ipv4MulticastRoute [class]
330 module.add_class('Ipv4MulticastRoute', import_from_module='ns.internet', parent=root_module['ns3::SimpleRefCount< ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4MulticastRoute> >'])
331 ## ipv4-route.h (module 'internet'): ns3::Ipv4Route [class]
332 module.add_class('Ipv4Route', import_from_module='ns.internet', parent=root_module['ns3::SimpleRefCount< ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4Route> >'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800333 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker [class]
334 module.add_class('Ipv6AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
335 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue [class]
336 module.add_class('Ipv6AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
337 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker [class]
338 module.add_class('Ipv6PrefixChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
339 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue [class]
340 module.add_class('Ipv6PrefixValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyev4975f732011-12-20 17:52:19 -0800341 ## mobility-model.h (module 'mobility'): ns3::MobilityModel [class]
342 module.add_class('MobilityModel', import_from_module='ns.mobility', parent=root_module['ns3::Object'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800343 ## net-device.h (module 'network'): ns3::NetDevice [class]
344 module.add_class('NetDevice', import_from_module='ns.network', parent=root_module['ns3::Object'])
345 ## net-device.h (module 'network'): ns3::NetDevice::PacketType [enumeration]
346 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')
347 ## nix-vector.h (module 'network'): ns3::NixVector [class]
348 module.add_class('NixVector', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >'])
349 ## node.h (module 'network'): ns3::Node [class]
350 module.add_class('Node', import_from_module='ns.network', parent=root_module['ns3::Object'])
351 ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker [class]
352 module.add_class('ObjectFactoryChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
353 ## object-factory.h (module 'core'): ns3::ObjectFactoryValue [class]
354 module.add_class('ObjectFactoryValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800355 ## packet.h (module 'network'): ns3::Packet [class]
356 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 -0800357 ## random-variable.h (module 'core'): ns3::RandomVariableChecker [class]
358 module.add_class('RandomVariableChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
359 ## random-variable.h (module 'core'): ns3::RandomVariableValue [class]
360 module.add_class('RandomVariableValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -0800361 ## rocketfuel-weights-reader.h (module 'NDNabstraction'): ns3::RocketfuelWeightsReader [class]
Alexander Afanasyevae3b7c32011-12-13 13:20:06 -0800362 module.add_class('RocketfuelWeightsReader', parent=root_module['ns3::AnnotatedTopologyReader'])
363 ## rocketfuel-weights-reader.h (module 'NDNabstraction'): ns3::RocketfuelWeightsReader [enumeration]
Alexander Afanasyevb3e4b852011-12-23 15:58:20 -0800364 module.add_enum('', ['WEIGHTS', 'LATENCIES', 'POSITIONS'], outer_class=root_module['ns3::RocketfuelWeightsReader'])
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -0800365 ## socket.h (module 'network'): ns3::SocketAddressTag [class]
366 module.add_class('SocketAddressTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
367 ## socket.h (module 'network'): ns3::SocketIpTtlTag [class]
368 module.add_class('SocketIpTtlTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
369 ## socket.h (module 'network'): ns3::SocketSetDontFragmentTag [class]
370 module.add_class('SocketSetDontFragmentTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
Alexander Afanasyev4975f732011-12-20 17:52:19 -0800371 ## spring-mobility-model.h (module 'NDNabstraction'): ns3::SpringMobilityModel [class]
372 module.add_class('SpringMobilityModel', parent=root_module['ns3::MobilityModel'])
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -0800373 ## ccnx-consumer-window-tracer.h (module 'NDNabstraction'): ns3::TcpCongestionWindowTracer [class]
374 module.add_class('TcpCongestionWindowTracer', parent=root_module['ns3::WindowTracer'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800375 ## nstime.h (module 'core'): ns3::TimeChecker [class]
376 module.add_class('TimeChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
377 ## nstime.h (module 'core'): ns3::TimeValue [class]
378 module.add_class('TimeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
379 ## type-id.h (module 'core'): ns3::TypeIdChecker [class]
380 module.add_class('TypeIdChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
381 ## type-id.h (module 'core'): ns3::TypeIdValue [class]
382 module.add_class('TypeIdValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyev4975f732011-12-20 17:52:19 -0800383 ## vector.h (module 'core'): ns3::Vector2DChecker [class]
384 module.add_class('Vector2DChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
385 ## vector.h (module 'core'): ns3::Vector2DValue [class]
386 module.add_class('Vector2DValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
387 ## vector.h (module 'core'): ns3::Vector3DChecker [class]
388 module.add_class('Vector3DChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
389 ## vector.h (module 'core'): ns3::Vector3DValue [class]
390 module.add_class('Vector3DValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800391 ## address.h (module 'network'): ns3::AddressChecker [class]
392 module.add_class('AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
393 ## address.h (module 'network'): ns3::AddressValue [class]
394 module.add_class('AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800395 module.add_container('std::map< std::string, std::string >', ('std::string', 'std::string'), container_type='map')
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -0800396 module.add_container('std::list< ns3::WeightsPathStretchTag::NodeWeightPair >', 'ns3::WeightsPathStretchTag::NodeWeightPair', container_type='list')
397 module.add_container('std::list< ns3::TopologyReader::Link >', 'ns3::TopologyReader::Link', container_type='list')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800398 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')
399 module.add_container('std::list< std::string >', 'std::string', container_type='list')
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -0800400 module.add_container('std::map< unsigned int, unsigned int >', ('unsigned int', 'unsigned int'), container_type='map')
Alexander Afanasyev4975f732011-12-20 17:52:19 -0800401 typehandlers.add_type_alias('ns3::Vector3DChecker', 'ns3::VectorChecker')
402 typehandlers.add_type_alias('ns3::Vector3DChecker*', 'ns3::VectorChecker*')
403 typehandlers.add_type_alias('ns3::Vector3DChecker&', 'ns3::VectorChecker&')
404 module.add_typedef(root_module['ns3::Vector3DChecker'], 'VectorChecker')
405 typehandlers.add_type_alias('ns3::Vector3D', 'ns3::Vector')
406 typehandlers.add_type_alias('ns3::Vector3D*', 'ns3::Vector*')
407 typehandlers.add_type_alias('ns3::Vector3D&', 'ns3::Vector&')
408 module.add_typedef(root_module['ns3::Vector3D'], 'Vector')
409 typehandlers.add_type_alias('ns3::Vector3DValue', 'ns3::VectorValue')
410 typehandlers.add_type_alias('ns3::Vector3DValue*', 'ns3::VectorValue*')
411 typehandlers.add_type_alias('ns3::Vector3DValue&', 'ns3::VectorValue&')
412 module.add_typedef(root_module['ns3::Vector3DValue'], 'VectorValue')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800413
414 ## Register a nested module for the namespace FatalImpl
415
416 nested_module = module.add_cpp_namespace('FatalImpl')
417 register_types_ns3_FatalImpl(nested_module)
418
419
420 ## Register a nested module for the namespace internal
421
422 nested_module = module.add_cpp_namespace('internal')
423 register_types_ns3_internal(nested_module)
424
425
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800426def register_types_ns3_FatalImpl(module):
427 root_module = module.get_root()
428
429
430def register_types_ns3_internal(module):
431 root_module = module.get_root()
432
433
434def register_methods(root_module):
435 register_Ns3Address_methods(root_module, root_module['ns3::Address'])
436 register_Ns3ApplicationContainer_methods(root_module, root_module['ns3::ApplicationContainer'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800437 register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList'])
438 register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item'])
439 register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer'])
440 register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator'])
441 register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator'])
442 register_Ns3ByteTagIteratorItem_methods(root_module, root_module['ns3::ByteTagIterator::Item'])
443 register_Ns3ByteTagList_methods(root_module, root_module['ns3::ByteTagList'])
444 register_Ns3ByteTagListIterator_methods(root_module, root_module['ns3::ByteTagList::Iterator'])
445 register_Ns3ByteTagListIteratorItem_methods(root_module, root_module['ns3::ByteTagList::Iterator::Item'])
446 register_Ns3CallbackBase_methods(root_module, root_module['ns3::CallbackBase'])
Alexander Afanasyev4975f732011-12-20 17:52:19 -0800447 register_Ns3CcnxAppHelper_methods(root_module, root_module['ns3::CcnxAppHelper'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800448 register_Ns3CcnxContentObjectHeaderException_methods(root_module, root_module['ns3::CcnxContentObjectHeaderException'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800449 register_Ns3CcnxFibEntryContainer_methods(root_module, root_module['ns3::CcnxFibEntryContainer'])
450 register_Ns3CcnxFibFaceMetric_methods(root_module, root_module['ns3::CcnxFibFaceMetric'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800451 register_Ns3CcnxFibFaceMetricContainer_methods(root_module, root_module['ns3::CcnxFibFaceMetricContainer'])
Alexander Afanasyev53872ce2011-12-16 13:17:18 -0800452 register_Ns3CcnxHeaderHelper_methods(root_module, root_module['ns3::CcnxHeaderHelper'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800453 register_Ns3CcnxInterestHeaderException_methods(root_module, root_module['ns3::CcnxInterestHeaderException'])
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -0800454 register_Ns3CcnxStackHelper_methods(root_module, root_module['ns3::CcnxStackHelper'])
Alexander Afanasyevb3e4b852011-12-23 15:58:20 -0800455 register_Ns3CcnxTraceHelper_methods(root_module, root_module['ns3::CcnxTraceHelper'])
Alexander Afanasyev53872ce2011-12-16 13:17:18 -0800456 register_Ns3CcnxUnknownHeaderException_methods(root_module, root_module['ns3::CcnxUnknownHeaderException'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800457 register_Ns3EventId_methods(root_module, root_module['ns3::EventId'])
458 register_Ns3Ipv4Address_methods(root_module, root_module['ns3::Ipv4Address'])
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -0800459 register_Ns3Ipv4InterfaceAddress_methods(root_module, root_module['ns3::Ipv4InterfaceAddress'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800460 register_Ns3Ipv4Mask_methods(root_module, root_module['ns3::Ipv4Mask'])
461 register_Ns3Ipv6Address_methods(root_module, root_module['ns3::Ipv6Address'])
462 register_Ns3Ipv6Prefix_methods(root_module, root_module['ns3::Ipv6Prefix'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800463 register_Ns3NetDeviceContainer_methods(root_module, root_module['ns3::NetDeviceContainer'])
464 register_Ns3NodeContainer_methods(root_module, root_module['ns3::NodeContainer'])
465 register_Ns3ObjectBase_methods(root_module, root_module['ns3::ObjectBase'])
466 register_Ns3ObjectDeleter_methods(root_module, root_module['ns3::ObjectDeleter'])
467 register_Ns3ObjectFactory_methods(root_module, root_module['ns3::ObjectFactory'])
468 register_Ns3PacketMetadata_methods(root_module, root_module['ns3::PacketMetadata'])
469 register_Ns3PacketMetadataItem_methods(root_module, root_module['ns3::PacketMetadata::Item'])
470 register_Ns3PacketMetadataItemIterator_methods(root_module, root_module['ns3::PacketMetadata::ItemIterator'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800471 register_Ns3RandomVariable_methods(root_module, root_module['ns3::RandomVariable'])
472 register_Ns3SeedManager_methods(root_module, root_module['ns3::SeedManager'])
473 register_Ns3SequentialVariable_methods(root_module, root_module['ns3::SequentialVariable'])
474 register_Ns3SimpleRefCount__Ns3Chunk_Ns3ObjectBase_Ns3DefaultDeleter__lt__ns3Chunk__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Chunk, ns3::ObjectBase, ns3::DefaultDeleter<ns3::Chunk> >'])
475 register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >'])
Alexander Afanasyev4975f732011-12-20 17:52:19 -0800476 register_Ns3SpringMobilityHelper_methods(root_module, root_module['ns3::SpringMobilityHelper'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800477 register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer'])
478 register_Ns3TriangularVariable_methods(root_module, root_module['ns3::TriangularVariable'])
479 register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId'])
480 register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation'])
481 register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation'])
482 register_Ns3UniformVariable_methods(root_module, root_module['ns3::UniformVariable'])
Alexander Afanasyev4975f732011-12-20 17:52:19 -0800483 register_Ns3Vector2D_methods(root_module, root_module['ns3::Vector2D'])
484 register_Ns3Vector3D_methods(root_module, root_module['ns3::Vector3D'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800485 register_Ns3WeibullVariable_methods(root_module, root_module['ns3::WeibullVariable'])
486 register_Ns3ZetaVariable_methods(root_module, root_module['ns3::ZetaVariable'])
487 register_Ns3ZipfVariable_methods(root_module, root_module['ns3::ZipfVariable'])
488 register_Ns3Empty_methods(root_module, root_module['ns3::empty'])
489 register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800490 register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk'])
491 register_Ns3ConstantVariable_methods(root_module, root_module['ns3::ConstantVariable'])
492 register_Ns3DeterministicVariable_methods(root_module, root_module['ns3::DeterministicVariable'])
493 register_Ns3EmpiricalVariable_methods(root_module, root_module['ns3::EmpiricalVariable'])
494 register_Ns3ErlangVariable_methods(root_module, root_module['ns3::ErlangVariable'])
495 register_Ns3ExponentialVariable_methods(root_module, root_module['ns3::ExponentialVariable'])
496 register_Ns3GammaVariable_methods(root_module, root_module['ns3::GammaVariable'])
497 register_Ns3Header_methods(root_module, root_module['ns3::Header'])
498 register_Ns3IntEmpiricalVariable_methods(root_module, root_module['ns3::IntEmpiricalVariable'])
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -0800499 register_Ns3Ipv4Header_methods(root_module, root_module['ns3::Ipv4Header'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800500 register_Ns3LogNormalVariable_methods(root_module, root_module['ns3::LogNormalVariable'])
501 register_Ns3NormalVariable_methods(root_module, root_module['ns3::NormalVariable'])
502 register_Ns3Object_methods(root_module, root_module['ns3::Object'])
503 register_Ns3ObjectAggregateIterator_methods(root_module, root_module['ns3::Object::AggregateIterator'])
504 register_Ns3ParetoVariable_methods(root_module, root_module['ns3::ParetoVariable'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800505 register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >'])
506 register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeChecker__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >'])
507 register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >'])
508 register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >'])
Alexander Afanasyevb3e4b852011-12-23 15:58:20 -0800509 register_Ns3SimpleRefCount__Ns3CcnxAppTracer_Ns3Empty_Ns3DefaultDeleter__lt__ns3CcnxAppTracer__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::CcnxAppTracer, ns3::empty, ns3::DefaultDeleter<ns3::CcnxAppTracer> >'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800510 register_Ns3SimpleRefCount__Ns3CcnxFaceContainer_Ns3Empty_Ns3DefaultDeleter__lt__ns3CcnxFaceContainer__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::CcnxFaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::CcnxFaceContainer> >'])
511 register_Ns3SimpleRefCount__Ns3CcnxFibEntry_Ns3Empty_Ns3DefaultDeleter__lt__ns3CcnxFibEntry__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::CcnxFibEntry, ns3::empty, ns3::DefaultDeleter<ns3::CcnxFibEntry> >'])
Alexander Afanasyevb3e4b852011-12-23 15:58:20 -0800512 register_Ns3SimpleRefCount__Ns3CcnxL3Tracer_Ns3Empty_Ns3DefaultDeleter__lt__ns3CcnxL3Tracer__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::CcnxL3Tracer, ns3::empty, ns3::DefaultDeleter<ns3::CcnxL3Tracer> >'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800513 register_Ns3SimpleRefCount__Ns3CcnxNameComponents_Ns3Empty_Ns3DefaultDeleter__lt__ns3CcnxNameComponents__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::CcnxNameComponents, ns3::empty, ns3::DefaultDeleter<ns3::CcnxNameComponents> >'])
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -0800514 register_Ns3SimpleRefCount__Ns3CcnxPathWeightTracer_Ns3Empty_Ns3DefaultDeleter__lt__ns3CcnxPathWeightTracer__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::CcnxPathWeightTracer, ns3::empty, ns3::DefaultDeleter<ns3::CcnxPathWeightTracer> >'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800515 register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >'])
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -0800516 register_Ns3SimpleRefCount__Ns3Ipv4AppTracer_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv4AppTracer__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Ipv4AppTracer, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4AppTracer> >'])
517 register_Ns3SimpleRefCount__Ns3Ipv4MulticastRoute_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv4MulticastRoute__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4MulticastRoute> >'])
518 register_Ns3SimpleRefCount__Ns3Ipv4Route_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv4Route__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4Route> >'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800519 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 -0800520 register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >'])
Alexander Afanasyevae3b7c32011-12-13 13:20:06 -0800521 register_Ns3SimpleRefCount__Ns3TopologyReader_Ns3Empty_Ns3DefaultDeleter__lt__ns3TopologyReader__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter<ns3::TopologyReader> >'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800522 register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -0800523 register_Ns3SimpleRefCount__Ns3WindowTracer_Ns3Empty_Ns3DefaultDeleter__lt__ns3WindowTracer__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::WindowTracer, ns3::empty, ns3::DefaultDeleter<ns3::WindowTracer> >'])
524 register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
525 register_Ns3Tag_methods(root_module, root_module['ns3::Tag'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800526 register_Ns3Time_methods(root_module, root_module['ns3::Time'])
527 register_Ns3TopologyReader_methods(root_module, root_module['ns3::TopologyReader'])
528 register_Ns3TopologyReaderLink_methods(root_module, root_module['ns3::TopologyReader::Link'])
529 register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor'])
530 register_Ns3Trailer_methods(root_module, root_module['ns3::Trailer'])
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -0800531 register_Ns3WeightsPathStretchTag_methods(root_module, root_module['ns3::WeightsPathStretchTag'])
532 register_Ns3WeightsPathStretchTagNodeWeightPair_methods(root_module, root_module['ns3::WeightsPathStretchTag::NodeWeightPair'])
533 register_Ns3WindowTracer_methods(root_module, root_module['ns3::WindowTracer'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800534 register_Ns3AnnotatedTopologyReader_methods(root_module, root_module['ns3::AnnotatedTopologyReader'])
535 register_Ns3Application_methods(root_module, root_module['ns3::Application'])
536 register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor'])
537 register_Ns3AttributeChecker_methods(root_module, root_module['ns3::AttributeChecker'])
538 register_Ns3AttributeValue_methods(root_module, root_module['ns3::AttributeValue'])
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -0800539 register_Ns3BatchesChecker_methods(root_module, root_module['ns3::BatchesChecker'])
540 register_Ns3BatchesValue_methods(root_module, root_module['ns3::BatchesValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800541 register_Ns3CallbackChecker_methods(root_module, root_module['ns3::CallbackChecker'])
542 register_Ns3CallbackImplBase_methods(root_module, root_module['ns3::CallbackImplBase'])
543 register_Ns3CallbackValue_methods(root_module, root_module['ns3::CallbackValue'])
544 register_Ns3Ccnx_methods(root_module, root_module['ns3::Ccnx'])
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -0800545 register_Ns3CcnxApp_methods(root_module, root_module['ns3::CcnxApp'])
Alexander Afanasyevb3e4b852011-12-23 15:58:20 -0800546 register_Ns3CcnxAppTracer_methods(root_module, root_module['ns3::CcnxAppTracer'])
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -0800547 register_Ns3CcnxConsumerWindowTracer_methods(root_module, root_module['ns3::CcnxConsumerWindowTracer'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800548 register_Ns3CcnxContentObjectHeader_methods(root_module, root_module['ns3::CcnxContentObjectHeader'])
549 register_Ns3CcnxContentObjectTail_methods(root_module, root_module['ns3::CcnxContentObjectTail'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800550 register_Ns3CcnxFace_methods(root_module, root_module['ns3::CcnxFace'])
551 register_Ns3CcnxFaceContainer_methods(root_module, root_module['ns3::CcnxFaceContainer'])
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -0800552 register_Ns3CcnxFib_methods(root_module, root_module['ns3::CcnxFib'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800553 register_Ns3CcnxFibEntry_methods(root_module, root_module['ns3::CcnxFibEntry'])
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -0800554 register_Ns3CcnxFibEntryNoFaces_methods(root_module, root_module['ns3::CcnxFibEntry::NoFaces'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800555 register_Ns3CcnxInterestHeader_methods(root_module, root_module['ns3::CcnxInterestHeader'])
Alexander Afanasyevb3e4b852011-12-23 15:58:20 -0800556 register_Ns3CcnxL3Tracer_methods(root_module, root_module['ns3::CcnxL3Tracer'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800557 register_Ns3CcnxNameComponents_methods(root_module, root_module['ns3::CcnxNameComponents'])
558 register_Ns3CcnxNameComponentsChecker_methods(root_module, root_module['ns3::CcnxNameComponentsChecker'])
559 register_Ns3CcnxNameComponentsValue_methods(root_module, root_module['ns3::CcnxNameComponentsValue'])
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -0800560 register_Ns3CcnxPathWeightTracer_methods(root_module, root_module['ns3::CcnxPathWeightTracer'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800561 register_Ns3EmptyAttributeValue_methods(root_module, root_module['ns3::EmptyAttributeValue'])
562 register_Ns3EventImpl_methods(root_module, root_module['ns3::EventImpl'])
563 register_Ns3IntegerValue_methods(root_module, root_module['ns3::IntegerValue'])
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -0800564 register_Ns3Ipv4_methods(root_module, root_module['ns3::Ipv4'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800565 register_Ns3Ipv4AddressChecker_methods(root_module, root_module['ns3::Ipv4AddressChecker'])
566 register_Ns3Ipv4AddressValue_methods(root_module, root_module['ns3::Ipv4AddressValue'])
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -0800567 register_Ns3Ipv4AppTracer_methods(root_module, root_module['ns3::Ipv4AppTracer'])
568 register_Ns3Ipv4L4Protocol_methods(root_module, root_module['ns3::Ipv4L4Protocol'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800569 register_Ns3Ipv4MaskChecker_methods(root_module, root_module['ns3::Ipv4MaskChecker'])
570 register_Ns3Ipv4MaskValue_methods(root_module, root_module['ns3::Ipv4MaskValue'])
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -0800571 register_Ns3Ipv4MulticastRoute_methods(root_module, root_module['ns3::Ipv4MulticastRoute'])
572 register_Ns3Ipv4Route_methods(root_module, root_module['ns3::Ipv4Route'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800573 register_Ns3Ipv6AddressChecker_methods(root_module, root_module['ns3::Ipv6AddressChecker'])
574 register_Ns3Ipv6AddressValue_methods(root_module, root_module['ns3::Ipv6AddressValue'])
575 register_Ns3Ipv6PrefixChecker_methods(root_module, root_module['ns3::Ipv6PrefixChecker'])
576 register_Ns3Ipv6PrefixValue_methods(root_module, root_module['ns3::Ipv6PrefixValue'])
Alexander Afanasyev4975f732011-12-20 17:52:19 -0800577 register_Ns3MobilityModel_methods(root_module, root_module['ns3::MobilityModel'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800578 register_Ns3NetDevice_methods(root_module, root_module['ns3::NetDevice'])
579 register_Ns3NixVector_methods(root_module, root_module['ns3::NixVector'])
580 register_Ns3Node_methods(root_module, root_module['ns3::Node'])
581 register_Ns3ObjectFactoryChecker_methods(root_module, root_module['ns3::ObjectFactoryChecker'])
582 register_Ns3ObjectFactoryValue_methods(root_module, root_module['ns3::ObjectFactoryValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800583 register_Ns3Packet_methods(root_module, root_module['ns3::Packet'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800584 register_Ns3RandomVariableChecker_methods(root_module, root_module['ns3::RandomVariableChecker'])
585 register_Ns3RandomVariableValue_methods(root_module, root_module['ns3::RandomVariableValue'])
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -0800586 register_Ns3RocketfuelWeightsReader_methods(root_module, root_module['ns3::RocketfuelWeightsReader'])
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -0800587 register_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag'])
588 register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
589 register_Ns3SocketSetDontFragmentTag_methods(root_module, root_module['ns3::SocketSetDontFragmentTag'])
Alexander Afanasyev4975f732011-12-20 17:52:19 -0800590 register_Ns3SpringMobilityModel_methods(root_module, root_module['ns3::SpringMobilityModel'])
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -0800591 register_Ns3TcpCongestionWindowTracer_methods(root_module, root_module['ns3::TcpCongestionWindowTracer'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800592 register_Ns3TimeChecker_methods(root_module, root_module['ns3::TimeChecker'])
593 register_Ns3TimeValue_methods(root_module, root_module['ns3::TimeValue'])
594 register_Ns3TypeIdChecker_methods(root_module, root_module['ns3::TypeIdChecker'])
595 register_Ns3TypeIdValue_methods(root_module, root_module['ns3::TypeIdValue'])
Alexander Afanasyev4975f732011-12-20 17:52:19 -0800596 register_Ns3Vector2DChecker_methods(root_module, root_module['ns3::Vector2DChecker'])
597 register_Ns3Vector2DValue_methods(root_module, root_module['ns3::Vector2DValue'])
598 register_Ns3Vector3DChecker_methods(root_module, root_module['ns3::Vector3DChecker'])
599 register_Ns3Vector3DValue_methods(root_module, root_module['ns3::Vector3DValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800600 register_Ns3AddressChecker_methods(root_module, root_module['ns3::AddressChecker'])
601 register_Ns3AddressValue_methods(root_module, root_module['ns3::AddressValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800602 return
603
604def register_Ns3Address_methods(root_module, cls):
605 cls.add_binary_comparison_operator('!=')
606 cls.add_output_stream_operator()
607 cls.add_binary_comparison_operator('==')
608 cls.add_binary_comparison_operator('<')
609 ## address.h (module 'network'): ns3::Address::Address() [constructor]
610 cls.add_constructor([])
611 ## address.h (module 'network'): ns3::Address::Address(uint8_t type, uint8_t const * buffer, uint8_t len) [constructor]
612 cls.add_constructor([param('uint8_t', 'type'), param('uint8_t const *', 'buffer'), param('uint8_t', 'len')])
613 ## address.h (module 'network'): ns3::Address::Address(ns3::Address const & address) [copy constructor]
614 cls.add_constructor([param('ns3::Address const &', 'address')])
615 ## address.h (module 'network'): bool ns3::Address::CheckCompatible(uint8_t type, uint8_t len) const [member function]
616 cls.add_method('CheckCompatible',
617 'bool',
618 [param('uint8_t', 'type'), param('uint8_t', 'len')],
619 is_const=True)
620 ## address.h (module 'network'): uint32_t ns3::Address::CopyAllFrom(uint8_t const * buffer, uint8_t len) [member function]
621 cls.add_method('CopyAllFrom',
622 'uint32_t',
623 [param('uint8_t const *', 'buffer'), param('uint8_t', 'len')])
624 ## address.h (module 'network'): uint32_t ns3::Address::CopyAllTo(uint8_t * buffer, uint8_t len) const [member function]
625 cls.add_method('CopyAllTo',
626 'uint32_t',
627 [param('uint8_t *', 'buffer'), param('uint8_t', 'len')],
628 is_const=True)
629 ## address.h (module 'network'): uint32_t ns3::Address::CopyFrom(uint8_t const * buffer, uint8_t len) [member function]
630 cls.add_method('CopyFrom',
631 'uint32_t',
632 [param('uint8_t const *', 'buffer'), param('uint8_t', 'len')])
633 ## address.h (module 'network'): uint32_t ns3::Address::CopyTo(uint8_t * buffer) const [member function]
634 cls.add_method('CopyTo',
635 'uint32_t',
636 [param('uint8_t *', 'buffer')],
637 is_const=True)
638 ## address.h (module 'network'): void ns3::Address::Deserialize(ns3::TagBuffer buffer) [member function]
639 cls.add_method('Deserialize',
640 'void',
641 [param('ns3::TagBuffer', 'buffer')])
642 ## address.h (module 'network'): uint8_t ns3::Address::GetLength() const [member function]
643 cls.add_method('GetLength',
644 'uint8_t',
645 [],
646 is_const=True)
647 ## address.h (module 'network'): uint32_t ns3::Address::GetSerializedSize() const [member function]
648 cls.add_method('GetSerializedSize',
649 'uint32_t',
650 [],
651 is_const=True)
652 ## address.h (module 'network'): bool ns3::Address::IsInvalid() const [member function]
653 cls.add_method('IsInvalid',
654 'bool',
655 [],
656 is_const=True)
657 ## address.h (module 'network'): bool ns3::Address::IsMatchingType(uint8_t type) const [member function]
658 cls.add_method('IsMatchingType',
659 'bool',
660 [param('uint8_t', 'type')],
661 is_const=True)
662 ## address.h (module 'network'): static uint8_t ns3::Address::Register() [member function]
663 cls.add_method('Register',
664 'uint8_t',
665 [],
666 is_static=True)
667 ## address.h (module 'network'): void ns3::Address::Serialize(ns3::TagBuffer buffer) const [member function]
668 cls.add_method('Serialize',
669 'void',
670 [param('ns3::TagBuffer', 'buffer')],
671 is_const=True)
672 return
673
674def register_Ns3ApplicationContainer_methods(root_module, cls):
675 ## application-container.h (module 'network'): ns3::ApplicationContainer::ApplicationContainer(ns3::ApplicationContainer const & arg0) [copy constructor]
676 cls.add_constructor([param('ns3::ApplicationContainer const &', 'arg0')])
677 ## application-container.h (module 'network'): ns3::ApplicationContainer::ApplicationContainer() [constructor]
678 cls.add_constructor([])
679 ## application-container.h (module 'network'): ns3::ApplicationContainer::ApplicationContainer(ns3::Ptr<ns3::Application> application) [constructor]
680 cls.add_constructor([param('ns3::Ptr< ns3::Application >', 'application')])
681 ## application-container.h (module 'network'): ns3::ApplicationContainer::ApplicationContainer(std::string name) [constructor]
682 cls.add_constructor([param('std::string', 'name')])
683 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Add(ns3::ApplicationContainer other) [member function]
684 cls.add_method('Add',
685 'void',
686 [param('ns3::ApplicationContainer', 'other')])
687 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Add(ns3::Ptr<ns3::Application> application) [member function]
688 cls.add_method('Add',
689 'void',
690 [param('ns3::Ptr< ns3::Application >', 'application')])
691 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Add(std::string name) [member function]
692 cls.add_method('Add',
693 'void',
694 [param('std::string', 'name')])
695 ## 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]
696 cls.add_method('Begin',
697 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Application > const, std::vector< ns3::Ptr< ns3::Application > > >',
698 [],
699 is_const=True)
700 ## 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]
701 cls.add_method('End',
702 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Application > const, std::vector< ns3::Ptr< ns3::Application > > >',
703 [],
704 is_const=True)
705 ## application-container.h (module 'network'): ns3::Ptr<ns3::Application> ns3::ApplicationContainer::Get(uint32_t i) const [member function]
706 cls.add_method('Get',
707 'ns3::Ptr< ns3::Application >',
708 [param('uint32_t', 'i')],
709 is_const=True)
710 ## application-container.h (module 'network'): uint32_t ns3::ApplicationContainer::GetN() const [member function]
711 cls.add_method('GetN',
712 'uint32_t',
713 [],
714 is_const=True)
715 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Start(ns3::Time start) [member function]
716 cls.add_method('Start',
717 'void',
718 [param('ns3::Time', 'start')])
719 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Stop(ns3::Time stop) [member function]
720 cls.add_method('Stop',
721 'void',
722 [param('ns3::Time', 'stop')])
723 return
724
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800725def register_Ns3AttributeConstructionList_methods(root_module, cls):
726 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor]
727 cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')])
728 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor]
729 cls.add_constructor([])
730 ## 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]
731 cls.add_method('Add',
732 'void',
733 [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')])
734 ## attribute-construction-list.h (module 'core'): std::_List_const_iterator<ns3::AttributeConstructionList::Item> ns3::AttributeConstructionList::Begin() const [member function]
735 cls.add_method('Begin',
736 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >',
737 [],
738 is_const=True)
739 ## attribute-construction-list.h (module 'core'): std::_List_const_iterator<ns3::AttributeConstructionList::Item> ns3::AttributeConstructionList::End() const [member function]
740 cls.add_method('End',
741 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >',
742 [],
743 is_const=True)
744 ## attribute-construction-list.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeConstructionList::Find(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
745 cls.add_method('Find',
746 'ns3::Ptr< ns3::AttributeValue >',
747 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
748 is_const=True)
749 return
750
751def register_Ns3AttributeConstructionListItem_methods(root_module, cls):
752 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor]
753 cls.add_constructor([])
754 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor]
755 cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')])
756 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable]
757 cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False)
758 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable]
759 cls.add_instance_attribute('name', 'std::string', is_const=False)
760 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable]
761 cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False)
762 return
763
764def register_Ns3Buffer_methods(root_module, cls):
765 ## buffer.h (module 'network'): ns3::Buffer::Buffer() [constructor]
766 cls.add_constructor([])
767 ## buffer.h (module 'network'): ns3::Buffer::Buffer(uint32_t dataSize) [constructor]
768 cls.add_constructor([param('uint32_t', 'dataSize')])
769 ## buffer.h (module 'network'): ns3::Buffer::Buffer(uint32_t dataSize, bool initialize) [constructor]
770 cls.add_constructor([param('uint32_t', 'dataSize'), param('bool', 'initialize')])
771 ## buffer.h (module 'network'): ns3::Buffer::Buffer(ns3::Buffer const & o) [copy constructor]
772 cls.add_constructor([param('ns3::Buffer const &', 'o')])
773 ## buffer.h (module 'network'): bool ns3::Buffer::AddAtEnd(uint32_t end) [member function]
774 cls.add_method('AddAtEnd',
775 'bool',
776 [param('uint32_t', 'end')])
777 ## buffer.h (module 'network'): void ns3::Buffer::AddAtEnd(ns3::Buffer const & o) [member function]
778 cls.add_method('AddAtEnd',
779 'void',
780 [param('ns3::Buffer const &', 'o')])
781 ## buffer.h (module 'network'): bool ns3::Buffer::AddAtStart(uint32_t start) [member function]
782 cls.add_method('AddAtStart',
783 'bool',
784 [param('uint32_t', 'start')])
785 ## buffer.h (module 'network'): ns3::Buffer::Iterator ns3::Buffer::Begin() const [member function]
786 cls.add_method('Begin',
787 'ns3::Buffer::Iterator',
788 [],
789 is_const=True)
790 ## buffer.h (module 'network'): void ns3::Buffer::CopyData(std::ostream * os, uint32_t size) const [member function]
791 cls.add_method('CopyData',
792 'void',
793 [param('std::ostream *', 'os'), param('uint32_t', 'size')],
794 is_const=True)
795 ## buffer.h (module 'network'): uint32_t ns3::Buffer::CopyData(uint8_t * buffer, uint32_t size) const [member function]
796 cls.add_method('CopyData',
797 'uint32_t',
798 [param('uint8_t *', 'buffer'), param('uint32_t', 'size')],
799 is_const=True)
800 ## buffer.h (module 'network'): ns3::Buffer ns3::Buffer::CreateFragment(uint32_t start, uint32_t length) const [member function]
801 cls.add_method('CreateFragment',
802 'ns3::Buffer',
803 [param('uint32_t', 'start'), param('uint32_t', 'length')],
804 is_const=True)
805 ## buffer.h (module 'network'): ns3::Buffer ns3::Buffer::CreateFullCopy() const [member function]
806 cls.add_method('CreateFullCopy',
807 'ns3::Buffer',
808 [],
809 is_const=True)
810 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Deserialize(uint8_t const * buffer, uint32_t size) [member function]
811 cls.add_method('Deserialize',
812 'uint32_t',
813 [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
814 ## buffer.h (module 'network'): ns3::Buffer::Iterator ns3::Buffer::End() const [member function]
815 cls.add_method('End',
816 'ns3::Buffer::Iterator',
817 [],
818 is_const=True)
819 ## buffer.h (module 'network'): int32_t ns3::Buffer::GetCurrentEndOffset() const [member function]
820 cls.add_method('GetCurrentEndOffset',
821 'int32_t',
822 [],
823 is_const=True)
824 ## buffer.h (module 'network'): int32_t ns3::Buffer::GetCurrentStartOffset() const [member function]
825 cls.add_method('GetCurrentStartOffset',
826 'int32_t',
827 [],
828 is_const=True)
829 ## buffer.h (module 'network'): uint32_t ns3::Buffer::GetSerializedSize() const [member function]
830 cls.add_method('GetSerializedSize',
831 'uint32_t',
832 [],
833 is_const=True)
834 ## buffer.h (module 'network'): uint32_t ns3::Buffer::GetSize() const [member function]
835 cls.add_method('GetSize',
836 'uint32_t',
837 [],
838 is_const=True)
839 ## buffer.h (module 'network'): uint8_t const * ns3::Buffer::PeekData() const [member function]
840 cls.add_method('PeekData',
841 'uint8_t const *',
842 [],
843 is_const=True)
844 ## buffer.h (module 'network'): void ns3::Buffer::RemoveAtEnd(uint32_t end) [member function]
845 cls.add_method('RemoveAtEnd',
846 'void',
847 [param('uint32_t', 'end')])
848 ## buffer.h (module 'network'): void ns3::Buffer::RemoveAtStart(uint32_t start) [member function]
849 cls.add_method('RemoveAtStart',
850 'void',
851 [param('uint32_t', 'start')])
852 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
853 cls.add_method('Serialize',
854 'uint32_t',
855 [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')],
856 is_const=True)
857 return
858
859def register_Ns3BufferIterator_methods(root_module, cls):
860 ## buffer.h (module 'network'): ns3::Buffer::Iterator::Iterator(ns3::Buffer::Iterator const & arg0) [copy constructor]
861 cls.add_constructor([param('ns3::Buffer::Iterator const &', 'arg0')])
862 ## buffer.h (module 'network'): ns3::Buffer::Iterator::Iterator() [constructor]
863 cls.add_constructor([])
864 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::CalculateIpChecksum(uint16_t size) [member function]
865 cls.add_method('CalculateIpChecksum',
866 'uint16_t',
867 [param('uint16_t', 'size')])
868 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::CalculateIpChecksum(uint16_t size, uint32_t initialChecksum) [member function]
869 cls.add_method('CalculateIpChecksum',
870 'uint16_t',
871 [param('uint16_t', 'size'), param('uint32_t', 'initialChecksum')])
872 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::GetDistanceFrom(ns3::Buffer::Iterator const & o) const [member function]
873 cls.add_method('GetDistanceFrom',
874 'uint32_t',
875 [param('ns3::Buffer::Iterator const &', 'o')],
876 is_const=True)
877 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::GetSize() const [member function]
878 cls.add_method('GetSize',
879 'uint32_t',
880 [],
881 is_const=True)
882 ## buffer.h (module 'network'): bool ns3::Buffer::Iterator::IsEnd() const [member function]
883 cls.add_method('IsEnd',
884 'bool',
885 [],
886 is_const=True)
887 ## buffer.h (module 'network'): bool ns3::Buffer::Iterator::IsStart() const [member function]
888 cls.add_method('IsStart',
889 'bool',
890 [],
891 is_const=True)
892 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Next() [member function]
893 cls.add_method('Next',
894 'void',
895 [])
896 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Next(uint32_t delta) [member function]
897 cls.add_method('Next',
898 'void',
899 [param('uint32_t', 'delta')])
900 ## buffer.h (module 'network'): uint8_t ns3::Buffer::Iterator::PeekU8() [member function]
901 cls.add_method('PeekU8',
902 'uint8_t',
903 [])
904 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Prev() [member function]
905 cls.add_method('Prev',
906 'void',
907 [])
908 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Prev(uint32_t delta) [member function]
909 cls.add_method('Prev',
910 'void',
911 [param('uint32_t', 'delta')])
912 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Read(uint8_t * buffer, uint32_t size) [member function]
913 cls.add_method('Read',
914 'void',
915 [param('uint8_t *', 'buffer'), param('uint32_t', 'size')])
916 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Read(ns3::Buffer::Iterator start, uint32_t size) [member function]
917 cls.add_method('Read',
918 'void',
919 [param('ns3::Buffer::Iterator', 'start'), param('uint32_t', 'size')])
920 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadLsbtohU16() [member function]
921 cls.add_method('ReadLsbtohU16',
922 'uint16_t',
923 [])
924 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadLsbtohU32() [member function]
925 cls.add_method('ReadLsbtohU32',
926 'uint32_t',
927 [])
928 ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadLsbtohU64() [member function]
929 cls.add_method('ReadLsbtohU64',
930 'uint64_t',
931 [])
932 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadNtohU16() [member function]
933 cls.add_method('ReadNtohU16',
934 'uint16_t',
935 [])
936 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadNtohU32() [member function]
937 cls.add_method('ReadNtohU32',
938 'uint32_t',
939 [])
940 ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadNtohU64() [member function]
941 cls.add_method('ReadNtohU64',
942 'uint64_t',
943 [])
944 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadU16() [member function]
945 cls.add_method('ReadU16',
946 'uint16_t',
947 [])
948 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadU32() [member function]
949 cls.add_method('ReadU32',
950 'uint32_t',
951 [])
952 ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadU64() [member function]
953 cls.add_method('ReadU64',
954 'uint64_t',
955 [])
956 ## buffer.h (module 'network'): uint8_t ns3::Buffer::Iterator::ReadU8() [member function]
957 cls.add_method('ReadU8',
958 'uint8_t',
959 [])
960 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Write(uint8_t const * buffer, uint32_t size) [member function]
961 cls.add_method('Write',
962 'void',
963 [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
964 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Write(ns3::Buffer::Iterator start, ns3::Buffer::Iterator end) [member function]
965 cls.add_method('Write',
966 'void',
967 [param('ns3::Buffer::Iterator', 'start'), param('ns3::Buffer::Iterator', 'end')])
968 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU16(uint16_t data) [member function]
969 cls.add_method('WriteHtolsbU16',
970 'void',
971 [param('uint16_t', 'data')])
972 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU32(uint32_t data) [member function]
973 cls.add_method('WriteHtolsbU32',
974 'void',
975 [param('uint32_t', 'data')])
976 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU64(uint64_t data) [member function]
977 cls.add_method('WriteHtolsbU64',
978 'void',
979 [param('uint64_t', 'data')])
980 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU16(uint16_t data) [member function]
981 cls.add_method('WriteHtonU16',
982 'void',
983 [param('uint16_t', 'data')])
984 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU32(uint32_t data) [member function]
985 cls.add_method('WriteHtonU32',
986 'void',
987 [param('uint32_t', 'data')])
988 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU64(uint64_t data) [member function]
989 cls.add_method('WriteHtonU64',
990 'void',
991 [param('uint64_t', 'data')])
992 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU16(uint16_t data) [member function]
993 cls.add_method('WriteU16',
994 'void',
995 [param('uint16_t', 'data')])
996 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU32(uint32_t data) [member function]
997 cls.add_method('WriteU32',
998 'void',
999 [param('uint32_t', 'data')])
1000 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU64(uint64_t data) [member function]
1001 cls.add_method('WriteU64',
1002 'void',
1003 [param('uint64_t', 'data')])
1004 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU8(uint8_t data) [member function]
1005 cls.add_method('WriteU8',
1006 'void',
1007 [param('uint8_t', 'data')])
1008 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU8(uint8_t data, uint32_t len) [member function]
1009 cls.add_method('WriteU8',
1010 'void',
1011 [param('uint8_t', 'data'), param('uint32_t', 'len')])
1012 return
1013
1014def register_Ns3ByteTagIterator_methods(root_module, cls):
1015 ## packet.h (module 'network'): ns3::ByteTagIterator::ByteTagIterator(ns3::ByteTagIterator const & arg0) [copy constructor]
1016 cls.add_constructor([param('ns3::ByteTagIterator const &', 'arg0')])
1017 ## packet.h (module 'network'): bool ns3::ByteTagIterator::HasNext() const [member function]
1018 cls.add_method('HasNext',
1019 'bool',
1020 [],
1021 is_const=True)
1022 ## packet.h (module 'network'): ns3::ByteTagIterator::Item ns3::ByteTagIterator::Next() [member function]
1023 cls.add_method('Next',
1024 'ns3::ByteTagIterator::Item',
1025 [])
1026 return
1027
1028def register_Ns3ByteTagIteratorItem_methods(root_module, cls):
1029 ## packet.h (module 'network'): ns3::ByteTagIterator::Item::Item(ns3::ByteTagIterator::Item const & arg0) [copy constructor]
1030 cls.add_constructor([param('ns3::ByteTagIterator::Item const &', 'arg0')])
1031 ## packet.h (module 'network'): uint32_t ns3::ByteTagIterator::Item::GetEnd() const [member function]
1032 cls.add_method('GetEnd',
1033 'uint32_t',
1034 [],
1035 is_const=True)
1036 ## packet.h (module 'network'): uint32_t ns3::ByteTagIterator::Item::GetStart() const [member function]
1037 cls.add_method('GetStart',
1038 'uint32_t',
1039 [],
1040 is_const=True)
1041 ## packet.h (module 'network'): void ns3::ByteTagIterator::Item::GetTag(ns3::Tag & tag) const [member function]
1042 cls.add_method('GetTag',
1043 'void',
1044 [param('ns3::Tag &', 'tag')],
1045 is_const=True)
1046 ## packet.h (module 'network'): ns3::TypeId ns3::ByteTagIterator::Item::GetTypeId() const [member function]
1047 cls.add_method('GetTypeId',
1048 'ns3::TypeId',
1049 [],
1050 is_const=True)
1051 return
1052
1053def register_Ns3ByteTagList_methods(root_module, cls):
1054 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::ByteTagList() [constructor]
1055 cls.add_constructor([])
1056 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::ByteTagList(ns3::ByteTagList const & o) [copy constructor]
1057 cls.add_constructor([param('ns3::ByteTagList const &', 'o')])
1058 ## 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]
1059 cls.add_method('Add',
1060 'ns3::TagBuffer',
1061 [param('ns3::TypeId', 'tid'), param('uint32_t', 'bufferSize'), param('int32_t', 'start'), param('int32_t', 'end')])
1062 ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::Add(ns3::ByteTagList const & o) [member function]
1063 cls.add_method('Add',
1064 'void',
1065 [param('ns3::ByteTagList const &', 'o')])
1066 ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::AddAtEnd(int32_t adjustment, int32_t appendOffset) [member function]
1067 cls.add_method('AddAtEnd',
1068 'void',
1069 [param('int32_t', 'adjustment'), param('int32_t', 'appendOffset')])
1070 ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::AddAtStart(int32_t adjustment, int32_t prependOffset) [member function]
1071 cls.add_method('AddAtStart',
1072 'void',
1073 [param('int32_t', 'adjustment'), param('int32_t', 'prependOffset')])
1074 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator ns3::ByteTagList::Begin(int32_t offsetStart, int32_t offsetEnd) const [member function]
1075 cls.add_method('Begin',
1076 'ns3::ByteTagList::Iterator',
1077 [param('int32_t', 'offsetStart'), param('int32_t', 'offsetEnd')],
1078 is_const=True)
1079 ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::RemoveAll() [member function]
1080 cls.add_method('RemoveAll',
1081 'void',
1082 [])
1083 return
1084
1085def register_Ns3ByteTagListIterator_methods(root_module, cls):
1086 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Iterator(ns3::ByteTagList::Iterator const & arg0) [copy constructor]
1087 cls.add_constructor([param('ns3::ByteTagList::Iterator const &', 'arg0')])
1088 ## byte-tag-list.h (module 'network'): uint32_t ns3::ByteTagList::Iterator::GetOffsetStart() const [member function]
1089 cls.add_method('GetOffsetStart',
1090 'uint32_t',
1091 [],
1092 is_const=True)
1093 ## byte-tag-list.h (module 'network'): bool ns3::ByteTagList::Iterator::HasNext() const [member function]
1094 cls.add_method('HasNext',
1095 'bool',
1096 [],
1097 is_const=True)
1098 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item ns3::ByteTagList::Iterator::Next() [member function]
1099 cls.add_method('Next',
1100 'ns3::ByteTagList::Iterator::Item',
1101 [])
1102 return
1103
1104def register_Ns3ByteTagListIteratorItem_methods(root_module, cls):
1105 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::Item(ns3::ByteTagList::Iterator::Item const & arg0) [copy constructor]
1106 cls.add_constructor([param('ns3::ByteTagList::Iterator::Item const &', 'arg0')])
1107 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::Item(ns3::TagBuffer buf) [constructor]
1108 cls.add_constructor([param('ns3::TagBuffer', 'buf')])
1109 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::buf [variable]
1110 cls.add_instance_attribute('buf', 'ns3::TagBuffer', is_const=False)
1111 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::end [variable]
1112 cls.add_instance_attribute('end', 'int32_t', is_const=False)
1113 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::size [variable]
1114 cls.add_instance_attribute('size', 'uint32_t', is_const=False)
1115 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::start [variable]
1116 cls.add_instance_attribute('start', 'int32_t', is_const=False)
1117 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::tid [variable]
1118 cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
1119 return
1120
1121def register_Ns3CallbackBase_methods(root_module, cls):
1122 ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase(ns3::CallbackBase const & arg0) [copy constructor]
1123 cls.add_constructor([param('ns3::CallbackBase const &', 'arg0')])
1124 ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase() [constructor]
1125 cls.add_constructor([])
1126 ## callback.h (module 'core'): ns3::Ptr<ns3::CallbackImplBase> ns3::CallbackBase::GetImpl() const [member function]
1127 cls.add_method('GetImpl',
1128 'ns3::Ptr< ns3::CallbackImplBase >',
1129 [],
1130 is_const=True)
1131 ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase(ns3::Ptr<ns3::CallbackImplBase> impl) [constructor]
1132 cls.add_constructor([param('ns3::Ptr< ns3::CallbackImplBase >', 'impl')],
1133 visibility='protected')
1134 ## callback.h (module 'core'): static std::string ns3::CallbackBase::Demangle(std::string const & mangled) [member function]
1135 cls.add_method('Demangle',
1136 'std::string',
1137 [param('std::string const &', 'mangled')],
1138 is_static=True, visibility='protected')
1139 return
1140
Alexander Afanasyev4975f732011-12-20 17:52:19 -08001141def register_Ns3CcnxAppHelper_methods(root_module, cls):
1142 ## ccnx-app-helper.h (module 'NDNabstraction'): ns3::CcnxAppHelper::CcnxAppHelper(ns3::CcnxAppHelper const & arg0) [copy constructor]
1143 cls.add_constructor([param('ns3::CcnxAppHelper const &', 'arg0')])
1144 ## ccnx-app-helper.h (module 'NDNabstraction'): ns3::CcnxAppHelper::CcnxAppHelper(std::string const & prefix) [constructor]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001145 cls.add_constructor([param('std::string const &', 'prefix')])
Alexander Afanasyev4975f732011-12-20 17:52:19 -08001146 ## ccnx-app-helper.h (module 'NDNabstraction'): ns3::ApplicationContainer ns3::CcnxAppHelper::Install(ns3::NodeContainer c) [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001147 cls.add_method('Install',
1148 'ns3::ApplicationContainer',
1149 [param('ns3::NodeContainer', 'c')])
Alexander Afanasyev4975f732011-12-20 17:52:19 -08001150 ## ccnx-app-helper.h (module 'NDNabstraction'): ns3::ApplicationContainer ns3::CcnxAppHelper::Install(ns3::Ptr<ns3::Node> node) [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001151 cls.add_method('Install',
1152 'ns3::ApplicationContainer',
1153 [param('ns3::Ptr< ns3::Node >', 'node')])
Alexander Afanasyev4975f732011-12-20 17:52:19 -08001154 ## ccnx-app-helper.h (module 'NDNabstraction'): ns3::ApplicationContainer ns3::CcnxAppHelper::Install(std::string nodeName) [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001155 cls.add_method('Install',
1156 'ns3::ApplicationContainer',
1157 [param('std::string', 'nodeName')])
Alexander Afanasyev4975f732011-12-20 17:52:19 -08001158 ## ccnx-app-helper.h (module 'NDNabstraction'): void ns3::CcnxAppHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001159 cls.add_method('SetAttribute',
1160 'void',
1161 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
Alexander Afanasyev4975f732011-12-20 17:52:19 -08001162 ## ccnx-app-helper.h (module 'NDNabstraction'): void ns3::CcnxAppHelper::SetPrefix(std::string const & prefix) [member function]
1163 cls.add_method('SetPrefix',
1164 'void',
1165 [param('std::string const &', 'prefix')])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001166 return
1167
1168def register_Ns3CcnxContentObjectHeaderException_methods(root_module, cls):
1169 ## ccnx-content-object-header.h (module 'NDNabstraction'): ns3::CcnxContentObjectHeaderException::CcnxContentObjectHeaderException() [constructor]
1170 cls.add_constructor([])
1171 ## ccnx-content-object-header.h (module 'NDNabstraction'): ns3::CcnxContentObjectHeaderException::CcnxContentObjectHeaderException(ns3::CcnxContentObjectHeaderException const & arg0) [copy constructor]
1172 cls.add_constructor([param('ns3::CcnxContentObjectHeaderException const &', 'arg0')])
1173 return
1174
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001175def register_Ns3CcnxFibEntryContainer_methods(root_module, cls):
1176 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibEntryContainer::CcnxFibEntryContainer() [constructor]
1177 cls.add_constructor([])
1178 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibEntryContainer::CcnxFibEntryContainer(ns3::CcnxFibEntryContainer const & arg0) [copy constructor]
1179 cls.add_constructor([param('ns3::CcnxFibEntryContainer const &', 'arg0')])
1180 return
1181
1182def register_Ns3CcnxFibFaceMetric_methods(root_module, cls):
1183 cls.add_output_stream_operator()
1184 cls.add_binary_comparison_operator('<')
1185 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibFaceMetric::CcnxFibFaceMetric(ns3::CcnxFibFaceMetric const & arg0) [copy constructor]
1186 cls.add_constructor([param('ns3::CcnxFibFaceMetric const &', 'arg0')])
1187 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibFaceMetric::CcnxFibFaceMetric(ns3::Ptr<ns3::CcnxFace> face, int cost) [constructor]
1188 cls.add_constructor([param('ns3::Ptr< ns3::CcnxFace >', 'face'), param('int', 'cost')])
1189 ## ccnx-fib.h (module 'NDNabstraction'): ns3::Ptr<ns3::CcnxFace> ns3::CcnxFibFaceMetric::GetFace() const [member function]
1190 cls.add_method('GetFace',
1191 'ns3::Ptr< ns3::CcnxFace >',
1192 [],
1193 is_const=True)
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08001194 ## ccnx-fib.h (module 'NDNabstraction'): void ns3::CcnxFibFaceMetric::UpdateRtt(ns3::Time const & rttSample) [member function]
1195 cls.add_method('UpdateRtt',
1196 'void',
1197 [param('ns3::Time const &', 'rttSample')])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001198 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibFaceMetric::m_face [variable]
1199 cls.add_instance_attribute('m_face', 'ns3::Ptr< ns3::CcnxFace >', is_const=False)
1200 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibFaceMetric::m_routingCost [variable]
1201 cls.add_instance_attribute('m_routingCost', 'int32_t', is_const=False)
1202 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibFaceMetric::m_rttVar [variable]
1203 cls.add_instance_attribute('m_rttVar', 'ns3::Time', is_const=False)
1204 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibFaceMetric::m_sRtt [variable]
1205 cls.add_instance_attribute('m_sRtt', 'ns3::Time', is_const=False)
1206 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibFaceMetric::m_status [variable]
1207 cls.add_instance_attribute('m_status', 'ns3::CcnxFibFaceMetric::Status', is_const=False)
1208 return
1209
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001210def register_Ns3CcnxFibFaceMetricContainer_methods(root_module, cls):
1211 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibFaceMetricContainer::CcnxFibFaceMetricContainer() [constructor]
1212 cls.add_constructor([])
1213 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibFaceMetricContainer::CcnxFibFaceMetricContainer(ns3::CcnxFibFaceMetricContainer const & arg0) [copy constructor]
1214 cls.add_constructor([param('ns3::CcnxFibFaceMetricContainer const &', 'arg0')])
1215 return
1216
Alexander Afanasyev53872ce2011-12-16 13:17:18 -08001217def register_Ns3CcnxHeaderHelper_methods(root_module, cls):
1218 ## ccnx-header-helper.h (module 'NDNabstraction'): ns3::CcnxHeaderHelper::CcnxHeaderHelper() [constructor]
1219 cls.add_constructor([])
1220 ## ccnx-header-helper.h (module 'NDNabstraction'): ns3::CcnxHeaderHelper::CcnxHeaderHelper(ns3::CcnxHeaderHelper const & arg0) [copy constructor]
1221 cls.add_constructor([param('ns3::CcnxHeaderHelper const &', 'arg0')])
1222 ## ccnx-header-helper.h (module 'NDNabstraction'): static ns3::CcnxHeaderHelper::Type ns3::CcnxHeaderHelper::GetCcnxHeaderType(ns3::Ptr<const ns3::Packet> packet) [member function]
1223 cls.add_method('GetCcnxHeaderType',
1224 'ns3::CcnxHeaderHelper::Type',
1225 [param('ns3::Ptr< ns3::Packet const >', 'packet')],
1226 is_static=True)
1227 return
1228
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001229def register_Ns3CcnxInterestHeaderException_methods(root_module, cls):
1230 ## ccnx-interest-header.h (module 'NDNabstraction'): ns3::CcnxInterestHeaderException::CcnxInterestHeaderException() [constructor]
1231 cls.add_constructor([])
1232 ## ccnx-interest-header.h (module 'NDNabstraction'): ns3::CcnxInterestHeaderException::CcnxInterestHeaderException(ns3::CcnxInterestHeaderException const & arg0) [copy constructor]
1233 cls.add_constructor([param('ns3::CcnxInterestHeaderException const &', 'arg0')])
1234 return
1235
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08001236def register_Ns3CcnxStackHelper_methods(root_module, cls):
1237 ## ccnx-stack-helper.h (module 'NDNabstraction'): ns3::CcnxStackHelper::CcnxStackHelper() [constructor]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001238 cls.add_constructor([])
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08001239 ## ccnx-stack-helper.h (module 'NDNabstraction'): void ns3::CcnxStackHelper::SetForwardingStrategy(std::string forwardingStrategy) [member function]
1240 cls.add_method('SetForwardingStrategy',
1241 'void',
1242 [param('std::string', 'forwardingStrategy')])
1243 ## 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]
1244 cls.add_method('EnableLimits',
1245 'void',
1246 [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')])
1247 ## ccnx-stack-helper.h (module 'NDNabstraction'): ns3::Ptr<ns3::CcnxFaceContainer> ns3::CcnxStackHelper::Install(std::string nodeName) const [member function]
1248 cls.add_method('Install',
1249 'ns3::Ptr< ns3::CcnxFaceContainer >',
1250 [param('std::string', 'nodeName')],
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001251 is_const=True)
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08001252 ## ccnx-stack-helper.h (module 'NDNabstraction'): ns3::Ptr<ns3::CcnxFaceContainer> ns3::CcnxStackHelper::Install(ns3::Ptr<ns3::Node> node) const [member function]
1253 cls.add_method('Install',
1254 'ns3::Ptr< ns3::CcnxFaceContainer >',
1255 [param('ns3::Ptr< ns3::Node >', 'node')],
1256 is_const=True)
1257 ## ccnx-stack-helper.h (module 'NDNabstraction'): ns3::Ptr<ns3::CcnxFaceContainer> ns3::CcnxStackHelper::Install(ns3::NodeContainer c) const [member function]
1258 cls.add_method('Install',
1259 'ns3::Ptr< ns3::CcnxFaceContainer >',
1260 [param('ns3::NodeContainer', 'c')],
1261 is_const=True)
1262 ## ccnx-stack-helper.h (module 'NDNabstraction'): ns3::Ptr<ns3::CcnxFaceContainer> ns3::CcnxStackHelper::InstallAll() const [member function]
1263 cls.add_method('InstallAll',
1264 'ns3::Ptr< ns3::CcnxFaceContainer >',
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001265 [],
1266 is_const=True)
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08001267 ## ccnx-stack-helper.h (module 'NDNabstraction'): static void ns3::CcnxStackHelper::AddRoute(std::string nodeName, std::string prefix, uint32_t faceId, int32_t metric) [member function]
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08001268 cls.add_method('AddRoute',
1269 'void',
1270 [param('std::string', 'nodeName'), param('std::string', 'prefix'), param('uint32_t', 'faceId'), param('int32_t', 'metric')],
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08001271 is_static=True)
1272 ## ccnx-stack-helper.h (module 'NDNabstraction'): static void ns3::CcnxStackHelper::AddRoute(ns3::Ptr<ns3::Node> node, std::string prefix, ns3::Ptr<ns3::CcnxFace> face, int32_t metric) [member function]
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08001273 cls.add_method('AddRoute',
1274 'void',
1275 [param('ns3::Ptr< ns3::Node >', 'node'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::CcnxFace >', 'face'), param('int32_t', 'metric')],
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08001276 is_static=True)
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08001277 ## ccnx-stack-helper.h (module 'NDNabstraction'): void ns3::CcnxStackHelper::SetDefaultRoutes(bool needSet) [member function]
1278 cls.add_method('SetDefaultRoutes',
1279 'void',
1280 [param('bool', 'needSet')])
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08001281 ## ccnx-stack-helper.h (module 'NDNabstraction'): static void ns3::CcnxStackHelper::InstallFakeGlobalRoutes() [member function]
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08001282 cls.add_method('InstallFakeGlobalRoutes',
1283 'void',
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08001284 [],
1285 is_static=True)
1286 ## ccnx-stack-helper.h (module 'NDNabstraction'): static void ns3::CcnxStackHelper::InstallFakeGlobalRoutesImpl() [member function]
1287 cls.add_method('InstallFakeGlobalRoutesImpl',
1288 'void',
1289 [],
1290 is_static=True)
1291 ## ccnx-stack-helper.h (module 'NDNabstraction'): static void ns3::CcnxStackHelper::InstallRouteTo(ns3::Ptr<ns3::Node> node) [member function]
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08001292 cls.add_method('InstallRouteTo',
1293 'void',
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08001294 [param('ns3::Ptr< ns3::Node >', 'node')],
1295 is_static=True)
1296 ## ccnx-stack-helper.h (module 'NDNabstraction'): static void ns3::CcnxStackHelper::InstallRouteTo(std::string const & prefix, ns3::Ptr<ns3::Node> node) [member function]
1297 cls.add_method('InstallRouteTo',
1298 'void',
1299 [param('std::string const &', 'prefix'), param('ns3::Ptr< ns3::Node >', 'node')],
1300 is_static=True)
1301 ## ccnx-stack-helper.h (module 'NDNabstraction'): static void ns3::CcnxStackHelper::InstallRoutesToAll() [member function]
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08001302 cls.add_method('InstallRoutesToAll',
1303 'void',
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08001304 [],
1305 is_static=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001306 return
1307
Alexander Afanasyevb3e4b852011-12-23 15:58:20 -08001308def register_Ns3CcnxTraceHelper_methods(root_module, cls):
1309 ## ccnx-trace-helper.h (module 'NDNabstraction'): ns3::CcnxTraceHelper::CcnxTraceHelper(ns3::CcnxTraceHelper const & arg0) [copy constructor]
1310 cls.add_constructor([param('ns3::CcnxTraceHelper const &', 'arg0')])
1311 ## ccnx-trace-helper.h (module 'NDNabstraction'): ns3::CcnxTraceHelper::CcnxTraceHelper() [constructor]
1312 cls.add_constructor([])
1313 ## ccnx-trace-helper.h (module 'NDNabstraction'): void ns3::CcnxTraceHelper::EnableAggregateAppAll(std::string const & app) [member function]
1314 cls.add_method('EnableAggregateAppAll',
1315 'void',
1316 [param('std::string const &', 'app')])
1317 ## ccnx-trace-helper.h (module 'NDNabstraction'): void ns3::CcnxTraceHelper::EnableAggregateL3All() [member function]
1318 cls.add_method('EnableAggregateL3All',
1319 'void',
1320 [])
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08001321 ## ccnx-trace-helper.h (module 'NDNabstraction'): void ns3::CcnxTraceHelper::EnableIpv4SeqsAppAll(std::string const & appSeqsTrace="app-seqs.log") [member function]
1322 cls.add_method('EnableIpv4SeqsAppAll',
1323 'void',
1324 [param('std::string const &', 'appSeqsTrace', default_value='"app-seqs.log"')])
1325 ## ccnx-trace-helper.h (module 'NDNabstraction'): void ns3::CcnxTraceHelper::EnablePathWeights(std::string const & pathWeights) [member function]
1326 cls.add_method('EnablePathWeights',
1327 'void',
1328 [param('std::string const &', 'pathWeights')])
Alexander Afanasyevb3e4b852011-12-23 15:58:20 -08001329 ## ccnx-trace-helper.h (module 'NDNabstraction'): void ns3::CcnxTraceHelper::EnableRateL3All(std::string const & l3RateTrace="l3-rate.log") [member function]
1330 cls.add_method('EnableRateL3All',
1331 'void',
1332 [param('std::string const &', 'l3RateTrace', default_value='"l3-rate.log"')])
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08001333 ## ccnx-trace-helper.h (module 'NDNabstraction'): void ns3::CcnxTraceHelper::EnableSeqsAppAll(std::string const & app, std::string const & appSeqsTrace="app-seqs.log") [member function]
1334 cls.add_method('EnableSeqsAppAll',
1335 'void',
1336 [param('std::string const &', 'app'), param('std::string const &', 'appSeqsTrace', default_value='"app-seqs.log"')])
1337 ## ccnx-trace-helper.h (module 'NDNabstraction'): void ns3::CcnxTraceHelper::EnableWindowsAll(std::string const & windowTrace="windows.log") [member function]
1338 cls.add_method('EnableWindowsAll',
1339 'void',
1340 [param('std::string const &', 'windowTrace', default_value='"windows.log"')])
1341 ## ccnx-trace-helper.h (module 'NDNabstraction'): void ns3::CcnxTraceHelper::EnableWindowsTcpAll(std::string const & windowTrace) [member function]
1342 cls.add_method('EnableWindowsTcpAll',
1343 'void',
1344 [param('std::string const &', 'windowTrace')])
Alexander Afanasyevb3e4b852011-12-23 15:58:20 -08001345 ## ccnx-trace-helper.h (module 'NDNabstraction'): void ns3::CcnxTraceHelper::SetAppTraceFile(std::string const & appTrace="apps.log") [member function]
1346 cls.add_method('SetAppTraceFile',
1347 'void',
1348 [param('std::string const &', 'appTrace', default_value='"apps.log"')])
1349 ## ccnx-trace-helper.h (module 'NDNabstraction'): void ns3::CcnxTraceHelper::SetL3TraceFile(std::string const & l3Trace="l3.log") [member function]
1350 cls.add_method('SetL3TraceFile',
1351 'void',
1352 [param('std::string const &', 'l3Trace', default_value='"l3.log"')])
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08001353 ## ccnx-trace-helper.h (module 'NDNabstraction'): void ns3::CcnxTraceHelper::TcpConnect(ns3::Ptr<ns3::Node> node) [member function]
1354 cls.add_method('TcpConnect',
1355 'void',
1356 [param('ns3::Ptr< ns3::Node >', 'node')])
1357 ## ccnx-trace-helper.h (module 'NDNabstraction'): void ns3::CcnxTraceHelper::WeightsConnect(ns3::Ptr<ns3::Node> node, ns3::Ptr<ns3::Application> AppId) [member function]
1358 cls.add_method('WeightsConnect',
1359 'void',
1360 [param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::Ptr< ns3::Application >', 'AppId')])
Alexander Afanasyevb3e4b852011-12-23 15:58:20 -08001361 return
1362
Alexander Afanasyev53872ce2011-12-16 13:17:18 -08001363def register_Ns3CcnxUnknownHeaderException_methods(root_module, cls):
1364 ## ccnx-header-helper.h (module 'NDNabstraction'): ns3::CcnxUnknownHeaderException::CcnxUnknownHeaderException() [constructor]
1365 cls.add_constructor([])
1366 ## ccnx-header-helper.h (module 'NDNabstraction'): ns3::CcnxUnknownHeaderException::CcnxUnknownHeaderException(ns3::CcnxUnknownHeaderException const & arg0) [copy constructor]
1367 cls.add_constructor([param('ns3::CcnxUnknownHeaderException const &', 'arg0')])
1368 return
1369
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001370def register_Ns3EventId_methods(root_module, cls):
1371 cls.add_binary_comparison_operator('!=')
1372 cls.add_binary_comparison_operator('==')
1373 ## event-id.h (module 'core'): ns3::EventId::EventId(ns3::EventId const & arg0) [copy constructor]
1374 cls.add_constructor([param('ns3::EventId const &', 'arg0')])
1375 ## event-id.h (module 'core'): ns3::EventId::EventId() [constructor]
1376 cls.add_constructor([])
1377 ## event-id.h (module 'core'): ns3::EventId::EventId(ns3::Ptr<ns3::EventImpl> const & impl, uint64_t ts, uint32_t context, uint32_t uid) [constructor]
1378 cls.add_constructor([param('ns3::Ptr< ns3::EventImpl > const &', 'impl'), param('uint64_t', 'ts'), param('uint32_t', 'context'), param('uint32_t', 'uid')])
1379 ## event-id.h (module 'core'): void ns3::EventId::Cancel() [member function]
1380 cls.add_method('Cancel',
1381 'void',
1382 [])
1383 ## event-id.h (module 'core'): uint32_t ns3::EventId::GetContext() const [member function]
1384 cls.add_method('GetContext',
1385 'uint32_t',
1386 [],
1387 is_const=True)
1388 ## event-id.h (module 'core'): uint64_t ns3::EventId::GetTs() const [member function]
1389 cls.add_method('GetTs',
1390 'uint64_t',
1391 [],
1392 is_const=True)
1393 ## event-id.h (module 'core'): uint32_t ns3::EventId::GetUid() const [member function]
1394 cls.add_method('GetUid',
1395 'uint32_t',
1396 [],
1397 is_const=True)
1398 ## event-id.h (module 'core'): bool ns3::EventId::IsExpired() const [member function]
1399 cls.add_method('IsExpired',
1400 'bool',
1401 [],
1402 is_const=True)
1403 ## event-id.h (module 'core'): bool ns3::EventId::IsRunning() const [member function]
1404 cls.add_method('IsRunning',
1405 'bool',
1406 [],
1407 is_const=True)
1408 ## event-id.h (module 'core'): ns3::EventImpl * ns3::EventId::PeekEventImpl() const [member function]
1409 cls.add_method('PeekEventImpl',
1410 'ns3::EventImpl *',
1411 [],
1412 is_const=True)
1413 return
1414
1415def register_Ns3Ipv4Address_methods(root_module, cls):
1416 cls.add_binary_comparison_operator('!=')
1417 cls.add_output_stream_operator()
1418 cls.add_binary_comparison_operator('==')
1419 cls.add_binary_comparison_operator('<')
1420 ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(ns3::Ipv4Address const & arg0) [copy constructor]
1421 cls.add_constructor([param('ns3::Ipv4Address const &', 'arg0')])
1422 ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address() [constructor]
1423 cls.add_constructor([])
1424 ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(uint32_t address) [constructor]
1425 cls.add_constructor([param('uint32_t', 'address')])
1426 ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(char const * address) [constructor]
1427 cls.add_constructor([param('char const *', 'address')])
1428 ## ipv4-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv4Address::CombineMask(ns3::Ipv4Mask const & mask) const [member function]
1429 cls.add_method('CombineMask',
1430 'ns3::Ipv4Address',
1431 [param('ns3::Ipv4Mask const &', 'mask')],
1432 is_const=True)
1433 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::ConvertFrom(ns3::Address const & address) [member function]
1434 cls.add_method('ConvertFrom',
1435 'ns3::Ipv4Address',
1436 [param('ns3::Address const &', 'address')],
1437 is_static=True)
1438 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::Deserialize(uint8_t const * buf) [member function]
1439 cls.add_method('Deserialize',
1440 'ns3::Ipv4Address',
1441 [param('uint8_t const *', 'buf')],
1442 is_static=True)
1443 ## ipv4-address.h (module 'network'): uint32_t const & ns3::Ipv4Address::Get() const [member function]
1444 cls.add_method('Get',
1445 'uint32_t const &',
1446 [],
1447 is_const=True)
1448 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetAny() [member function]
1449 cls.add_method('GetAny',
1450 'ns3::Ipv4Address',
1451 [],
1452 is_static=True)
1453 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetBroadcast() [member function]
1454 cls.add_method('GetBroadcast',
1455 'ns3::Ipv4Address',
1456 [],
1457 is_static=True)
1458 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetLoopback() [member function]
1459 cls.add_method('GetLoopback',
1460 'ns3::Ipv4Address',
1461 [],
1462 is_static=True)
1463 ## ipv4-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv4Address::GetSubnetDirectedBroadcast(ns3::Ipv4Mask const & mask) const [member function]
1464 cls.add_method('GetSubnetDirectedBroadcast',
1465 'ns3::Ipv4Address',
1466 [param('ns3::Ipv4Mask const &', 'mask')],
1467 is_const=True)
1468 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetZero() [member function]
1469 cls.add_method('GetZero',
1470 'ns3::Ipv4Address',
1471 [],
1472 is_static=True)
1473 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsBroadcast() const [member function]
1474 cls.add_method('IsBroadcast',
1475 'bool',
1476 [],
1477 is_const=True)
1478 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsEqual(ns3::Ipv4Address const & other) const [member function]
1479 cls.add_method('IsEqual',
1480 'bool',
1481 [param('ns3::Ipv4Address const &', 'other')],
1482 is_const=True)
1483 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsLocalMulticast() const [member function]
1484 cls.add_method('IsLocalMulticast',
1485 'bool',
1486 [],
1487 is_const=True)
1488 ## ipv4-address.h (module 'network'): static bool ns3::Ipv4Address::IsMatchingType(ns3::Address const & address) [member function]
1489 cls.add_method('IsMatchingType',
1490 'bool',
1491 [param('ns3::Address const &', 'address')],
1492 is_static=True)
1493 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsMulticast() const [member function]
1494 cls.add_method('IsMulticast',
1495 'bool',
1496 [],
1497 is_const=True)
1498 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsSubnetDirectedBroadcast(ns3::Ipv4Mask const & mask) const [member function]
1499 cls.add_method('IsSubnetDirectedBroadcast',
1500 'bool',
1501 [param('ns3::Ipv4Mask const &', 'mask')],
1502 is_const=True)
1503 ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Print(std::ostream & os) const [member function]
1504 cls.add_method('Print',
1505 'void',
1506 [param('std::ostream &', 'os')],
1507 is_const=True)
1508 ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Serialize(uint8_t * buf) const [member function]
1509 cls.add_method('Serialize',
1510 'void',
1511 [param('uint8_t *', 'buf')],
1512 is_const=True)
1513 ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Set(uint32_t address) [member function]
1514 cls.add_method('Set',
1515 'void',
1516 [param('uint32_t', 'address')])
1517 ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Set(char const * address) [member function]
1518 cls.add_method('Set',
1519 'void',
1520 [param('char const *', 'address')])
1521 return
1522
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08001523def register_Ns3Ipv4InterfaceAddress_methods(root_module, cls):
1524 cls.add_binary_comparison_operator('!=')
1525 cls.add_output_stream_operator()
1526 cls.add_binary_comparison_operator('==')
1527 ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4InterfaceAddress::Ipv4InterfaceAddress() [constructor]
1528 cls.add_constructor([])
1529 ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4InterfaceAddress::Ipv4InterfaceAddress(ns3::Ipv4Address local, ns3::Ipv4Mask mask) [constructor]
1530 cls.add_constructor([param('ns3::Ipv4Address', 'local'), param('ns3::Ipv4Mask', 'mask')])
1531 ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4InterfaceAddress::Ipv4InterfaceAddress(ns3::Ipv4InterfaceAddress const & o) [copy constructor]
1532 cls.add_constructor([param('ns3::Ipv4InterfaceAddress const &', 'o')])
1533 ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4InterfaceAddress::GetBroadcast() const [member function]
1534 cls.add_method('GetBroadcast',
1535 'ns3::Ipv4Address',
1536 [],
1537 is_const=True)
1538 ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4InterfaceAddress::GetLocal() const [member function]
1539 cls.add_method('GetLocal',
1540 'ns3::Ipv4Address',
1541 [],
1542 is_const=True)
1543 ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4Mask ns3::Ipv4InterfaceAddress::GetMask() const [member function]
1544 cls.add_method('GetMask',
1545 'ns3::Ipv4Mask',
1546 [],
1547 is_const=True)
1548 ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e ns3::Ipv4InterfaceAddress::GetScope() const [member function]
1549 cls.add_method('GetScope',
1550 'ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e',
1551 [],
1552 is_const=True)
1553 ## ipv4-interface-address.h (module 'internet'): bool ns3::Ipv4InterfaceAddress::IsSecondary() const [member function]
1554 cls.add_method('IsSecondary',
1555 'bool',
1556 [],
1557 is_const=True)
1558 ## ipv4-interface-address.h (module 'internet'): void ns3::Ipv4InterfaceAddress::SetBroadcast(ns3::Ipv4Address broadcast) [member function]
1559 cls.add_method('SetBroadcast',
1560 'void',
1561 [param('ns3::Ipv4Address', 'broadcast')])
1562 ## ipv4-interface-address.h (module 'internet'): void ns3::Ipv4InterfaceAddress::SetLocal(ns3::Ipv4Address local) [member function]
1563 cls.add_method('SetLocal',
1564 'void',
1565 [param('ns3::Ipv4Address', 'local')])
1566 ## ipv4-interface-address.h (module 'internet'): void ns3::Ipv4InterfaceAddress::SetMask(ns3::Ipv4Mask mask) [member function]
1567 cls.add_method('SetMask',
1568 'void',
1569 [param('ns3::Ipv4Mask', 'mask')])
1570 ## ipv4-interface-address.h (module 'internet'): void ns3::Ipv4InterfaceAddress::SetPrimary() [member function]
1571 cls.add_method('SetPrimary',
1572 'void',
1573 [])
1574 ## ipv4-interface-address.h (module 'internet'): void ns3::Ipv4InterfaceAddress::SetScope(ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e scope) [member function]
1575 cls.add_method('SetScope',
1576 'void',
1577 [param('ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 'scope')])
1578 ## ipv4-interface-address.h (module 'internet'): void ns3::Ipv4InterfaceAddress::SetSecondary() [member function]
1579 cls.add_method('SetSecondary',
1580 'void',
1581 [])
1582 return
1583
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001584def register_Ns3Ipv4Mask_methods(root_module, cls):
1585 cls.add_binary_comparison_operator('!=')
1586 cls.add_output_stream_operator()
1587 cls.add_binary_comparison_operator('==')
1588 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask(ns3::Ipv4Mask const & arg0) [copy constructor]
1589 cls.add_constructor([param('ns3::Ipv4Mask const &', 'arg0')])
1590 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask() [constructor]
1591 cls.add_constructor([])
1592 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask(uint32_t mask) [constructor]
1593 cls.add_constructor([param('uint32_t', 'mask')])
1594 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask(char const * mask) [constructor]
1595 cls.add_constructor([param('char const *', 'mask')])
1596 ## ipv4-address.h (module 'network'): uint32_t ns3::Ipv4Mask::Get() const [member function]
1597 cls.add_method('Get',
1598 'uint32_t',
1599 [],
1600 is_const=True)
1601 ## ipv4-address.h (module 'network'): uint32_t ns3::Ipv4Mask::GetInverse() const [member function]
1602 cls.add_method('GetInverse',
1603 'uint32_t',
1604 [],
1605 is_const=True)
1606 ## ipv4-address.h (module 'network'): static ns3::Ipv4Mask ns3::Ipv4Mask::GetLoopback() [member function]
1607 cls.add_method('GetLoopback',
1608 'ns3::Ipv4Mask',
1609 [],
1610 is_static=True)
1611 ## ipv4-address.h (module 'network'): static ns3::Ipv4Mask ns3::Ipv4Mask::GetOnes() [member function]
1612 cls.add_method('GetOnes',
1613 'ns3::Ipv4Mask',
1614 [],
1615 is_static=True)
1616 ## ipv4-address.h (module 'network'): uint16_t ns3::Ipv4Mask::GetPrefixLength() const [member function]
1617 cls.add_method('GetPrefixLength',
1618 'uint16_t',
1619 [],
1620 is_const=True)
1621 ## ipv4-address.h (module 'network'): static ns3::Ipv4Mask ns3::Ipv4Mask::GetZero() [member function]
1622 cls.add_method('GetZero',
1623 'ns3::Ipv4Mask',
1624 [],
1625 is_static=True)
1626 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Mask::IsEqual(ns3::Ipv4Mask other) const [member function]
1627 cls.add_method('IsEqual',
1628 'bool',
1629 [param('ns3::Ipv4Mask', 'other')],
1630 is_const=True)
1631 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Mask::IsMatch(ns3::Ipv4Address a, ns3::Ipv4Address b) const [member function]
1632 cls.add_method('IsMatch',
1633 'bool',
1634 [param('ns3::Ipv4Address', 'a'), param('ns3::Ipv4Address', 'b')],
1635 is_const=True)
1636 ## ipv4-address.h (module 'network'): void ns3::Ipv4Mask::Print(std::ostream & os) const [member function]
1637 cls.add_method('Print',
1638 'void',
1639 [param('std::ostream &', 'os')],
1640 is_const=True)
1641 ## ipv4-address.h (module 'network'): void ns3::Ipv4Mask::Set(uint32_t mask) [member function]
1642 cls.add_method('Set',
1643 'void',
1644 [param('uint32_t', 'mask')])
1645 return
1646
1647def register_Ns3Ipv6Address_methods(root_module, cls):
1648 cls.add_binary_comparison_operator('!=')
1649 cls.add_output_stream_operator()
1650 cls.add_binary_comparison_operator('==')
1651 cls.add_binary_comparison_operator('<')
1652 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address() [constructor]
1653 cls.add_constructor([])
1654 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(char const * address) [constructor]
1655 cls.add_constructor([param('char const *', 'address')])
1656 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(uint8_t * address) [constructor]
1657 cls.add_constructor([param('uint8_t *', 'address')])
1658 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(ns3::Ipv6Address const & addr) [copy constructor]
1659 cls.add_constructor([param('ns3::Ipv6Address const &', 'addr')])
1660 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(ns3::Ipv6Address const * addr) [constructor]
1661 cls.add_constructor([param('ns3::Ipv6Address const *', 'addr')])
1662 ## ipv6-address.h (module 'network'): ns3::Ipv6Address ns3::Ipv6Address::CombinePrefix(ns3::Ipv6Prefix const & prefix) [member function]
1663 cls.add_method('CombinePrefix',
1664 'ns3::Ipv6Address',
1665 [param('ns3::Ipv6Prefix const &', 'prefix')])
1666 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::ConvertFrom(ns3::Address const & address) [member function]
1667 cls.add_method('ConvertFrom',
1668 'ns3::Ipv6Address',
1669 [param('ns3::Address const &', 'address')],
1670 is_static=True)
1671 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::Deserialize(uint8_t const * buf) [member function]
1672 cls.add_method('Deserialize',
1673 'ns3::Ipv6Address',
1674 [param('uint8_t const *', 'buf')],
1675 is_static=True)
1676 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAllHostsMulticast() [member function]
1677 cls.add_method('GetAllHostsMulticast',
1678 'ns3::Ipv6Address',
1679 [],
1680 is_static=True)
1681 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAllNodesMulticast() [member function]
1682 cls.add_method('GetAllNodesMulticast',
1683 'ns3::Ipv6Address',
1684 [],
1685 is_static=True)
1686 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAllRoutersMulticast() [member function]
1687 cls.add_method('GetAllRoutersMulticast',
1688 'ns3::Ipv6Address',
1689 [],
1690 is_static=True)
1691 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAny() [member function]
1692 cls.add_method('GetAny',
1693 'ns3::Ipv6Address',
1694 [],
1695 is_static=True)
1696 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::GetBytes(uint8_t * buf) const [member function]
1697 cls.add_method('GetBytes',
1698 'void',
1699 [param('uint8_t *', 'buf')],
1700 is_const=True)
1701 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetLoopback() [member function]
1702 cls.add_method('GetLoopback',
1703 'ns3::Ipv6Address',
1704 [],
1705 is_static=True)
1706 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetOnes() [member function]
1707 cls.add_method('GetOnes',
1708 'ns3::Ipv6Address',
1709 [],
1710 is_static=True)
1711 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetZero() [member function]
1712 cls.add_method('GetZero',
1713 'ns3::Ipv6Address',
1714 [],
1715 is_static=True)
1716 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAllHostsMulticast() const [member function]
1717 cls.add_method('IsAllHostsMulticast',
1718 'bool',
1719 [],
1720 is_const=True)
1721 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAllNodesMulticast() const [member function]
1722 cls.add_method('IsAllNodesMulticast',
1723 'bool',
1724 [],
1725 is_const=True)
1726 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAllRoutersMulticast() const [member function]
1727 cls.add_method('IsAllRoutersMulticast',
1728 'bool',
1729 [],
1730 is_const=True)
1731 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAny() const [member function]
1732 cls.add_method('IsAny',
1733 'bool',
1734 [],
1735 is_const=True)
1736 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsEqual(ns3::Ipv6Address const & other) const [member function]
1737 cls.add_method('IsEqual',
1738 'bool',
1739 [param('ns3::Ipv6Address const &', 'other')],
1740 is_const=True)
1741 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsLinkLocal() const [member function]
1742 cls.add_method('IsLinkLocal',
1743 'bool',
1744 [],
1745 is_const=True)
1746 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsLocalhost() const [member function]
1747 cls.add_method('IsLocalhost',
1748 'bool',
1749 [],
1750 is_const=True)
1751 ## ipv6-address.h (module 'network'): static bool ns3::Ipv6Address::IsMatchingType(ns3::Address const & address) [member function]
1752 cls.add_method('IsMatchingType',
1753 'bool',
1754 [param('ns3::Address const &', 'address')],
1755 is_static=True)
1756 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsMulticast() const [member function]
1757 cls.add_method('IsMulticast',
1758 'bool',
1759 [],
1760 is_const=True)
1761 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsSolicitedMulticast() const [member function]
1762 cls.add_method('IsSolicitedMulticast',
1763 'bool',
1764 [],
1765 is_const=True)
1766 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredAddress(ns3::Mac48Address addr, ns3::Ipv6Address prefix) [member function]
1767 cls.add_method('MakeAutoconfiguredAddress',
1768 'ns3::Ipv6Address',
1769 [param('ns3::Mac48Address', 'addr'), param('ns3::Ipv6Address', 'prefix')],
1770 is_static=True)
1771 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredLinkLocalAddress(ns3::Mac48Address mac) [member function]
1772 cls.add_method('MakeAutoconfiguredLinkLocalAddress',
1773 'ns3::Ipv6Address',
1774 [param('ns3::Mac48Address', 'mac')],
1775 is_static=True)
1776 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeSolicitedAddress(ns3::Ipv6Address addr) [member function]
1777 cls.add_method('MakeSolicitedAddress',
1778 'ns3::Ipv6Address',
1779 [param('ns3::Ipv6Address', 'addr')],
1780 is_static=True)
1781 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Print(std::ostream & os) const [member function]
1782 cls.add_method('Print',
1783 'void',
1784 [param('std::ostream &', 'os')],
1785 is_const=True)
1786 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Serialize(uint8_t * buf) const [member function]
1787 cls.add_method('Serialize',
1788 'void',
1789 [param('uint8_t *', 'buf')],
1790 is_const=True)
1791 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Set(char const * address) [member function]
1792 cls.add_method('Set',
1793 'void',
1794 [param('char const *', 'address')])
1795 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Set(uint8_t * address) [member function]
1796 cls.add_method('Set',
1797 'void',
1798 [param('uint8_t *', 'address')])
1799 return
1800
1801def register_Ns3Ipv6Prefix_methods(root_module, cls):
1802 cls.add_binary_comparison_operator('!=')
1803 cls.add_output_stream_operator()
1804 cls.add_binary_comparison_operator('==')
1805 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix() [constructor]
1806 cls.add_constructor([])
1807 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(uint8_t * prefix) [constructor]
1808 cls.add_constructor([param('uint8_t *', 'prefix')])
1809 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(char const * prefix) [constructor]
1810 cls.add_constructor([param('char const *', 'prefix')])
1811 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(uint8_t prefix) [constructor]
1812 cls.add_constructor([param('uint8_t', 'prefix')])
1813 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(ns3::Ipv6Prefix const & prefix) [copy constructor]
1814 cls.add_constructor([param('ns3::Ipv6Prefix const &', 'prefix')])
1815 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(ns3::Ipv6Prefix const * prefix) [constructor]
1816 cls.add_constructor([param('ns3::Ipv6Prefix const *', 'prefix')])
1817 ## ipv6-address.h (module 'network'): void ns3::Ipv6Prefix::GetBytes(uint8_t * buf) const [member function]
1818 cls.add_method('GetBytes',
1819 'void',
1820 [param('uint8_t *', 'buf')],
1821 is_const=True)
1822 ## ipv6-address.h (module 'network'): static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetLoopback() [member function]
1823 cls.add_method('GetLoopback',
1824 'ns3::Ipv6Prefix',
1825 [],
1826 is_static=True)
1827 ## ipv6-address.h (module 'network'): static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetOnes() [member function]
1828 cls.add_method('GetOnes',
1829 'ns3::Ipv6Prefix',
1830 [],
1831 is_static=True)
1832 ## ipv6-address.h (module 'network'): uint8_t ns3::Ipv6Prefix::GetPrefixLength() const [member function]
1833 cls.add_method('GetPrefixLength',
1834 'uint8_t',
1835 [],
1836 is_const=True)
1837 ## ipv6-address.h (module 'network'): static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetZero() [member function]
1838 cls.add_method('GetZero',
1839 'ns3::Ipv6Prefix',
1840 [],
1841 is_static=True)
1842 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Prefix::IsEqual(ns3::Ipv6Prefix const & other) const [member function]
1843 cls.add_method('IsEqual',
1844 'bool',
1845 [param('ns3::Ipv6Prefix const &', 'other')],
1846 is_const=True)
1847 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Prefix::IsMatch(ns3::Ipv6Address a, ns3::Ipv6Address b) const [member function]
1848 cls.add_method('IsMatch',
1849 'bool',
1850 [param('ns3::Ipv6Address', 'a'), param('ns3::Ipv6Address', 'b')],
1851 is_const=True)
1852 ## ipv6-address.h (module 'network'): void ns3::Ipv6Prefix::Print(std::ostream & os) const [member function]
1853 cls.add_method('Print',
1854 'void',
1855 [param('std::ostream &', 'os')],
1856 is_const=True)
1857 return
1858
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001859def register_Ns3NetDeviceContainer_methods(root_module, cls):
1860 ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(ns3::NetDeviceContainer const & arg0) [copy constructor]
1861 cls.add_constructor([param('ns3::NetDeviceContainer const &', 'arg0')])
1862 ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer() [constructor]
1863 cls.add_constructor([])
1864 ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(ns3::Ptr<ns3::NetDevice> dev) [constructor]
1865 cls.add_constructor([param('ns3::Ptr< ns3::NetDevice >', 'dev')])
1866 ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(std::string devName) [constructor]
1867 cls.add_constructor([param('std::string', 'devName')])
1868 ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(ns3::NetDeviceContainer const & a, ns3::NetDeviceContainer const & b) [constructor]
1869 cls.add_constructor([param('ns3::NetDeviceContainer const &', 'a'), param('ns3::NetDeviceContainer const &', 'b')])
1870 ## net-device-container.h (module 'network'): void ns3::NetDeviceContainer::Add(ns3::NetDeviceContainer other) [member function]
1871 cls.add_method('Add',
1872 'void',
1873 [param('ns3::NetDeviceContainer', 'other')])
1874 ## net-device-container.h (module 'network'): void ns3::NetDeviceContainer::Add(ns3::Ptr<ns3::NetDevice> device) [member function]
1875 cls.add_method('Add',
1876 'void',
1877 [param('ns3::Ptr< ns3::NetDevice >', 'device')])
1878 ## net-device-container.h (module 'network'): void ns3::NetDeviceContainer::Add(std::string deviceName) [member function]
1879 cls.add_method('Add',
1880 'void',
1881 [param('std::string', 'deviceName')])
1882 ## 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]
1883 cls.add_method('Begin',
1884 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::NetDevice > const, std::vector< ns3::Ptr< ns3::NetDevice > > >',
1885 [],
1886 is_const=True)
1887 ## 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]
1888 cls.add_method('End',
1889 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::NetDevice > const, std::vector< ns3::Ptr< ns3::NetDevice > > >',
1890 [],
1891 is_const=True)
1892 ## net-device-container.h (module 'network'): ns3::Ptr<ns3::NetDevice> ns3::NetDeviceContainer::Get(uint32_t i) const [member function]
1893 cls.add_method('Get',
1894 'ns3::Ptr< ns3::NetDevice >',
1895 [param('uint32_t', 'i')],
1896 is_const=True)
1897 ## net-device-container.h (module 'network'): uint32_t ns3::NetDeviceContainer::GetN() const [member function]
1898 cls.add_method('GetN',
1899 'uint32_t',
1900 [],
1901 is_const=True)
1902 return
1903
1904def register_Ns3NodeContainer_methods(root_module, cls):
1905 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & arg0) [copy constructor]
1906 cls.add_constructor([param('ns3::NodeContainer const &', 'arg0')])
1907 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer() [constructor]
1908 cls.add_constructor([])
1909 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::Ptr<ns3::Node> node) [constructor]
1910 cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node')])
1911 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(std::string nodeName) [constructor]
1912 cls.add_constructor([param('std::string', 'nodeName')])
1913 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b) [constructor]
1914 cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b')])
1915 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b, ns3::NodeContainer const & c) [constructor]
1916 cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b'), param('ns3::NodeContainer const &', 'c')])
1917 ## 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]
1918 cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b'), param('ns3::NodeContainer const &', 'c'), param('ns3::NodeContainer const &', 'd')])
1919 ## 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]
1920 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')])
1921 ## node-container.h (module 'network'): void ns3::NodeContainer::Add(ns3::NodeContainer other) [member function]
1922 cls.add_method('Add',
1923 'void',
1924 [param('ns3::NodeContainer', 'other')])
1925 ## node-container.h (module 'network'): void ns3::NodeContainer::Add(ns3::Ptr<ns3::Node> node) [member function]
1926 cls.add_method('Add',
1927 'void',
1928 [param('ns3::Ptr< ns3::Node >', 'node')])
1929 ## node-container.h (module 'network'): void ns3::NodeContainer::Add(std::string nodeName) [member function]
1930 cls.add_method('Add',
1931 'void',
1932 [param('std::string', 'nodeName')])
1933 ## 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]
1934 cls.add_method('Begin',
1935 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >',
1936 [],
1937 is_const=True)
1938 ## node-container.h (module 'network'): void ns3::NodeContainer::Create(uint32_t n) [member function]
1939 cls.add_method('Create',
1940 'void',
1941 [param('uint32_t', 'n')])
1942 ## node-container.h (module 'network'): void ns3::NodeContainer::Create(uint32_t n, uint32_t systemId) [member function]
1943 cls.add_method('Create',
1944 'void',
1945 [param('uint32_t', 'n'), param('uint32_t', 'systemId')])
1946 ## 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]
1947 cls.add_method('End',
1948 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >',
1949 [],
1950 is_const=True)
1951 ## node-container.h (module 'network'): ns3::Ptr<ns3::Node> ns3::NodeContainer::Get(uint32_t i) const [member function]
1952 cls.add_method('Get',
1953 'ns3::Ptr< ns3::Node >',
1954 [param('uint32_t', 'i')],
1955 is_const=True)
1956 ## node-container.h (module 'network'): static ns3::NodeContainer ns3::NodeContainer::GetGlobal() [member function]
1957 cls.add_method('GetGlobal',
1958 'ns3::NodeContainer',
1959 [],
1960 is_static=True)
1961 ## node-container.h (module 'network'): uint32_t ns3::NodeContainer::GetN() const [member function]
1962 cls.add_method('GetN',
1963 'uint32_t',
1964 [],
1965 is_const=True)
1966 ## node-container.h (module 'network'): ns3::NodeContainer & ns3::NodeContainer::operator()(ns3::NodeContainer other) [member operator]
1967 cls.add_method('operator()',
1968 'ns3::NodeContainer &',
1969 [param('ns3::NodeContainer', 'other')],
1970 custom_name='__call__')
1971 ## node-container.h (module 'network'): ns3::NodeContainer & ns3::NodeContainer::operator()(ns3::Ptr<ns3::Node> node) [member operator]
1972 cls.add_method('operator()',
1973 'ns3::NodeContainer &',
1974 [param('ns3::Ptr< ns3::Node >', 'node')],
1975 custom_name='__call__')
1976 ## node-container.h (module 'network'): ns3::NodeContainer & ns3::NodeContainer::operator()(std::string nodeName) [member operator]
1977 cls.add_method('operator()',
1978 'ns3::NodeContainer &',
1979 [param('std::string', 'nodeName')],
1980 custom_name='__call__')
1981 return
1982
1983def register_Ns3ObjectBase_methods(root_module, cls):
1984 ## object-base.h (module 'core'): ns3::ObjectBase::ObjectBase() [constructor]
1985 cls.add_constructor([])
1986 ## object-base.h (module 'core'): ns3::ObjectBase::ObjectBase(ns3::ObjectBase const & arg0) [copy constructor]
1987 cls.add_constructor([param('ns3::ObjectBase const &', 'arg0')])
1988 ## object-base.h (module 'core'): void ns3::ObjectBase::GetAttribute(std::string name, ns3::AttributeValue & value) const [member function]
1989 cls.add_method('GetAttribute',
1990 'void',
1991 [param('std::string', 'name'), param('ns3::AttributeValue &', 'value')],
1992 is_const=True)
1993 ## object-base.h (module 'core'): bool ns3::ObjectBase::GetAttributeFailSafe(std::string name, ns3::AttributeValue & attribute) const [member function]
1994 cls.add_method('GetAttributeFailSafe',
1995 'bool',
1996 [param('std::string', 'name'), param('ns3::AttributeValue &', 'attribute')],
1997 is_const=True)
1998 ## object-base.h (module 'core'): ns3::TypeId ns3::ObjectBase::GetInstanceTypeId() const [member function]
1999 cls.add_method('GetInstanceTypeId',
2000 'ns3::TypeId',
2001 [],
2002 is_pure_virtual=True, is_const=True, is_virtual=True)
2003 ## object-base.h (module 'core'): static ns3::TypeId ns3::ObjectBase::GetTypeId() [member function]
2004 cls.add_method('GetTypeId',
2005 'ns3::TypeId',
2006 [],
2007 is_static=True)
2008 ## object-base.h (module 'core'): void ns3::ObjectBase::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function]
2009 cls.add_method('SetAttribute',
2010 'void',
2011 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
2012 ## object-base.h (module 'core'): bool ns3::ObjectBase::SetAttributeFailSafe(std::string name, ns3::AttributeValue const & value) [member function]
2013 cls.add_method('SetAttributeFailSafe',
2014 'bool',
2015 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
2016 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceConnect(std::string name, std::string context, ns3::CallbackBase const & cb) [member function]
2017 cls.add_method('TraceConnect',
2018 'bool',
2019 [param('std::string', 'name'), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')])
2020 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceConnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function]
2021 cls.add_method('TraceConnectWithoutContext',
2022 'bool',
2023 [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')])
2024 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceDisconnect(std::string name, std::string context, ns3::CallbackBase const & cb) [member function]
2025 cls.add_method('TraceDisconnect',
2026 'bool',
2027 [param('std::string', 'name'), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')])
2028 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceDisconnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function]
2029 cls.add_method('TraceDisconnectWithoutContext',
2030 'bool',
2031 [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')])
2032 ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function]
2033 cls.add_method('ConstructSelf',
2034 'void',
2035 [param('ns3::AttributeConstructionList const &', 'attributes')],
2036 visibility='protected')
2037 ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function]
2038 cls.add_method('NotifyConstructionCompleted',
2039 'void',
2040 [],
2041 visibility='protected', is_virtual=True)
2042 return
2043
2044def register_Ns3ObjectDeleter_methods(root_module, cls):
2045 ## object.h (module 'core'): ns3::ObjectDeleter::ObjectDeleter() [constructor]
2046 cls.add_constructor([])
2047 ## object.h (module 'core'): ns3::ObjectDeleter::ObjectDeleter(ns3::ObjectDeleter const & arg0) [copy constructor]
2048 cls.add_constructor([param('ns3::ObjectDeleter const &', 'arg0')])
2049 ## object.h (module 'core'): static void ns3::ObjectDeleter::Delete(ns3::Object * object) [member function]
2050 cls.add_method('Delete',
2051 'void',
2052 [param('ns3::Object *', 'object')],
2053 is_static=True)
2054 return
2055
2056def register_Ns3ObjectFactory_methods(root_module, cls):
2057 cls.add_output_stream_operator()
2058 ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(ns3::ObjectFactory const & arg0) [copy constructor]
2059 cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')])
2060 ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor]
2061 cls.add_constructor([])
2062 ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor]
2063 cls.add_constructor([param('std::string', 'typeId')])
2064 ## object-factory.h (module 'core'): ns3::Ptr<ns3::Object> ns3::ObjectFactory::Create() const [member function]
2065 cls.add_method('Create',
2066 'ns3::Ptr< ns3::Object >',
2067 [],
2068 is_const=True)
2069 ## object-factory.h (module 'core'): ns3::TypeId ns3::ObjectFactory::GetTypeId() const [member function]
2070 cls.add_method('GetTypeId',
2071 'ns3::TypeId',
2072 [],
2073 is_const=True)
2074 ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(std::string name, ns3::AttributeValue const & value) [member function]
2075 cls.add_method('Set',
2076 'void',
2077 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
2078 ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function]
2079 cls.add_method('SetTypeId',
2080 'void',
2081 [param('ns3::TypeId', 'tid')])
2082 ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(char const * tid) [member function]
2083 cls.add_method('SetTypeId',
2084 'void',
2085 [param('char const *', 'tid')])
2086 ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(std::string tid) [member function]
2087 cls.add_method('SetTypeId',
2088 'void',
2089 [param('std::string', 'tid')])
2090 return
2091
2092def register_Ns3PacketMetadata_methods(root_module, cls):
2093 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::PacketMetadata(uint64_t uid, uint32_t size) [constructor]
2094 cls.add_constructor([param('uint64_t', 'uid'), param('uint32_t', 'size')])
2095 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::PacketMetadata(ns3::PacketMetadata const & o) [copy constructor]
2096 cls.add_constructor([param('ns3::PacketMetadata const &', 'o')])
2097 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddAtEnd(ns3::PacketMetadata const & o) [member function]
2098 cls.add_method('AddAtEnd',
2099 'void',
2100 [param('ns3::PacketMetadata const &', 'o')])
2101 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddHeader(ns3::Header const & header, uint32_t size) [member function]
2102 cls.add_method('AddHeader',
2103 'void',
2104 [param('ns3::Header const &', 'header'), param('uint32_t', 'size')])
2105 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddPaddingAtEnd(uint32_t end) [member function]
2106 cls.add_method('AddPaddingAtEnd',
2107 'void',
2108 [param('uint32_t', 'end')])
2109 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddTrailer(ns3::Trailer const & trailer, uint32_t size) [member function]
2110 cls.add_method('AddTrailer',
2111 'void',
2112 [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')])
2113 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator ns3::PacketMetadata::BeginItem(ns3::Buffer buffer) const [member function]
2114 cls.add_method('BeginItem',
2115 'ns3::PacketMetadata::ItemIterator',
2116 [param('ns3::Buffer', 'buffer')],
2117 is_const=True)
2118 ## packet-metadata.h (module 'network'): ns3::PacketMetadata ns3::PacketMetadata::CreateFragment(uint32_t start, uint32_t end) const [member function]
2119 cls.add_method('CreateFragment',
2120 'ns3::PacketMetadata',
2121 [param('uint32_t', 'start'), param('uint32_t', 'end')],
2122 is_const=True)
2123 ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::Deserialize(uint8_t const * buffer, uint32_t size) [member function]
2124 cls.add_method('Deserialize',
2125 'uint32_t',
2126 [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
2127 ## packet-metadata.h (module 'network'): static void ns3::PacketMetadata::Enable() [member function]
2128 cls.add_method('Enable',
2129 'void',
2130 [],
2131 is_static=True)
2132 ## packet-metadata.h (module 'network'): static void ns3::PacketMetadata::EnableChecking() [member function]
2133 cls.add_method('EnableChecking',
2134 'void',
2135 [],
2136 is_static=True)
2137 ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::GetSerializedSize() const [member function]
2138 cls.add_method('GetSerializedSize',
2139 'uint32_t',
2140 [],
2141 is_const=True)
2142 ## packet-metadata.h (module 'network'): uint64_t ns3::PacketMetadata::GetUid() const [member function]
2143 cls.add_method('GetUid',
2144 'uint64_t',
2145 [],
2146 is_const=True)
2147 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveAtEnd(uint32_t end) [member function]
2148 cls.add_method('RemoveAtEnd',
2149 'void',
2150 [param('uint32_t', 'end')])
2151 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveAtStart(uint32_t start) [member function]
2152 cls.add_method('RemoveAtStart',
2153 'void',
2154 [param('uint32_t', 'start')])
2155 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveHeader(ns3::Header const & header, uint32_t size) [member function]
2156 cls.add_method('RemoveHeader',
2157 'void',
2158 [param('ns3::Header const &', 'header'), param('uint32_t', 'size')])
2159 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveTrailer(ns3::Trailer const & trailer, uint32_t size) [member function]
2160 cls.add_method('RemoveTrailer',
2161 'void',
2162 [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')])
2163 ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
2164 cls.add_method('Serialize',
2165 'uint32_t',
2166 [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')],
2167 is_const=True)
2168 return
2169
2170def register_Ns3PacketMetadataItem_methods(root_module, cls):
2171 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::Item() [constructor]
2172 cls.add_constructor([])
2173 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::Item(ns3::PacketMetadata::Item const & arg0) [copy constructor]
2174 cls.add_constructor([param('ns3::PacketMetadata::Item const &', 'arg0')])
2175 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::current [variable]
2176 cls.add_instance_attribute('current', 'ns3::Buffer::Iterator', is_const=False)
2177 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentSize [variable]
2178 cls.add_instance_attribute('currentSize', 'uint32_t', is_const=False)
2179 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentTrimedFromEnd [variable]
2180 cls.add_instance_attribute('currentTrimedFromEnd', 'uint32_t', is_const=False)
2181 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentTrimedFromStart [variable]
2182 cls.add_instance_attribute('currentTrimedFromStart', 'uint32_t', is_const=False)
2183 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::isFragment [variable]
2184 cls.add_instance_attribute('isFragment', 'bool', is_const=False)
2185 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::tid [variable]
2186 cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
2187 return
2188
2189def register_Ns3PacketMetadataItemIterator_methods(root_module, cls):
2190 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata::ItemIterator const & arg0) [copy constructor]
2191 cls.add_constructor([param('ns3::PacketMetadata::ItemIterator const &', 'arg0')])
2192 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata const * metadata, ns3::Buffer buffer) [constructor]
2193 cls.add_constructor([param('ns3::PacketMetadata const *', 'metadata'), param('ns3::Buffer', 'buffer')])
2194 ## packet-metadata.h (module 'network'): bool ns3::PacketMetadata::ItemIterator::HasNext() const [member function]
2195 cls.add_method('HasNext',
2196 'bool',
2197 [],
2198 is_const=True)
2199 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item ns3::PacketMetadata::ItemIterator::Next() [member function]
2200 cls.add_method('Next',
2201 'ns3::PacketMetadata::Item',
2202 [])
2203 return
2204
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002205def register_Ns3RandomVariable_methods(root_module, cls):
2206 cls.add_output_stream_operator()
2207 ## random-variable.h (module 'core'): ns3::RandomVariable::RandomVariable() [constructor]
2208 cls.add_constructor([])
2209 ## random-variable.h (module 'core'): ns3::RandomVariable::RandomVariable(ns3::RandomVariable const & o) [copy constructor]
2210 cls.add_constructor([param('ns3::RandomVariable const &', 'o')])
2211 ## random-variable.h (module 'core'): uint32_t ns3::RandomVariable::GetInteger() const [member function]
2212 cls.add_method('GetInteger',
2213 'uint32_t',
2214 [],
2215 is_const=True)
2216 ## random-variable.h (module 'core'): double ns3::RandomVariable::GetValue() const [member function]
2217 cls.add_method('GetValue',
2218 'double',
2219 [],
2220 is_const=True)
2221 return
2222
2223def register_Ns3SeedManager_methods(root_module, cls):
2224 ## random-variable.h (module 'core'): ns3::SeedManager::SeedManager() [constructor]
2225 cls.add_constructor([])
2226 ## random-variable.h (module 'core'): ns3::SeedManager::SeedManager(ns3::SeedManager const & arg0) [copy constructor]
2227 cls.add_constructor([param('ns3::SeedManager const &', 'arg0')])
2228 ## random-variable.h (module 'core'): static bool ns3::SeedManager::CheckSeed(uint32_t seed) [member function]
2229 cls.add_method('CheckSeed',
2230 'bool',
2231 [param('uint32_t', 'seed')],
2232 is_static=True)
2233 ## random-variable.h (module 'core'): static uint32_t ns3::SeedManager::GetRun() [member function]
2234 cls.add_method('GetRun',
2235 'uint32_t',
2236 [],
2237 is_static=True)
2238 ## random-variable.h (module 'core'): static uint32_t ns3::SeedManager::GetSeed() [member function]
2239 cls.add_method('GetSeed',
2240 'uint32_t',
2241 [],
2242 is_static=True)
2243 ## random-variable.h (module 'core'): static void ns3::SeedManager::SetRun(uint32_t run) [member function]
2244 cls.add_method('SetRun',
2245 'void',
2246 [param('uint32_t', 'run')],
2247 is_static=True)
2248 ## random-variable.h (module 'core'): static void ns3::SeedManager::SetSeed(uint32_t seed) [member function]
2249 cls.add_method('SetSeed',
2250 'void',
2251 [param('uint32_t', 'seed')],
2252 is_static=True)
2253 return
2254
2255def register_Ns3SequentialVariable_methods(root_module, cls):
2256 ## random-variable.h (module 'core'): ns3::SequentialVariable::SequentialVariable(ns3::SequentialVariable const & arg0) [copy constructor]
2257 cls.add_constructor([param('ns3::SequentialVariable const &', 'arg0')])
2258 ## random-variable.h (module 'core'): ns3::SequentialVariable::SequentialVariable(double f, double l, double i=1, uint32_t c=1) [constructor]
2259 cls.add_constructor([param('double', 'f'), param('double', 'l'), param('double', 'i', default_value='1'), param('uint32_t', 'c', default_value='1')])
2260 ## random-variable.h (module 'core'): ns3::SequentialVariable::SequentialVariable(double f, double l, ns3::RandomVariable const & i, uint32_t c=1) [constructor]
2261 cls.add_constructor([param('double', 'f'), param('double', 'l'), param('ns3::RandomVariable const &', 'i'), param('uint32_t', 'c', default_value='1')])
2262 return
2263
2264def register_Ns3SimpleRefCount__Ns3Chunk_Ns3ObjectBase_Ns3DefaultDeleter__lt__ns3Chunk__gt___methods(root_module, cls):
2265 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Chunk, ns3::ObjectBase, ns3::DefaultDeleter<ns3::Chunk> >::SimpleRefCount() [constructor]
2266 cls.add_constructor([])
2267 ## 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]
2268 cls.add_constructor([param('ns3::SimpleRefCount< ns3::Chunk, ns3::ObjectBase, ns3::DefaultDeleter< ns3::Chunk > > const &', 'o')])
2269 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::Chunk, ns3::ObjectBase, ns3::DefaultDeleter<ns3::Chunk> >::Cleanup() [member function]
2270 cls.add_method('Cleanup',
2271 'void',
2272 [],
2273 is_static=True)
2274 return
2275
2276def register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, cls):
2277 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter>::SimpleRefCount() [constructor]
2278 cls.add_constructor([])
2279 ## 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]
2280 cls.add_constructor([param('ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter > const &', 'o')])
2281 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter>::Cleanup() [member function]
2282 cls.add_method('Cleanup',
2283 'void',
2284 [],
2285 is_static=True)
2286 return
2287
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002288def register_Ns3SpringMobilityHelper_methods(root_module, cls):
2289 ## spring-mobility-helper.h (module 'NDNabstraction'): ns3::SpringMobilityHelper::SpringMobilityHelper() [constructor]
2290 cls.add_constructor([])
2291 ## spring-mobility-helper.h (module 'NDNabstraction'): ns3::SpringMobilityHelper::SpringMobilityHelper(ns3::SpringMobilityHelper const & arg0) [copy constructor]
2292 cls.add_constructor([param('ns3::SpringMobilityHelper const &', 'arg0')])
2293 ## spring-mobility-helper.h (module 'NDNabstraction'): static void ns3::SpringMobilityHelper::InstallSprings(ns3::Ptr<ns3::Node> node1, ns3::Ptr<ns3::Node> node2) [member function]
2294 cls.add_method('InstallSprings',
2295 'void',
2296 [param('ns3::Ptr< ns3::Node >', 'node1'), param('ns3::Ptr< ns3::Node >', 'node2')],
2297 is_static=True)
2298 ## spring-mobility-helper.h (module 'NDNabstraction'): static void ns3::SpringMobilityHelper::InstallSprings(std::_List_const_iterator<ns3::TopologyReader::Link> first, std::_List_const_iterator<ns3::TopologyReader::Link> end) [member function]
2299 cls.add_method('InstallSprings',
2300 'void',
2301 [param('std::_List_const_iterator< ns3::TopologyReader::Link >', 'first'), param('std::_List_const_iterator< ns3::TopologyReader::Link >', 'end')],
2302 is_static=True)
2303 return
2304
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002305def register_Ns3TagBuffer_methods(root_module, cls):
2306 ## tag-buffer.h (module 'network'): ns3::TagBuffer::TagBuffer(ns3::TagBuffer const & arg0) [copy constructor]
2307 cls.add_constructor([param('ns3::TagBuffer const &', 'arg0')])
2308 ## tag-buffer.h (module 'network'): ns3::TagBuffer::TagBuffer(uint8_t * start, uint8_t * end) [constructor]
2309 cls.add_constructor([param('uint8_t *', 'start'), param('uint8_t *', 'end')])
2310 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::CopyFrom(ns3::TagBuffer o) [member function]
2311 cls.add_method('CopyFrom',
2312 'void',
2313 [param('ns3::TagBuffer', 'o')])
2314 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::Read(uint8_t * buffer, uint32_t size) [member function]
2315 cls.add_method('Read',
2316 'void',
2317 [param('uint8_t *', 'buffer'), param('uint32_t', 'size')])
2318 ## tag-buffer.h (module 'network'): double ns3::TagBuffer::ReadDouble() [member function]
2319 cls.add_method('ReadDouble',
2320 'double',
2321 [])
2322 ## tag-buffer.h (module 'network'): uint16_t ns3::TagBuffer::ReadU16() [member function]
2323 cls.add_method('ReadU16',
2324 'uint16_t',
2325 [])
2326 ## tag-buffer.h (module 'network'): uint32_t ns3::TagBuffer::ReadU32() [member function]
2327 cls.add_method('ReadU32',
2328 'uint32_t',
2329 [])
2330 ## tag-buffer.h (module 'network'): uint64_t ns3::TagBuffer::ReadU64() [member function]
2331 cls.add_method('ReadU64',
2332 'uint64_t',
2333 [])
2334 ## tag-buffer.h (module 'network'): uint8_t ns3::TagBuffer::ReadU8() [member function]
2335 cls.add_method('ReadU8',
2336 'uint8_t',
2337 [])
2338 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::TrimAtEnd(uint32_t trim) [member function]
2339 cls.add_method('TrimAtEnd',
2340 'void',
2341 [param('uint32_t', 'trim')])
2342 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::Write(uint8_t const * buffer, uint32_t size) [member function]
2343 cls.add_method('Write',
2344 'void',
2345 [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
2346 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteDouble(double v) [member function]
2347 cls.add_method('WriteDouble',
2348 'void',
2349 [param('double', 'v')])
2350 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU16(uint16_t data) [member function]
2351 cls.add_method('WriteU16',
2352 'void',
2353 [param('uint16_t', 'data')])
2354 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU32(uint32_t data) [member function]
2355 cls.add_method('WriteU32',
2356 'void',
2357 [param('uint32_t', 'data')])
2358 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU64(uint64_t v) [member function]
2359 cls.add_method('WriteU64',
2360 'void',
2361 [param('uint64_t', 'v')])
2362 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU8(uint8_t v) [member function]
2363 cls.add_method('WriteU8',
2364 'void',
2365 [param('uint8_t', 'v')])
2366 return
2367
2368def register_Ns3TriangularVariable_methods(root_module, cls):
2369 ## random-variable.h (module 'core'): ns3::TriangularVariable::TriangularVariable(ns3::TriangularVariable const & arg0) [copy constructor]
2370 cls.add_constructor([param('ns3::TriangularVariable const &', 'arg0')])
2371 ## random-variable.h (module 'core'): ns3::TriangularVariable::TriangularVariable() [constructor]
2372 cls.add_constructor([])
2373 ## random-variable.h (module 'core'): ns3::TriangularVariable::TriangularVariable(double s, double l, double mean) [constructor]
2374 cls.add_constructor([param('double', 's'), param('double', 'l'), param('double', 'mean')])
2375 return
2376
2377def register_Ns3TypeId_methods(root_module, cls):
2378 cls.add_binary_comparison_operator('!=')
2379 cls.add_output_stream_operator()
2380 cls.add_binary_comparison_operator('==')
2381 cls.add_binary_comparison_operator('<')
2382 ## type-id.h (module 'core'): ns3::TypeId::TypeId(char const * name) [constructor]
2383 cls.add_constructor([param('char const *', 'name')])
2384 ## type-id.h (module 'core'): ns3::TypeId::TypeId() [constructor]
2385 cls.add_constructor([])
2386 ## type-id.h (module 'core'): ns3::TypeId::TypeId(ns3::TypeId const & o) [copy constructor]
2387 cls.add_constructor([param('ns3::TypeId const &', 'o')])
2388 ## 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]
2389 cls.add_method('AddAttribute',
2390 'ns3::TypeId',
2391 [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')])
2392 ## 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]
2393 cls.add_method('AddAttribute',
2394 'ns3::TypeId',
2395 [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')])
2396 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr<ns3::TraceSourceAccessor const> accessor) [member function]
2397 cls.add_method('AddTraceSource',
2398 'ns3::TypeId',
2399 [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')])
2400 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function]
2401 cls.add_method('GetAttribute',
2402 'ns3::TypeId::AttributeInformation',
2403 [param('uint32_t', 'i')],
2404 is_const=True)
2405 ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function]
2406 cls.add_method('GetAttributeFullName',
2407 'std::string',
2408 [param('uint32_t', 'i')],
2409 is_const=True)
2410 ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function]
2411 cls.add_method('GetAttributeN',
2412 'uint32_t',
2413 [],
2414 is_const=True)
2415 ## 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]
2416 cls.add_method('GetConstructor',
2417 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >',
2418 [],
2419 is_const=True)
2420 ## type-id.h (module 'core'): std::string ns3::TypeId::GetGroupName() const [member function]
2421 cls.add_method('GetGroupName',
2422 'std::string',
2423 [],
2424 is_const=True)
2425 ## type-id.h (module 'core'): std::string ns3::TypeId::GetName() const [member function]
2426 cls.add_method('GetName',
2427 'std::string',
2428 [],
2429 is_const=True)
2430 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::GetParent() const [member function]
2431 cls.add_method('GetParent',
2432 'ns3::TypeId',
2433 [],
2434 is_const=True)
2435 ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::GetRegistered(uint32_t i) [member function]
2436 cls.add_method('GetRegistered',
2437 'ns3::TypeId',
2438 [param('uint32_t', 'i')],
2439 is_static=True)
2440 ## type-id.h (module 'core'): static uint32_t ns3::TypeId::GetRegisteredN() [member function]
2441 cls.add_method('GetRegisteredN',
2442 'uint32_t',
2443 [],
2444 is_static=True)
2445 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function]
2446 cls.add_method('GetTraceSource',
2447 'ns3::TypeId::TraceSourceInformation',
2448 [param('uint32_t', 'i')],
2449 is_const=True)
2450 ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function]
2451 cls.add_method('GetTraceSourceN',
2452 'uint32_t',
2453 [],
2454 is_const=True)
2455 ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function]
2456 cls.add_method('GetUid',
2457 'uint16_t',
2458 [],
2459 is_const=True)
2460 ## type-id.h (module 'core'): bool ns3::TypeId::HasConstructor() const [member function]
2461 cls.add_method('HasConstructor',
2462 'bool',
2463 [],
2464 is_const=True)
2465 ## type-id.h (module 'core'): bool ns3::TypeId::HasParent() const [member function]
2466 cls.add_method('HasParent',
2467 'bool',
2468 [],
2469 is_const=True)
2470 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::HideFromDocumentation() [member function]
2471 cls.add_method('HideFromDocumentation',
2472 'ns3::TypeId',
2473 [])
2474 ## type-id.h (module 'core'): bool ns3::TypeId::IsChildOf(ns3::TypeId other) const [member function]
2475 cls.add_method('IsChildOf',
2476 'bool',
2477 [param('ns3::TypeId', 'other')],
2478 is_const=True)
2479 ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function]
2480 cls.add_method('LookupAttributeByName',
2481 'bool',
2482 [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')],
2483 is_const=True)
2484 ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function]
2485 cls.add_method('LookupByName',
2486 'ns3::TypeId',
2487 [param('std::string', 'name')],
2488 is_static=True)
2489 ## type-id.h (module 'core'): ns3::Ptr<ns3::TraceSourceAccessor const> ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function]
2490 cls.add_method('LookupTraceSourceByName',
2491 'ns3::Ptr< ns3::TraceSourceAccessor const >',
2492 [param('std::string', 'name')],
2493 is_const=True)
2494 ## type-id.h (module 'core'): bool ns3::TypeId::MustHideFromDocumentation() const [member function]
2495 cls.add_method('MustHideFromDocumentation',
2496 'bool',
2497 [],
2498 is_const=True)
2499 ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr<ns3::AttributeValue const> initialValue) [member function]
2500 cls.add_method('SetAttributeInitialValue',
2501 'bool',
2502 [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')])
2503 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function]
2504 cls.add_method('SetGroupName',
2505 'ns3::TypeId',
2506 [param('std::string', 'groupName')])
2507 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetParent(ns3::TypeId tid) [member function]
2508 cls.add_method('SetParent',
2509 'ns3::TypeId',
2510 [param('ns3::TypeId', 'tid')])
2511 ## type-id.h (module 'core'): void ns3::TypeId::SetUid(uint16_t tid) [member function]
2512 cls.add_method('SetUid',
2513 'void',
2514 [param('uint16_t', 'tid')])
2515 return
2516
2517def register_Ns3TypeIdAttributeInformation_methods(root_module, cls):
2518 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor]
2519 cls.add_constructor([])
2520 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor]
2521 cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')])
2522 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable]
2523 cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False)
2524 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable]
2525 cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False)
2526 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable]
2527 cls.add_instance_attribute('flags', 'uint32_t', is_const=False)
2528 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable]
2529 cls.add_instance_attribute('help', 'std::string', is_const=False)
2530 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable]
2531 cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False)
2532 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable]
2533 cls.add_instance_attribute('name', 'std::string', is_const=False)
2534 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable]
2535 cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False)
2536 return
2537
2538def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls):
2539 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor]
2540 cls.add_constructor([])
2541 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor]
2542 cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')])
2543 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable]
2544 cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False)
2545 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable]
2546 cls.add_instance_attribute('help', 'std::string', is_const=False)
2547 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable]
2548 cls.add_instance_attribute('name', 'std::string', is_const=False)
2549 return
2550
2551def register_Ns3UniformVariable_methods(root_module, cls):
2552 ## random-variable.h (module 'core'): ns3::UniformVariable::UniformVariable(ns3::UniformVariable const & arg0) [copy constructor]
2553 cls.add_constructor([param('ns3::UniformVariable const &', 'arg0')])
2554 ## random-variable.h (module 'core'): ns3::UniformVariable::UniformVariable() [constructor]
2555 cls.add_constructor([])
2556 ## random-variable.h (module 'core'): ns3::UniformVariable::UniformVariable(double s, double l) [constructor]
2557 cls.add_constructor([param('double', 's'), param('double', 'l')])
2558 ## random-variable.h (module 'core'): uint32_t ns3::UniformVariable::GetInteger(uint32_t s, uint32_t l) [member function]
2559 cls.add_method('GetInteger',
2560 'uint32_t',
2561 [param('uint32_t', 's'), param('uint32_t', 'l')])
2562 ## random-variable.h (module 'core'): double ns3::UniformVariable::GetValue() const [member function]
2563 cls.add_method('GetValue',
2564 'double',
2565 [],
2566 is_const=True)
2567 ## random-variable.h (module 'core'): double ns3::UniformVariable::GetValue(double s, double l) [member function]
2568 cls.add_method('GetValue',
2569 'double',
2570 [param('double', 's'), param('double', 'l')])
2571 return
2572
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002573def register_Ns3Vector2D_methods(root_module, cls):
2574 cls.add_output_stream_operator()
2575 cls.add_binary_numeric_operator('*', root_module['ns3::Vector2D'], root_module['ns3::Vector2D'], param('ns3::Vector2D const &', 'right'))
2576 cls.add_binary_numeric_operator('*', root_module['ns3::Vector2D'], root_module['ns3::Vector2D'], param('double', 'right'))
2577 cls.add_binary_numeric_operator('+', root_module['ns3::Vector2D'], root_module['ns3::Vector2D'], param('ns3::Vector2D const &', 'right'))
2578 cls.add_binary_numeric_operator('+', root_module['ns3::Vector2D'], root_module['ns3::Vector2D'], param('double', 'right'))
2579 cls.add_inplace_numeric_operator('+=', param('ns3::Vector2D const &', 'right'))
2580 cls.add_inplace_numeric_operator('+=', param('double', 'right'))
2581 cls.add_binary_numeric_operator('-', root_module['ns3::Vector2D'], root_module['ns3::Vector2D'], param('ns3::Vector2D const &', 'right'))
2582 cls.add_binary_numeric_operator('/', root_module['ns3::Vector2D'], root_module['ns3::Vector2D'], param('double', 'right'))
2583 ## vector.h (module 'core'): ns3::Vector2D::Vector2D(ns3::Vector2D const & arg0) [copy constructor]
2584 cls.add_constructor([param('ns3::Vector2D const &', 'arg0')])
2585 ## vector.h (module 'core'): ns3::Vector2D::Vector2D(double _x, double _y) [constructor]
2586 cls.add_constructor([param('double', '_x'), param('double', '_y')])
2587 ## vector.h (module 'core'): ns3::Vector2D::Vector2D() [constructor]
2588 cls.add_constructor([])
2589 ## vector.h (module 'core'): ns3::Vector2D::x [variable]
2590 cls.add_instance_attribute('x', 'double', is_const=False)
2591 ## vector.h (module 'core'): ns3::Vector2D::y [variable]
2592 cls.add_instance_attribute('y', 'double', is_const=False)
2593 return
2594
2595def register_Ns3Vector3D_methods(root_module, cls):
2596 cls.add_output_stream_operator()
2597 cls.add_binary_numeric_operator('*', root_module['ns3::Vector3D'], root_module['ns3::Vector3D'], param('ns3::Vector3D const &', 'right'))
2598 cls.add_binary_numeric_operator('*', root_module['ns3::Vector3D'], root_module['ns3::Vector3D'], param('double', 'right'))
2599 cls.add_binary_numeric_operator('+', root_module['ns3::Vector3D'], root_module['ns3::Vector3D'], param('ns3::Vector3D const &', 'right'))
2600 cls.add_binary_numeric_operator('+', root_module['ns3::Vector3D'], root_module['ns3::Vector3D'], param('double', 'right'))
2601 cls.add_inplace_numeric_operator('+=', param('ns3::Vector3D const &', 'right'))
2602 cls.add_inplace_numeric_operator('+=', param('double', 'right'))
2603 cls.add_binary_numeric_operator('-', root_module['ns3::Vector3D'], root_module['ns3::Vector3D'], param('ns3::Vector3D const &', 'right'))
2604 cls.add_binary_numeric_operator('/', root_module['ns3::Vector3D'], root_module['ns3::Vector3D'], param('double', 'right'))
2605 ## vector.h (module 'core'): ns3::Vector3D::Vector3D(ns3::Vector3D const & arg0) [copy constructor]
2606 cls.add_constructor([param('ns3::Vector3D const &', 'arg0')])
2607 ## vector.h (module 'core'): ns3::Vector3D::Vector3D(double _x, double _y, double _z) [constructor]
2608 cls.add_constructor([param('double', '_x'), param('double', '_y'), param('double', '_z')])
2609 ## vector.h (module 'core'): ns3::Vector3D::Vector3D() [constructor]
2610 cls.add_constructor([])
2611 ## vector.h (module 'core'): ns3::Vector3D::x [variable]
2612 cls.add_instance_attribute('x', 'double', is_const=False)
2613 ## vector.h (module 'core'): ns3::Vector3D::y [variable]
2614 cls.add_instance_attribute('y', 'double', is_const=False)
2615 ## vector.h (module 'core'): ns3::Vector3D::z [variable]
2616 cls.add_instance_attribute('z', 'double', is_const=False)
2617 return
2618
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002619def register_Ns3WeibullVariable_methods(root_module, cls):
2620 ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(ns3::WeibullVariable const & arg0) [copy constructor]
2621 cls.add_constructor([param('ns3::WeibullVariable const &', 'arg0')])
2622 ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable() [constructor]
2623 cls.add_constructor([])
2624 ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(double m) [constructor]
2625 cls.add_constructor([param('double', 'm')])
2626 ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(double m, double s) [constructor]
2627 cls.add_constructor([param('double', 'm'), param('double', 's')])
2628 ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(double m, double s, double b) [constructor]
2629 cls.add_constructor([param('double', 'm'), param('double', 's'), param('double', 'b')])
2630 return
2631
2632def register_Ns3ZetaVariable_methods(root_module, cls):
2633 ## random-variable.h (module 'core'): ns3::ZetaVariable::ZetaVariable(ns3::ZetaVariable const & arg0) [copy constructor]
2634 cls.add_constructor([param('ns3::ZetaVariable const &', 'arg0')])
2635 ## random-variable.h (module 'core'): ns3::ZetaVariable::ZetaVariable(double alpha) [constructor]
2636 cls.add_constructor([param('double', 'alpha')])
2637 ## random-variable.h (module 'core'): ns3::ZetaVariable::ZetaVariable() [constructor]
2638 cls.add_constructor([])
2639 return
2640
2641def register_Ns3ZipfVariable_methods(root_module, cls):
2642 ## random-variable.h (module 'core'): ns3::ZipfVariable::ZipfVariable(ns3::ZipfVariable const & arg0) [copy constructor]
2643 cls.add_constructor([param('ns3::ZipfVariable const &', 'arg0')])
2644 ## random-variable.h (module 'core'): ns3::ZipfVariable::ZipfVariable(long int N, double alpha) [constructor]
2645 cls.add_constructor([param('long int', 'N'), param('double', 'alpha')])
2646 ## random-variable.h (module 'core'): ns3::ZipfVariable::ZipfVariable() [constructor]
2647 cls.add_constructor([])
2648 return
2649
2650def register_Ns3Empty_methods(root_module, cls):
2651 ## empty.h (module 'core'): ns3::empty::empty() [constructor]
2652 cls.add_constructor([])
2653 ## empty.h (module 'core'): ns3::empty::empty(ns3::empty const & arg0) [copy constructor]
2654 cls.add_constructor([param('ns3::empty const &', 'arg0')])
2655 return
2656
2657def register_Ns3Int64x64_t_methods(root_module, cls):
2658 cls.add_binary_comparison_operator('!=')
2659 cls.add_inplace_numeric_operator('*=', param('ns3::int64x64_t const &', 'right'))
2660 cls.add_inplace_numeric_operator('+=', param('ns3::int64x64_t const &', 'right'))
2661 cls.add_inplace_numeric_operator('-=', param('ns3::int64x64_t const &', 'right'))
2662 cls.add_inplace_numeric_operator('/=', param('ns3::int64x64_t const &', 'right'))
2663 cls.add_output_stream_operator()
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002664 cls.add_binary_comparison_operator('<=')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002665 cls.add_binary_comparison_operator('==')
2666 cls.add_binary_comparison_operator('>=')
2667 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
2668 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
2669 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
2670 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
2671 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
2672 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
2673 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
2674 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
2675 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
2676 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
2677 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
2678 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
2679 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
2680 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
2681 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
2682 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
2683 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
2684 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
2685 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
2686 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
2687 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
2688 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
2689 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
2690 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
2691 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
2692 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
2693 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
2694 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
2695 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
2696 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
2697 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
2698 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
2699 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
2700 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
2701 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
2702 cls.add_unary_numeric_operator('-')
2703 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
2704 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
2705 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
2706 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
2707 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
2708 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
2709 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
2710 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
2711 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
2712 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
2713 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
2714 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
2715 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
2716 cls.add_binary_comparison_operator('<')
2717 cls.add_binary_comparison_operator('>')
2718 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t() [constructor]
2719 cls.add_constructor([])
2720 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(double v) [constructor]
2721 cls.add_constructor([param('double', 'v')])
2722 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(int v) [constructor]
2723 cls.add_constructor([param('int', 'v')])
2724 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long int v) [constructor]
2725 cls.add_constructor([param('long int', 'v')])
2726 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long long int v) [constructor]
2727 cls.add_constructor([param('long long int', 'v')])
2728 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(unsigned int v) [constructor]
2729 cls.add_constructor([param('unsigned int', 'v')])
2730 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long unsigned int v) [constructor]
2731 cls.add_constructor([param('long unsigned int', 'v')])
2732 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long long unsigned int v) [constructor]
2733 cls.add_constructor([param('long long unsigned int', 'v')])
2734 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(int64_t hi, uint64_t lo) [constructor]
2735 cls.add_constructor([param('int64_t', 'hi'), param('uint64_t', 'lo')])
2736 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(ns3::int64x64_t const & o) [copy constructor]
2737 cls.add_constructor([param('ns3::int64x64_t const &', 'o')])
2738 ## int64x64-double.h (module 'core'): double ns3::int64x64_t::GetDouble() const [member function]
2739 cls.add_method('GetDouble',
2740 'double',
2741 [],
2742 is_const=True)
2743 ## int64x64-double.h (module 'core'): int64_t ns3::int64x64_t::GetHigh() const [member function]
2744 cls.add_method('GetHigh',
2745 'int64_t',
2746 [],
2747 is_const=True)
2748 ## int64x64-double.h (module 'core'): uint64_t ns3::int64x64_t::GetLow() const [member function]
2749 cls.add_method('GetLow',
2750 'uint64_t',
2751 [],
2752 is_const=True)
2753 ## int64x64-double.h (module 'core'): static ns3::int64x64_t ns3::int64x64_t::Invert(uint64_t v) [member function]
2754 cls.add_method('Invert',
2755 'ns3::int64x64_t',
2756 [param('uint64_t', 'v')],
2757 is_static=True)
2758 ## int64x64-double.h (module 'core'): void ns3::int64x64_t::MulByInvert(ns3::int64x64_t const & o) [member function]
2759 cls.add_method('MulByInvert',
2760 'void',
2761 [param('ns3::int64x64_t const &', 'o')])
2762 return
2763
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002764def register_Ns3Chunk_methods(root_module, cls):
2765 ## chunk.h (module 'network'): ns3::Chunk::Chunk() [constructor]
2766 cls.add_constructor([])
2767 ## chunk.h (module 'network'): ns3::Chunk::Chunk(ns3::Chunk const & arg0) [copy constructor]
2768 cls.add_constructor([param('ns3::Chunk const &', 'arg0')])
2769 ## chunk.h (module 'network'): uint32_t ns3::Chunk::Deserialize(ns3::Buffer::Iterator start) [member function]
2770 cls.add_method('Deserialize',
2771 'uint32_t',
2772 [param('ns3::Buffer::Iterator', 'start')],
2773 is_pure_virtual=True, is_virtual=True)
2774 ## chunk.h (module 'network'): static ns3::TypeId ns3::Chunk::GetTypeId() [member function]
2775 cls.add_method('GetTypeId',
2776 'ns3::TypeId',
2777 [],
2778 is_static=True)
2779 ## chunk.h (module 'network'): void ns3::Chunk::Print(std::ostream & os) const [member function]
2780 cls.add_method('Print',
2781 'void',
2782 [param('std::ostream &', 'os')],
2783 is_pure_virtual=True, is_const=True, is_virtual=True)
2784 return
2785
2786def register_Ns3ConstantVariable_methods(root_module, cls):
2787 ## random-variable.h (module 'core'): ns3::ConstantVariable::ConstantVariable(ns3::ConstantVariable const & arg0) [copy constructor]
2788 cls.add_constructor([param('ns3::ConstantVariable const &', 'arg0')])
2789 ## random-variable.h (module 'core'): ns3::ConstantVariable::ConstantVariable() [constructor]
2790 cls.add_constructor([])
2791 ## random-variable.h (module 'core'): ns3::ConstantVariable::ConstantVariable(double c) [constructor]
2792 cls.add_constructor([param('double', 'c')])
2793 ## random-variable.h (module 'core'): void ns3::ConstantVariable::SetConstant(double c) [member function]
2794 cls.add_method('SetConstant',
2795 'void',
2796 [param('double', 'c')])
2797 return
2798
2799def register_Ns3DeterministicVariable_methods(root_module, cls):
2800 ## random-variable.h (module 'core'): ns3::DeterministicVariable::DeterministicVariable(ns3::DeterministicVariable const & arg0) [copy constructor]
2801 cls.add_constructor([param('ns3::DeterministicVariable const &', 'arg0')])
2802 ## random-variable.h (module 'core'): ns3::DeterministicVariable::DeterministicVariable(double * d, uint32_t c) [constructor]
2803 cls.add_constructor([param('double *', 'd'), param('uint32_t', 'c')])
2804 return
2805
2806def register_Ns3EmpiricalVariable_methods(root_module, cls):
2807 ## random-variable.h (module 'core'): ns3::EmpiricalVariable::EmpiricalVariable(ns3::EmpiricalVariable const & arg0) [copy constructor]
2808 cls.add_constructor([param('ns3::EmpiricalVariable const &', 'arg0')])
2809 ## random-variable.h (module 'core'): ns3::EmpiricalVariable::EmpiricalVariable() [constructor]
2810 cls.add_constructor([])
2811 ## random-variable.h (module 'core'): void ns3::EmpiricalVariable::CDF(double v, double c) [member function]
2812 cls.add_method('CDF',
2813 'void',
2814 [param('double', 'v'), param('double', 'c')])
2815 return
2816
2817def register_Ns3ErlangVariable_methods(root_module, cls):
2818 ## random-variable.h (module 'core'): ns3::ErlangVariable::ErlangVariable(ns3::ErlangVariable const & arg0) [copy constructor]
2819 cls.add_constructor([param('ns3::ErlangVariable const &', 'arg0')])
2820 ## random-variable.h (module 'core'): ns3::ErlangVariable::ErlangVariable() [constructor]
2821 cls.add_constructor([])
2822 ## random-variable.h (module 'core'): ns3::ErlangVariable::ErlangVariable(unsigned int k, double lambda) [constructor]
2823 cls.add_constructor([param('unsigned int', 'k'), param('double', 'lambda')])
2824 ## random-variable.h (module 'core'): double ns3::ErlangVariable::GetValue() const [member function]
2825 cls.add_method('GetValue',
2826 'double',
2827 [],
2828 is_const=True)
2829 ## random-variable.h (module 'core'): double ns3::ErlangVariable::GetValue(unsigned int k, double lambda) const [member function]
2830 cls.add_method('GetValue',
2831 'double',
2832 [param('unsigned int', 'k'), param('double', 'lambda')],
2833 is_const=True)
2834 return
2835
2836def register_Ns3ExponentialVariable_methods(root_module, cls):
2837 ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable(ns3::ExponentialVariable const & arg0) [copy constructor]
2838 cls.add_constructor([param('ns3::ExponentialVariable const &', 'arg0')])
2839 ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable() [constructor]
2840 cls.add_constructor([])
2841 ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable(double m) [constructor]
2842 cls.add_constructor([param('double', 'm')])
2843 ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable(double m, double b) [constructor]
2844 cls.add_constructor([param('double', 'm'), param('double', 'b')])
2845 return
2846
2847def register_Ns3GammaVariable_methods(root_module, cls):
2848 ## random-variable.h (module 'core'): ns3::GammaVariable::GammaVariable(ns3::GammaVariable const & arg0) [copy constructor]
2849 cls.add_constructor([param('ns3::GammaVariable const &', 'arg0')])
2850 ## random-variable.h (module 'core'): ns3::GammaVariable::GammaVariable() [constructor]
2851 cls.add_constructor([])
2852 ## random-variable.h (module 'core'): ns3::GammaVariable::GammaVariable(double alpha, double beta) [constructor]
2853 cls.add_constructor([param('double', 'alpha'), param('double', 'beta')])
2854 ## random-variable.h (module 'core'): double ns3::GammaVariable::GetValue() const [member function]
2855 cls.add_method('GetValue',
2856 'double',
2857 [],
2858 is_const=True)
2859 ## random-variable.h (module 'core'): double ns3::GammaVariable::GetValue(double alpha, double beta) const [member function]
2860 cls.add_method('GetValue',
2861 'double',
2862 [param('double', 'alpha'), param('double', 'beta')],
2863 is_const=True)
2864 return
2865
2866def register_Ns3Header_methods(root_module, cls):
2867 cls.add_output_stream_operator()
2868 ## header.h (module 'network'): ns3::Header::Header() [constructor]
2869 cls.add_constructor([])
2870 ## header.h (module 'network'): ns3::Header::Header(ns3::Header const & arg0) [copy constructor]
2871 cls.add_constructor([param('ns3::Header const &', 'arg0')])
2872 ## header.h (module 'network'): uint32_t ns3::Header::Deserialize(ns3::Buffer::Iterator start) [member function]
2873 cls.add_method('Deserialize',
2874 'uint32_t',
2875 [param('ns3::Buffer::Iterator', 'start')],
2876 is_pure_virtual=True, is_virtual=True)
2877 ## header.h (module 'network'): uint32_t ns3::Header::GetSerializedSize() const [member function]
2878 cls.add_method('GetSerializedSize',
2879 'uint32_t',
2880 [],
2881 is_pure_virtual=True, is_const=True, is_virtual=True)
2882 ## header.h (module 'network'): static ns3::TypeId ns3::Header::GetTypeId() [member function]
2883 cls.add_method('GetTypeId',
2884 'ns3::TypeId',
2885 [],
2886 is_static=True)
2887 ## header.h (module 'network'): void ns3::Header::Print(std::ostream & os) const [member function]
2888 cls.add_method('Print',
2889 'void',
2890 [param('std::ostream &', 'os')],
2891 is_pure_virtual=True, is_const=True, is_virtual=True)
2892 ## header.h (module 'network'): void ns3::Header::Serialize(ns3::Buffer::Iterator start) const [member function]
2893 cls.add_method('Serialize',
2894 'void',
2895 [param('ns3::Buffer::Iterator', 'start')],
2896 is_pure_virtual=True, is_const=True, is_virtual=True)
2897 return
2898
2899def register_Ns3IntEmpiricalVariable_methods(root_module, cls):
2900 ## random-variable.h (module 'core'): ns3::IntEmpiricalVariable::IntEmpiricalVariable(ns3::IntEmpiricalVariable const & arg0) [copy constructor]
2901 cls.add_constructor([param('ns3::IntEmpiricalVariable const &', 'arg0')])
2902 ## random-variable.h (module 'core'): ns3::IntEmpiricalVariable::IntEmpiricalVariable() [constructor]
2903 cls.add_constructor([])
2904 return
2905
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08002906def register_Ns3Ipv4Header_methods(root_module, cls):
2907 ## ipv4-header.h (module 'internet'): ns3::Ipv4Header::Ipv4Header(ns3::Ipv4Header const & arg0) [copy constructor]
2908 cls.add_constructor([param('ns3::Ipv4Header const &', 'arg0')])
2909 ## ipv4-header.h (module 'internet'): ns3::Ipv4Header::Ipv4Header() [constructor]
2910 cls.add_constructor([])
2911 ## ipv4-header.h (module 'internet'): uint32_t ns3::Ipv4Header::Deserialize(ns3::Buffer::Iterator start) [member function]
2912 cls.add_method('Deserialize',
2913 'uint32_t',
2914 [param('ns3::Buffer::Iterator', 'start')],
2915 is_virtual=True)
2916 ## ipv4-header.h (module 'internet'): std::string ns3::Ipv4Header::DscpTypeToString(ns3::Ipv4Header::DscpType dscp) const [member function]
2917 cls.add_method('DscpTypeToString',
2918 'std::string',
2919 [param('ns3::Ipv4Header::DscpType', 'dscp')],
2920 is_const=True)
2921 ## ipv4-header.h (module 'internet'): std::string ns3::Ipv4Header::EcnTypeToString(ns3::Ipv4Header::EcnType ecn) const [member function]
2922 cls.add_method('EcnTypeToString',
2923 'std::string',
2924 [param('ns3::Ipv4Header::EcnType', 'ecn')],
2925 is_const=True)
2926 ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::EnableChecksum() [member function]
2927 cls.add_method('EnableChecksum',
2928 'void',
2929 [])
2930 ## ipv4-header.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4Header::GetDestination() const [member function]
2931 cls.add_method('GetDestination',
2932 'ns3::Ipv4Address',
2933 [],
2934 is_const=True)
2935 ## ipv4-header.h (module 'internet'): ns3::Ipv4Header::DscpType ns3::Ipv4Header::GetDscp() const [member function]
2936 cls.add_method('GetDscp',
2937 'ns3::Ipv4Header::DscpType',
2938 [],
2939 is_const=True)
2940 ## ipv4-header.h (module 'internet'): ns3::Ipv4Header::EcnType ns3::Ipv4Header::GetEcn() const [member function]
2941 cls.add_method('GetEcn',
2942 'ns3::Ipv4Header::EcnType',
2943 [],
2944 is_const=True)
2945 ## ipv4-header.h (module 'internet'): uint16_t ns3::Ipv4Header::GetFragmentOffset() const [member function]
2946 cls.add_method('GetFragmentOffset',
2947 'uint16_t',
2948 [],
2949 is_const=True)
2950 ## ipv4-header.h (module 'internet'): uint16_t ns3::Ipv4Header::GetIdentification() const [member function]
2951 cls.add_method('GetIdentification',
2952 'uint16_t',
2953 [],
2954 is_const=True)
2955 ## ipv4-header.h (module 'internet'): ns3::TypeId ns3::Ipv4Header::GetInstanceTypeId() const [member function]
2956 cls.add_method('GetInstanceTypeId',
2957 'ns3::TypeId',
2958 [],
2959 is_const=True, is_virtual=True)
2960 ## ipv4-header.h (module 'internet'): uint16_t ns3::Ipv4Header::GetPayloadSize() const [member function]
2961 cls.add_method('GetPayloadSize',
2962 'uint16_t',
2963 [],
2964 is_const=True)
2965 ## ipv4-header.h (module 'internet'): uint8_t ns3::Ipv4Header::GetProtocol() const [member function]
2966 cls.add_method('GetProtocol',
2967 'uint8_t',
2968 [],
2969 is_const=True)
2970 ## ipv4-header.h (module 'internet'): uint32_t ns3::Ipv4Header::GetSerializedSize() const [member function]
2971 cls.add_method('GetSerializedSize',
2972 'uint32_t',
2973 [],
2974 is_const=True, is_virtual=True)
2975 ## ipv4-header.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4Header::GetSource() const [member function]
2976 cls.add_method('GetSource',
2977 'ns3::Ipv4Address',
2978 [],
2979 is_const=True)
2980 ## ipv4-header.h (module 'internet'): uint8_t ns3::Ipv4Header::GetTos() const [member function]
2981 cls.add_method('GetTos',
2982 'uint8_t',
2983 [],
2984 is_const=True)
2985 ## ipv4-header.h (module 'internet'): uint8_t ns3::Ipv4Header::GetTtl() const [member function]
2986 cls.add_method('GetTtl',
2987 'uint8_t',
2988 [],
2989 is_const=True)
2990 ## ipv4-header.h (module 'internet'): static ns3::TypeId ns3::Ipv4Header::GetTypeId() [member function]
2991 cls.add_method('GetTypeId',
2992 'ns3::TypeId',
2993 [],
2994 is_static=True)
2995 ## ipv4-header.h (module 'internet'): bool ns3::Ipv4Header::IsChecksumOk() const [member function]
2996 cls.add_method('IsChecksumOk',
2997 'bool',
2998 [],
2999 is_const=True)
3000 ## ipv4-header.h (module 'internet'): bool ns3::Ipv4Header::IsDontFragment() const [member function]
3001 cls.add_method('IsDontFragment',
3002 'bool',
3003 [],
3004 is_const=True)
3005 ## ipv4-header.h (module 'internet'): bool ns3::Ipv4Header::IsLastFragment() const [member function]
3006 cls.add_method('IsLastFragment',
3007 'bool',
3008 [],
3009 is_const=True)
3010 ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::Print(std::ostream & os) const [member function]
3011 cls.add_method('Print',
3012 'void',
3013 [param('std::ostream &', 'os')],
3014 is_const=True, is_virtual=True)
3015 ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::Serialize(ns3::Buffer::Iterator start) const [member function]
3016 cls.add_method('Serialize',
3017 'void',
3018 [param('ns3::Buffer::Iterator', 'start')],
3019 is_const=True, is_virtual=True)
3020 ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetDestination(ns3::Ipv4Address destination) [member function]
3021 cls.add_method('SetDestination',
3022 'void',
3023 [param('ns3::Ipv4Address', 'destination')])
3024 ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetDontFragment() [member function]
3025 cls.add_method('SetDontFragment',
3026 'void',
3027 [])
3028 ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetDscp(ns3::Ipv4Header::DscpType dscp) [member function]
3029 cls.add_method('SetDscp',
3030 'void',
3031 [param('ns3::Ipv4Header::DscpType', 'dscp')])
3032 ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetEcn(ns3::Ipv4Header::EcnType ecn) [member function]
3033 cls.add_method('SetEcn',
3034 'void',
3035 [param('ns3::Ipv4Header::EcnType', 'ecn')])
3036 ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetFragmentOffset(uint16_t offsetBytes) [member function]
3037 cls.add_method('SetFragmentOffset',
3038 'void',
3039 [param('uint16_t', 'offsetBytes')])
3040 ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetIdentification(uint16_t identification) [member function]
3041 cls.add_method('SetIdentification',
3042 'void',
3043 [param('uint16_t', 'identification')])
3044 ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetLastFragment() [member function]
3045 cls.add_method('SetLastFragment',
3046 'void',
3047 [])
3048 ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetMayFragment() [member function]
3049 cls.add_method('SetMayFragment',
3050 'void',
3051 [])
3052 ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetMoreFragments() [member function]
3053 cls.add_method('SetMoreFragments',
3054 'void',
3055 [])
3056 ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetPayloadSize(uint16_t size) [member function]
3057 cls.add_method('SetPayloadSize',
3058 'void',
3059 [param('uint16_t', 'size')])
3060 ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetProtocol(uint8_t num) [member function]
3061 cls.add_method('SetProtocol',
3062 'void',
3063 [param('uint8_t', 'num')])
3064 ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetSource(ns3::Ipv4Address source) [member function]
3065 cls.add_method('SetSource',
3066 'void',
3067 [param('ns3::Ipv4Address', 'source')])
3068 ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetTos(uint8_t tos) [member function]
3069 cls.add_method('SetTos',
3070 'void',
3071 [param('uint8_t', 'tos')])
3072 ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetTtl(uint8_t ttl) [member function]
3073 cls.add_method('SetTtl',
3074 'void',
3075 [param('uint8_t', 'ttl')])
3076 return
3077
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003078def register_Ns3LogNormalVariable_methods(root_module, cls):
3079 ## random-variable.h (module 'core'): ns3::LogNormalVariable::LogNormalVariable(ns3::LogNormalVariable const & arg0) [copy constructor]
3080 cls.add_constructor([param('ns3::LogNormalVariable const &', 'arg0')])
3081 ## random-variable.h (module 'core'): ns3::LogNormalVariable::LogNormalVariable(double mu, double sigma) [constructor]
3082 cls.add_constructor([param('double', 'mu'), param('double', 'sigma')])
3083 return
3084
3085def register_Ns3NormalVariable_methods(root_module, cls):
3086 ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable(ns3::NormalVariable const & arg0) [copy constructor]
3087 cls.add_constructor([param('ns3::NormalVariable const &', 'arg0')])
3088 ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable() [constructor]
3089 cls.add_constructor([])
3090 ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable(double m, double v) [constructor]
3091 cls.add_constructor([param('double', 'm'), param('double', 'v')])
3092 ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable(double m, double v, double b) [constructor]
3093 cls.add_constructor([param('double', 'm'), param('double', 'v'), param('double', 'b')])
3094 return
3095
3096def register_Ns3Object_methods(root_module, cls):
3097 ## object.h (module 'core'): ns3::Object::Object() [constructor]
3098 cls.add_constructor([])
3099 ## object.h (module 'core'): void ns3::Object::AggregateObject(ns3::Ptr<ns3::Object> other) [member function]
3100 cls.add_method('AggregateObject',
3101 'void',
3102 [param('ns3::Ptr< ns3::Object >', 'other')])
3103 ## object.h (module 'core'): void ns3::Object::Dispose() [member function]
3104 cls.add_method('Dispose',
3105 'void',
3106 [])
3107 ## object.h (module 'core'): ns3::Object::AggregateIterator ns3::Object::GetAggregateIterator() const [member function]
3108 cls.add_method('GetAggregateIterator',
3109 'ns3::Object::AggregateIterator',
3110 [],
3111 is_const=True)
3112 ## object.h (module 'core'): ns3::TypeId ns3::Object::GetInstanceTypeId() const [member function]
3113 cls.add_method('GetInstanceTypeId',
3114 'ns3::TypeId',
3115 [],
3116 is_const=True, is_virtual=True)
3117 ## object.h (module 'core'): static ns3::TypeId ns3::Object::GetTypeId() [member function]
3118 cls.add_method('GetTypeId',
3119 'ns3::TypeId',
3120 [],
3121 is_static=True)
3122 ## object.h (module 'core'): void ns3::Object::Start() [member function]
3123 cls.add_method('Start',
3124 'void',
3125 [])
3126 ## object.h (module 'core'): ns3::Object::Object(ns3::Object const & o) [copy constructor]
3127 cls.add_constructor([param('ns3::Object const &', 'o')],
3128 visibility='protected')
3129 ## object.h (module 'core'): void ns3::Object::DoDispose() [member function]
3130 cls.add_method('DoDispose',
3131 'void',
3132 [],
3133 visibility='protected', is_virtual=True)
3134 ## object.h (module 'core'): void ns3::Object::DoStart() [member function]
3135 cls.add_method('DoStart',
3136 'void',
3137 [],
3138 visibility='protected', is_virtual=True)
3139 ## object.h (module 'core'): void ns3::Object::NotifyNewAggregate() [member function]
3140 cls.add_method('NotifyNewAggregate',
3141 'void',
3142 [],
3143 visibility='protected', is_virtual=True)
3144 return
3145
3146def register_Ns3ObjectAggregateIterator_methods(root_module, cls):
3147 ## object.h (module 'core'): ns3::Object::AggregateIterator::AggregateIterator(ns3::Object::AggregateIterator const & arg0) [copy constructor]
3148 cls.add_constructor([param('ns3::Object::AggregateIterator const &', 'arg0')])
3149 ## object.h (module 'core'): ns3::Object::AggregateIterator::AggregateIterator() [constructor]
3150 cls.add_constructor([])
3151 ## object.h (module 'core'): bool ns3::Object::AggregateIterator::HasNext() const [member function]
3152 cls.add_method('HasNext',
3153 'bool',
3154 [],
3155 is_const=True)
3156 ## object.h (module 'core'): ns3::Ptr<ns3::Object const> ns3::Object::AggregateIterator::Next() [member function]
3157 cls.add_method('Next',
3158 'ns3::Ptr< ns3::Object const >',
3159 [])
3160 return
3161
3162def register_Ns3ParetoVariable_methods(root_module, cls):
3163 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(ns3::ParetoVariable const & arg0) [copy constructor]
3164 cls.add_constructor([param('ns3::ParetoVariable const &', 'arg0')])
3165 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable() [constructor]
3166 cls.add_constructor([])
3167 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(double m) [constructor]
3168 cls.add_constructor([param('double', 'm')])
3169 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(double m, double s) [constructor]
3170 cls.add_constructor([param('double', 'm'), param('double', 's')])
3171 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(double m, double s, double b) [constructor]
3172 cls.add_constructor([param('double', 'm'), param('double', 's'), param('double', 'b')])
3173 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(std::pair<double,double> params) [constructor]
3174 cls.add_constructor([param('std::pair< double, double >', 'params')])
3175 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(std::pair<double,double> params, double b) [constructor]
3176 cls.add_constructor([param('std::pair< double, double >', 'params'), param('double', 'b')])
3177 return
3178
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003179def register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, cls):
3180 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >::SimpleRefCount() [constructor]
3181 cls.add_constructor([])
3182 ## 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]
3183 cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter< ns3::AttributeAccessor > > const &', 'o')])
3184 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >::Cleanup() [member function]
3185 cls.add_method('Cleanup',
3186 'void',
3187 [],
3188 is_static=True)
3189 return
3190
3191def register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeChecker__gt___methods(root_module, cls):
3192 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >::SimpleRefCount() [constructor]
3193 cls.add_constructor([])
3194 ## 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]
3195 cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter< ns3::AttributeChecker > > const &', 'o')])
3196 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >::Cleanup() [member function]
3197 cls.add_method('Cleanup',
3198 'void',
3199 [],
3200 is_static=True)
3201 return
3202
3203def register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, cls):
3204 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >::SimpleRefCount() [constructor]
3205 cls.add_constructor([])
3206 ## 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]
3207 cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter< ns3::AttributeValue > > const &', 'o')])
3208 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >::Cleanup() [member function]
3209 cls.add_method('Cleanup',
3210 'void',
3211 [],
3212 is_static=True)
3213 return
3214
3215def register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, cls):
3216 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >::SimpleRefCount() [constructor]
3217 cls.add_constructor([])
3218 ## 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]
3219 cls.add_constructor([param('ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter< ns3::CallbackImplBase > > const &', 'o')])
3220 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >::Cleanup() [member function]
3221 cls.add_method('Cleanup',
3222 'void',
3223 [],
3224 is_static=True)
3225 return
3226
Alexander Afanasyevb3e4b852011-12-23 15:58:20 -08003227def register_Ns3SimpleRefCount__Ns3CcnxAppTracer_Ns3Empty_Ns3DefaultDeleter__lt__ns3CcnxAppTracer__gt___methods(root_module, cls):
3228 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CcnxAppTracer, ns3::empty, ns3::DefaultDeleter<ns3::CcnxAppTracer> >::SimpleRefCount() [constructor]
3229 cls.add_constructor([])
3230 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CcnxAppTracer, ns3::empty, ns3::DefaultDeleter<ns3::CcnxAppTracer> >::SimpleRefCount(ns3::SimpleRefCount<ns3::CcnxAppTracer, ns3::empty, ns3::DefaultDeleter<ns3::CcnxAppTracer> > const & o) [copy constructor]
3231 cls.add_constructor([param('ns3::SimpleRefCount< ns3::CcnxAppTracer, ns3::empty, ns3::DefaultDeleter< ns3::CcnxAppTracer > > const &', 'o')])
3232 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::CcnxAppTracer, ns3::empty, ns3::DefaultDeleter<ns3::CcnxAppTracer> >::Cleanup() [member function]
3233 cls.add_method('Cleanup',
3234 'void',
3235 [],
3236 is_static=True)
3237 return
3238
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003239def register_Ns3SimpleRefCount__Ns3CcnxFaceContainer_Ns3Empty_Ns3DefaultDeleter__lt__ns3CcnxFaceContainer__gt___methods(root_module, cls):
3240 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CcnxFaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::CcnxFaceContainer> >::SimpleRefCount() [constructor]
3241 cls.add_constructor([])
3242 ## 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]
3243 cls.add_constructor([param('ns3::SimpleRefCount< ns3::CcnxFaceContainer, ns3::empty, ns3::DefaultDeleter< ns3::CcnxFaceContainer > > const &', 'o')])
3244 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::CcnxFaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::CcnxFaceContainer> >::Cleanup() [member function]
3245 cls.add_method('Cleanup',
3246 'void',
3247 [],
3248 is_static=True)
3249 return
3250
3251def register_Ns3SimpleRefCount__Ns3CcnxFibEntry_Ns3Empty_Ns3DefaultDeleter__lt__ns3CcnxFibEntry__gt___methods(root_module, cls):
3252 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CcnxFibEntry, ns3::empty, ns3::DefaultDeleter<ns3::CcnxFibEntry> >::SimpleRefCount() [constructor]
3253 cls.add_constructor([])
3254 ## 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]
3255 cls.add_constructor([param('ns3::SimpleRefCount< ns3::CcnxFibEntry, ns3::empty, ns3::DefaultDeleter< ns3::CcnxFibEntry > > const &', 'o')])
3256 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::CcnxFibEntry, ns3::empty, ns3::DefaultDeleter<ns3::CcnxFibEntry> >::Cleanup() [member function]
3257 cls.add_method('Cleanup',
3258 'void',
3259 [],
3260 is_static=True)
3261 return
3262
Alexander Afanasyevb3e4b852011-12-23 15:58:20 -08003263def register_Ns3SimpleRefCount__Ns3CcnxL3Tracer_Ns3Empty_Ns3DefaultDeleter__lt__ns3CcnxL3Tracer__gt___methods(root_module, cls):
3264 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CcnxL3Tracer, ns3::empty, ns3::DefaultDeleter<ns3::CcnxL3Tracer> >::SimpleRefCount() [constructor]
3265 cls.add_constructor([])
3266 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CcnxL3Tracer, ns3::empty, ns3::DefaultDeleter<ns3::CcnxL3Tracer> >::SimpleRefCount(ns3::SimpleRefCount<ns3::CcnxL3Tracer, ns3::empty, ns3::DefaultDeleter<ns3::CcnxL3Tracer> > const & o) [copy constructor]
3267 cls.add_constructor([param('ns3::SimpleRefCount< ns3::CcnxL3Tracer, ns3::empty, ns3::DefaultDeleter< ns3::CcnxL3Tracer > > const &', 'o')])
3268 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::CcnxL3Tracer, ns3::empty, ns3::DefaultDeleter<ns3::CcnxL3Tracer> >::Cleanup() [member function]
3269 cls.add_method('Cleanup',
3270 'void',
3271 [],
3272 is_static=True)
3273 return
3274
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003275def register_Ns3SimpleRefCount__Ns3CcnxNameComponents_Ns3Empty_Ns3DefaultDeleter__lt__ns3CcnxNameComponents__gt___methods(root_module, cls):
3276 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CcnxNameComponents, ns3::empty, ns3::DefaultDeleter<ns3::CcnxNameComponents> >::SimpleRefCount() [constructor]
3277 cls.add_constructor([])
3278 ## 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]
3279 cls.add_constructor([param('ns3::SimpleRefCount< ns3::CcnxNameComponents, ns3::empty, ns3::DefaultDeleter< ns3::CcnxNameComponents > > const &', 'o')])
3280 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::CcnxNameComponents, ns3::empty, ns3::DefaultDeleter<ns3::CcnxNameComponents> >::Cleanup() [member function]
3281 cls.add_method('Cleanup',
3282 'void',
3283 [],
3284 is_static=True)
3285 return
3286
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08003287def register_Ns3SimpleRefCount__Ns3CcnxPathWeightTracer_Ns3Empty_Ns3DefaultDeleter__lt__ns3CcnxPathWeightTracer__gt___methods(root_module, cls):
3288 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CcnxPathWeightTracer, ns3::empty, ns3::DefaultDeleter<ns3::CcnxPathWeightTracer> >::SimpleRefCount() [constructor]
3289 cls.add_constructor([])
3290 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CcnxPathWeightTracer, ns3::empty, ns3::DefaultDeleter<ns3::CcnxPathWeightTracer> >::SimpleRefCount(ns3::SimpleRefCount<ns3::CcnxPathWeightTracer, ns3::empty, ns3::DefaultDeleter<ns3::CcnxPathWeightTracer> > const & o) [copy constructor]
3291 cls.add_constructor([param('ns3::SimpleRefCount< ns3::CcnxPathWeightTracer, ns3::empty, ns3::DefaultDeleter< ns3::CcnxPathWeightTracer > > const &', 'o')])
3292 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::CcnxPathWeightTracer, ns3::empty, ns3::DefaultDeleter<ns3::CcnxPathWeightTracer> >::Cleanup() [member function]
3293 cls.add_method('Cleanup',
3294 'void',
3295 [],
3296 is_static=True)
3297 return
3298
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003299def register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, cls):
3300 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >::SimpleRefCount() [constructor]
3301 cls.add_constructor([])
3302 ## 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]
3303 cls.add_constructor([param('ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter< ns3::EventImpl > > const &', 'o')])
3304 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >::Cleanup() [member function]
3305 cls.add_method('Cleanup',
3306 'void',
3307 [],
3308 is_static=True)
3309 return
3310
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08003311def register_Ns3SimpleRefCount__Ns3Ipv4AppTracer_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv4AppTracer__gt___methods(root_module, cls):
3312 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Ipv4AppTracer, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4AppTracer> >::SimpleRefCount() [constructor]
3313 cls.add_constructor([])
3314 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Ipv4AppTracer, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4AppTracer> >::SimpleRefCount(ns3::SimpleRefCount<ns3::Ipv4AppTracer, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4AppTracer> > const & o) [copy constructor]
3315 cls.add_constructor([param('ns3::SimpleRefCount< ns3::Ipv4AppTracer, ns3::empty, ns3::DefaultDeleter< ns3::Ipv4AppTracer > > const &', 'o')])
3316 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::Ipv4AppTracer, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4AppTracer> >::Cleanup() [member function]
3317 cls.add_method('Cleanup',
3318 'void',
3319 [],
3320 is_static=True)
3321 return
3322
3323def register_Ns3SimpleRefCount__Ns3Ipv4MulticastRoute_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv4MulticastRoute__gt___methods(root_module, cls):
3324 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4MulticastRoute> >::SimpleRefCount() [constructor]
3325 cls.add_constructor([])
3326 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4MulticastRoute> >::SimpleRefCount(ns3::SimpleRefCount<ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4MulticastRoute> > const & o) [copy constructor]
3327 cls.add_constructor([param('ns3::SimpleRefCount< ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter< ns3::Ipv4MulticastRoute > > const &', 'o')])
3328 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4MulticastRoute> >::Cleanup() [member function]
3329 cls.add_method('Cleanup',
3330 'void',
3331 [],
3332 is_static=True)
3333 return
3334
3335def register_Ns3SimpleRefCount__Ns3Ipv4Route_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv4Route__gt___methods(root_module, cls):
3336 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4Route> >::SimpleRefCount() [constructor]
3337 cls.add_constructor([])
3338 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4Route> >::SimpleRefCount(ns3::SimpleRefCount<ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4Route> > const & o) [copy constructor]
3339 cls.add_constructor([param('ns3::SimpleRefCount< ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter< ns3::Ipv4Route > > const &', 'o')])
3340 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4Route> >::Cleanup() [member function]
3341 cls.add_method('Cleanup',
3342 'void',
3343 [],
3344 is_static=True)
3345 return
3346
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003347def register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, cls):
3348 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >::SimpleRefCount() [constructor]
3349 cls.add_constructor([])
3350 ## 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]
3351 cls.add_constructor([param('ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter< ns3::NixVector > > const &', 'o')])
3352 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >::Cleanup() [member function]
3353 cls.add_method('Cleanup',
3354 'void',
3355 [],
3356 is_static=True)
3357 return
3358
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003359def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, cls):
3360 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >::SimpleRefCount() [constructor]
3361 cls.add_constructor([])
3362 ## 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]
3363 cls.add_constructor([param('ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter< ns3::Packet > > const &', 'o')])
3364 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >::Cleanup() [member function]
3365 cls.add_method('Cleanup',
3366 'void',
3367 [],
3368 is_static=True)
3369 return
3370
Alexander Afanasyevae3b7c32011-12-13 13:20:06 -08003371def register_Ns3SimpleRefCount__Ns3TopologyReader_Ns3Empty_Ns3DefaultDeleter__lt__ns3TopologyReader__gt___methods(root_module, cls):
3372 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter<ns3::TopologyReader> >::SimpleRefCount() [constructor]
3373 cls.add_constructor([])
3374 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter<ns3::TopologyReader> >::SimpleRefCount(ns3::SimpleRefCount<ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter<ns3::TopologyReader> > const & o) [copy constructor]
3375 cls.add_constructor([param('ns3::SimpleRefCount< ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter< ns3::TopologyReader > > const &', 'o')])
3376 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter<ns3::TopologyReader> >::Cleanup() [member function]
3377 cls.add_method('Cleanup',
3378 'void',
3379 [],
3380 is_static=True)
3381 return
3382
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003383def register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, cls):
3384 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >::SimpleRefCount() [constructor]
3385 cls.add_constructor([])
3386 ## 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]
3387 cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > const &', 'o')])
3388 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >::Cleanup() [member function]
3389 cls.add_method('Cleanup',
3390 'void',
3391 [],
3392 is_static=True)
3393 return
3394
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08003395def register_Ns3SimpleRefCount__Ns3WindowTracer_Ns3Empty_Ns3DefaultDeleter__lt__ns3WindowTracer__gt___methods(root_module, cls):
3396 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::WindowTracer, ns3::empty, ns3::DefaultDeleter<ns3::WindowTracer> >::SimpleRefCount() [constructor]
3397 cls.add_constructor([])
3398 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::WindowTracer, ns3::empty, ns3::DefaultDeleter<ns3::WindowTracer> >::SimpleRefCount(ns3::SimpleRefCount<ns3::WindowTracer, ns3::empty, ns3::DefaultDeleter<ns3::WindowTracer> > const & o) [copy constructor]
3399 cls.add_constructor([param('ns3::SimpleRefCount< ns3::WindowTracer, ns3::empty, ns3::DefaultDeleter< ns3::WindowTracer > > const &', 'o')])
3400 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::WindowTracer, ns3::empty, ns3::DefaultDeleter<ns3::WindowTracer> >::Cleanup() [member function]
3401 cls.add_method('Cleanup',
3402 'void',
3403 [],
3404 is_static=True)
3405 return
3406
3407def register_Ns3Socket_methods(root_module, cls):
3408 ## socket.h (module 'network'): ns3::Socket::Socket(ns3::Socket const & arg0) [copy constructor]
3409 cls.add_constructor([param('ns3::Socket const &', 'arg0')])
3410 ## socket.h (module 'network'): ns3::Socket::Socket() [constructor]
3411 cls.add_constructor([])
3412 ## socket.h (module 'network'): int ns3::Socket::Bind(ns3::Address const & address) [member function]
3413 cls.add_method('Bind',
3414 'int',
3415 [param('ns3::Address const &', 'address')],
3416 is_pure_virtual=True, is_virtual=True)
3417 ## socket.h (module 'network'): int ns3::Socket::Bind() [member function]
3418 cls.add_method('Bind',
3419 'int',
3420 [],
3421 is_pure_virtual=True, is_virtual=True)
3422 ## socket.h (module 'network'): void ns3::Socket::BindToNetDevice(ns3::Ptr<ns3::NetDevice> netdevice) [member function]
3423 cls.add_method('BindToNetDevice',
3424 'void',
3425 [param('ns3::Ptr< ns3::NetDevice >', 'netdevice')],
3426 is_virtual=True)
3427 ## socket.h (module 'network'): int ns3::Socket::Close() [member function]
3428 cls.add_method('Close',
3429 'int',
3430 [],
3431 is_pure_virtual=True, is_virtual=True)
3432 ## socket.h (module 'network'): int ns3::Socket::Connect(ns3::Address const & address) [member function]
3433 cls.add_method('Connect',
3434 'int',
3435 [param('ns3::Address const &', 'address')],
3436 is_pure_virtual=True, is_virtual=True)
3437 ## socket.h (module 'network'): static ns3::Ptr<ns3::Socket> ns3::Socket::CreateSocket(ns3::Ptr<ns3::Node> node, ns3::TypeId tid) [member function]
3438 cls.add_method('CreateSocket',
3439 'ns3::Ptr< ns3::Socket >',
3440 [param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::TypeId', 'tid')],
3441 is_static=True)
3442 ## socket.h (module 'network'): bool ns3::Socket::GetAllowBroadcast() const [member function]
3443 cls.add_method('GetAllowBroadcast',
3444 'bool',
3445 [],
3446 is_pure_virtual=True, is_const=True, is_virtual=True)
3447 ## socket.h (module 'network'): ns3::Ptr<ns3::NetDevice> ns3::Socket::GetBoundNetDevice() [member function]
3448 cls.add_method('GetBoundNetDevice',
3449 'ns3::Ptr< ns3::NetDevice >',
3450 [])
3451 ## socket.h (module 'network'): ns3::Socket::SocketErrno ns3::Socket::GetErrno() const [member function]
3452 cls.add_method('GetErrno',
3453 'ns3::Socket::SocketErrno',
3454 [],
3455 is_pure_virtual=True, is_const=True, is_virtual=True)
3456 ## socket.h (module 'network'): ns3::Ptr<ns3::Node> ns3::Socket::GetNode() const [member function]
3457 cls.add_method('GetNode',
3458 'ns3::Ptr< ns3::Node >',
3459 [],
3460 is_pure_virtual=True, is_const=True, is_virtual=True)
3461 ## socket.h (module 'network'): uint32_t ns3::Socket::GetRxAvailable() const [member function]
3462 cls.add_method('GetRxAvailable',
3463 'uint32_t',
3464 [],
3465 is_pure_virtual=True, is_const=True, is_virtual=True)
3466 ## socket.h (module 'network'): int ns3::Socket::GetSockName(ns3::Address & address) const [member function]
3467 cls.add_method('GetSockName',
3468 'int',
3469 [param('ns3::Address &', 'address')],
3470 is_pure_virtual=True, is_const=True, is_virtual=True)
3471 ## socket.h (module 'network'): ns3::Socket::SocketType ns3::Socket::GetSocketType() const [member function]
3472 cls.add_method('GetSocketType',
3473 'ns3::Socket::SocketType',
3474 [],
3475 is_pure_virtual=True, is_const=True, is_virtual=True)
3476 ## socket.h (module 'network'): uint32_t ns3::Socket::GetTxAvailable() const [member function]
3477 cls.add_method('GetTxAvailable',
3478 'uint32_t',
3479 [],
3480 is_pure_virtual=True, is_const=True, is_virtual=True)
3481 ## socket.h (module 'network'): bool ns3::Socket::IsRecvPktInfo() const [member function]
3482 cls.add_method('IsRecvPktInfo',
3483 'bool',
3484 [],
3485 is_const=True)
3486 ## socket.h (module 'network'): int ns3::Socket::Listen() [member function]
3487 cls.add_method('Listen',
3488 'int',
3489 [],
3490 is_pure_virtual=True, is_virtual=True)
3491 ## socket.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Socket::Recv(uint32_t maxSize, uint32_t flags) [member function]
3492 cls.add_method('Recv',
3493 'ns3::Ptr< ns3::Packet >',
3494 [param('uint32_t', 'maxSize'), param('uint32_t', 'flags')],
3495 is_pure_virtual=True, is_virtual=True)
3496 ## socket.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Socket::Recv() [member function]
3497 cls.add_method('Recv',
3498 'ns3::Ptr< ns3::Packet >',
3499 [])
3500 ## socket.h (module 'network'): int ns3::Socket::Recv(uint8_t * buf, uint32_t size, uint32_t flags) [member function]
3501 cls.add_method('Recv',
3502 'int',
3503 [param('uint8_t *', 'buf'), param('uint32_t', 'size'), param('uint32_t', 'flags')])
3504 ## socket.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Socket::RecvFrom(uint32_t maxSize, uint32_t flags, ns3::Address & fromAddress) [member function]
3505 cls.add_method('RecvFrom',
3506 'ns3::Ptr< ns3::Packet >',
3507 [param('uint32_t', 'maxSize'), param('uint32_t', 'flags'), param('ns3::Address &', 'fromAddress')],
3508 is_pure_virtual=True, is_virtual=True)
3509 ## socket.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Socket::RecvFrom(ns3::Address & fromAddress) [member function]
3510 cls.add_method('RecvFrom',
3511 'ns3::Ptr< ns3::Packet >',
3512 [param('ns3::Address &', 'fromAddress')])
3513 ## socket.h (module 'network'): int ns3::Socket::RecvFrom(uint8_t * buf, uint32_t size, uint32_t flags, ns3::Address & fromAddress) [member function]
3514 cls.add_method('RecvFrom',
3515 'int',
3516 [param('uint8_t *', 'buf'), param('uint32_t', 'size'), param('uint32_t', 'flags'), param('ns3::Address &', 'fromAddress')])
3517 ## socket.h (module 'network'): int ns3::Socket::Send(ns3::Ptr<ns3::Packet> p, uint32_t flags) [member function]
3518 cls.add_method('Send',
3519 'int',
3520 [param('ns3::Ptr< ns3::Packet >', 'p'), param('uint32_t', 'flags')],
3521 is_pure_virtual=True, is_virtual=True)
3522 ## socket.h (module 'network'): int ns3::Socket::Send(ns3::Ptr<ns3::Packet> p) [member function]
3523 cls.add_method('Send',
3524 'int',
3525 [param('ns3::Ptr< ns3::Packet >', 'p')])
3526 ## socket.h (module 'network'): int ns3::Socket::Send(uint8_t const * buf, uint32_t size, uint32_t flags) [member function]
3527 cls.add_method('Send',
3528 'int',
3529 [param('uint8_t const *', 'buf'), param('uint32_t', 'size'), param('uint32_t', 'flags')])
3530 ## socket.h (module 'network'): int ns3::Socket::SendTo(ns3::Ptr<ns3::Packet> p, uint32_t flags, ns3::Address const & toAddress) [member function]
3531 cls.add_method('SendTo',
3532 'int',
3533 [param('ns3::Ptr< ns3::Packet >', 'p'), param('uint32_t', 'flags'), param('ns3::Address const &', 'toAddress')],
3534 is_pure_virtual=True, is_virtual=True)
3535 ## socket.h (module 'network'): int ns3::Socket::SendTo(uint8_t const * buf, uint32_t size, uint32_t flags, ns3::Address const & address) [member function]
3536 cls.add_method('SendTo',
3537 'int',
3538 [param('uint8_t const *', 'buf'), param('uint32_t', 'size'), param('uint32_t', 'flags'), param('ns3::Address const &', 'address')])
3539 ## socket.h (module 'network'): void ns3::Socket::SetAcceptCallback(ns3::Callback<bool, ns3::Ptr<ns3::Socket>, ns3::Address const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> connectionRequest, ns3::Callback<void, ns3::Ptr<ns3::Socket>, ns3::Address const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> newConnectionCreated) [member function]
3540 cls.add_method('SetAcceptCallback',
3541 'void',
3542 [param('ns3::Callback< bool, ns3::Ptr< ns3::Socket >, ns3::Address const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'connectionRequest'), param('ns3::Callback< void, ns3::Ptr< ns3::Socket >, ns3::Address const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'newConnectionCreated')])
3543 ## socket.h (module 'network'): bool ns3::Socket::SetAllowBroadcast(bool allowBroadcast) [member function]
3544 cls.add_method('SetAllowBroadcast',
3545 'bool',
3546 [param('bool', 'allowBroadcast')],
3547 is_pure_virtual=True, is_virtual=True)
3548 ## socket.h (module 'network'): void ns3::Socket::SetCloseCallbacks(ns3::Callback<void, ns3::Ptr<ns3::Socket>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> normalClose, ns3::Callback<void, ns3::Ptr<ns3::Socket>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> errorClose) [member function]
3549 cls.add_method('SetCloseCallbacks',
3550 'void',
3551 [param('ns3::Callback< void, ns3::Ptr< ns3::Socket >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'normalClose'), param('ns3::Callback< void, ns3::Ptr< ns3::Socket >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'errorClose')])
3552 ## socket.h (module 'network'): void ns3::Socket::SetConnectCallback(ns3::Callback<void, ns3::Ptr<ns3::Socket>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> connectionSucceeded, ns3::Callback<void, ns3::Ptr<ns3::Socket>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> connectionFailed) [member function]
3553 cls.add_method('SetConnectCallback',
3554 'void',
3555 [param('ns3::Callback< void, ns3::Ptr< ns3::Socket >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'connectionSucceeded'), param('ns3::Callback< void, ns3::Ptr< ns3::Socket >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'connectionFailed')])
3556 ## socket.h (module 'network'): void ns3::Socket::SetDataSentCallback(ns3::Callback<void, ns3::Ptr<ns3::Socket>, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> dataSent) [member function]
3557 cls.add_method('SetDataSentCallback',
3558 'void',
3559 [param('ns3::Callback< void, ns3::Ptr< ns3::Socket >, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'dataSent')])
3560 ## socket.h (module 'network'): void ns3::Socket::SetRecvCallback(ns3::Callback<void, ns3::Ptr<ns3::Socket>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> arg0) [member function]
3561 cls.add_method('SetRecvCallback',
3562 'void',
3563 [param('ns3::Callback< void, ns3::Ptr< ns3::Socket >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'arg0')])
3564 ## socket.h (module 'network'): void ns3::Socket::SetRecvPktInfo(bool flag) [member function]
3565 cls.add_method('SetRecvPktInfo',
3566 'void',
3567 [param('bool', 'flag')])
3568 ## socket.h (module 'network'): void ns3::Socket::SetSendCallback(ns3::Callback<void, ns3::Ptr<ns3::Socket>, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> sendCb) [member function]
3569 cls.add_method('SetSendCallback',
3570 'void',
3571 [param('ns3::Callback< void, ns3::Ptr< ns3::Socket >, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'sendCb')])
3572 ## socket.h (module 'network'): int ns3::Socket::ShutdownRecv() [member function]
3573 cls.add_method('ShutdownRecv',
3574 'int',
3575 [],
3576 is_pure_virtual=True, is_virtual=True)
3577 ## socket.h (module 'network'): int ns3::Socket::ShutdownSend() [member function]
3578 cls.add_method('ShutdownSend',
3579 'int',
3580 [],
3581 is_pure_virtual=True, is_virtual=True)
3582 ## socket.h (module 'network'): void ns3::Socket::DoDispose() [member function]
3583 cls.add_method('DoDispose',
3584 'void',
3585 [],
3586 visibility='protected', is_virtual=True)
3587 ## socket.h (module 'network'): void ns3::Socket::NotifyConnectionFailed() [member function]
3588 cls.add_method('NotifyConnectionFailed',
3589 'void',
3590 [],
3591 visibility='protected')
3592 ## socket.h (module 'network'): bool ns3::Socket::NotifyConnectionRequest(ns3::Address const & from) [member function]
3593 cls.add_method('NotifyConnectionRequest',
3594 'bool',
3595 [param('ns3::Address const &', 'from')],
3596 visibility='protected')
3597 ## socket.h (module 'network'): void ns3::Socket::NotifyConnectionSucceeded() [member function]
3598 cls.add_method('NotifyConnectionSucceeded',
3599 'void',
3600 [],
3601 visibility='protected')
3602 ## socket.h (module 'network'): void ns3::Socket::NotifyDataRecv() [member function]
3603 cls.add_method('NotifyDataRecv',
3604 'void',
3605 [],
3606 visibility='protected')
3607 ## socket.h (module 'network'): void ns3::Socket::NotifyDataSent(uint32_t size) [member function]
3608 cls.add_method('NotifyDataSent',
3609 'void',
3610 [param('uint32_t', 'size')],
3611 visibility='protected')
3612 ## socket.h (module 'network'): void ns3::Socket::NotifyErrorClose() [member function]
3613 cls.add_method('NotifyErrorClose',
3614 'void',
3615 [],
3616 visibility='protected')
3617 ## socket.h (module 'network'): void ns3::Socket::NotifyNewConnectionCreated(ns3::Ptr<ns3::Socket> socket, ns3::Address const & from) [member function]
3618 cls.add_method('NotifyNewConnectionCreated',
3619 'void',
3620 [param('ns3::Ptr< ns3::Socket >', 'socket'), param('ns3::Address const &', 'from')],
3621 visibility='protected')
3622 ## socket.h (module 'network'): void ns3::Socket::NotifyNormalClose() [member function]
3623 cls.add_method('NotifyNormalClose',
3624 'void',
3625 [],
3626 visibility='protected')
3627 ## socket.h (module 'network'): void ns3::Socket::NotifySend(uint32_t spaceAvailable) [member function]
3628 cls.add_method('NotifySend',
3629 'void',
3630 [param('uint32_t', 'spaceAvailable')],
3631 visibility='protected')
3632 return
3633
3634def register_Ns3Tag_methods(root_module, cls):
3635 cls.add_output_stream_operator()
3636 ## tag.h (module 'network'): ns3::Tag::Tag() [constructor]
3637 cls.add_constructor([])
3638 ## tag.h (module 'network'): ns3::Tag::Tag(ns3::Tag const & arg0) [copy constructor]
3639 cls.add_constructor([param('ns3::Tag const &', 'arg0')])
3640 ## tag.h (module 'network'): void ns3::Tag::Deserialize(ns3::TagBuffer i) [member function]
3641 cls.add_method('Deserialize',
3642 'void',
3643 [param('ns3::TagBuffer', 'i')],
3644 is_pure_virtual=True, is_virtual=True)
3645 ## tag.h (module 'network'): uint32_t ns3::Tag::GetSerializedSize() const [member function]
3646 cls.add_method('GetSerializedSize',
3647 'uint32_t',
3648 [],
3649 is_pure_virtual=True, is_const=True, is_virtual=True)
3650 ## tag.h (module 'network'): static ns3::TypeId ns3::Tag::GetTypeId() [member function]
3651 cls.add_method('GetTypeId',
3652 'ns3::TypeId',
3653 [],
3654 is_static=True)
3655 ## tag.h (module 'network'): void ns3::Tag::Print(std::ostream & os) const [member function]
3656 cls.add_method('Print',
3657 'void',
3658 [param('std::ostream &', 'os')],
3659 is_pure_virtual=True, is_const=True, is_virtual=True)
3660 ## tag.h (module 'network'): void ns3::Tag::Serialize(ns3::TagBuffer i) const [member function]
3661 cls.add_method('Serialize',
3662 'void',
3663 [param('ns3::TagBuffer', 'i')],
3664 is_pure_virtual=True, is_const=True, is_virtual=True)
3665 return
3666
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003667def register_Ns3Time_methods(root_module, cls):
3668 cls.add_binary_comparison_operator('!=')
3669 cls.add_inplace_numeric_operator('+=', param('ns3::Time const &', 'right'))
3670 cls.add_inplace_numeric_operator('-=', param('ns3::Time const &', 'right'))
3671 cls.add_output_stream_operator()
Alexander Afanasyev4975f732011-12-20 17:52:19 -08003672 cls.add_binary_comparison_operator('<=')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003673 cls.add_binary_comparison_operator('==')
3674 cls.add_binary_comparison_operator('>=')
3675 cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right'))
3676 cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right'))
3677 cls.add_binary_comparison_operator('<')
3678 cls.add_binary_comparison_operator('>')
3679 ## nstime.h (module 'core'): ns3::Time::Time() [constructor]
3680 cls.add_constructor([])
3681 ## nstime.h (module 'core'): ns3::Time::Time(ns3::Time const & o) [copy constructor]
3682 cls.add_constructor([param('ns3::Time const &', 'o')])
3683 ## nstime.h (module 'core'): ns3::Time::Time(double v) [constructor]
3684 cls.add_constructor([param('double', 'v')])
3685 ## nstime.h (module 'core'): ns3::Time::Time(int v) [constructor]
3686 cls.add_constructor([param('int', 'v')])
3687 ## nstime.h (module 'core'): ns3::Time::Time(long int v) [constructor]
3688 cls.add_constructor([param('long int', 'v')])
3689 ## nstime.h (module 'core'): ns3::Time::Time(long long int v) [constructor]
3690 cls.add_constructor([param('long long int', 'v')])
3691 ## nstime.h (module 'core'): ns3::Time::Time(unsigned int v) [constructor]
3692 cls.add_constructor([param('unsigned int', 'v')])
3693 ## nstime.h (module 'core'): ns3::Time::Time(long unsigned int v) [constructor]
3694 cls.add_constructor([param('long unsigned int', 'v')])
3695 ## nstime.h (module 'core'): ns3::Time::Time(long long unsigned int v) [constructor]
3696 cls.add_constructor([param('long long unsigned int', 'v')])
3697 ## nstime.h (module 'core'): ns3::Time::Time(std::string const & s) [constructor]
3698 cls.add_constructor([param('std::string const &', 's')])
3699 ## nstime.h (module 'core'): ns3::Time::Time(ns3::int64x64_t const & value) [constructor]
3700 cls.add_constructor([param('ns3::int64x64_t const &', 'value')])
3701 ## nstime.h (module 'core'): int ns3::Time::Compare(ns3::Time const & o) const [member function]
3702 cls.add_method('Compare',
3703 'int',
3704 [param('ns3::Time const &', 'o')],
3705 is_const=True)
3706 ## nstime.h (module 'core'): static ns3::Time ns3::Time::From(ns3::int64x64_t const & from, ns3::Time::Unit timeUnit) [member function]
3707 cls.add_method('From',
3708 'ns3::Time',
3709 [param('ns3::int64x64_t const &', 'from'), param('ns3::Time::Unit', 'timeUnit')],
3710 is_static=True)
3711 ## nstime.h (module 'core'): static ns3::Time ns3::Time::From(ns3::int64x64_t const & value) [member function]
3712 cls.add_method('From',
3713 'ns3::Time',
3714 [param('ns3::int64x64_t const &', 'value')],
3715 is_static=True)
3716 ## nstime.h (module 'core'): static ns3::Time ns3::Time::FromDouble(double value, ns3::Time::Unit timeUnit) [member function]
3717 cls.add_method('FromDouble',
3718 'ns3::Time',
3719 [param('double', 'value'), param('ns3::Time::Unit', 'timeUnit')],
3720 is_static=True)
3721 ## nstime.h (module 'core'): static ns3::Time ns3::Time::FromInteger(uint64_t value, ns3::Time::Unit timeUnit) [member function]
3722 cls.add_method('FromInteger',
3723 'ns3::Time',
3724 [param('uint64_t', 'value'), param('ns3::Time::Unit', 'timeUnit')],
3725 is_static=True)
3726 ## nstime.h (module 'core'): double ns3::Time::GetDouble() const [member function]
3727 cls.add_method('GetDouble',
3728 'double',
3729 [],
3730 is_const=True)
3731 ## nstime.h (module 'core'): int64_t ns3::Time::GetFemtoSeconds() const [member function]
3732 cls.add_method('GetFemtoSeconds',
3733 'int64_t',
3734 [],
3735 is_const=True)
3736 ## nstime.h (module 'core'): int64_t ns3::Time::GetInteger() const [member function]
3737 cls.add_method('GetInteger',
3738 'int64_t',
3739 [],
3740 is_const=True)
3741 ## nstime.h (module 'core'): int64_t ns3::Time::GetMicroSeconds() const [member function]
3742 cls.add_method('GetMicroSeconds',
3743 'int64_t',
3744 [],
3745 is_const=True)
3746 ## nstime.h (module 'core'): int64_t ns3::Time::GetMilliSeconds() const [member function]
3747 cls.add_method('GetMilliSeconds',
3748 'int64_t',
3749 [],
3750 is_const=True)
3751 ## nstime.h (module 'core'): int64_t ns3::Time::GetNanoSeconds() const [member function]
3752 cls.add_method('GetNanoSeconds',
3753 'int64_t',
3754 [],
3755 is_const=True)
3756 ## nstime.h (module 'core'): int64_t ns3::Time::GetPicoSeconds() const [member function]
3757 cls.add_method('GetPicoSeconds',
3758 'int64_t',
3759 [],
3760 is_const=True)
3761 ## nstime.h (module 'core'): static ns3::Time::Unit ns3::Time::GetResolution() [member function]
3762 cls.add_method('GetResolution',
3763 'ns3::Time::Unit',
3764 [],
3765 is_static=True)
3766 ## nstime.h (module 'core'): double ns3::Time::GetSeconds() const [member function]
3767 cls.add_method('GetSeconds',
3768 'double',
3769 [],
3770 is_const=True)
3771 ## nstime.h (module 'core'): int64_t ns3::Time::GetTimeStep() const [member function]
3772 cls.add_method('GetTimeStep',
3773 'int64_t',
3774 [],
3775 is_const=True)
3776 ## nstime.h (module 'core'): bool ns3::Time::IsNegative() const [member function]
3777 cls.add_method('IsNegative',
3778 'bool',
3779 [],
3780 is_const=True)
3781 ## nstime.h (module 'core'): bool ns3::Time::IsPositive() const [member function]
3782 cls.add_method('IsPositive',
3783 'bool',
3784 [],
3785 is_const=True)
3786 ## nstime.h (module 'core'): bool ns3::Time::IsStrictlyNegative() const [member function]
3787 cls.add_method('IsStrictlyNegative',
3788 'bool',
3789 [],
3790 is_const=True)
3791 ## nstime.h (module 'core'): bool ns3::Time::IsStrictlyPositive() const [member function]
3792 cls.add_method('IsStrictlyPositive',
3793 'bool',
3794 [],
3795 is_const=True)
3796 ## nstime.h (module 'core'): bool ns3::Time::IsZero() const [member function]
3797 cls.add_method('IsZero',
3798 'bool',
3799 [],
3800 is_const=True)
3801 ## nstime.h (module 'core'): static void ns3::Time::SetResolution(ns3::Time::Unit resolution) [member function]
3802 cls.add_method('SetResolution',
3803 'void',
3804 [param('ns3::Time::Unit', 'resolution')],
3805 is_static=True)
3806 ## nstime.h (module 'core'): ns3::int64x64_t ns3::Time::To(ns3::Time::Unit timeUnit) const [member function]
3807 cls.add_method('To',
3808 'ns3::int64x64_t',
3809 [param('ns3::Time::Unit', 'timeUnit')],
3810 is_const=True)
3811 ## nstime.h (module 'core'): double ns3::Time::ToDouble(ns3::Time::Unit timeUnit) const [member function]
3812 cls.add_method('ToDouble',
3813 'double',
3814 [param('ns3::Time::Unit', 'timeUnit')],
3815 is_const=True)
3816 ## nstime.h (module 'core'): int64_t ns3::Time::ToInteger(ns3::Time::Unit timeUnit) const [member function]
3817 cls.add_method('ToInteger',
3818 'int64_t',
3819 [param('ns3::Time::Unit', 'timeUnit')],
3820 is_const=True)
3821 return
3822
3823def register_Ns3TopologyReader_methods(root_module, cls):
3824 ## topology-reader.h (module 'topology-read'): ns3::TopologyReader::TopologyReader() [constructor]
3825 cls.add_constructor([])
3826 ## topology-reader.h (module 'topology-read'): void ns3::TopologyReader::AddLink(ns3::TopologyReader::Link link) [member function]
3827 cls.add_method('AddLink',
3828 'void',
3829 [param('ns3::TopologyReader::Link', 'link')])
3830 ## topology-reader.h (module 'topology-read'): std::string ns3::TopologyReader::GetFileName() const [member function]
3831 cls.add_method('GetFileName',
3832 'std::string',
3833 [],
3834 is_const=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003835 ## topology-reader.h (module 'topology-read'): std::_List_const_iterator<ns3::TopologyReader::Link> ns3::TopologyReader::LinksBegin() const [member function]
3836 cls.add_method('LinksBegin',
3837 'std::_List_const_iterator< ns3::TopologyReader::Link >',
3838 [],
3839 is_const=True)
3840 ## topology-reader.h (module 'topology-read'): bool ns3::TopologyReader::LinksEmpty() const [member function]
3841 cls.add_method('LinksEmpty',
3842 'bool',
3843 [],
3844 is_const=True)
3845 ## topology-reader.h (module 'topology-read'): std::_List_const_iterator<ns3::TopologyReader::Link> ns3::TopologyReader::LinksEnd() const [member function]
3846 cls.add_method('LinksEnd',
3847 'std::_List_const_iterator< ns3::TopologyReader::Link >',
3848 [],
3849 is_const=True)
3850 ## topology-reader.h (module 'topology-read'): int ns3::TopologyReader::LinksSize() const [member function]
3851 cls.add_method('LinksSize',
3852 'int',
3853 [],
3854 is_const=True)
3855 ## topology-reader.h (module 'topology-read'): ns3::NodeContainer ns3::TopologyReader::Read() [member function]
3856 cls.add_method('Read',
3857 'ns3::NodeContainer',
3858 [],
3859 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003860 ## topology-reader.h (module 'topology-read'): void ns3::TopologyReader::SetFileName(std::string const & fileName) [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003861 cls.add_method('SetFileName',
3862 'void',
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003863 [param('std::string const &', 'fileName')])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003864 return
3865
3866def register_Ns3TopologyReaderLink_methods(root_module, cls):
3867 ## topology-reader.h (module 'topology-read'): ns3::TopologyReader::Link::Link(ns3::TopologyReader::Link const & arg0) [copy constructor]
3868 cls.add_constructor([param('ns3::TopologyReader::Link const &', 'arg0')])
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003869 ## 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]
3870 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 -08003871 ## 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]
3872 cls.add_method('AttributesBegin',
3873 '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 > > > >',
3874 [])
3875 ## 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]
3876 cls.add_method('AttributesEnd',
3877 '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 > > > >',
3878 [])
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003879 ## 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 -08003880 cls.add_method('GetAttribute',
3881 'std::string',
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003882 [param('std::string const &', 'name')],
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003883 is_const=True)
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003884 ## 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 -08003885 cls.add_method('GetAttributeFailSafe',
3886 'bool',
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003887 [param('std::string const &', 'name'), param('std::string &', 'value')],
3888 is_const=True)
3889 ## topology-reader.h (module 'topology-read'): ns3::Ptr<ns3::NetDevice> ns3::TopologyReader::Link::GetFromNetDevice() const [member function]
3890 cls.add_method('GetFromNetDevice',
3891 'ns3::Ptr< ns3::NetDevice >',
3892 [],
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003893 is_const=True)
3894 ## topology-reader.h (module 'topology-read'): ns3::Ptr<ns3::Node> ns3::TopologyReader::Link::GetFromNode() const [member function]
3895 cls.add_method('GetFromNode',
3896 'ns3::Ptr< ns3::Node >',
3897 [],
3898 is_const=True)
3899 ## topology-reader.h (module 'topology-read'): std::string ns3::TopologyReader::Link::GetFromNodeName() const [member function]
3900 cls.add_method('GetFromNodeName',
3901 'std::string',
3902 [],
3903 is_const=True)
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003904 ## topology-reader.h (module 'topology-read'): ns3::Ptr<ns3::NetDevice> ns3::TopologyReader::Link::GetToNetDevice() const [member function]
3905 cls.add_method('GetToNetDevice',
3906 'ns3::Ptr< ns3::NetDevice >',
3907 [],
3908 is_const=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003909 ## topology-reader.h (module 'topology-read'): ns3::Ptr<ns3::Node> ns3::TopologyReader::Link::GetToNode() const [member function]
3910 cls.add_method('GetToNode',
3911 'ns3::Ptr< ns3::Node >',
3912 [],
3913 is_const=True)
3914 ## topology-reader.h (module 'topology-read'): std::string ns3::TopologyReader::Link::GetToNodeName() const [member function]
3915 cls.add_method('GetToNodeName',
3916 'std::string',
3917 [],
3918 is_const=True)
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003919 ## 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 -08003920 cls.add_method('SetAttribute',
3921 'void',
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003922 [param('std::string const &', 'name'), param('std::string const &', 'value')])
3923 ## topology-reader.h (module 'topology-read'): void ns3::TopologyReader::Link::SetNetDevices(ns3::Ptr<ns3::NetDevice> from, ns3::Ptr<ns3::NetDevice> to) [member function]
3924 cls.add_method('SetNetDevices',
3925 'void',
3926 [param('ns3::Ptr< ns3::NetDevice >', 'from'), param('ns3::Ptr< ns3::NetDevice >', 'to')])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003927 return
3928
3929def register_Ns3TraceSourceAccessor_methods(root_module, cls):
3930 ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor]
3931 cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')])
3932 ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor]
3933 cls.add_constructor([])
3934 ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function]
3935 cls.add_method('Connect',
3936 'bool',
3937 [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')],
3938 is_pure_virtual=True, is_const=True, is_virtual=True)
3939 ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function]
3940 cls.add_method('ConnectWithoutContext',
3941 'bool',
3942 [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')],
3943 is_pure_virtual=True, is_const=True, is_virtual=True)
3944 ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function]
3945 cls.add_method('Disconnect',
3946 'bool',
3947 [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')],
3948 is_pure_virtual=True, is_const=True, is_virtual=True)
3949 ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function]
3950 cls.add_method('DisconnectWithoutContext',
3951 'bool',
3952 [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')],
3953 is_pure_virtual=True, is_const=True, is_virtual=True)
3954 return
3955
3956def register_Ns3Trailer_methods(root_module, cls):
3957 cls.add_output_stream_operator()
3958 ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor]
3959 cls.add_constructor([])
3960 ## trailer.h (module 'network'): ns3::Trailer::Trailer(ns3::Trailer const & arg0) [copy constructor]
3961 cls.add_constructor([param('ns3::Trailer const &', 'arg0')])
3962 ## trailer.h (module 'network'): uint32_t ns3::Trailer::Deserialize(ns3::Buffer::Iterator end) [member function]
3963 cls.add_method('Deserialize',
3964 'uint32_t',
3965 [param('ns3::Buffer::Iterator', 'end')],
3966 is_pure_virtual=True, is_virtual=True)
3967 ## trailer.h (module 'network'): uint32_t ns3::Trailer::GetSerializedSize() const [member function]
3968 cls.add_method('GetSerializedSize',
3969 'uint32_t',
3970 [],
3971 is_pure_virtual=True, is_const=True, is_virtual=True)
3972 ## trailer.h (module 'network'): static ns3::TypeId ns3::Trailer::GetTypeId() [member function]
3973 cls.add_method('GetTypeId',
3974 'ns3::TypeId',
3975 [],
3976 is_static=True)
3977 ## trailer.h (module 'network'): void ns3::Trailer::Print(std::ostream & os) const [member function]
3978 cls.add_method('Print',
3979 'void',
3980 [param('std::ostream &', 'os')],
3981 is_pure_virtual=True, is_const=True, is_virtual=True)
3982 ## trailer.h (module 'network'): void ns3::Trailer::Serialize(ns3::Buffer::Iterator start) const [member function]
3983 cls.add_method('Serialize',
3984 'void',
3985 [param('ns3::Buffer::Iterator', 'start')],
3986 is_pure_virtual=True, is_const=True, is_virtual=True)
3987 return
3988
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08003989def register_Ns3WeightsPathStretchTag_methods(root_module, cls):
3990 ## ccnx-path-stretch-tag.h (module 'NDNabstraction'): ns3::WeightsPathStretchTag::WeightsPathStretchTag(ns3::WeightsPathStretchTag const & arg0) [copy constructor]
3991 cls.add_constructor([param('ns3::WeightsPathStretchTag const &', 'arg0')])
3992 ## ccnx-path-stretch-tag.h (module 'NDNabstraction'): ns3::WeightsPathStretchTag::WeightsPathStretchTag() [constructor]
3993 cls.add_constructor([])
3994 ## ccnx-path-stretch-tag.h (module 'NDNabstraction'): void ns3::WeightsPathStretchTag::AddPathInfo(ns3::Ptr<ns3::Node> node, uint32_t weight) [member function]
3995 cls.add_method('AddPathInfo',
3996 'void',
3997 [param('ns3::Ptr< ns3::Node >', 'node'), param('uint32_t', 'weight')])
3998 ## ccnx-path-stretch-tag.h (module 'NDNabstraction'): void ns3::WeightsPathStretchTag::Deserialize(ns3::TagBuffer i) [member function]
3999 cls.add_method('Deserialize',
4000 'void',
4001 [param('ns3::TagBuffer', 'i')],
4002 is_virtual=True)
4003 ## ccnx-path-stretch-tag.h (module 'NDNabstraction'): std::list<ns3::WeightsPathStretchTag::NodeWeightPair, std::allocator<ns3::WeightsPathStretchTag::NodeWeightPair> > const & ns3::WeightsPathStretchTag::GetInfos() const [member function]
4004 cls.add_method('GetInfos',
4005 'std::list< ns3::WeightsPathStretchTag::NodeWeightPair > const &',
4006 [],
4007 is_const=True)
4008 ## ccnx-path-stretch-tag.h (module 'NDNabstraction'): uint32_t ns3::WeightsPathStretchTag::GetSerializedSize() const [member function]
4009 cls.add_method('GetSerializedSize',
4010 'uint32_t',
4011 [],
4012 is_const=True, is_virtual=True)
4013 ## ccnx-path-stretch-tag.h (module 'NDNabstraction'): ns3::Ptr<ns3::Node> ns3::WeightsPathStretchTag::GetSourceNode() const [member function]
4014 cls.add_method('GetSourceNode',
4015 'ns3::Ptr< ns3::Node >',
4016 [],
4017 is_const=True)
4018 ## ccnx-path-stretch-tag.h (module 'NDNabstraction'): uint32_t ns3::WeightsPathStretchTag::GetTotalWeight() const [member function]
4019 cls.add_method('GetTotalWeight',
4020 'uint32_t',
4021 [],
4022 is_const=True)
4023 ## ccnx-path-stretch-tag.h (module 'NDNabstraction'): static ns3::TypeId ns3::WeightsPathStretchTag::GetTypeId() [member function]
4024 cls.add_method('GetTypeId',
4025 'ns3::TypeId',
4026 [],
4027 is_static=True)
4028 ## ccnx-path-stretch-tag.h (module 'NDNabstraction'): void ns3::WeightsPathStretchTag::Print(std::ostream & os) const [member function]
4029 cls.add_method('Print',
4030 'void',
4031 [param('std::ostream &', 'os')],
4032 is_const=True, is_virtual=True)
4033 ## ccnx-path-stretch-tag.h (module 'NDNabstraction'): void ns3::WeightsPathStretchTag::Serialize(ns3::TagBuffer i) const [member function]
4034 cls.add_method('Serialize',
4035 'void',
4036 [param('ns3::TagBuffer', 'i')],
4037 is_const=True, is_virtual=True)
4038 return
4039
4040def register_Ns3WeightsPathStretchTagNodeWeightPair_methods(root_module, cls):
4041 ## ccnx-path-stretch-tag.h (module 'NDNabstraction'): ns3::WeightsPathStretchTag::NodeWeightPair::NodeWeightPair(ns3::WeightsPathStretchTag::NodeWeightPair const & arg0) [copy constructor]
4042 cls.add_constructor([param('ns3::WeightsPathStretchTag::NodeWeightPair const &', 'arg0')])
4043 ## ccnx-path-stretch-tag.h (module 'NDNabstraction'): ns3::WeightsPathStretchTag::NodeWeightPair::NodeWeightPair() [constructor]
4044 cls.add_constructor([])
4045 ## ccnx-path-stretch-tag.h (module 'NDNabstraction'): ns3::WeightsPathStretchTag::NodeWeightPair::NodeWeightPair(ns3::Ptr<ns3::Node> _node, uint32_t _weight) [constructor]
4046 cls.add_constructor([param('ns3::Ptr< ns3::Node >', '_node'), param('uint32_t', '_weight')])
4047 ## ccnx-path-stretch-tag.h (module 'NDNabstraction'): ns3::WeightsPathStretchTag::NodeWeightPair::node [variable]
4048 cls.add_instance_attribute('node', 'ns3::Ptr< ns3::Node >', is_const=False)
4049 ## ccnx-path-stretch-tag.h (module 'NDNabstraction'): ns3::WeightsPathStretchTag::NodeWeightPair::weight [variable]
4050 cls.add_instance_attribute('weight', 'uint32_t', is_const=False)
4051 return
4052
4053def register_Ns3WindowTracer_methods(root_module, cls):
4054 ## ccnx-consumer-window-tracer.h (module 'NDNabstraction'): ns3::WindowTracer::WindowTracer(ns3::WindowTracer const & arg0) [copy constructor]
4055 cls.add_constructor([param('ns3::WindowTracer const &', 'arg0')])
4056 ## ccnx-consumer-window-tracer.h (module 'NDNabstraction'): ns3::WindowTracer::WindowTracer(std::ostream & os, ns3::Ptr<ns3::Node> node, std::string const & appId="*") [constructor]
4057 cls.add_constructor([param('std::ostream &', 'os'), param('ns3::Ptr< ns3::Node >', 'node'), param('std::string const &', 'appId', default_value='"*"')])
4058 ## ccnx-consumer-window-tracer.h (module 'NDNabstraction'): static void ns3::WindowTracer::PrintHeader(std::ostream & os) [member function]
4059 cls.add_method('PrintHeader',
4060 'void',
4061 [param('std::ostream &', 'os')],
4062 is_static=True)
4063 ## ccnx-consumer-window-tracer.h (module 'NDNabstraction'): void ns3::WindowTracer::OnWindowChange(std::string context, uint32_t oldValue, uint32_t newValue) [member function]
4064 cls.add_method('OnWindowChange',
4065 'void',
4066 [param('std::string', 'context'), param('uint32_t', 'oldValue'), param('uint32_t', 'newValue')],
4067 is_virtual=True)
4068 return
4069
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004070def register_Ns3AnnotatedTopologyReader_methods(root_module, cls):
Alexander Afanasyevb3e4b852011-12-23 15:58:20 -08004071 ## annotated-topology-reader.h (module 'NDNabstraction'): ns3::AnnotatedTopologyReader::AnnotatedTopologyReader(std::string const & path="", double scale=1.0e+0) [constructor]
4072 cls.add_constructor([param('std::string const &', 'path', default_value='""'), param('double', 'scale', default_value='1.0e+0')])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004073 ## annotated-topology-reader.h (module 'NDNabstraction'): ns3::NodeContainer ns3::AnnotatedTopologyReader::Read() [member function]
4074 cls.add_method('Read',
4075 'ns3::NodeContainer',
4076 [],
4077 is_virtual=True)
Alexander Afanasyevb3e4b852011-12-23 15:58:20 -08004078 ## annotated-topology-reader.h (module 'NDNabstraction'): ns3::NodeContainer ns3::AnnotatedTopologyReader::GetNodes() const [member function]
4079 cls.add_method('GetNodes',
4080 'ns3::NodeContainer',
4081 [],
4082 is_const=True)
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08004083 ## annotated-topology-reader.h (module 'NDNabstraction'): std::list<ns3::TopologyReader::Link, std::allocator<ns3::TopologyReader::Link> > const & ns3::AnnotatedTopologyReader::GetLinks() const [member function]
4084 cls.add_method('GetLinks',
4085 'std::list< ns3::TopologyReader::Link > const &',
4086 [],
4087 is_const=True)
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08004088 ## annotated-topology-reader.h (module 'NDNabstraction'): void ns3::AnnotatedTopologyReader::AssignIpv4Addresses(ns3::Ipv4Address base) [member function]
4089 cls.add_method('AssignIpv4Addresses',
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004090 'void',
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08004091 [param('ns3::Ipv4Address', 'base')])
Alexander Afanasyevae3b7c32011-12-13 13:20:06 -08004092 ## annotated-topology-reader.h (module 'NDNabstraction'): void ns3::AnnotatedTopologyReader::SetBoundingBox(double ulx, double uly, double lrx, double lry) [member function]
4093 cls.add_method('SetBoundingBox',
4094 'void',
4095 [param('double', 'ulx'), param('double', 'uly'), param('double', 'lrx'), param('double', 'lry')])
Alexander Afanasyev53872ce2011-12-16 13:17:18 -08004096 ## annotated-topology-reader.h (module 'NDNabstraction'): void ns3::AnnotatedTopologyReader::SetMobilityModel(std::string const & model) [member function]
4097 cls.add_method('SetMobilityModel',
4098 'void',
4099 [param('std::string const &', 'model')])
Alexander Afanasyevae3b7c32011-12-13 13:20:06 -08004100 ## annotated-topology-reader.h (module 'NDNabstraction'): ns3::Ptr<ns3::Node> ns3::AnnotatedTopologyReader::CreateNode(std::string const name) [member function]
4101 cls.add_method('CreateNode',
4102 'ns3::Ptr< ns3::Node >',
4103 [param('std::string const', 'name')],
4104 visibility='protected')
4105 ## annotated-topology-reader.h (module 'NDNabstraction'): ns3::Ptr<ns3::Node> ns3::AnnotatedTopologyReader::CreateNode(std::string const name, double posX, double posY) [member function]
4106 cls.add_method('CreateNode',
4107 'ns3::Ptr< ns3::Node >',
4108 [param('std::string const', 'name'), param('double', 'posX'), param('double', 'posY')],
4109 visibility='protected')
Alexander Afanasyev53872ce2011-12-16 13:17:18 -08004110 ## annotated-topology-reader.h (module 'NDNabstraction'): void ns3::AnnotatedTopologyReader::ApplySettings() [member function]
4111 cls.add_method('ApplySettings',
4112 'void',
4113 [],
4114 visibility='protected')
4115 ## annotated-topology-reader.h (module 'NDNabstraction'): void ns3::AnnotatedTopologyReader::ApplyOspfMetric() [member function]
4116 cls.add_method('ApplyOspfMetric',
4117 'void',
4118 [],
4119 visibility='protected')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004120 return
4121
4122def register_Ns3Application_methods(root_module, cls):
4123 ## application.h (module 'network'): ns3::Application::Application(ns3::Application const & arg0) [copy constructor]
4124 cls.add_constructor([param('ns3::Application const &', 'arg0')])
4125 ## application.h (module 'network'): ns3::Application::Application() [constructor]
4126 cls.add_constructor([])
4127 ## application.h (module 'network'): ns3::Ptr<ns3::Node> ns3::Application::GetNode() const [member function]
4128 cls.add_method('GetNode',
4129 'ns3::Ptr< ns3::Node >',
4130 [],
4131 is_const=True)
4132 ## application.h (module 'network'): static ns3::TypeId ns3::Application::GetTypeId() [member function]
4133 cls.add_method('GetTypeId',
4134 'ns3::TypeId',
4135 [],
4136 is_static=True)
4137 ## application.h (module 'network'): void ns3::Application::SetNode(ns3::Ptr<ns3::Node> node) [member function]
4138 cls.add_method('SetNode',
4139 'void',
4140 [param('ns3::Ptr< ns3::Node >', 'node')])
4141 ## application.h (module 'network'): void ns3::Application::SetStartTime(ns3::Time start) [member function]
4142 cls.add_method('SetStartTime',
4143 'void',
4144 [param('ns3::Time', 'start')])
4145 ## application.h (module 'network'): void ns3::Application::SetStopTime(ns3::Time stop) [member function]
4146 cls.add_method('SetStopTime',
4147 'void',
4148 [param('ns3::Time', 'stop')])
4149 ## application.h (module 'network'): void ns3::Application::DoDispose() [member function]
4150 cls.add_method('DoDispose',
4151 'void',
4152 [],
4153 visibility='protected', is_virtual=True)
4154 ## application.h (module 'network'): void ns3::Application::DoStart() [member function]
4155 cls.add_method('DoStart',
4156 'void',
4157 [],
4158 visibility='protected', is_virtual=True)
4159 ## application.h (module 'network'): void ns3::Application::StartApplication() [member function]
4160 cls.add_method('StartApplication',
4161 'void',
4162 [],
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08004163 visibility='protected', is_virtual=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004164 ## application.h (module 'network'): void ns3::Application::StopApplication() [member function]
4165 cls.add_method('StopApplication',
4166 'void',
4167 [],
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08004168 visibility='protected', is_virtual=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004169 return
4170
4171def register_Ns3AttributeAccessor_methods(root_module, cls):
4172 ## attribute.h (module 'core'): ns3::AttributeAccessor::AttributeAccessor(ns3::AttributeAccessor const & arg0) [copy constructor]
4173 cls.add_constructor([param('ns3::AttributeAccessor const &', 'arg0')])
4174 ## attribute.h (module 'core'): ns3::AttributeAccessor::AttributeAccessor() [constructor]
4175 cls.add_constructor([])
4176 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::Get(ns3::ObjectBase const * object, ns3::AttributeValue & attribute) const [member function]
4177 cls.add_method('Get',
4178 'bool',
4179 [param('ns3::ObjectBase const *', 'object'), param('ns3::AttributeValue &', 'attribute')],
4180 is_pure_virtual=True, is_const=True, is_virtual=True)
4181 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::HasGetter() const [member function]
4182 cls.add_method('HasGetter',
4183 'bool',
4184 [],
4185 is_pure_virtual=True, is_const=True, is_virtual=True)
4186 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::HasSetter() const [member function]
4187 cls.add_method('HasSetter',
4188 'bool',
4189 [],
4190 is_pure_virtual=True, is_const=True, is_virtual=True)
4191 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::Set(ns3::ObjectBase * object, ns3::AttributeValue const & value) const [member function]
4192 cls.add_method('Set',
4193 'bool',
4194 [param('ns3::ObjectBase *', 'object', transfer_ownership=False), param('ns3::AttributeValue const &', 'value')],
4195 is_pure_virtual=True, is_const=True, is_virtual=True)
4196 return
4197
4198def register_Ns3AttributeChecker_methods(root_module, cls):
4199 ## attribute.h (module 'core'): ns3::AttributeChecker::AttributeChecker(ns3::AttributeChecker const & arg0) [copy constructor]
4200 cls.add_constructor([param('ns3::AttributeChecker const &', 'arg0')])
4201 ## attribute.h (module 'core'): ns3::AttributeChecker::AttributeChecker() [constructor]
4202 cls.add_constructor([])
4203 ## attribute.h (module 'core'): bool ns3::AttributeChecker::Check(ns3::AttributeValue const & value) const [member function]
4204 cls.add_method('Check',
4205 'bool',
4206 [param('ns3::AttributeValue const &', 'value')],
4207 is_pure_virtual=True, is_const=True, is_virtual=True)
4208 ## attribute.h (module 'core'): bool ns3::AttributeChecker::Copy(ns3::AttributeValue const & source, ns3::AttributeValue & destination) const [member function]
4209 cls.add_method('Copy',
4210 'bool',
4211 [param('ns3::AttributeValue const &', 'source'), param('ns3::AttributeValue &', 'destination')],
4212 is_pure_virtual=True, is_const=True, is_virtual=True)
4213 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeChecker::Create() const [member function]
4214 cls.add_method('Create',
4215 'ns3::Ptr< ns3::AttributeValue >',
4216 [],
4217 is_pure_virtual=True, is_const=True, is_virtual=True)
4218 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function]
4219 cls.add_method('CreateValidValue',
4220 'ns3::Ptr< ns3::AttributeValue >',
4221 [param('ns3::AttributeValue const &', 'value')],
4222 is_const=True)
4223 ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function]
4224 cls.add_method('GetUnderlyingTypeInformation',
4225 'std::string',
4226 [],
4227 is_pure_virtual=True, is_const=True, is_virtual=True)
4228 ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetValueTypeName() const [member function]
4229 cls.add_method('GetValueTypeName',
4230 'std::string',
4231 [],
4232 is_pure_virtual=True, is_const=True, is_virtual=True)
4233 ## attribute.h (module 'core'): bool ns3::AttributeChecker::HasUnderlyingTypeInformation() const [member function]
4234 cls.add_method('HasUnderlyingTypeInformation',
4235 'bool',
4236 [],
4237 is_pure_virtual=True, is_const=True, is_virtual=True)
4238 return
4239
4240def register_Ns3AttributeValue_methods(root_module, cls):
4241 ## attribute.h (module 'core'): ns3::AttributeValue::AttributeValue(ns3::AttributeValue const & arg0) [copy constructor]
4242 cls.add_constructor([param('ns3::AttributeValue const &', 'arg0')])
4243 ## attribute.h (module 'core'): ns3::AttributeValue::AttributeValue() [constructor]
4244 cls.add_constructor([])
4245 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeValue::Copy() const [member function]
4246 cls.add_method('Copy',
4247 'ns3::Ptr< ns3::AttributeValue >',
4248 [],
4249 is_pure_virtual=True, is_const=True, is_virtual=True)
4250 ## attribute.h (module 'core'): bool ns3::AttributeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4251 cls.add_method('DeserializeFromString',
4252 'bool',
4253 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4254 is_pure_virtual=True, is_virtual=True)
4255 ## attribute.h (module 'core'): std::string ns3::AttributeValue::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_pure_virtual=True, is_const=True, is_virtual=True)
4260 return
4261
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08004262def register_Ns3BatchesChecker_methods(root_module, cls):
4263 ## batches.h (module 'NDNabstraction'): ns3::BatchesChecker::BatchesChecker() [constructor]
4264 cls.add_constructor([])
4265 ## batches.h (module 'NDNabstraction'): ns3::BatchesChecker::BatchesChecker(ns3::BatchesChecker const & arg0) [copy constructor]
4266 cls.add_constructor([param('ns3::BatchesChecker const &', 'arg0')])
4267 return
4268
4269def register_Ns3BatchesValue_methods(root_module, cls):
4270 ## batches.h (module 'NDNabstraction'): ns3::BatchesValue::BatchesValue() [constructor]
4271 cls.add_constructor([])
4272 ## batches.h (module 'NDNabstraction'): ns3::BatchesValue::BatchesValue(ns3::BatchesValue const & arg0) [copy constructor]
4273 cls.add_constructor([param('ns3::BatchesValue const &', 'arg0')])
4274 ## batches.h (module 'NDNabstraction'): ns3::BatchesValue::BatchesValue(ns3::Batches const & value) [constructor]
4275 cls.add_constructor([param('ns3::Batches const &', 'value')])
4276 ## batches.h (module 'NDNabstraction'): ns3::Ptr<ns3::AttributeValue> ns3::BatchesValue::Copy() const [member function]
4277 cls.add_method('Copy',
4278 'ns3::Ptr< ns3::AttributeValue >',
4279 [],
4280 is_const=True, is_virtual=True)
4281 ## batches.h (module 'NDNabstraction'): bool ns3::BatchesValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4282 cls.add_method('DeserializeFromString',
4283 'bool',
4284 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4285 is_virtual=True)
4286 ## batches.h (module 'NDNabstraction'): ns3::Batches ns3::BatchesValue::Get() const [member function]
4287 cls.add_method('Get',
4288 'ns3::Batches',
4289 [],
4290 is_const=True)
4291 ## batches.h (module 'NDNabstraction'): std::string ns3::BatchesValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4292 cls.add_method('SerializeToString',
4293 'std::string',
4294 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4295 is_const=True, is_virtual=True)
4296 ## batches.h (module 'NDNabstraction'): void ns3::BatchesValue::Set(ns3::Batches const & value) [member function]
4297 cls.add_method('Set',
4298 'void',
4299 [param('ns3::Batches const &', 'value')])
4300 return
4301
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004302def register_Ns3CallbackChecker_methods(root_module, cls):
4303 ## callback.h (module 'core'): ns3::CallbackChecker::CallbackChecker() [constructor]
4304 cls.add_constructor([])
4305 ## callback.h (module 'core'): ns3::CallbackChecker::CallbackChecker(ns3::CallbackChecker const & arg0) [copy constructor]
4306 cls.add_constructor([param('ns3::CallbackChecker const &', 'arg0')])
4307 return
4308
4309def register_Ns3CallbackImplBase_methods(root_module, cls):
4310 ## callback.h (module 'core'): ns3::CallbackImplBase::CallbackImplBase() [constructor]
4311 cls.add_constructor([])
4312 ## callback.h (module 'core'): ns3::CallbackImplBase::CallbackImplBase(ns3::CallbackImplBase const & arg0) [copy constructor]
4313 cls.add_constructor([param('ns3::CallbackImplBase const &', 'arg0')])
4314 ## callback.h (module 'core'): bool ns3::CallbackImplBase::IsEqual(ns3::Ptr<ns3::CallbackImplBase const> other) const [member function]
4315 cls.add_method('IsEqual',
4316 'bool',
4317 [param('ns3::Ptr< ns3::CallbackImplBase const >', 'other')],
4318 is_pure_virtual=True, is_const=True, is_virtual=True)
4319 return
4320
4321def register_Ns3CallbackValue_methods(root_module, cls):
4322 ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue(ns3::CallbackValue const & arg0) [copy constructor]
4323 cls.add_constructor([param('ns3::CallbackValue const &', 'arg0')])
4324 ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue() [constructor]
4325 cls.add_constructor([])
4326 ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue(ns3::CallbackBase const & base) [constructor]
4327 cls.add_constructor([param('ns3::CallbackBase const &', 'base')])
4328 ## callback.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::CallbackValue::Copy() const [member function]
4329 cls.add_method('Copy',
4330 'ns3::Ptr< ns3::AttributeValue >',
4331 [],
4332 is_const=True, is_virtual=True)
4333 ## callback.h (module 'core'): bool ns3::CallbackValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4334 cls.add_method('DeserializeFromString',
4335 'bool',
4336 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4337 is_virtual=True)
4338 ## callback.h (module 'core'): std::string ns3::CallbackValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4339 cls.add_method('SerializeToString',
4340 'std::string',
4341 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4342 is_const=True, is_virtual=True)
4343 ## callback.h (module 'core'): void ns3::CallbackValue::Set(ns3::CallbackBase base) [member function]
4344 cls.add_method('Set',
4345 'void',
4346 [param('ns3::CallbackBase', 'base')])
4347 return
4348
4349def register_Ns3Ccnx_methods(root_module, cls):
4350 ## ccnx.h (module 'NDNabstraction'): ns3::Ccnx::Ccnx() [constructor]
4351 cls.add_constructor([])
4352 ## ccnx.h (module 'NDNabstraction'): ns3::Ccnx::Ccnx(ns3::Ccnx const & arg0) [copy constructor]
4353 cls.add_constructor([param('ns3::Ccnx const &', 'arg0')])
4354 ## ccnx.h (module 'NDNabstraction'): uint32_t ns3::Ccnx::AddFace(ns3::Ptr<ns3::CcnxFace> const & face) [member function]
4355 cls.add_method('AddFace',
4356 'uint32_t',
4357 [param('ns3::Ptr< ns3::CcnxFace > const &', 'face')],
4358 is_pure_virtual=True, is_virtual=True)
4359 ## ccnx.h (module 'NDNabstraction'): ns3::Ptr<ns3::CcnxFace> ns3::Ccnx::GetFace(uint32_t face) const [member function]
4360 cls.add_method('GetFace',
4361 'ns3::Ptr< ns3::CcnxFace >',
4362 [param('uint32_t', 'face')],
4363 is_pure_virtual=True, is_const=True, is_virtual=True)
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08004364 ## ccnx.h (module 'NDNabstraction'): ns3::Ptr<ns3::CcnxFace> ns3::Ccnx::GetFaceByNetDevice(ns3::Ptr<ns3::NetDevice> netDevice) const [member function]
4365 cls.add_method('GetFaceByNetDevice',
4366 'ns3::Ptr< ns3::CcnxFace >',
4367 [param('ns3::Ptr< ns3::NetDevice >', 'netDevice')],
4368 is_pure_virtual=True, is_const=True, is_virtual=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004369 ## ccnx.h (module 'NDNabstraction'): ns3::Ptr<ns3::CcnxForwardingStrategy> ns3::Ccnx::GetForwardingStrategy() const [member function]
4370 cls.add_method('GetForwardingStrategy',
4371 'ns3::Ptr< ns3::CcnxForwardingStrategy >',
4372 [],
4373 is_pure_virtual=True, is_const=True, is_virtual=True)
4374 ## ccnx.h (module 'NDNabstraction'): uint32_t ns3::Ccnx::GetNFaces() const [member function]
4375 cls.add_method('GetNFaces',
4376 'uint32_t',
4377 [],
4378 is_pure_virtual=True, is_const=True, is_virtual=True)
4379 ## ccnx.h (module 'NDNabstraction'): static ns3::TypeId ns3::Ccnx::GetTypeId() [member function]
4380 cls.add_method('GetTypeId',
4381 'ns3::TypeId',
4382 [],
4383 is_static=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004384 ## ccnx.h (module 'NDNabstraction'): void ns3::Ccnx::RemoveFace(ns3::Ptr<ns3::CcnxFace> face) [member function]
4385 cls.add_method('RemoveFace',
4386 'void',
4387 [param('ns3::Ptr< ns3::CcnxFace >', 'face')],
4388 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004389 ## ccnx.h (module 'NDNabstraction'): void ns3::Ccnx::SetForwardingStrategy(ns3::Ptr<ns3::CcnxForwardingStrategy> forwardingStrategy) [member function]
4390 cls.add_method('SetForwardingStrategy',
4391 'void',
4392 [param('ns3::Ptr< ns3::CcnxForwardingStrategy >', 'forwardingStrategy')],
4393 is_pure_virtual=True, is_virtual=True)
4394 return
4395
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08004396def register_Ns3CcnxApp_methods(root_module, cls):
4397 ## ccnx-app.h (module 'NDNabstraction'): ns3::CcnxApp::CcnxApp(ns3::CcnxApp const & arg0) [copy constructor]
4398 cls.add_constructor([param('ns3::CcnxApp const &', 'arg0')])
4399 ## ccnx-app.h (module 'NDNabstraction'): ns3::CcnxApp::CcnxApp() [constructor]
4400 cls.add_constructor([])
4401 ## ccnx-app.h (module 'NDNabstraction'): static ns3::TypeId ns3::CcnxApp::GetTypeId() [member function]
4402 cls.add_method('GetTypeId',
4403 'ns3::TypeId',
4404 [],
4405 is_static=True)
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08004406 ## ccnx-app.h (module 'NDNabstraction'): void ns3::CcnxApp::OnContentObject(ns3::Ptr<const ns3::CcnxContentObjectHeader> const & contentObject, ns3::Ptr<ns3::Packet> payload) [member function]
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08004407 cls.add_method('OnContentObject',
4408 'void',
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08004409 [param('ns3::Ptr< ns3::CcnxContentObjectHeader const > const &', 'contentObject'), param('ns3::Ptr< ns3::Packet >', 'payload')],
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08004410 is_virtual=True)
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08004411 ## ccnx-app.h (module 'NDNabstraction'): void ns3::CcnxApp::OnInterest(ns3::Ptr<const ns3::CcnxInterestHeader> const & interest, ns3::Ptr<ns3::Packet> packet) [member function]
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08004412 cls.add_method('OnInterest',
4413 'void',
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08004414 [param('ns3::Ptr< ns3::CcnxInterestHeader const > const &', 'interest'), param('ns3::Ptr< ns3::Packet >', 'packet')],
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08004415 is_virtual=True)
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08004416 ## ccnx-app.h (module 'NDNabstraction'): void ns3::CcnxApp::OnNack(ns3::Ptr<const ns3::CcnxInterestHeader> const & interest, ns3::Ptr<ns3::Packet> packet) [member function]
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08004417 cls.add_method('OnNack',
4418 'void',
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08004419 [param('ns3::Ptr< ns3::CcnxInterestHeader const > const &', 'interest'), param('ns3::Ptr< ns3::Packet >', 'packet')],
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08004420 is_virtual=True)
4421 ## 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]
4422 cls.add_method('RegisterProtocolHandler',
4423 'void',
4424 [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')])
4425 ## ccnx-app.h (module 'NDNabstraction'): void ns3::CcnxApp::DoDispose() [member function]
4426 cls.add_method('DoDispose',
4427 'void',
4428 [],
4429 visibility='protected', is_virtual=True)
4430 ## ccnx-app.h (module 'NDNabstraction'): void ns3::CcnxApp::StartApplication() [member function]
4431 cls.add_method('StartApplication',
4432 'void',
4433 [],
4434 visibility='protected', is_virtual=True)
4435 ## ccnx-app.h (module 'NDNabstraction'): void ns3::CcnxApp::StopApplication() [member function]
4436 cls.add_method('StopApplication',
4437 'void',
4438 [],
4439 visibility='protected', is_virtual=True)
4440 return
4441
Alexander Afanasyevb3e4b852011-12-23 15:58:20 -08004442def register_Ns3CcnxAppTracer_methods(root_module, cls):
4443 cls.add_output_stream_operator()
4444 ## ccnx-app-tracer.h (module 'NDNabstraction'): ns3::CcnxAppTracer::CcnxAppTracer(ns3::CcnxAppTracer const & arg0) [copy constructor]
4445 cls.add_constructor([param('ns3::CcnxAppTracer const &', 'arg0')])
4446 ## ccnx-app-tracer.h (module 'NDNabstraction'): ns3::CcnxAppTracer::CcnxAppTracer(std::string const & app, ns3::Ptr<ns3::Node> node, std::string const & appId="*") [constructor]
4447 cls.add_constructor([param('std::string const &', 'app'), param('ns3::Ptr< ns3::Node >', 'node'), param('std::string const &', 'appId', default_value='"*"')])
4448 ## ccnx-app-tracer.h (module 'NDNabstraction'): ns3::CcnxAppTracer::CcnxAppTracer(std::string const & app, std::string const & node, std::string const & appId="*") [constructor]
4449 cls.add_constructor([param('std::string const &', 'app'), param('std::string const &', 'node'), param('std::string const &', 'appId', default_value='"*"')])
4450 ## ccnx-app-tracer.h (module 'NDNabstraction'): void ns3::CcnxAppTracer::Connect() [member function]
4451 cls.add_method('Connect',
4452 'void',
4453 [])
4454 ## ccnx-app-tracer.h (module 'NDNabstraction'): void ns3::CcnxAppTracer::InData(std::string context, ns3::Ptr<const ns3::CcnxContentObjectHeader> arg1, ns3::Ptr<const ns3::Packet> arg2, ns3::Ptr<ns3::CcnxApp> arg3, ns3::Ptr<ns3::CcnxFace> arg4) [member function]
4455 cls.add_method('InData',
4456 'void',
4457 [param('std::string', 'context'), param('ns3::Ptr< ns3::CcnxContentObjectHeader const >', 'arg1'), param('ns3::Ptr< ns3::Packet const >', 'arg2'), param('ns3::Ptr< ns3::CcnxApp >', 'arg3'), param('ns3::Ptr< ns3::CcnxFace >', 'arg4')],
4458 is_pure_virtual=True, is_virtual=True)
4459 ## ccnx-app-tracer.h (module 'NDNabstraction'): void ns3::CcnxAppTracer::InInterests(std::string context, ns3::Ptr<const ns3::CcnxInterestHeader> arg1, ns3::Ptr<ns3::CcnxApp> arg2, ns3::Ptr<ns3::CcnxFace> arg3) [member function]
4460 cls.add_method('InInterests',
4461 'void',
4462 [param('std::string', 'context'), param('ns3::Ptr< ns3::CcnxInterestHeader const >', 'arg1'), param('ns3::Ptr< ns3::CcnxApp >', 'arg2'), param('ns3::Ptr< ns3::CcnxFace >', 'arg3')],
4463 is_pure_virtual=True, is_virtual=True)
4464 ## ccnx-app-tracer.h (module 'NDNabstraction'): void ns3::CcnxAppTracer::InNacks(std::string context, ns3::Ptr<const ns3::CcnxInterestHeader> arg1, ns3::Ptr<ns3::CcnxApp> arg2, ns3::Ptr<ns3::CcnxFace> arg3) [member function]
4465 cls.add_method('InNacks',
4466 'void',
4467 [param('std::string', 'context'), param('ns3::Ptr< ns3::CcnxInterestHeader const >', 'arg1'), param('ns3::Ptr< ns3::CcnxApp >', 'arg2'), param('ns3::Ptr< ns3::CcnxFace >', 'arg3')],
4468 is_pure_virtual=True, is_virtual=True)
4469 ## ccnx-app-tracer.h (module 'NDNabstraction'): void ns3::CcnxAppTracer::OutData(std::string context, ns3::Ptr<const ns3::CcnxContentObjectHeader> arg1, ns3::Ptr<const ns3::Packet> arg2, ns3::Ptr<ns3::CcnxApp> arg3, ns3::Ptr<ns3::CcnxFace> arg4) [member function]
4470 cls.add_method('OutData',
4471 'void',
4472 [param('std::string', 'context'), param('ns3::Ptr< ns3::CcnxContentObjectHeader const >', 'arg1'), param('ns3::Ptr< ns3::Packet const >', 'arg2'), param('ns3::Ptr< ns3::CcnxApp >', 'arg3'), param('ns3::Ptr< ns3::CcnxFace >', 'arg4')],
4473 is_pure_virtual=True, is_virtual=True)
4474 ## ccnx-app-tracer.h (module 'NDNabstraction'): void ns3::CcnxAppTracer::OutInterests(std::string context, ns3::Ptr<const ns3::CcnxInterestHeader> arg1, ns3::Ptr<ns3::CcnxApp> arg2, ns3::Ptr<ns3::CcnxFace> arg3) [member function]
4475 cls.add_method('OutInterests',
4476 'void',
4477 [param('std::string', 'context'), param('ns3::Ptr< ns3::CcnxInterestHeader const >', 'arg1'), param('ns3::Ptr< ns3::CcnxApp >', 'arg2'), param('ns3::Ptr< ns3::CcnxFace >', 'arg3')],
4478 is_pure_virtual=True, is_virtual=True)
4479 ## ccnx-app-tracer.h (module 'NDNabstraction'): void ns3::CcnxAppTracer::Print(std::ostream & os) const [member function]
4480 cls.add_method('Print',
4481 'void',
4482 [param('std::ostream &', 'os')],
4483 is_pure_virtual=True, is_const=True, is_virtual=True)
4484 ## ccnx-app-tracer.h (module 'NDNabstraction'): void ns3::CcnxAppTracer::PrintHeader(std::ostream & os) const [member function]
4485 cls.add_method('PrintHeader',
4486 'void',
4487 [param('std::ostream &', 'os')],
4488 is_pure_virtual=True, is_const=True, is_virtual=True)
4489 return
4490
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08004491def register_Ns3CcnxConsumerWindowTracer_methods(root_module, cls):
4492 ## ccnx-consumer-window-tracer.h (module 'NDNabstraction'): ns3::CcnxConsumerWindowTracer::CcnxConsumerWindowTracer(ns3::CcnxConsumerWindowTracer const & arg0) [copy constructor]
4493 cls.add_constructor([param('ns3::CcnxConsumerWindowTracer const &', 'arg0')])
4494 ## ccnx-consumer-window-tracer.h (module 'NDNabstraction'): ns3::CcnxConsumerWindowTracer::CcnxConsumerWindowTracer(std::ostream & os, ns3::Ptr<ns3::Node> node, std::string const & appId="*") [constructor]
4495 cls.add_constructor([param('std::ostream &', 'os'), param('ns3::Ptr< ns3::Node >', 'node'), param('std::string const &', 'appId', default_value='"*"')])
4496 ## ccnx-consumer-window-tracer.h (module 'NDNabstraction'): void ns3::CcnxConsumerWindowTracer::Connect() [member function]
4497 cls.add_method('Connect',
4498 'void',
4499 [])
4500 return
4501
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004502def register_Ns3CcnxContentObjectHeader_methods(root_module, cls):
4503 ## ccnx-content-object-header.h (module 'NDNabstraction'): ns3::CcnxContentObjectHeader::CcnxContentObjectHeader(ns3::CcnxContentObjectHeader const & arg0) [copy constructor]
4504 cls.add_constructor([param('ns3::CcnxContentObjectHeader const &', 'arg0')])
4505 ## ccnx-content-object-header.h (module 'NDNabstraction'): ns3::CcnxContentObjectHeader::CcnxContentObjectHeader() [constructor]
4506 cls.add_constructor([])
4507 ## ccnx-content-object-header.h (module 'NDNabstraction'): uint32_t ns3::CcnxContentObjectHeader::Deserialize(ns3::Buffer::Iterator start) [member function]
4508 cls.add_method('Deserialize',
4509 'uint32_t',
4510 [param('ns3::Buffer::Iterator', 'start')],
4511 is_virtual=True)
4512 ## ccnx-content-object-header.h (module 'NDNabstraction'): ns3::TypeId ns3::CcnxContentObjectHeader::GetInstanceTypeId() const [member function]
4513 cls.add_method('GetInstanceTypeId',
4514 'ns3::TypeId',
4515 [],
4516 is_const=True, is_virtual=True)
4517 ## ccnx-content-object-header.h (module 'NDNabstraction'): ns3::CcnxNameComponents const & ns3::CcnxContentObjectHeader::GetName() const [member function]
4518 cls.add_method('GetName',
4519 'ns3::CcnxNameComponents const &',
4520 [],
4521 is_const=True)
4522 ## ccnx-content-object-header.h (module 'NDNabstraction'): uint32_t ns3::CcnxContentObjectHeader::GetSerializedSize() const [member function]
4523 cls.add_method('GetSerializedSize',
4524 'uint32_t',
4525 [],
4526 is_const=True, is_virtual=True)
4527 ## ccnx-content-object-header.h (module 'NDNabstraction'): static ns3::TypeId ns3::CcnxContentObjectHeader::GetTypeId() [member function]
4528 cls.add_method('GetTypeId',
4529 'ns3::TypeId',
4530 [],
4531 is_static=True)
4532 ## ccnx-content-object-header.h (module 'NDNabstraction'): void ns3::CcnxContentObjectHeader::Print(std::ostream & os) const [member function]
4533 cls.add_method('Print',
4534 'void',
4535 [param('std::ostream &', 'os')],
4536 is_const=True, is_virtual=True)
4537 ## ccnx-content-object-header.h (module 'NDNabstraction'): void ns3::CcnxContentObjectHeader::Serialize(ns3::Buffer::Iterator start) const [member function]
4538 cls.add_method('Serialize',
4539 'void',
4540 [param('ns3::Buffer::Iterator', 'start')],
4541 is_const=True, is_virtual=True)
4542 ## ccnx-content-object-header.h (module 'NDNabstraction'): void ns3::CcnxContentObjectHeader::SetName(ns3::Ptr<ns3::CcnxNameComponents> const & name) [member function]
4543 cls.add_method('SetName',
4544 'void',
4545 [param('ns3::Ptr< ns3::CcnxNameComponents > const &', 'name')])
4546 return
4547
4548def register_Ns3CcnxContentObjectTail_methods(root_module, cls):
4549 ## ccnx-content-object-header.h (module 'NDNabstraction'): ns3::CcnxContentObjectTail::CcnxContentObjectTail(ns3::CcnxContentObjectTail const & arg0) [copy constructor]
4550 cls.add_constructor([param('ns3::CcnxContentObjectTail const &', 'arg0')])
4551 ## ccnx-content-object-header.h (module 'NDNabstraction'): ns3::CcnxContentObjectTail::CcnxContentObjectTail() [constructor]
4552 cls.add_constructor([])
4553 ## ccnx-content-object-header.h (module 'NDNabstraction'): uint32_t ns3::CcnxContentObjectTail::Deserialize(ns3::Buffer::Iterator start) [member function]
4554 cls.add_method('Deserialize',
4555 'uint32_t',
4556 [param('ns3::Buffer::Iterator', 'start')],
4557 is_virtual=True)
4558 ## ccnx-content-object-header.h (module 'NDNabstraction'): ns3::TypeId ns3::CcnxContentObjectTail::GetInstanceTypeId() const [member function]
4559 cls.add_method('GetInstanceTypeId',
4560 'ns3::TypeId',
4561 [],
4562 is_const=True, is_virtual=True)
4563 ## ccnx-content-object-header.h (module 'NDNabstraction'): uint32_t ns3::CcnxContentObjectTail::GetSerializedSize() const [member function]
4564 cls.add_method('GetSerializedSize',
4565 'uint32_t',
4566 [],
4567 is_const=True, is_virtual=True)
4568 ## ccnx-content-object-header.h (module 'NDNabstraction'): static ns3::TypeId ns3::CcnxContentObjectTail::GetTypeId() [member function]
4569 cls.add_method('GetTypeId',
4570 'ns3::TypeId',
4571 [],
4572 is_static=True)
4573 ## ccnx-content-object-header.h (module 'NDNabstraction'): void ns3::CcnxContentObjectTail::Print(std::ostream & os) const [member function]
4574 cls.add_method('Print',
4575 'void',
4576 [param('std::ostream &', 'os')],
4577 is_const=True, is_virtual=True)
4578 ## ccnx-content-object-header.h (module 'NDNabstraction'): void ns3::CcnxContentObjectTail::Serialize(ns3::Buffer::Iterator start) const [member function]
4579 cls.add_method('Serialize',
4580 'void',
4581 [param('ns3::Buffer::Iterator', 'start')],
4582 is_const=True, is_virtual=True)
4583 return
4584
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004585def register_Ns3CcnxFace_methods(root_module, cls):
4586 cls.add_output_stream_operator()
4587 cls.add_binary_comparison_operator('<')
4588 cls.add_binary_comparison_operator('==')
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08004589 ## ccnx-face.h (module 'NDNabstraction'): ns3::CcnxFace::CcnxFace(ns3::Ptr<ns3::Node> node) [constructor]
4590 cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node')])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004591 ## ccnx-face.h (module 'NDNabstraction'): uint32_t ns3::CcnxFace::GetId() const [member function]
4592 cls.add_method('GetId',
4593 'uint32_t',
4594 [],
4595 is_const=True)
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08004596 ## ccnx-face.h (module 'NDNabstraction'): ns3::Ptr<ns3::Node> ns3::CcnxFace::GetNode() const [member function]
4597 cls.add_method('GetNode',
4598 'ns3::Ptr< ns3::Node >',
4599 [],
4600 is_const=True)
Alexander Afanasyev53872ce2011-12-16 13:17:18 -08004601 ## ccnx-face.h (module 'NDNabstraction'): static ns3::TypeId ns3::CcnxFace::GetTypeId() [member function]
4602 cls.add_method('GetTypeId',
4603 'ns3::TypeId',
4604 [],
4605 is_static=True)
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08004606 ## ccnx-face.h (module 'NDNabstraction'): bool ns3::CcnxFace::IsBelowLimit() [member function]
4607 cls.add_method('IsBelowLimit',
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004608 'bool',
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08004609 [])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004610 ## ccnx-face.h (module 'NDNabstraction'): bool ns3::CcnxFace::IsUp() const [member function]
4611 cls.add_method('IsUp',
4612 'bool',
4613 [],
4614 is_const=True, is_virtual=True)
Alexander Afanasyev4975f732011-12-20 17:52:19 -08004615 ## ccnx-face.h (module 'NDNabstraction'): void ns3::CcnxFace::LeakBucket() [member function]
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08004616 cls.add_method('LeakBucket',
4617 'void',
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08004618 [])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004619 ## ccnx-face.h (module 'NDNabstraction'): std::ostream & ns3::CcnxFace::Print(std::ostream & os) const [member function]
4620 cls.add_method('Print',
4621 'std::ostream &',
4622 [param('std::ostream &', 'os')],
4623 is_const=True, is_virtual=True)
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08004624 ## ccnx-face.h (module 'NDNabstraction'): bool ns3::CcnxFace::Receive(ns3::Ptr<const ns3::Packet> const & p) [member function]
4625 cls.add_method('Receive',
4626 'bool',
4627 [param('ns3::Ptr< ns3::Packet const > const &', 'p')])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004628 ## 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]
4629 cls.add_method('RegisterProtocolHandler',
4630 'void',
4631 [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 -08004632 is_virtual=True)
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08004633 ## ccnx-face.h (module 'NDNabstraction'): bool ns3::CcnxFace::Send(ns3::Ptr<ns3::Packet> p) [member function]
4634 cls.add_method('Send',
4635 'bool',
4636 [param('ns3::Ptr< ns3::Packet >', 'p')])
4637 ## ccnx-face.h (module 'NDNabstraction'): void ns3::CcnxFace::SetBucketLeak(double leak) [member function]
4638 cls.add_method('SetBucketLeak',
4639 'void',
4640 [param('double', 'leak')])
4641 ## ccnx-face.h (module 'NDNabstraction'): void ns3::CcnxFace::SetBucketMax(double bucket) [member function]
4642 cls.add_method('SetBucketMax',
4643 'void',
4644 [param('double', 'bucket')])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004645 ## ccnx-face.h (module 'NDNabstraction'): void ns3::CcnxFace::SetId(uint32_t id) [member function]
4646 cls.add_method('SetId',
4647 'void',
4648 [param('uint32_t', 'id')])
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08004649 ## ccnx-face.h (module 'NDNabstraction'): void ns3::CcnxFace::SetUp(bool up=true) [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004650 cls.add_method('SetUp',
4651 'void',
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08004652 [param('bool', 'up', default_value='true')],
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004653 is_virtual=True)
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08004654 ## ccnx-face.h (module 'NDNabstraction'): void ns3::CcnxFace::SendImpl(ns3::Ptr<ns3::Packet> p) [member function]
4655 cls.add_method('SendImpl',
4656 'void',
4657 [param('ns3::Ptr< ns3::Packet >', 'p')],
4658 is_pure_virtual=True, visibility='protected', is_virtual=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004659 return
4660
4661def register_Ns3CcnxFaceContainer_methods(root_module, cls):
4662 ## ccnx-face-container.h (module 'NDNabstraction'): ns3::CcnxFaceContainer::CcnxFaceContainer() [constructor]
4663 cls.add_constructor([])
4664 ## ccnx-face-container.h (module 'NDNabstraction'): ns3::CcnxFaceContainer::CcnxFaceContainer(ns3::CcnxFaceContainer const & other) [copy constructor]
4665 cls.add_constructor([param('ns3::CcnxFaceContainer const &', 'other')])
4666 ## ccnx-face-container.h (module 'NDNabstraction'): void ns3::CcnxFaceContainer::Add(ns3::Ptr<ns3::CcnxFace> const & face) [member function]
4667 cls.add_method('Add',
4668 'void',
4669 [param('ns3::Ptr< ns3::CcnxFace > const &', 'face')])
4670 ## ccnx-face-container.h (module 'NDNabstraction'): void ns3::CcnxFaceContainer::AddAll(ns3::Ptr<ns3::CcnxFaceContainer> other) [member function]
4671 cls.add_method('AddAll',
4672 'void',
4673 [param('ns3::Ptr< ns3::CcnxFaceContainer >', 'other')])
4674 ## ccnx-face-container.h (module 'NDNabstraction'): void ns3::CcnxFaceContainer::AddAll(ns3::CcnxFaceContainer const & other) [member function]
4675 cls.add_method('AddAll',
4676 'void',
4677 [param('ns3::CcnxFaceContainer const &', 'other')])
4678 ## 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]
4679 cls.add_method('Begin',
4680 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::CcnxFace > const, std::vector< ns3::Ptr< ns3::CcnxFace > > >',
4681 [],
4682 is_const=True)
4683 ## 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]
4684 cls.add_method('End',
4685 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::CcnxFace > const, std::vector< ns3::Ptr< ns3::CcnxFace > > >',
4686 [],
4687 is_const=True)
4688 ## 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]
4689 cls.add_method('Get',
4690 'ns3::Ptr< ns3::CcnxFace >',
4691 [param('__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::CcnxFace > const, std::vector< ns3::Ptr< ns3::CcnxFace > > >', 'i')],
4692 is_const=True)
4693 ## ccnx-face-container.h (module 'NDNabstraction'): uint32_t ns3::CcnxFaceContainer::GetN() const [member function]
4694 cls.add_method('GetN',
4695 'uint32_t',
4696 [],
4697 is_const=True)
4698 return
4699
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08004700def register_Ns3CcnxFib_methods(root_module, cls):
4701 cls.add_output_stream_operator()
4702 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFib::CcnxFib() [constructor]
4703 cls.add_constructor([])
4704 ## 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]
4705 cls.add_method('Add',
4706 '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 > > >',
4707 [param('ns3::CcnxNameComponents const &', 'prefix'), param('ns3::Ptr< ns3::CcnxFace >', 'face'), param('int32_t', 'metric')])
4708 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibEntry const & ns3::CcnxFib::GetCcnxFibEntry(uint32_t index) [member function]
4709 cls.add_method('GetCcnxFibEntry',
4710 'ns3::CcnxFibEntry const &',
4711 [param('uint32_t', 'index')])
4712 ## ccnx-fib.h (module 'NDNabstraction'): uint32_t ns3::CcnxFib::GetCcnxFibEntryCount() const [member function]
4713 cls.add_method('GetCcnxFibEntryCount',
4714 'uint32_t',
4715 [],
4716 is_const=True)
4717 ## ccnx-fib.h (module 'NDNabstraction'): static ns3::TypeId ns3::CcnxFib::GetTypeId() [member function]
4718 cls.add_method('GetTypeId',
4719 'ns3::TypeId',
4720 [],
4721 is_static=True)
4722 ## 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]
4723 cls.add_method('LongestPrefixMatch',
4724 '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 > > >',
4725 [param('ns3::CcnxInterestHeader const &', 'interest')],
4726 is_const=True)
4727 ## ccnx-fib.h (module 'NDNabstraction'): void ns3::CcnxFib::Remove(ns3::CcnxFibEntry const & entry, ns3::Ptr<ns3::CcnxFace> face) [member function]
4728 cls.add_method('Remove',
4729 'void',
4730 [param('ns3::CcnxFibEntry const &', 'entry'), param('ns3::Ptr< ns3::CcnxFace >', 'face')])
4731 ## ccnx-fib.h (module 'NDNabstraction'): void ns3::CcnxFib::RemoveFromAll(ns3::Ptr<ns3::CcnxFace> face) [member function]
4732 cls.add_method('RemoveFromAll',
4733 'void',
4734 [param('ns3::Ptr< ns3::CcnxFace >', 'face')])
4735 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFib::m_fib [variable]
4736 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)
4737 ## ccnx-fib.h (module 'NDNabstraction'): void ns3::CcnxFib::DoDispose() [member function]
4738 cls.add_method('DoDispose',
4739 'void',
4740 [],
4741 visibility='protected', is_virtual=True)
4742 ## ccnx-fib.h (module 'NDNabstraction'): void ns3::CcnxFib::NotifyNewAggregate() [member function]
4743 cls.add_method('NotifyNewAggregate',
4744 'void',
4745 [],
4746 visibility='protected', is_virtual=True)
4747 return
4748
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004749def register_Ns3CcnxFibEntry_methods(root_module, cls):
4750 cls.add_output_stream_operator()
4751 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibEntry::CcnxFibEntry(ns3::CcnxFibEntry const & arg0) [copy constructor]
4752 cls.add_constructor([param('ns3::CcnxFibEntry const &', 'arg0')])
4753 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibEntry::CcnxFibEntry(ns3::CcnxNameComponents const & prefix) [constructor]
4754 cls.add_constructor([param('ns3::CcnxNameComponents const &', 'prefix')])
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08004755 ## ccnx-fib.h (module 'NDNabstraction'): void ns3::CcnxFibEntry::AddOrUpdateRoutingMetric(ns3::Ptr<ns3::CcnxFace> face, int32_t metric) [member function]
4756 cls.add_method('AddOrUpdateRoutingMetric',
4757 'void',
4758 [param('ns3::Ptr< ns3::CcnxFace >', 'face'), param('int32_t', 'metric')])
4759 ## 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 -08004760 cls.add_method('FindBestCandidate',
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08004761 'ns3::CcnxFibFaceMetric const &',
4762 [param('uint32_t', 'skip', default_value='0')],
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004763 is_const=True)
4764 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxNameComponents const & ns3::CcnxFibEntry::GetPrefix() const [member function]
4765 cls.add_method('GetPrefix',
4766 'ns3::CcnxNameComponents const &',
4767 [],
4768 is_const=True)
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08004769 ## ccnx-fib.h (module 'NDNabstraction'): void ns3::CcnxFibEntry::RemoveFace(ns3::Ptr<ns3::CcnxFace> const & face) [member function]
4770 cls.add_method('RemoveFace',
4771 'void',
4772 [param('ns3::Ptr< ns3::CcnxFace > const &', 'face')])
4773 ## ccnx-fib.h (module 'NDNabstraction'): void ns3::CcnxFibEntry::UpdateFaceRtt(ns3::Ptr<ns3::CcnxFace> face, ns3::Time const & sample) [member function]
4774 cls.add_method('UpdateFaceRtt',
4775 'void',
4776 [param('ns3::Ptr< ns3::CcnxFace >', 'face'), param('ns3::Time const &', 'sample')])
4777 ## ccnx-fib.h (module 'NDNabstraction'): void ns3::CcnxFibEntry::UpdateStatus(ns3::Ptr<ns3::CcnxFace> face, ns3::CcnxFibFaceMetric::Status status) [member function]
4778 cls.add_method('UpdateStatus',
4779 'void',
4780 [param('ns3::Ptr< ns3::CcnxFace >', 'face'), param('ns3::CcnxFibFaceMetric::Status', 'status')])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004781 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibEntry::m_faces [variable]
4782 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)
4783 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibEntry::m_needsProbing [variable]
4784 cls.add_instance_attribute('m_needsProbing', 'bool', is_const=False)
4785 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibEntry::m_prefix [variable]
4786 cls.add_instance_attribute('m_prefix', 'ns3::Ptr< ns3::CcnxNameComponents >', is_const=False)
4787 return
4788
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08004789def register_Ns3CcnxFibEntryNoFaces_methods(root_module, cls):
4790 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibEntry::NoFaces::NoFaces() [constructor]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004791 cls.add_constructor([])
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08004792 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibEntry::NoFaces::NoFaces(ns3::CcnxFibEntry::NoFaces const & arg0) [copy constructor]
4793 cls.add_constructor([param('ns3::CcnxFibEntry::NoFaces const &', 'arg0')])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004794 return
4795
4796def register_Ns3CcnxInterestHeader_methods(root_module, cls):
4797 ## ccnx-interest-header.h (module 'NDNabstraction'): ns3::CcnxInterestHeader::CcnxInterestHeader(ns3::CcnxInterestHeader const & arg0) [copy constructor]
4798 cls.add_constructor([param('ns3::CcnxInterestHeader const &', 'arg0')])
4799 ## ccnx-interest-header.h (module 'NDNabstraction'): ns3::CcnxInterestHeader::CcnxInterestHeader() [constructor]
4800 cls.add_constructor([])
4801 ## ccnx-interest-header.h (module 'NDNabstraction'): uint32_t ns3::CcnxInterestHeader::Deserialize(ns3::Buffer::Iterator start) [member function]
4802 cls.add_method('Deserialize',
4803 'uint32_t',
4804 [param('ns3::Buffer::Iterator', 'start')],
4805 is_virtual=True)
4806 ## ccnx-interest-header.h (module 'NDNabstraction'): ns3::CcnxNameComponents const & ns3::CcnxInterestHeader::GetExclude() const [member function]
4807 cls.add_method('GetExclude',
4808 'ns3::CcnxNameComponents const &',
4809 [],
4810 is_const=True)
4811 ## ccnx-interest-header.h (module 'NDNabstraction'): ns3::TypeId ns3::CcnxInterestHeader::GetInstanceTypeId() const [member function]
4812 cls.add_method('GetInstanceTypeId',
4813 'ns3::TypeId',
4814 [],
4815 is_const=True, is_virtual=True)
4816 ## ccnx-interest-header.h (module 'NDNabstraction'): ns3::Time ns3::CcnxInterestHeader::GetInterestLifetime() const [member function]
4817 cls.add_method('GetInterestLifetime',
4818 'ns3::Time',
4819 [],
4820 is_const=True)
4821 ## ccnx-interest-header.h (module 'NDNabstraction'): int32_t ns3::CcnxInterestHeader::GetMaxSuffixComponents() const [member function]
4822 cls.add_method('GetMaxSuffixComponents',
4823 'int32_t',
4824 [],
4825 is_const=True)
4826 ## ccnx-interest-header.h (module 'NDNabstraction'): int32_t ns3::CcnxInterestHeader::GetMinSuffixComponents() const [member function]
4827 cls.add_method('GetMinSuffixComponents',
4828 'int32_t',
4829 [],
4830 is_const=True)
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08004831 ## ccnx-interest-header.h (module 'NDNabstraction'): uint32_t ns3::CcnxInterestHeader::GetNack() const [member function]
4832 cls.add_method('GetNack',
4833 'uint32_t',
4834 [],
4835 is_const=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004836 ## ccnx-interest-header.h (module 'NDNabstraction'): ns3::CcnxNameComponents const & ns3::CcnxInterestHeader::GetName() const [member function]
4837 cls.add_method('GetName',
4838 'ns3::CcnxNameComponents const &',
4839 [],
4840 is_const=True)
4841 ## ccnx-interest-header.h (module 'NDNabstraction'): uint32_t ns3::CcnxInterestHeader::GetNonce() const [member function]
4842 cls.add_method('GetNonce',
4843 'uint32_t',
4844 [],
4845 is_const=True)
4846 ## ccnx-interest-header.h (module 'NDNabstraction'): int8_t ns3::CcnxInterestHeader::GetScope() const [member function]
4847 cls.add_method('GetScope',
4848 'int8_t',
4849 [],
4850 is_const=True)
4851 ## ccnx-interest-header.h (module 'NDNabstraction'): uint32_t ns3::CcnxInterestHeader::GetSerializedSize() const [member function]
4852 cls.add_method('GetSerializedSize',
4853 'uint32_t',
4854 [],
4855 is_const=True, is_virtual=True)
4856 ## ccnx-interest-header.h (module 'NDNabstraction'): static ns3::TypeId ns3::CcnxInterestHeader::GetTypeId() [member function]
4857 cls.add_method('GetTypeId',
4858 'ns3::TypeId',
4859 [],
4860 is_static=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004861 ## ccnx-interest-header.h (module 'NDNabstraction'): bool ns3::CcnxInterestHeader::IsEnabledAnswerOriginKind() const [member function]
4862 cls.add_method('IsEnabledAnswerOriginKind',
4863 'bool',
4864 [],
4865 is_const=True)
4866 ## ccnx-interest-header.h (module 'NDNabstraction'): bool ns3::CcnxInterestHeader::IsEnabledChildSelector() const [member function]
4867 cls.add_method('IsEnabledChildSelector',
4868 'bool',
4869 [],
4870 is_const=True)
4871 ## ccnx-interest-header.h (module 'NDNabstraction'): bool ns3::CcnxInterestHeader::IsEnabledExclude() const [member function]
4872 cls.add_method('IsEnabledExclude',
4873 'bool',
4874 [],
4875 is_const=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004876 ## ccnx-interest-header.h (module 'NDNabstraction'): void ns3::CcnxInterestHeader::Print(std::ostream & os) const [member function]
4877 cls.add_method('Print',
4878 'void',
4879 [param('std::ostream &', 'os')],
4880 is_const=True, is_virtual=True)
4881 ## ccnx-interest-header.h (module 'NDNabstraction'): void ns3::CcnxInterestHeader::Serialize(ns3::Buffer::Iterator start) const [member function]
4882 cls.add_method('Serialize',
4883 'void',
4884 [param('ns3::Buffer::Iterator', 'start')],
4885 is_const=True, is_virtual=True)
4886 ## ccnx-interest-header.h (module 'NDNabstraction'): void ns3::CcnxInterestHeader::SetAnswerOriginKind(bool value) [member function]
4887 cls.add_method('SetAnswerOriginKind',
4888 'void',
4889 [param('bool', 'value')])
4890 ## ccnx-interest-header.h (module 'NDNabstraction'): void ns3::CcnxInterestHeader::SetChildSelector(bool value) [member function]
4891 cls.add_method('SetChildSelector',
4892 'void',
4893 [param('bool', 'value')])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004894 ## ccnx-interest-header.h (module 'NDNabstraction'): void ns3::CcnxInterestHeader::SetExclude(ns3::Ptr<ns3::CcnxNameComponents> const & exclude) [member function]
4895 cls.add_method('SetExclude',
4896 'void',
4897 [param('ns3::Ptr< ns3::CcnxNameComponents > const &', 'exclude')])
4898 ## ccnx-interest-header.h (module 'NDNabstraction'): void ns3::CcnxInterestHeader::SetInterestLifetime(ns3::Time time) [member function]
4899 cls.add_method('SetInterestLifetime',
4900 'void',
4901 [param('ns3::Time', 'time')])
4902 ## ccnx-interest-header.h (module 'NDNabstraction'): void ns3::CcnxInterestHeader::SetMaxSuffixComponents(int32_t value) [member function]
4903 cls.add_method('SetMaxSuffixComponents',
4904 'void',
4905 [param('int32_t', 'value')])
4906 ## ccnx-interest-header.h (module 'NDNabstraction'): void ns3::CcnxInterestHeader::SetMinSuffixComponents(int32_t value) [member function]
4907 cls.add_method('SetMinSuffixComponents',
4908 'void',
4909 [param('int32_t', 'value')])
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08004910 ## ccnx-interest-header.h (module 'NDNabstraction'): void ns3::CcnxInterestHeader::SetNack(uint32_t nackType) [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004911 cls.add_method('SetNack',
4912 'void',
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08004913 [param('uint32_t', 'nackType')])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004914 ## ccnx-interest-header.h (module 'NDNabstraction'): void ns3::CcnxInterestHeader::SetName(ns3::Ptr<ns3::CcnxNameComponents> const & name) [member function]
4915 cls.add_method('SetName',
4916 'void',
4917 [param('ns3::Ptr< ns3::CcnxNameComponents > const &', 'name')])
4918 ## ccnx-interest-header.h (module 'NDNabstraction'): void ns3::CcnxInterestHeader::SetNonce(uint32_t nonce) [member function]
4919 cls.add_method('SetNonce',
4920 'void',
4921 [param('uint32_t', 'nonce')])
4922 ## ccnx-interest-header.h (module 'NDNabstraction'): void ns3::CcnxInterestHeader::SetScope(int8_t scope) [member function]
4923 cls.add_method('SetScope',
4924 'void',
4925 [param('int8_t', 'scope')])
4926 return
4927
Alexander Afanasyevb3e4b852011-12-23 15:58:20 -08004928def register_Ns3CcnxL3Tracer_methods(root_module, cls):
4929 cls.add_output_stream_operator()
4930 ## ccnx-l3-tracer.h (module 'NDNabstraction'): ns3::CcnxL3Tracer::CcnxL3Tracer(ns3::CcnxL3Tracer const & arg0) [copy constructor]
4931 cls.add_constructor([param('ns3::CcnxL3Tracer const &', 'arg0')])
4932 ## ccnx-l3-tracer.h (module 'NDNabstraction'): ns3::CcnxL3Tracer::CcnxL3Tracer(ns3::Ptr<ns3::Node> node) [constructor]
4933 cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node')])
4934 ## ccnx-l3-tracer.h (module 'NDNabstraction'): ns3::CcnxL3Tracer::CcnxL3Tracer(std::string const & node) [constructor]
4935 cls.add_constructor([param('std::string const &', 'node')])
4936 ## ccnx-l3-tracer.h (module 'NDNabstraction'): void ns3::CcnxL3Tracer::Connect() [member function]
4937 cls.add_method('Connect',
4938 'void',
4939 [])
4940 ## ccnx-l3-tracer.h (module 'NDNabstraction'): void ns3::CcnxL3Tracer::DropData(std::string context, ns3::Ptr<const ns3::CcnxContentObjectHeader> arg1, ns3::Ptr<const ns3::Packet> arg2, ns3::Ccnx::DropReason arg3, ns3::Ptr<const ns3::CcnxFace> arg4) [member function]
4941 cls.add_method('DropData',
4942 'void',
4943 [param('std::string', 'context'), param('ns3::Ptr< ns3::CcnxContentObjectHeader const >', 'arg1'), param('ns3::Ptr< ns3::Packet const >', 'arg2'), param('ns3::Ccnx::DropReason', 'arg3'), param('ns3::Ptr< ns3::CcnxFace const >', 'arg4')],
4944 is_pure_virtual=True, is_virtual=True)
4945 ## ccnx-l3-tracer.h (module 'NDNabstraction'): void ns3::CcnxL3Tracer::DropInterests(std::string context, ns3::Ptr<const ns3::CcnxInterestHeader> arg1, ns3::Ccnx::DropReason arg2, ns3::Ptr<const ns3::CcnxFace> arg3) [member function]
4946 cls.add_method('DropInterests',
4947 'void',
4948 [param('std::string', 'context'), param('ns3::Ptr< ns3::CcnxInterestHeader const >', 'arg1'), param('ns3::Ccnx::DropReason', 'arg2'), param('ns3::Ptr< ns3::CcnxFace const >', 'arg3')],
4949 is_pure_virtual=True, is_virtual=True)
4950 ## ccnx-l3-tracer.h (module 'NDNabstraction'): void ns3::CcnxL3Tracer::DropNacks(std::string context, ns3::Ptr<const ns3::CcnxInterestHeader> arg1, ns3::Ccnx::DropReason arg2, ns3::Ptr<const ns3::CcnxFace> arg3) [member function]
4951 cls.add_method('DropNacks',
4952 'void',
4953 [param('std::string', 'context'), param('ns3::Ptr< ns3::CcnxInterestHeader const >', 'arg1'), param('ns3::Ccnx::DropReason', 'arg2'), param('ns3::Ptr< ns3::CcnxFace const >', 'arg3')],
4954 is_pure_virtual=True, is_virtual=True)
4955 ## ccnx-l3-tracer.h (module 'NDNabstraction'): void ns3::CcnxL3Tracer::InData(std::string context, ns3::Ptr<const ns3::CcnxContentObjectHeader> arg1, ns3::Ptr<const ns3::Packet> arg2, ns3::Ptr<const ns3::CcnxFace> arg3) [member function]
4956 cls.add_method('InData',
4957 'void',
4958 [param('std::string', 'context'), param('ns3::Ptr< ns3::CcnxContentObjectHeader const >', 'arg1'), param('ns3::Ptr< ns3::Packet const >', 'arg2'), param('ns3::Ptr< ns3::CcnxFace const >', 'arg3')],
4959 is_pure_virtual=True, is_virtual=True)
4960 ## ccnx-l3-tracer.h (module 'NDNabstraction'): void ns3::CcnxL3Tracer::InInterests(std::string context, ns3::Ptr<const ns3::CcnxInterestHeader> arg1, ns3::Ptr<const ns3::CcnxFace> arg2) [member function]
4961 cls.add_method('InInterests',
4962 'void',
4963 [param('std::string', 'context'), param('ns3::Ptr< ns3::CcnxInterestHeader const >', 'arg1'), param('ns3::Ptr< ns3::CcnxFace const >', 'arg2')],
4964 is_pure_virtual=True, is_virtual=True)
4965 ## ccnx-l3-tracer.h (module 'NDNabstraction'): void ns3::CcnxL3Tracer::InNacks(std::string context, ns3::Ptr<const ns3::CcnxInterestHeader> arg1, ns3::Ptr<const ns3::CcnxFace> arg2) [member function]
4966 cls.add_method('InNacks',
4967 'void',
4968 [param('std::string', 'context'), param('ns3::Ptr< ns3::CcnxInterestHeader const >', 'arg1'), param('ns3::Ptr< ns3::CcnxFace const >', 'arg2')],
4969 is_pure_virtual=True, is_virtual=True)
4970 ## ccnx-l3-tracer.h (module 'NDNabstraction'): void ns3::CcnxL3Tracer::OutData(std::string context, ns3::Ptr<const ns3::CcnxContentObjectHeader> arg1, ns3::Ptr<const ns3::Packet> arg2, bool fromCache, ns3::Ptr<const ns3::CcnxFace> arg4) [member function]
4971 cls.add_method('OutData',
4972 'void',
4973 [param('std::string', 'context'), param('ns3::Ptr< ns3::CcnxContentObjectHeader const >', 'arg1'), param('ns3::Ptr< ns3::Packet const >', 'arg2'), param('bool', 'fromCache'), param('ns3::Ptr< ns3::CcnxFace const >', 'arg4')],
4974 is_pure_virtual=True, is_virtual=True)
4975 ## ccnx-l3-tracer.h (module 'NDNabstraction'): void ns3::CcnxL3Tracer::OutInterests(std::string context, ns3::Ptr<const ns3::CcnxInterestHeader> arg1, ns3::Ptr<const ns3::CcnxFace> arg2) [member function]
4976 cls.add_method('OutInterests',
4977 'void',
4978 [param('std::string', 'context'), param('ns3::Ptr< ns3::CcnxInterestHeader const >', 'arg1'), param('ns3::Ptr< ns3::CcnxFace const >', 'arg2')],
4979 is_pure_virtual=True, is_virtual=True)
4980 ## ccnx-l3-tracer.h (module 'NDNabstraction'): void ns3::CcnxL3Tracer::OutNacks(std::string context, ns3::Ptr<const ns3::CcnxInterestHeader> arg1, ns3::Ptr<const ns3::CcnxFace> arg2) [member function]
4981 cls.add_method('OutNacks',
4982 'void',
4983 [param('std::string', 'context'), param('ns3::Ptr< ns3::CcnxInterestHeader const >', 'arg1'), param('ns3::Ptr< ns3::CcnxFace const >', 'arg2')],
4984 is_pure_virtual=True, is_virtual=True)
4985 ## ccnx-l3-tracer.h (module 'NDNabstraction'): void ns3::CcnxL3Tracer::Print(std::ostream & os) const [member function]
4986 cls.add_method('Print',
4987 'void',
4988 [param('std::ostream &', 'os')],
4989 is_pure_virtual=True, is_const=True, is_virtual=True)
4990 ## ccnx-l3-tracer.h (module 'NDNabstraction'): void ns3::CcnxL3Tracer::PrintHeader(std::ostream & os) const [member function]
4991 cls.add_method('PrintHeader',
4992 'void',
4993 [param('std::ostream &', 'os')],
4994 is_pure_virtual=True, is_const=True, is_virtual=True)
4995 return
4996
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004997def register_Ns3CcnxNameComponents_methods(root_module, cls):
4998 cls.add_output_stream_operator()
4999 cls.add_binary_comparison_operator('<')
5000 cls.add_binary_comparison_operator('==')
5001 ## ccnx-name-components.h (module 'NDNabstraction'): ns3::CcnxNameComponents::CcnxNameComponents(ns3::CcnxNameComponents const & arg0) [copy constructor]
5002 cls.add_constructor([param('ns3::CcnxNameComponents const &', 'arg0')])
5003 ## ccnx-name-components.h (module 'NDNabstraction'): ns3::CcnxNameComponents::CcnxNameComponents() [constructor]
5004 cls.add_constructor([])
5005 ## 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]
5006 cls.add_constructor([param('std::list< boost::reference_wrapper< std::string const > > const &', 'components')])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08005007 ## ccnx-name-components.h (module 'NDNabstraction'): std::list<std::string, std::allocator<std::string> > const & ns3::CcnxNameComponents::GetComponents() const [member function]
5008 cls.add_method('GetComponents',
5009 'std::list< std::string > const &',
5010 [],
5011 is_const=True)
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08005012 ## ccnx-name-components.h (module 'NDNabstraction'): std::string ns3::CcnxNameComponents::GetLastComponent() const [member function]
5013 cls.add_method('GetLastComponent',
5014 'std::string',
5015 [],
5016 is_const=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08005017 ## 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]
5018 cls.add_method('GetSubComponents',
5019 'std::list< boost::reference_wrapper< std::string const > >',
5020 [param('size_t', 'num')],
5021 is_const=True)
5022 ## ccnx-name-components.h (module 'NDNabstraction'): void ns3::CcnxNameComponents::Print(std::ostream & os) const [member function]
5023 cls.add_method('Print',
5024 'void',
5025 [param('std::ostream &', 'os')],
5026 is_const=True)
5027 ## ccnx-name-components.h (module 'NDNabstraction'): size_t ns3::CcnxNameComponents::size() const [member function]
5028 cls.add_method('size',
5029 'size_t',
5030 [],
5031 is_const=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08005032 return
5033
5034def register_Ns3CcnxNameComponentsChecker_methods(root_module, cls):
5035 ## ccnx-name-components.h (module 'NDNabstraction'): ns3::CcnxNameComponentsChecker::CcnxNameComponentsChecker() [constructor]
5036 cls.add_constructor([])
5037 ## ccnx-name-components.h (module 'NDNabstraction'): ns3::CcnxNameComponentsChecker::CcnxNameComponentsChecker(ns3::CcnxNameComponentsChecker const & arg0) [copy constructor]
5038 cls.add_constructor([param('ns3::CcnxNameComponentsChecker const &', 'arg0')])
5039 return
5040
5041def register_Ns3CcnxNameComponentsValue_methods(root_module, cls):
5042 ## ccnx-name-components.h (module 'NDNabstraction'): ns3::CcnxNameComponentsValue::CcnxNameComponentsValue() [constructor]
5043 cls.add_constructor([])
5044 ## ccnx-name-components.h (module 'NDNabstraction'): ns3::CcnxNameComponentsValue::CcnxNameComponentsValue(ns3::CcnxNameComponentsValue const & arg0) [copy constructor]
5045 cls.add_constructor([param('ns3::CcnxNameComponentsValue const &', 'arg0')])
5046 ## ccnx-name-components.h (module 'NDNabstraction'): ns3::CcnxNameComponentsValue::CcnxNameComponentsValue(ns3::CcnxNameComponents const & value) [constructor]
5047 cls.add_constructor([param('ns3::CcnxNameComponents const &', 'value')])
5048 ## ccnx-name-components.h (module 'NDNabstraction'): ns3::Ptr<ns3::AttributeValue> ns3::CcnxNameComponentsValue::Copy() const [member function]
5049 cls.add_method('Copy',
5050 'ns3::Ptr< ns3::AttributeValue >',
5051 [],
5052 is_const=True, is_virtual=True)
5053 ## ccnx-name-components.h (module 'NDNabstraction'): bool ns3::CcnxNameComponentsValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
5054 cls.add_method('DeserializeFromString',
5055 'bool',
5056 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
5057 is_virtual=True)
5058 ## ccnx-name-components.h (module 'NDNabstraction'): ns3::CcnxNameComponents ns3::CcnxNameComponentsValue::Get() const [member function]
5059 cls.add_method('Get',
5060 'ns3::CcnxNameComponents',
5061 [],
5062 is_const=True)
5063 ## ccnx-name-components.h (module 'NDNabstraction'): std::string ns3::CcnxNameComponentsValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
5064 cls.add_method('SerializeToString',
5065 'std::string',
5066 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
5067 is_const=True, is_virtual=True)
5068 ## ccnx-name-components.h (module 'NDNabstraction'): void ns3::CcnxNameComponentsValue::Set(ns3::CcnxNameComponents const & value) [member function]
5069 cls.add_method('Set',
5070 'void',
5071 [param('ns3::CcnxNameComponents const &', 'value')])
5072 return
5073
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08005074def register_Ns3CcnxPathWeightTracer_methods(root_module, cls):
5075 ## ccnx-path-weight-tracer.h (module 'NDNabstraction'): ns3::CcnxPathWeightTracer::CcnxPathWeightTracer(ns3::CcnxPathWeightTracer const & arg0) [copy constructor]
5076 cls.add_constructor([param('ns3::CcnxPathWeightTracer const &', 'arg0')])
5077 ## ccnx-path-weight-tracer.h (module 'NDNabstraction'): ns3::CcnxPathWeightTracer::CcnxPathWeightTracer(std::ostream & os, ns3::Ptr<ns3::Node> node, std::string appId) [constructor]
5078 cls.add_constructor([param('std::ostream &', 'os'), param('ns3::Ptr< ns3::Node >', 'node'), param('std::string', 'appId')])
5079 ## ccnx-path-weight-tracer.h (module 'NDNabstraction'): void ns3::CcnxPathWeightTracer::Connect() [member function]
5080 cls.add_method('Connect',
5081 'void',
5082 [])
5083 ## ccnx-path-weight-tracer.h (module 'NDNabstraction'): void ns3::CcnxPathWeightTracer::PrintHeader(std::ostream & os) const [member function]
5084 cls.add_method('PrintHeader',
5085 'void',
5086 [param('std::ostream &', 'os')],
5087 is_const=True, is_virtual=True)
5088 ## ccnx-path-weight-tracer.h (module 'NDNabstraction'): void ns3::CcnxPathWeightTracer::InLocalFace(std::string context, uint32_t weight, ns3::Ptr<ns3::Node> src, ns3::Ptr<ns3::Node> dst) [member function]
5089 cls.add_method('InLocalFace',
5090 'void',
5091 [param('std::string', 'context'), param('uint32_t', 'weight'), param('ns3::Ptr< ns3::Node >', 'src'), param('ns3::Ptr< ns3::Node >', 'dst')],
5092 is_virtual=True)
5093 return
5094
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08005095def register_Ns3EmptyAttributeValue_methods(root_module, cls):
5096 ## attribute.h (module 'core'): ns3::EmptyAttributeValue::EmptyAttributeValue(ns3::EmptyAttributeValue const & arg0) [copy constructor]
5097 cls.add_constructor([param('ns3::EmptyAttributeValue const &', 'arg0')])
5098 ## attribute.h (module 'core'): ns3::EmptyAttributeValue::EmptyAttributeValue() [constructor]
5099 cls.add_constructor([])
5100 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::EmptyAttributeValue::Copy() const [member function]
5101 cls.add_method('Copy',
5102 'ns3::Ptr< ns3::AttributeValue >',
5103 [],
5104 is_const=True, visibility='private', is_virtual=True)
5105 ## attribute.h (module 'core'): bool ns3::EmptyAttributeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
5106 cls.add_method('DeserializeFromString',
5107 'bool',
5108 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
5109 visibility='private', is_virtual=True)
5110 ## attribute.h (module 'core'): std::string ns3::EmptyAttributeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
5111 cls.add_method('SerializeToString',
5112 'std::string',
5113 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
5114 is_const=True, visibility='private', is_virtual=True)
5115 return
5116
5117def register_Ns3EventImpl_methods(root_module, cls):
5118 ## event-impl.h (module 'core'): ns3::EventImpl::EventImpl(ns3::EventImpl const & arg0) [copy constructor]
5119 cls.add_constructor([param('ns3::EventImpl const &', 'arg0')])
5120 ## event-impl.h (module 'core'): ns3::EventImpl::EventImpl() [constructor]
5121 cls.add_constructor([])
5122 ## event-impl.h (module 'core'): void ns3::EventImpl::Cancel() [member function]
5123 cls.add_method('Cancel',
5124 'void',
5125 [])
5126 ## event-impl.h (module 'core'): void ns3::EventImpl::Invoke() [member function]
5127 cls.add_method('Invoke',
5128 'void',
5129 [])
5130 ## event-impl.h (module 'core'): bool ns3::EventImpl::IsCancelled() [member function]
5131 cls.add_method('IsCancelled',
5132 'bool',
5133 [])
5134 ## event-impl.h (module 'core'): void ns3::EventImpl::Notify() [member function]
5135 cls.add_method('Notify',
5136 'void',
5137 [],
5138 is_pure_virtual=True, visibility='protected', is_virtual=True)
5139 return
5140
5141def register_Ns3IntegerValue_methods(root_module, cls):
5142 ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue() [constructor]
5143 cls.add_constructor([])
5144 ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue(ns3::IntegerValue const & arg0) [copy constructor]
5145 cls.add_constructor([param('ns3::IntegerValue const &', 'arg0')])
5146 ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue(int64_t const & value) [constructor]
5147 cls.add_constructor([param('int64_t const &', 'value')])
5148 ## integer.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::IntegerValue::Copy() const [member function]
5149 cls.add_method('Copy',
5150 'ns3::Ptr< ns3::AttributeValue >',
5151 [],
5152 is_const=True, is_virtual=True)
5153 ## integer.h (module 'core'): bool ns3::IntegerValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
5154 cls.add_method('DeserializeFromString',
5155 'bool',
5156 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
5157 is_virtual=True)
5158 ## integer.h (module 'core'): int64_t ns3::IntegerValue::Get() const [member function]
5159 cls.add_method('Get',
5160 'int64_t',
5161 [],
5162 is_const=True)
5163 ## integer.h (module 'core'): std::string ns3::IntegerValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
5164 cls.add_method('SerializeToString',
5165 'std::string',
5166 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
5167 is_const=True, is_virtual=True)
5168 ## integer.h (module 'core'): void ns3::IntegerValue::Set(int64_t const & value) [member function]
5169 cls.add_method('Set',
5170 'void',
5171 [param('int64_t const &', 'value')])
5172 return
5173
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08005174def register_Ns3Ipv4_methods(root_module, cls):
5175 ## ipv4.h (module 'internet'): ns3::Ipv4::Ipv4(ns3::Ipv4 const & arg0) [copy constructor]
5176 cls.add_constructor([param('ns3::Ipv4 const &', 'arg0')])
5177 ## ipv4.h (module 'internet'): ns3::Ipv4::Ipv4() [constructor]
5178 cls.add_constructor([])
5179 ## ipv4.h (module 'internet'): bool ns3::Ipv4::AddAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function]
5180 cls.add_method('AddAddress',
5181 'bool',
5182 [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')],
5183 is_pure_virtual=True, is_virtual=True)
5184 ## ipv4.h (module 'internet'): uint32_t ns3::Ipv4::AddInterface(ns3::Ptr<ns3::NetDevice> device) [member function]
5185 cls.add_method('AddInterface',
5186 'uint32_t',
5187 [param('ns3::Ptr< ns3::NetDevice >', 'device')],
5188 is_pure_virtual=True, is_virtual=True)
5189 ## ipv4.h (module 'internet'): ns3::Ipv4InterfaceAddress ns3::Ipv4::GetAddress(uint32_t interface, uint32_t addressIndex) const [member function]
5190 cls.add_method('GetAddress',
5191 'ns3::Ipv4InterfaceAddress',
5192 [param('uint32_t', 'interface'), param('uint32_t', 'addressIndex')],
5193 is_pure_virtual=True, is_const=True, is_virtual=True)
5194 ## ipv4.h (module 'internet'): int32_t ns3::Ipv4::GetInterfaceForAddress(ns3::Ipv4Address address) const [member function]
5195 cls.add_method('GetInterfaceForAddress',
5196 'int32_t',
5197 [param('ns3::Ipv4Address', 'address')],
5198 is_pure_virtual=True, is_const=True, is_virtual=True)
5199 ## ipv4.h (module 'internet'): int32_t ns3::Ipv4::GetInterfaceForDevice(ns3::Ptr<const ns3::NetDevice> device) const [member function]
5200 cls.add_method('GetInterfaceForDevice',
5201 'int32_t',
5202 [param('ns3::Ptr< ns3::NetDevice const >', 'device')],
5203 is_pure_virtual=True, is_const=True, is_virtual=True)
5204 ## ipv4.h (module 'internet'): int32_t ns3::Ipv4::GetInterfaceForPrefix(ns3::Ipv4Address address, ns3::Ipv4Mask mask) const [member function]
5205 cls.add_method('GetInterfaceForPrefix',
5206 'int32_t',
5207 [param('ns3::Ipv4Address', 'address'), param('ns3::Ipv4Mask', 'mask')],
5208 is_pure_virtual=True, is_const=True, is_virtual=True)
5209 ## ipv4.h (module 'internet'): uint16_t ns3::Ipv4::GetMetric(uint32_t interface) const [member function]
5210 cls.add_method('GetMetric',
5211 'uint16_t',
5212 [param('uint32_t', 'interface')],
5213 is_pure_virtual=True, is_const=True, is_virtual=True)
5214 ## ipv4.h (module 'internet'): uint16_t ns3::Ipv4::GetMtu(uint32_t interface) const [member function]
5215 cls.add_method('GetMtu',
5216 'uint16_t',
5217 [param('uint32_t', 'interface')],
5218 is_pure_virtual=True, is_const=True, is_virtual=True)
5219 ## ipv4.h (module 'internet'): uint32_t ns3::Ipv4::GetNAddresses(uint32_t interface) const [member function]
5220 cls.add_method('GetNAddresses',
5221 'uint32_t',
5222 [param('uint32_t', 'interface')],
5223 is_pure_virtual=True, is_const=True, is_virtual=True)
5224 ## ipv4.h (module 'internet'): uint32_t ns3::Ipv4::GetNInterfaces() const [member function]
5225 cls.add_method('GetNInterfaces',
5226 'uint32_t',
5227 [],
5228 is_pure_virtual=True, is_const=True, is_virtual=True)
5229 ## ipv4.h (module 'internet'): ns3::Ptr<ns3::NetDevice> ns3::Ipv4::GetNetDevice(uint32_t interface) [member function]
5230 cls.add_method('GetNetDevice',
5231 'ns3::Ptr< ns3::NetDevice >',
5232 [param('uint32_t', 'interface')],
5233 is_pure_virtual=True, is_virtual=True)
5234 ## ipv4.h (module 'internet'): ns3::Ptr<ns3::Ipv4RoutingProtocol> ns3::Ipv4::GetRoutingProtocol() const [member function]
5235 cls.add_method('GetRoutingProtocol',
5236 'ns3::Ptr< ns3::Ipv4RoutingProtocol >',
5237 [],
5238 is_pure_virtual=True, is_const=True, is_virtual=True)
5239 ## ipv4.h (module 'internet'): static ns3::TypeId ns3::Ipv4::GetTypeId() [member function]
5240 cls.add_method('GetTypeId',
5241 'ns3::TypeId',
5242 [],
5243 is_static=True)
5244 ## ipv4.h (module 'internet'): void ns3::Ipv4::Insert(ns3::Ptr<ns3::Ipv4L4Protocol> protocol) [member function]
5245 cls.add_method('Insert',
5246 'void',
5247 [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')],
5248 is_pure_virtual=True, is_virtual=True)
5249 ## ipv4.h (module 'internet'): bool ns3::Ipv4::IsDestinationAddress(ns3::Ipv4Address address, uint32_t iif) const [member function]
5250 cls.add_method('IsDestinationAddress',
5251 'bool',
5252 [param('ns3::Ipv4Address', 'address'), param('uint32_t', 'iif')],
5253 is_pure_virtual=True, is_const=True, is_virtual=True)
5254 ## ipv4.h (module 'internet'): bool ns3::Ipv4::IsForwarding(uint32_t interface) const [member function]
5255 cls.add_method('IsForwarding',
5256 'bool',
5257 [param('uint32_t', 'interface')],
5258 is_pure_virtual=True, is_const=True, is_virtual=True)
5259 ## ipv4.h (module 'internet'): bool ns3::Ipv4::IsUp(uint32_t interface) const [member function]
5260 cls.add_method('IsUp',
5261 'bool',
5262 [param('uint32_t', 'interface')],
5263 is_pure_virtual=True, is_const=True, is_virtual=True)
5264 ## ipv4.h (module 'internet'): bool ns3::Ipv4::RemoveAddress(uint32_t interface, uint32_t addressIndex) [member function]
5265 cls.add_method('RemoveAddress',
5266 'bool',
5267 [param('uint32_t', 'interface'), param('uint32_t', 'addressIndex')],
5268 is_pure_virtual=True, is_virtual=True)
5269 ## ipv4.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4::SelectSourceAddress(ns3::Ptr<const ns3::NetDevice> device, ns3::Ipv4Address dst, ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e scope) [member function]
5270 cls.add_method('SelectSourceAddress',
5271 'ns3::Ipv4Address',
5272 [param('ns3::Ptr< ns3::NetDevice const >', 'device'), param('ns3::Ipv4Address', 'dst'), param('ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 'scope')],
5273 is_pure_virtual=True, is_virtual=True)
5274 ## ipv4.h (module 'internet'): void ns3::Ipv4::Send(ns3::Ptr<ns3::Packet> packet, ns3::Ipv4Address source, ns3::Ipv4Address destination, uint8_t protocol, ns3::Ptr<ns3::Ipv4Route> route) [member function]
5275 cls.add_method('Send',
5276 'void',
5277 [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'destination'), param('uint8_t', 'protocol'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')],
5278 is_pure_virtual=True, is_virtual=True)
5279 ## ipv4.h (module 'internet'): void ns3::Ipv4::SetDown(uint32_t interface) [member function]
5280 cls.add_method('SetDown',
5281 'void',
5282 [param('uint32_t', 'interface')],
5283 is_pure_virtual=True, is_virtual=True)
5284 ## ipv4.h (module 'internet'): void ns3::Ipv4::SetForwarding(uint32_t interface, bool val) [member function]
5285 cls.add_method('SetForwarding',
5286 'void',
5287 [param('uint32_t', 'interface'), param('bool', 'val')],
5288 is_pure_virtual=True, is_virtual=True)
5289 ## ipv4.h (module 'internet'): void ns3::Ipv4::SetMetric(uint32_t interface, uint16_t metric) [member function]
5290 cls.add_method('SetMetric',
5291 'void',
5292 [param('uint32_t', 'interface'), param('uint16_t', 'metric')],
5293 is_pure_virtual=True, is_virtual=True)
5294 ## ipv4.h (module 'internet'): void ns3::Ipv4::SetRoutingProtocol(ns3::Ptr<ns3::Ipv4RoutingProtocol> routingProtocol) [member function]
5295 cls.add_method('SetRoutingProtocol',
5296 'void',
5297 [param('ns3::Ptr< ns3::Ipv4RoutingProtocol >', 'routingProtocol')],
5298 is_pure_virtual=True, is_virtual=True)
5299 ## ipv4.h (module 'internet'): void ns3::Ipv4::SetUp(uint32_t interface) [member function]
5300 cls.add_method('SetUp',
5301 'void',
5302 [param('uint32_t', 'interface')],
5303 is_pure_virtual=True, is_virtual=True)
5304 ## ipv4.h (module 'internet'): ns3::Ipv4::IF_ANY [variable]
5305 cls.add_static_attribute('IF_ANY', 'uint32_t const', is_const=True)
5306 ## ipv4.h (module 'internet'): bool ns3::Ipv4::GetIpForward() const [member function]
5307 cls.add_method('GetIpForward',
5308 'bool',
5309 [],
5310 is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
5311 ## ipv4.h (module 'internet'): bool ns3::Ipv4::GetWeakEsModel() const [member function]
5312 cls.add_method('GetWeakEsModel',
5313 'bool',
5314 [],
5315 is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
5316 ## ipv4.h (module 'internet'): void ns3::Ipv4::SetIpForward(bool forward) [member function]
5317 cls.add_method('SetIpForward',
5318 'void',
5319 [param('bool', 'forward')],
5320 is_pure_virtual=True, visibility='private', is_virtual=True)
5321 ## ipv4.h (module 'internet'): void ns3::Ipv4::SetWeakEsModel(bool model) [member function]
5322 cls.add_method('SetWeakEsModel',
5323 'void',
5324 [param('bool', 'model')],
5325 is_pure_virtual=True, visibility='private', is_virtual=True)
5326 return
5327
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08005328def register_Ns3Ipv4AddressChecker_methods(root_module, cls):
5329 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker::Ipv4AddressChecker() [constructor]
5330 cls.add_constructor([])
5331 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker::Ipv4AddressChecker(ns3::Ipv4AddressChecker const & arg0) [copy constructor]
5332 cls.add_constructor([param('ns3::Ipv4AddressChecker const &', 'arg0')])
5333 return
5334
5335def register_Ns3Ipv4AddressValue_methods(root_module, cls):
5336 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue::Ipv4AddressValue() [constructor]
5337 cls.add_constructor([])
5338 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue::Ipv4AddressValue(ns3::Ipv4AddressValue const & arg0) [copy constructor]
5339 cls.add_constructor([param('ns3::Ipv4AddressValue const &', 'arg0')])
5340 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue::Ipv4AddressValue(ns3::Ipv4Address const & value) [constructor]
5341 cls.add_constructor([param('ns3::Ipv4Address const &', 'value')])
5342 ## ipv4-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv4AddressValue::Copy() const [member function]
5343 cls.add_method('Copy',
5344 'ns3::Ptr< ns3::AttributeValue >',
5345 [],
5346 is_const=True, is_virtual=True)
5347 ## ipv4-address.h (module 'network'): bool ns3::Ipv4AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
5348 cls.add_method('DeserializeFromString',
5349 'bool',
5350 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
5351 is_virtual=True)
5352 ## ipv4-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv4AddressValue::Get() const [member function]
5353 cls.add_method('Get',
5354 'ns3::Ipv4Address',
5355 [],
5356 is_const=True)
5357 ## ipv4-address.h (module 'network'): std::string ns3::Ipv4AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
5358 cls.add_method('SerializeToString',
5359 'std::string',
5360 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
5361 is_const=True, is_virtual=True)
5362 ## ipv4-address.h (module 'network'): void ns3::Ipv4AddressValue::Set(ns3::Ipv4Address const & value) [member function]
5363 cls.add_method('Set',
5364 'void',
5365 [param('ns3::Ipv4Address const &', 'value')])
5366 return
5367
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08005368def register_Ns3Ipv4AppTracer_methods(root_module, cls):
5369 cls.add_output_stream_operator()
5370 ## ipv4-app-tracer.h (module 'NDNabstraction'): ns3::Ipv4AppTracer::Ipv4AppTracer(ns3::Ipv4AppTracer const & arg0) [copy constructor]
5371 cls.add_constructor([param('ns3::Ipv4AppTracer const &', 'arg0')])
5372 ## ipv4-app-tracer.h (module 'NDNabstraction'): ns3::Ipv4AppTracer::Ipv4AppTracer(ns3::Ptr<ns3::Node> node, std::string const & appId="*") [constructor]
5373 cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node'), param('std::string const &', 'appId', default_value='"*"')])
5374 ## ipv4-app-tracer.h (module 'NDNabstraction'): void ns3::Ipv4AppTracer::Connect() [member function]
5375 cls.add_method('Connect',
5376 'void',
5377 [])
5378 ## ipv4-app-tracer.h (module 'NDNabstraction'): void ns3::Ipv4AppTracer::Print(std::ostream & os) const [member function]
5379 cls.add_method('Print',
5380 'void',
5381 [param('std::ostream &', 'os')],
5382 is_pure_virtual=True, is_const=True, is_virtual=True)
5383 ## ipv4-app-tracer.h (module 'NDNabstraction'): void ns3::Ipv4AppTracer::PrintHeader(std::ostream & os) const [member function]
5384 cls.add_method('PrintHeader',
5385 'void',
5386 [param('std::ostream &', 'os')],
5387 is_pure_virtual=True, is_const=True, is_virtual=True)
5388 ## ipv4-app-tracer.h (module 'NDNabstraction'): void ns3::Ipv4AppTracer::Rx(std::string context, ns3::Ipv4Header const & arg1, ns3::Ptr<const ns3::Packet> arg2, uint32_t arg3) [member function]
5389 cls.add_method('Rx',
5390 'void',
5391 [param('std::string', 'context'), param('ns3::Ipv4Header const &', 'arg1'), param('ns3::Ptr< ns3::Packet const >', 'arg2'), param('uint32_t', 'arg3')],
5392 is_pure_virtual=True, is_virtual=True)
5393 ## ipv4-app-tracer.h (module 'NDNabstraction'): void ns3::Ipv4AppTracer::Tx(std::string context, ns3::Ipv4Header const & arg1, ns3::Ptr<const ns3::Packet> arg2, uint32_t arg3) [member function]
5394 cls.add_method('Tx',
5395 'void',
5396 [param('std::string', 'context'), param('ns3::Ipv4Header const &', 'arg1'), param('ns3::Ptr< ns3::Packet const >', 'arg2'), param('uint32_t', 'arg3')],
5397 is_pure_virtual=True, is_virtual=True)
5398 return
5399
5400def register_Ns3Ipv4L4Protocol_methods(root_module, cls):
5401 ## ipv4-l4-protocol.h (module 'internet'): ns3::Ipv4L4Protocol::Ipv4L4Protocol() [constructor]
5402 cls.add_constructor([])
5403 ## ipv4-l4-protocol.h (module 'internet'): ns3::Ipv4L4Protocol::Ipv4L4Protocol(ns3::Ipv4L4Protocol const & arg0) [copy constructor]
5404 cls.add_constructor([param('ns3::Ipv4L4Protocol const &', 'arg0')])
5405 ## ipv4-l4-protocol.h (module 'internet'): ns3::Callback<void,ns3::Ptr<ns3::Packet>,ns3::Ipv4Address,ns3::Ipv4Address,unsigned char,ns3::Ptr<ns3::Ipv4Route>,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ns3::Ipv4L4Protocol::GetDownTarget() const [member function]
5406 cls.add_method('GetDownTarget',
5407 'ns3::Callback< void, ns3::Ptr< ns3::Packet >, ns3::Ipv4Address, ns3::Ipv4Address, unsigned char, ns3::Ptr< ns3::Ipv4Route >, ns3::empty, ns3::empty, ns3::empty, ns3::empty >',
5408 [],
5409 is_pure_virtual=True, is_const=True, is_virtual=True)
5410 ## ipv4-l4-protocol.h (module 'internet'): int ns3::Ipv4L4Protocol::GetProtocolNumber() const [member function]
5411 cls.add_method('GetProtocolNumber',
5412 'int',
5413 [],
5414 is_pure_virtual=True, is_const=True, is_virtual=True)
5415 ## ipv4-l4-protocol.h (module 'internet'): static ns3::TypeId ns3::Ipv4L4Protocol::GetTypeId() [member function]
5416 cls.add_method('GetTypeId',
5417 'ns3::TypeId',
5418 [],
5419 is_static=True)
5420 ## ipv4-l4-protocol.h (module 'internet'): ns3::Ipv4L4Protocol::RxStatus ns3::Ipv4L4Protocol::Receive(ns3::Ptr<ns3::Packet> p, ns3::Ipv4Header const & header, ns3::Ptr<ns3::Ipv4Interface> incomingInterface) [member function]
5421 cls.add_method('Receive',
5422 'ns3::Ipv4L4Protocol::RxStatus',
5423 [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::Ipv4Interface >', 'incomingInterface')],
5424 is_pure_virtual=True, is_virtual=True)
5425 ## ipv4-l4-protocol.h (module 'internet'): void ns3::Ipv4L4Protocol::ReceiveIcmp(ns3::Ipv4Address icmpSource, uint8_t icmpTtl, uint8_t icmpType, uint8_t icmpCode, uint32_t icmpInfo, ns3::Ipv4Address payloadSource, ns3::Ipv4Address payloadDestination, uint8_t const * payload) [member function]
5426 cls.add_method('ReceiveIcmp',
5427 'void',
5428 [param('ns3::Ipv4Address', 'icmpSource'), param('uint8_t', 'icmpTtl'), param('uint8_t', 'icmpType'), param('uint8_t', 'icmpCode'), param('uint32_t', 'icmpInfo'), param('ns3::Ipv4Address', 'payloadSource'), param('ns3::Ipv4Address', 'payloadDestination'), param('uint8_t const *', 'payload')],
5429 is_virtual=True)
5430 ## ipv4-l4-protocol.h (module 'internet'): void ns3::Ipv4L4Protocol::SetDownTarget(ns3::Callback<void,ns3::Ptr<ns3::Packet>,ns3::Ipv4Address,ns3::Ipv4Address,unsigned char,ns3::Ptr<ns3::Ipv4Route>,ns3::empty,ns3::empty,ns3::empty,ns3::empty> cb) [member function]
5431 cls.add_method('SetDownTarget',
5432 'void',
5433 [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, ns3::Ipv4Address, ns3::Ipv4Address, unsigned char, ns3::Ptr< ns3::Ipv4Route >, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')],
5434 is_pure_virtual=True, is_virtual=True)
5435 return
5436
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08005437def register_Ns3Ipv4MaskChecker_methods(root_module, cls):
5438 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker::Ipv4MaskChecker() [constructor]
5439 cls.add_constructor([])
5440 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker::Ipv4MaskChecker(ns3::Ipv4MaskChecker const & arg0) [copy constructor]
5441 cls.add_constructor([param('ns3::Ipv4MaskChecker const &', 'arg0')])
5442 return
5443
5444def register_Ns3Ipv4MaskValue_methods(root_module, cls):
5445 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue::Ipv4MaskValue() [constructor]
5446 cls.add_constructor([])
5447 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue::Ipv4MaskValue(ns3::Ipv4MaskValue const & arg0) [copy constructor]
5448 cls.add_constructor([param('ns3::Ipv4MaskValue const &', 'arg0')])
5449 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue::Ipv4MaskValue(ns3::Ipv4Mask const & value) [constructor]
5450 cls.add_constructor([param('ns3::Ipv4Mask const &', 'value')])
5451 ## ipv4-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv4MaskValue::Copy() const [member function]
5452 cls.add_method('Copy',
5453 'ns3::Ptr< ns3::AttributeValue >',
5454 [],
5455 is_const=True, is_virtual=True)
5456 ## ipv4-address.h (module 'network'): bool ns3::Ipv4MaskValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
5457 cls.add_method('DeserializeFromString',
5458 'bool',
5459 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
5460 is_virtual=True)
5461 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask ns3::Ipv4MaskValue::Get() const [member function]
5462 cls.add_method('Get',
5463 'ns3::Ipv4Mask',
5464 [],
5465 is_const=True)
5466 ## ipv4-address.h (module 'network'): std::string ns3::Ipv4MaskValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
5467 cls.add_method('SerializeToString',
5468 'std::string',
5469 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
5470 is_const=True, is_virtual=True)
5471 ## ipv4-address.h (module 'network'): void ns3::Ipv4MaskValue::Set(ns3::Ipv4Mask const & value) [member function]
5472 cls.add_method('Set',
5473 'void',
5474 [param('ns3::Ipv4Mask const &', 'value')])
5475 return
5476
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08005477def register_Ns3Ipv4MulticastRoute_methods(root_module, cls):
5478 ## ipv4-route.h (module 'internet'): ns3::Ipv4MulticastRoute::Ipv4MulticastRoute(ns3::Ipv4MulticastRoute const & arg0) [copy constructor]
5479 cls.add_constructor([param('ns3::Ipv4MulticastRoute const &', 'arg0')])
5480 ## ipv4-route.h (module 'internet'): ns3::Ipv4MulticastRoute::Ipv4MulticastRoute() [constructor]
5481 cls.add_constructor([])
5482 ## ipv4-route.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4MulticastRoute::GetGroup() const [member function]
5483 cls.add_method('GetGroup',
5484 'ns3::Ipv4Address',
5485 [],
5486 is_const=True)
5487 ## ipv4-route.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4MulticastRoute::GetOrigin() const [member function]
5488 cls.add_method('GetOrigin',
5489 'ns3::Ipv4Address',
5490 [],
5491 is_const=True)
5492 ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetOutputTtl(uint32_t oif) [member function]
5493 cls.add_method('GetOutputTtl',
5494 'uint32_t',
5495 [param('uint32_t', 'oif')],
5496 deprecated=True)
5497 ## ipv4-route.h (module 'internet'): std::map<unsigned int, unsigned int, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, unsigned int> > > ns3::Ipv4MulticastRoute::GetOutputTtlMap() const [member function]
5498 cls.add_method('GetOutputTtlMap',
5499 'std::map< unsigned int, unsigned int >',
5500 [],
5501 is_const=True)
5502 ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetParent() const [member function]
5503 cls.add_method('GetParent',
5504 'uint32_t',
5505 [],
5506 is_const=True)
5507 ## ipv4-route.h (module 'internet'): void ns3::Ipv4MulticastRoute::SetGroup(ns3::Ipv4Address const group) [member function]
5508 cls.add_method('SetGroup',
5509 'void',
5510 [param('ns3::Ipv4Address const', 'group')])
5511 ## ipv4-route.h (module 'internet'): void ns3::Ipv4MulticastRoute::SetOrigin(ns3::Ipv4Address const origin) [member function]
5512 cls.add_method('SetOrigin',
5513 'void',
5514 [param('ns3::Ipv4Address const', 'origin')])
5515 ## ipv4-route.h (module 'internet'): void ns3::Ipv4MulticastRoute::SetOutputTtl(uint32_t oif, uint32_t ttl) [member function]
5516 cls.add_method('SetOutputTtl',
5517 'void',
5518 [param('uint32_t', 'oif'), param('uint32_t', 'ttl')])
5519 ## ipv4-route.h (module 'internet'): void ns3::Ipv4MulticastRoute::SetParent(uint32_t iif) [member function]
5520 cls.add_method('SetParent',
5521 'void',
5522 [param('uint32_t', 'iif')])
5523 ## ipv4-route.h (module 'internet'): ns3::Ipv4MulticastRoute::MAX_INTERFACES [variable]
5524 cls.add_static_attribute('MAX_INTERFACES', 'uint32_t const', is_const=True)
5525 ## ipv4-route.h (module 'internet'): ns3::Ipv4MulticastRoute::MAX_TTL [variable]
5526 cls.add_static_attribute('MAX_TTL', 'uint32_t const', is_const=True)
5527 return
5528
5529def register_Ns3Ipv4Route_methods(root_module, cls):
5530 cls.add_output_stream_operator()
5531 ## ipv4-route.h (module 'internet'): ns3::Ipv4Route::Ipv4Route(ns3::Ipv4Route const & arg0) [copy constructor]
5532 cls.add_constructor([param('ns3::Ipv4Route const &', 'arg0')])
5533 ## ipv4-route.h (module 'internet'): ns3::Ipv4Route::Ipv4Route() [constructor]
5534 cls.add_constructor([])
5535 ## ipv4-route.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4Route::GetDestination() const [member function]
5536 cls.add_method('GetDestination',
5537 'ns3::Ipv4Address',
5538 [],
5539 is_const=True)
5540 ## ipv4-route.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4Route::GetGateway() const [member function]
5541 cls.add_method('GetGateway',
5542 'ns3::Ipv4Address',
5543 [],
5544 is_const=True)
5545 ## ipv4-route.h (module 'internet'): ns3::Ptr<ns3::NetDevice> ns3::Ipv4Route::GetOutputDevice() const [member function]
5546 cls.add_method('GetOutputDevice',
5547 'ns3::Ptr< ns3::NetDevice >',
5548 [],
5549 is_const=True)
5550 ## ipv4-route.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4Route::GetSource() const [member function]
5551 cls.add_method('GetSource',
5552 'ns3::Ipv4Address',
5553 [],
5554 is_const=True)
5555 ## ipv4-route.h (module 'internet'): void ns3::Ipv4Route::SetDestination(ns3::Ipv4Address dest) [member function]
5556 cls.add_method('SetDestination',
5557 'void',
5558 [param('ns3::Ipv4Address', 'dest')])
5559 ## ipv4-route.h (module 'internet'): void ns3::Ipv4Route::SetGateway(ns3::Ipv4Address gw) [member function]
5560 cls.add_method('SetGateway',
5561 'void',
5562 [param('ns3::Ipv4Address', 'gw')])
5563 ## ipv4-route.h (module 'internet'): void ns3::Ipv4Route::SetOutputDevice(ns3::Ptr<ns3::NetDevice> outputDevice) [member function]
5564 cls.add_method('SetOutputDevice',
5565 'void',
5566 [param('ns3::Ptr< ns3::NetDevice >', 'outputDevice')])
5567 ## ipv4-route.h (module 'internet'): void ns3::Ipv4Route::SetSource(ns3::Ipv4Address src) [member function]
5568 cls.add_method('SetSource',
5569 'void',
5570 [param('ns3::Ipv4Address', 'src')])
5571 return
5572
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08005573def register_Ns3Ipv6AddressChecker_methods(root_module, cls):
5574 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker::Ipv6AddressChecker() [constructor]
5575 cls.add_constructor([])
5576 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker::Ipv6AddressChecker(ns3::Ipv6AddressChecker const & arg0) [copy constructor]
5577 cls.add_constructor([param('ns3::Ipv6AddressChecker const &', 'arg0')])
5578 return
5579
5580def register_Ns3Ipv6AddressValue_methods(root_module, cls):
5581 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue::Ipv6AddressValue() [constructor]
5582 cls.add_constructor([])
5583 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue::Ipv6AddressValue(ns3::Ipv6AddressValue const & arg0) [copy constructor]
5584 cls.add_constructor([param('ns3::Ipv6AddressValue const &', 'arg0')])
5585 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue::Ipv6AddressValue(ns3::Ipv6Address const & value) [constructor]
5586 cls.add_constructor([param('ns3::Ipv6Address const &', 'value')])
5587 ## ipv6-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv6AddressValue::Copy() const [member function]
5588 cls.add_method('Copy',
5589 'ns3::Ptr< ns3::AttributeValue >',
5590 [],
5591 is_const=True, is_virtual=True)
5592 ## ipv6-address.h (module 'network'): bool ns3::Ipv6AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
5593 cls.add_method('DeserializeFromString',
5594 'bool',
5595 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
5596 is_virtual=True)
5597 ## ipv6-address.h (module 'network'): ns3::Ipv6Address ns3::Ipv6AddressValue::Get() const [member function]
5598 cls.add_method('Get',
5599 'ns3::Ipv6Address',
5600 [],
5601 is_const=True)
5602 ## ipv6-address.h (module 'network'): std::string ns3::Ipv6AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
5603 cls.add_method('SerializeToString',
5604 'std::string',
5605 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
5606 is_const=True, is_virtual=True)
5607 ## ipv6-address.h (module 'network'): void ns3::Ipv6AddressValue::Set(ns3::Ipv6Address const & value) [member function]
5608 cls.add_method('Set',
5609 'void',
5610 [param('ns3::Ipv6Address const &', 'value')])
5611 return
5612
5613def register_Ns3Ipv6PrefixChecker_methods(root_module, cls):
5614 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker::Ipv6PrefixChecker() [constructor]
5615 cls.add_constructor([])
5616 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker::Ipv6PrefixChecker(ns3::Ipv6PrefixChecker const & arg0) [copy constructor]
5617 cls.add_constructor([param('ns3::Ipv6PrefixChecker const &', 'arg0')])
5618 return
5619
5620def register_Ns3Ipv6PrefixValue_methods(root_module, cls):
5621 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue::Ipv6PrefixValue() [constructor]
5622 cls.add_constructor([])
5623 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue::Ipv6PrefixValue(ns3::Ipv6PrefixValue const & arg0) [copy constructor]
5624 cls.add_constructor([param('ns3::Ipv6PrefixValue const &', 'arg0')])
5625 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue::Ipv6PrefixValue(ns3::Ipv6Prefix const & value) [constructor]
5626 cls.add_constructor([param('ns3::Ipv6Prefix const &', 'value')])
5627 ## ipv6-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv6PrefixValue::Copy() const [member function]
5628 cls.add_method('Copy',
5629 'ns3::Ptr< ns3::AttributeValue >',
5630 [],
5631 is_const=True, is_virtual=True)
5632 ## ipv6-address.h (module 'network'): bool ns3::Ipv6PrefixValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
5633 cls.add_method('DeserializeFromString',
5634 'bool',
5635 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
5636 is_virtual=True)
5637 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix ns3::Ipv6PrefixValue::Get() const [member function]
5638 cls.add_method('Get',
5639 'ns3::Ipv6Prefix',
5640 [],
5641 is_const=True)
5642 ## ipv6-address.h (module 'network'): std::string ns3::Ipv6PrefixValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
5643 cls.add_method('SerializeToString',
5644 'std::string',
5645 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
5646 is_const=True, is_virtual=True)
5647 ## ipv6-address.h (module 'network'): void ns3::Ipv6PrefixValue::Set(ns3::Ipv6Prefix const & value) [member function]
5648 cls.add_method('Set',
5649 'void',
5650 [param('ns3::Ipv6Prefix const &', 'value')])
5651 return
5652
Alexander Afanasyev4975f732011-12-20 17:52:19 -08005653def register_Ns3MobilityModel_methods(root_module, cls):
5654 ## mobility-model.h (module 'mobility'): ns3::MobilityModel::MobilityModel(ns3::MobilityModel const & arg0) [copy constructor]
5655 cls.add_constructor([param('ns3::MobilityModel const &', 'arg0')])
5656 ## mobility-model.h (module 'mobility'): ns3::MobilityModel::MobilityModel() [constructor]
5657 cls.add_constructor([])
5658 ## mobility-model.h (module 'mobility'): double ns3::MobilityModel::GetDistanceFrom(ns3::Ptr<const ns3::MobilityModel> position) const [member function]
5659 cls.add_method('GetDistanceFrom',
5660 'double',
5661 [param('ns3::Ptr< ns3::MobilityModel const >', 'position')],
5662 is_const=True)
5663 ## mobility-model.h (module 'mobility'): ns3::Vector ns3::MobilityModel::GetPosition() const [member function]
5664 cls.add_method('GetPosition',
5665 'ns3::Vector',
5666 [],
5667 is_const=True)
5668 ## mobility-model.h (module 'mobility'): double ns3::MobilityModel::GetRelativeSpeed(ns3::Ptr<const ns3::MobilityModel> other) const [member function]
5669 cls.add_method('GetRelativeSpeed',
5670 'double',
5671 [param('ns3::Ptr< ns3::MobilityModel const >', 'other')],
5672 is_const=True)
5673 ## mobility-model.h (module 'mobility'): static ns3::TypeId ns3::MobilityModel::GetTypeId() [member function]
5674 cls.add_method('GetTypeId',
5675 'ns3::TypeId',
5676 [],
5677 is_static=True)
5678 ## mobility-model.h (module 'mobility'): ns3::Vector ns3::MobilityModel::GetVelocity() const [member function]
5679 cls.add_method('GetVelocity',
5680 'ns3::Vector',
5681 [],
5682 is_const=True)
5683 ## mobility-model.h (module 'mobility'): void ns3::MobilityModel::SetPosition(ns3::Vector const & position) [member function]
5684 cls.add_method('SetPosition',
5685 'void',
5686 [param('ns3::Vector const &', 'position')])
5687 ## mobility-model.h (module 'mobility'): void ns3::MobilityModel::NotifyCourseChange() const [member function]
5688 cls.add_method('NotifyCourseChange',
5689 'void',
5690 [],
5691 is_const=True, visibility='protected')
5692 ## mobility-model.h (module 'mobility'): ns3::Vector ns3::MobilityModel::DoGetPosition() const [member function]
5693 cls.add_method('DoGetPosition',
5694 'ns3::Vector',
5695 [],
5696 is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
5697 ## mobility-model.h (module 'mobility'): ns3::Vector ns3::MobilityModel::DoGetVelocity() const [member function]
5698 cls.add_method('DoGetVelocity',
5699 'ns3::Vector',
5700 [],
5701 is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
5702 ## mobility-model.h (module 'mobility'): void ns3::MobilityModel::DoSetPosition(ns3::Vector const & position) [member function]
5703 cls.add_method('DoSetPosition',
5704 'void',
5705 [param('ns3::Vector const &', 'position')],
5706 is_pure_virtual=True, visibility='private', is_virtual=True)
5707 return
5708
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08005709def register_Ns3NetDevice_methods(root_module, cls):
5710 ## net-device.h (module 'network'): ns3::NetDevice::NetDevice() [constructor]
5711 cls.add_constructor([])
5712 ## net-device.h (module 'network'): ns3::NetDevice::NetDevice(ns3::NetDevice const & arg0) [copy constructor]
5713 cls.add_constructor([param('ns3::NetDevice const &', 'arg0')])
5714 ## 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]
5715 cls.add_method('AddLinkChangeCallback',
5716 'void',
5717 [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')],
5718 is_pure_virtual=True, is_virtual=True)
5719 ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetAddress() const [member function]
5720 cls.add_method('GetAddress',
5721 'ns3::Address',
5722 [],
5723 is_pure_virtual=True, is_const=True, is_virtual=True)
5724 ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetBroadcast() const [member function]
5725 cls.add_method('GetBroadcast',
5726 'ns3::Address',
5727 [],
5728 is_pure_virtual=True, is_const=True, is_virtual=True)
5729 ## net-device.h (module 'network'): ns3::Ptr<ns3::Channel> ns3::NetDevice::GetChannel() const [member function]
5730 cls.add_method('GetChannel',
5731 'ns3::Ptr< ns3::Channel >',
5732 [],
5733 is_pure_virtual=True, is_const=True, is_virtual=True)
5734 ## net-device.h (module 'network'): uint32_t ns3::NetDevice::GetIfIndex() const [member function]
5735 cls.add_method('GetIfIndex',
5736 'uint32_t',
5737 [],
5738 is_pure_virtual=True, is_const=True, is_virtual=True)
5739 ## net-device.h (module 'network'): uint16_t ns3::NetDevice::GetMtu() const [member function]
5740 cls.add_method('GetMtu',
5741 'uint16_t',
5742 [],
5743 is_pure_virtual=True, is_const=True, is_virtual=True)
5744 ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetMulticast(ns3::Ipv4Address multicastGroup) const [member function]
5745 cls.add_method('GetMulticast',
5746 'ns3::Address',
5747 [param('ns3::Ipv4Address', 'multicastGroup')],
5748 is_pure_virtual=True, is_const=True, is_virtual=True)
5749 ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetMulticast(ns3::Ipv6Address addr) const [member function]
5750 cls.add_method('GetMulticast',
5751 'ns3::Address',
5752 [param('ns3::Ipv6Address', 'addr')],
5753 is_pure_virtual=True, is_const=True, is_virtual=True)
5754 ## net-device.h (module 'network'): ns3::Ptr<ns3::Node> ns3::NetDevice::GetNode() const [member function]
5755 cls.add_method('GetNode',
5756 'ns3::Ptr< ns3::Node >',
5757 [],
5758 is_pure_virtual=True, is_const=True, is_virtual=True)
5759 ## net-device.h (module 'network'): static ns3::TypeId ns3::NetDevice::GetTypeId() [member function]
5760 cls.add_method('GetTypeId',
5761 'ns3::TypeId',
5762 [],
5763 is_static=True)
5764 ## net-device.h (module 'network'): bool ns3::NetDevice::IsBridge() const [member function]
5765 cls.add_method('IsBridge',
5766 'bool',
5767 [],
5768 is_pure_virtual=True, is_const=True, is_virtual=True)
5769 ## net-device.h (module 'network'): bool ns3::NetDevice::IsBroadcast() const [member function]
5770 cls.add_method('IsBroadcast',
5771 'bool',
5772 [],
5773 is_pure_virtual=True, is_const=True, is_virtual=True)
5774 ## net-device.h (module 'network'): bool ns3::NetDevice::IsLinkUp() const [member function]
5775 cls.add_method('IsLinkUp',
5776 'bool',
5777 [],
5778 is_pure_virtual=True, is_const=True, is_virtual=True)
5779 ## net-device.h (module 'network'): bool ns3::NetDevice::IsMulticast() const [member function]
5780 cls.add_method('IsMulticast',
5781 'bool',
5782 [],
5783 is_pure_virtual=True, is_const=True, is_virtual=True)
5784 ## net-device.h (module 'network'): bool ns3::NetDevice::IsPointToPoint() const [member function]
5785 cls.add_method('IsPointToPoint',
5786 'bool',
5787 [],
5788 is_pure_virtual=True, is_const=True, is_virtual=True)
5789 ## net-device.h (module 'network'): bool ns3::NetDevice::NeedsArp() const [member function]
5790 cls.add_method('NeedsArp',
5791 'bool',
5792 [],
5793 is_pure_virtual=True, is_const=True, is_virtual=True)
5794 ## net-device.h (module 'network'): bool ns3::NetDevice::Send(ns3::Ptr<ns3::Packet> packet, ns3::Address const & dest, uint16_t protocolNumber) [member function]
5795 cls.add_method('Send',
5796 'bool',
5797 [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')],
5798 is_pure_virtual=True, is_virtual=True)
5799 ## 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]
5800 cls.add_method('SendFrom',
5801 'bool',
5802 [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')],
5803 is_pure_virtual=True, is_virtual=True)
5804 ## net-device.h (module 'network'): void ns3::NetDevice::SetAddress(ns3::Address address) [member function]
5805 cls.add_method('SetAddress',
5806 'void',
5807 [param('ns3::Address', 'address')],
5808 is_pure_virtual=True, is_virtual=True)
5809 ## net-device.h (module 'network'): void ns3::NetDevice::SetIfIndex(uint32_t const index) [member function]
5810 cls.add_method('SetIfIndex',
5811 'void',
5812 [param('uint32_t const', 'index')],
5813 is_pure_virtual=True, is_virtual=True)
5814 ## net-device.h (module 'network'): bool ns3::NetDevice::SetMtu(uint16_t const mtu) [member function]
5815 cls.add_method('SetMtu',
5816 'bool',
5817 [param('uint16_t const', 'mtu')],
5818 is_pure_virtual=True, is_virtual=True)
5819 ## net-device.h (module 'network'): void ns3::NetDevice::SetNode(ns3::Ptr<ns3::Node> node) [member function]
5820 cls.add_method('SetNode',
5821 'void',
5822 [param('ns3::Ptr< ns3::Node >', 'node')],
5823 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08005824 ## 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 -08005825 cls.add_method('SetPromiscReceiveCallback',
5826 'void',
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08005827 [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 -08005828 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08005829 ## 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 -08005830 cls.add_method('SetReceiveCallback',
5831 'void',
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08005832 [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 -08005833 is_pure_virtual=True, is_virtual=True)
5834 ## net-device.h (module 'network'): bool ns3::NetDevice::SupportsSendFrom() const [member function]
5835 cls.add_method('SupportsSendFrom',
5836 'bool',
5837 [],
5838 is_pure_virtual=True, is_const=True, is_virtual=True)
5839 return
5840
5841def register_Ns3NixVector_methods(root_module, cls):
5842 cls.add_output_stream_operator()
5843 ## nix-vector.h (module 'network'): ns3::NixVector::NixVector() [constructor]
5844 cls.add_constructor([])
5845 ## nix-vector.h (module 'network'): ns3::NixVector::NixVector(ns3::NixVector const & o) [copy constructor]
5846 cls.add_constructor([param('ns3::NixVector const &', 'o')])
5847 ## nix-vector.h (module 'network'): void ns3::NixVector::AddNeighborIndex(uint32_t newBits, uint32_t numberOfBits) [member function]
5848 cls.add_method('AddNeighborIndex',
5849 'void',
5850 [param('uint32_t', 'newBits'), param('uint32_t', 'numberOfBits')])
5851 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::BitCount(uint32_t numberOfNeighbors) const [member function]
5852 cls.add_method('BitCount',
5853 'uint32_t',
5854 [param('uint32_t', 'numberOfNeighbors')],
5855 is_const=True)
5856 ## nix-vector.h (module 'network'): ns3::Ptr<ns3::NixVector> ns3::NixVector::Copy() const [member function]
5857 cls.add_method('Copy',
5858 'ns3::Ptr< ns3::NixVector >',
5859 [],
5860 is_const=True)
5861 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::Deserialize(uint32_t const * buffer, uint32_t size) [member function]
5862 cls.add_method('Deserialize',
5863 'uint32_t',
5864 [param('uint32_t const *', 'buffer'), param('uint32_t', 'size')])
5865 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::ExtractNeighborIndex(uint32_t numberOfBits) [member function]
5866 cls.add_method('ExtractNeighborIndex',
5867 'uint32_t',
5868 [param('uint32_t', 'numberOfBits')])
5869 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::GetRemainingBits() [member function]
5870 cls.add_method('GetRemainingBits',
5871 'uint32_t',
5872 [])
5873 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::GetSerializedSize() const [member function]
5874 cls.add_method('GetSerializedSize',
5875 'uint32_t',
5876 [],
5877 is_const=True)
5878 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::Serialize(uint32_t * buffer, uint32_t maxSize) const [member function]
5879 cls.add_method('Serialize',
5880 'uint32_t',
5881 [param('uint32_t *', 'buffer'), param('uint32_t', 'maxSize')],
5882 is_const=True)
5883 return
5884
5885def register_Ns3Node_methods(root_module, cls):
5886 ## node.h (module 'network'): ns3::Node::Node(ns3::Node const & arg0) [copy constructor]
5887 cls.add_constructor([param('ns3::Node const &', 'arg0')])
5888 ## node.h (module 'network'): ns3::Node::Node() [constructor]
5889 cls.add_constructor([])
5890 ## node.h (module 'network'): ns3::Node::Node(uint32_t systemId) [constructor]
5891 cls.add_constructor([param('uint32_t', 'systemId')])
5892 ## node.h (module 'network'): uint32_t ns3::Node::AddApplication(ns3::Ptr<ns3::Application> application) [member function]
5893 cls.add_method('AddApplication',
5894 'uint32_t',
5895 [param('ns3::Ptr< ns3::Application >', 'application')])
5896 ## node.h (module 'network'): uint32_t ns3::Node::AddDevice(ns3::Ptr<ns3::NetDevice> device) [member function]
5897 cls.add_method('AddDevice',
5898 'uint32_t',
5899 [param('ns3::Ptr< ns3::NetDevice >', 'device')])
5900 ## node.h (module 'network'): static bool ns3::Node::ChecksumEnabled() [member function]
5901 cls.add_method('ChecksumEnabled',
5902 'bool',
5903 [],
5904 is_static=True)
5905 ## node.h (module 'network'): ns3::Ptr<ns3::Application> ns3::Node::GetApplication(uint32_t index) const [member function]
5906 cls.add_method('GetApplication',
5907 'ns3::Ptr< ns3::Application >',
5908 [param('uint32_t', 'index')],
5909 is_const=True)
5910 ## node.h (module 'network'): ns3::Ptr<ns3::NetDevice> ns3::Node::GetDevice(uint32_t index) const [member function]
5911 cls.add_method('GetDevice',
5912 'ns3::Ptr< ns3::NetDevice >',
5913 [param('uint32_t', 'index')],
5914 is_const=True)
5915 ## node.h (module 'network'): uint32_t ns3::Node::GetId() const [member function]
5916 cls.add_method('GetId',
5917 'uint32_t',
5918 [],
5919 is_const=True)
5920 ## node.h (module 'network'): uint32_t ns3::Node::GetNApplications() const [member function]
5921 cls.add_method('GetNApplications',
5922 'uint32_t',
5923 [],
5924 is_const=True)
5925 ## node.h (module 'network'): uint32_t ns3::Node::GetNDevices() const [member function]
5926 cls.add_method('GetNDevices',
5927 'uint32_t',
5928 [],
5929 is_const=True)
5930 ## node.h (module 'network'): uint32_t ns3::Node::GetSystemId() const [member function]
5931 cls.add_method('GetSystemId',
5932 'uint32_t',
5933 [],
5934 is_const=True)
5935 ## node.h (module 'network'): static ns3::TypeId ns3::Node::GetTypeId() [member function]
5936 cls.add_method('GetTypeId',
5937 'ns3::TypeId',
5938 [],
5939 is_static=True)
5940 ## 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]
5941 cls.add_method('RegisterDeviceAdditionListener',
5942 'void',
5943 [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')])
5944 ## 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]
5945 cls.add_method('RegisterProtocolHandler',
5946 'void',
5947 [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')])
5948 ## 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]
5949 cls.add_method('UnregisterDeviceAdditionListener',
5950 'void',
5951 [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')])
5952 ## 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]
5953 cls.add_method('UnregisterProtocolHandler',
5954 'void',
5955 [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')])
5956 ## node.h (module 'network'): void ns3::Node::DoDispose() [member function]
5957 cls.add_method('DoDispose',
5958 'void',
5959 [],
5960 visibility='protected', is_virtual=True)
5961 ## node.h (module 'network'): void ns3::Node::DoStart() [member function]
5962 cls.add_method('DoStart',
5963 'void',
5964 [],
5965 visibility='protected', is_virtual=True)
5966 return
5967
5968def register_Ns3ObjectFactoryChecker_methods(root_module, cls):
5969 ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker::ObjectFactoryChecker() [constructor]
5970 cls.add_constructor([])
5971 ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker::ObjectFactoryChecker(ns3::ObjectFactoryChecker const & arg0) [copy constructor]
5972 cls.add_constructor([param('ns3::ObjectFactoryChecker const &', 'arg0')])
5973 return
5974
5975def register_Ns3ObjectFactoryValue_methods(root_module, cls):
5976 ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue() [constructor]
5977 cls.add_constructor([])
5978 ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue(ns3::ObjectFactoryValue const & arg0) [copy constructor]
5979 cls.add_constructor([param('ns3::ObjectFactoryValue const &', 'arg0')])
5980 ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue(ns3::ObjectFactory const & value) [constructor]
5981 cls.add_constructor([param('ns3::ObjectFactory const &', 'value')])
5982 ## object-factory.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::ObjectFactoryValue::Copy() const [member function]
5983 cls.add_method('Copy',
5984 'ns3::Ptr< ns3::AttributeValue >',
5985 [],
5986 is_const=True, is_virtual=True)
5987 ## object-factory.h (module 'core'): bool ns3::ObjectFactoryValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
5988 cls.add_method('DeserializeFromString',
5989 'bool',
5990 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
5991 is_virtual=True)
5992 ## object-factory.h (module 'core'): ns3::ObjectFactory ns3::ObjectFactoryValue::Get() const [member function]
5993 cls.add_method('Get',
5994 'ns3::ObjectFactory',
5995 [],
5996 is_const=True)
5997 ## object-factory.h (module 'core'): std::string ns3::ObjectFactoryValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
5998 cls.add_method('SerializeToString',
5999 'std::string',
6000 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
6001 is_const=True, is_virtual=True)
6002 ## object-factory.h (module 'core'): void ns3::ObjectFactoryValue::Set(ns3::ObjectFactory const & value) [member function]
6003 cls.add_method('Set',
6004 'void',
6005 [param('ns3::ObjectFactory const &', 'value')])
6006 return
6007
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08006008def register_Ns3Packet_methods(root_module, cls):
6009 cls.add_output_stream_operator()
6010 ## packet.h (module 'network'): ns3::Packet::Packet() [constructor]
6011 cls.add_constructor([])
6012 ## packet.h (module 'network'): ns3::Packet::Packet(ns3::Packet const & o) [copy constructor]
6013 cls.add_constructor([param('ns3::Packet const &', 'o')])
6014 ## packet.h (module 'network'): ns3::Packet::Packet(uint32_t size) [constructor]
6015 cls.add_constructor([param('uint32_t', 'size')])
6016 ## packet.h (module 'network'): ns3::Packet::Packet(uint8_t const * buffer, uint32_t size, bool magic) [constructor]
6017 cls.add_constructor([param('uint8_t const *', 'buffer'), param('uint32_t', 'size'), param('bool', 'magic')])
6018 ## packet.h (module 'network'): ns3::Packet::Packet(uint8_t const * buffer, uint32_t size) [constructor]
6019 cls.add_constructor([param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08006020 ## packet.h (module 'network'): void ns3::Packet::AddAtEnd(ns3::Ptr<const ns3::Packet> packet) [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08006021 cls.add_method('AddAtEnd',
6022 'void',
6023 [param('ns3::Ptr< ns3::Packet const >', 'packet')])
6024 ## packet.h (module 'network'): void ns3::Packet::AddByteTag(ns3::Tag const & tag) const [member function]
6025 cls.add_method('AddByteTag',
6026 'void',
6027 [param('ns3::Tag const &', 'tag')],
6028 is_const=True)
6029 ## packet.h (module 'network'): void ns3::Packet::AddHeader(ns3::Header const & header) [member function]
6030 cls.add_method('AddHeader',
6031 'void',
6032 [param('ns3::Header const &', 'header')])
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08006033 ## packet.h (module 'network'): void ns3::Packet::AddPacketTag(ns3::Ptr<const ns3::Tag> tag) [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08006034 cls.add_method('AddPacketTag',
6035 'void',
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08006036 [param('ns3::Ptr< ns3::Tag const >', 'tag')])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08006037 ## packet.h (module 'network'): void ns3::Packet::AddPaddingAtEnd(uint32_t size) [member function]
6038 cls.add_method('AddPaddingAtEnd',
6039 'void',
6040 [param('uint32_t', 'size')])
6041 ## packet.h (module 'network'): void ns3::Packet::AddTrailer(ns3::Trailer const & trailer) [member function]
6042 cls.add_method('AddTrailer',
6043 'void',
6044 [param('ns3::Trailer const &', 'trailer')])
6045 ## packet.h (module 'network'): ns3::PacketMetadata::ItemIterator ns3::Packet::BeginItem() const [member function]
6046 cls.add_method('BeginItem',
6047 'ns3::PacketMetadata::ItemIterator',
6048 [],
6049 is_const=True)
6050 ## packet.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Packet::Copy() const [member function]
6051 cls.add_method('Copy',
6052 'ns3::Ptr< ns3::Packet >',
6053 [],
6054 is_const=True)
6055 ## packet.h (module 'network'): uint32_t ns3::Packet::CopyData(uint8_t * buffer, uint32_t size) const [member function]
6056 cls.add_method('CopyData',
6057 'uint32_t',
6058 [param('uint8_t *', 'buffer'), param('uint32_t', 'size')],
6059 is_const=True)
6060 ## packet.h (module 'network'): void ns3::Packet::CopyData(std::ostream * os, uint32_t size) const [member function]
6061 cls.add_method('CopyData',
6062 'void',
6063 [param('std::ostream *', 'os'), param('uint32_t', 'size')],
6064 is_const=True)
6065 ## packet.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Packet::CreateFragment(uint32_t start, uint32_t length) const [member function]
6066 cls.add_method('CreateFragment',
6067 'ns3::Ptr< ns3::Packet >',
6068 [param('uint32_t', 'start'), param('uint32_t', 'length')],
6069 is_const=True)
6070 ## packet.h (module 'network'): static void ns3::Packet::EnableChecking() [member function]
6071 cls.add_method('EnableChecking',
6072 'void',
6073 [],
6074 is_static=True)
6075 ## packet.h (module 'network'): static void ns3::Packet::EnablePrinting() [member function]
6076 cls.add_method('EnablePrinting',
6077 'void',
6078 [],
6079 is_static=True)
6080 ## packet.h (module 'network'): bool ns3::Packet::FindFirstMatchingByteTag(ns3::Tag & tag) const [member function]
6081 cls.add_method('FindFirstMatchingByteTag',
6082 'bool',
6083 [param('ns3::Tag &', 'tag')],
6084 is_const=True)
6085 ## packet.h (module 'network'): ns3::ByteTagIterator ns3::Packet::GetByteTagIterator() const [member function]
6086 cls.add_method('GetByteTagIterator',
6087 'ns3::ByteTagIterator',
6088 [],
6089 is_const=True)
6090 ## packet.h (module 'network'): ns3::Ptr<ns3::NixVector> ns3::Packet::GetNixVector() const [member function]
6091 cls.add_method('GetNixVector',
6092 'ns3::Ptr< ns3::NixVector >',
6093 [],
6094 is_const=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08006095 ## packet.h (module 'network'): uint32_t ns3::Packet::GetSerializedSize() const [member function]
6096 cls.add_method('GetSerializedSize',
6097 'uint32_t',
6098 [],
6099 is_const=True)
6100 ## packet.h (module 'network'): uint32_t ns3::Packet::GetSize() const [member function]
6101 cls.add_method('GetSize',
6102 'uint32_t',
6103 [],
6104 is_const=True)
6105 ## packet.h (module 'network'): uint64_t ns3::Packet::GetUid() const [member function]
6106 cls.add_method('GetUid',
6107 'uint64_t',
6108 [],
6109 is_const=True)
6110 ## packet.h (module 'network'): uint8_t const * ns3::Packet::PeekData() const [member function]
6111 cls.add_method('PeekData',
6112 'uint8_t const *',
6113 [],
6114 deprecated=True, is_const=True)
6115 ## packet.h (module 'network'): uint32_t ns3::Packet::PeekHeader(ns3::Header & header) const [member function]
6116 cls.add_method('PeekHeader',
6117 'uint32_t',
6118 [param('ns3::Header &', 'header')],
6119 is_const=True)
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08006120 ## packet.h (module 'network'): ns3::Ptr<const ns3::Tag> ns3::Packet::PeekPacketTag(ns3::TypeId tagType) const [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08006121 cls.add_method('PeekPacketTag',
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08006122 'ns3::Ptr< ns3::Tag const >',
6123 [param('ns3::TypeId', 'tagType')],
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08006124 is_const=True)
6125 ## packet.h (module 'network'): uint32_t ns3::Packet::PeekTrailer(ns3::Trailer & trailer) [member function]
6126 cls.add_method('PeekTrailer',
6127 'uint32_t',
6128 [param('ns3::Trailer &', 'trailer')])
6129 ## packet.h (module 'network'): void ns3::Packet::Print(std::ostream & os) const [member function]
6130 cls.add_method('Print',
6131 'void',
6132 [param('std::ostream &', 'os')],
6133 is_const=True)
6134 ## packet.h (module 'network'): void ns3::Packet::PrintByteTags(std::ostream & os) const [member function]
6135 cls.add_method('PrintByteTags',
6136 'void',
6137 [param('std::ostream &', 'os')],
6138 is_const=True)
6139 ## packet.h (module 'network'): void ns3::Packet::PrintPacketTags(std::ostream & os) const [member function]
6140 cls.add_method('PrintPacketTags',
6141 'void',
6142 [param('std::ostream &', 'os')],
6143 is_const=True)
6144 ## packet.h (module 'network'): void ns3::Packet::RemoveAllByteTags() [member function]
6145 cls.add_method('RemoveAllByteTags',
6146 'void',
6147 [])
6148 ## packet.h (module 'network'): void ns3::Packet::RemoveAllPacketTags() [member function]
6149 cls.add_method('RemoveAllPacketTags',
6150 'void',
6151 [])
6152 ## packet.h (module 'network'): void ns3::Packet::RemoveAtEnd(uint32_t size) [member function]
6153 cls.add_method('RemoveAtEnd',
6154 'void',
6155 [param('uint32_t', 'size')])
6156 ## packet.h (module 'network'): void ns3::Packet::RemoveAtStart(uint32_t size) [member function]
6157 cls.add_method('RemoveAtStart',
6158 'void',
6159 [param('uint32_t', 'size')])
6160 ## packet.h (module 'network'): uint32_t ns3::Packet::RemoveHeader(ns3::Header & header) [member function]
6161 cls.add_method('RemoveHeader',
6162 'uint32_t',
6163 [param('ns3::Header &', 'header')])
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08006164 ## packet.h (module 'network'): ns3::Ptr<const ns3::Tag> ns3::Packet::RemovePacketTag(ns3::TypeId tagType) [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08006165 cls.add_method('RemovePacketTag',
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08006166 'ns3::Ptr< ns3::Tag const >',
6167 [param('ns3::TypeId', 'tagType')])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08006168 ## packet.h (module 'network'): uint32_t ns3::Packet::RemoveTrailer(ns3::Trailer & trailer) [member function]
6169 cls.add_method('RemoveTrailer',
6170 'uint32_t',
6171 [param('ns3::Trailer &', 'trailer')])
6172 ## packet.h (module 'network'): uint32_t ns3::Packet::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
6173 cls.add_method('Serialize',
6174 'uint32_t',
6175 [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')],
6176 is_const=True)
6177 ## packet.h (module 'network'): void ns3::Packet::SetNixVector(ns3::Ptr<ns3::NixVector> arg0) [member function]
6178 cls.add_method('SetNixVector',
6179 'void',
6180 [param('ns3::Ptr< ns3::NixVector >', 'arg0')])
6181 return
6182
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08006183def register_Ns3RandomVariableChecker_methods(root_module, cls):
6184 ## random-variable.h (module 'core'): ns3::RandomVariableChecker::RandomVariableChecker() [constructor]
6185 cls.add_constructor([])
6186 ## random-variable.h (module 'core'): ns3::RandomVariableChecker::RandomVariableChecker(ns3::RandomVariableChecker const & arg0) [copy constructor]
6187 cls.add_constructor([param('ns3::RandomVariableChecker const &', 'arg0')])
6188 return
6189
6190def register_Ns3RandomVariableValue_methods(root_module, cls):
6191 ## random-variable.h (module 'core'): ns3::RandomVariableValue::RandomVariableValue() [constructor]
6192 cls.add_constructor([])
6193 ## random-variable.h (module 'core'): ns3::RandomVariableValue::RandomVariableValue(ns3::RandomVariableValue const & arg0) [copy constructor]
6194 cls.add_constructor([param('ns3::RandomVariableValue const &', 'arg0')])
6195 ## random-variable.h (module 'core'): ns3::RandomVariableValue::RandomVariableValue(ns3::RandomVariable const & value) [constructor]
6196 cls.add_constructor([param('ns3::RandomVariable const &', 'value')])
6197 ## random-variable.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::RandomVariableValue::Copy() const [member function]
6198 cls.add_method('Copy',
6199 'ns3::Ptr< ns3::AttributeValue >',
6200 [],
6201 is_const=True, is_virtual=True)
6202 ## random-variable.h (module 'core'): bool ns3::RandomVariableValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
6203 cls.add_method('DeserializeFromString',
6204 'bool',
6205 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
6206 is_virtual=True)
6207 ## random-variable.h (module 'core'): ns3::RandomVariable ns3::RandomVariableValue::Get() const [member function]
6208 cls.add_method('Get',
6209 'ns3::RandomVariable',
6210 [],
6211 is_const=True)
6212 ## random-variable.h (module 'core'): std::string ns3::RandomVariableValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
6213 cls.add_method('SerializeToString',
6214 'std::string',
6215 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
6216 is_const=True, is_virtual=True)
6217 ## random-variable.h (module 'core'): void ns3::RandomVariableValue::Set(ns3::RandomVariable const & value) [member function]
6218 cls.add_method('Set',
6219 'void',
6220 [param('ns3::RandomVariable const &', 'value')])
6221 return
6222
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08006223def register_Ns3RocketfuelWeightsReader_methods(root_module, cls):
Alexander Afanasyev53872ce2011-12-16 13:17:18 -08006224 ## rocketfuel-weights-reader.h (module 'NDNabstraction'): ns3::RocketfuelWeightsReader::RocketfuelWeightsReader(std::string const & path="") [constructor]
6225 cls.add_constructor([param('std::string const &', 'path', default_value='""')])
Alexander Afanasyevae3b7c32011-12-13 13:20:06 -08006226 ## rocketfuel-weights-reader.h (module 'NDNabstraction'): void ns3::RocketfuelWeightsReader::SetFileType(uint8_t inputType) [member function]
6227 cls.add_method('SetFileType',
6228 'void',
6229 [param('uint8_t', 'inputType')])
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08006230 ## rocketfuel-weights-reader.h (module 'NDNabstraction'): ns3::NodeContainer ns3::RocketfuelWeightsReader::Read() [member function]
6231 cls.add_method('Read',
6232 'ns3::NodeContainer',
6233 [],
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08006234 is_virtual=True)
Alexander Afanasyev53872ce2011-12-16 13:17:18 -08006235 ## rocketfuel-weights-reader.h (module 'NDNabstraction'): void ns3::RocketfuelWeightsReader::Commit() [member function]
6236 cls.add_method('Commit',
6237 'void',
6238 [])
Alexander Afanasyevb3e4b852011-12-23 15:58:20 -08006239 ## rocketfuel-weights-reader.h (module 'NDNabstraction'): void ns3::RocketfuelWeightsReader::SavePositions(std::string const & file) const [member function]
6240 cls.add_method('SavePositions',
6241 'void',
6242 [param('std::string const &', 'file')],
6243 is_const=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08006244 return
6245
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08006246def register_Ns3SocketAddressTag_methods(root_module, cls):
6247 ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag(ns3::SocketAddressTag const & arg0) [copy constructor]
6248 cls.add_constructor([param('ns3::SocketAddressTag const &', 'arg0')])
6249 ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag() [constructor]
6250 cls.add_constructor([])
6251 ## socket.h (module 'network'): void ns3::SocketAddressTag::Deserialize(ns3::TagBuffer i) [member function]
6252 cls.add_method('Deserialize',
6253 'void',
6254 [param('ns3::TagBuffer', 'i')],
6255 is_virtual=True)
6256 ## socket.h (module 'network'): ns3::Address ns3::SocketAddressTag::GetAddress() const [member function]
6257 cls.add_method('GetAddress',
6258 'ns3::Address',
6259 [],
6260 is_const=True)
6261 ## socket.h (module 'network'): ns3::TypeId ns3::SocketAddressTag::GetInstanceTypeId() const [member function]
6262 cls.add_method('GetInstanceTypeId',
6263 'ns3::TypeId',
6264 [],
6265 is_const=True, is_virtual=True)
6266 ## socket.h (module 'network'): uint32_t ns3::SocketAddressTag::GetSerializedSize() const [member function]
6267 cls.add_method('GetSerializedSize',
6268 'uint32_t',
6269 [],
6270 is_const=True, is_virtual=True)
6271 ## socket.h (module 'network'): static ns3::TypeId ns3::SocketAddressTag::GetTypeId() [member function]
6272 cls.add_method('GetTypeId',
6273 'ns3::TypeId',
6274 [],
6275 is_static=True)
6276 ## socket.h (module 'network'): void ns3::SocketAddressTag::Print(std::ostream & os) const [member function]
6277 cls.add_method('Print',
6278 'void',
6279 [param('std::ostream &', 'os')],
6280 is_const=True, is_virtual=True)
6281 ## socket.h (module 'network'): void ns3::SocketAddressTag::Serialize(ns3::TagBuffer i) const [member function]
6282 cls.add_method('Serialize',
6283 'void',
6284 [param('ns3::TagBuffer', 'i')],
6285 is_const=True, is_virtual=True)
6286 ## socket.h (module 'network'): void ns3::SocketAddressTag::SetAddress(ns3::Address addr) [member function]
6287 cls.add_method('SetAddress',
6288 'void',
6289 [param('ns3::Address', 'addr')])
6290 return
6291
6292def register_Ns3SocketIpTtlTag_methods(root_module, cls):
6293 ## socket.h (module 'network'): ns3::SocketIpTtlTag::SocketIpTtlTag(ns3::SocketIpTtlTag const & arg0) [copy constructor]
6294 cls.add_constructor([param('ns3::SocketIpTtlTag const &', 'arg0')])
6295 ## socket.h (module 'network'): ns3::SocketIpTtlTag::SocketIpTtlTag() [constructor]
6296 cls.add_constructor([])
6297 ## socket.h (module 'network'): void ns3::SocketIpTtlTag::Deserialize(ns3::TagBuffer i) [member function]
6298 cls.add_method('Deserialize',
6299 'void',
6300 [param('ns3::TagBuffer', 'i')],
6301 is_virtual=True)
6302 ## socket.h (module 'network'): ns3::TypeId ns3::SocketIpTtlTag::GetInstanceTypeId() const [member function]
6303 cls.add_method('GetInstanceTypeId',
6304 'ns3::TypeId',
6305 [],
6306 is_const=True, is_virtual=True)
6307 ## socket.h (module 'network'): uint32_t ns3::SocketIpTtlTag::GetSerializedSize() const [member function]
6308 cls.add_method('GetSerializedSize',
6309 'uint32_t',
6310 [],
6311 is_const=True, is_virtual=True)
6312 ## socket.h (module 'network'): uint8_t ns3::SocketIpTtlTag::GetTtl() const [member function]
6313 cls.add_method('GetTtl',
6314 'uint8_t',
6315 [],
6316 is_const=True)
6317 ## socket.h (module 'network'): static ns3::TypeId ns3::SocketIpTtlTag::GetTypeId() [member function]
6318 cls.add_method('GetTypeId',
6319 'ns3::TypeId',
6320 [],
6321 is_static=True)
6322 ## socket.h (module 'network'): void ns3::SocketIpTtlTag::Print(std::ostream & os) const [member function]
6323 cls.add_method('Print',
6324 'void',
6325 [param('std::ostream &', 'os')],
6326 is_const=True, is_virtual=True)
6327 ## socket.h (module 'network'): void ns3::SocketIpTtlTag::Serialize(ns3::TagBuffer i) const [member function]
6328 cls.add_method('Serialize',
6329 'void',
6330 [param('ns3::TagBuffer', 'i')],
6331 is_const=True, is_virtual=True)
6332 ## socket.h (module 'network'): void ns3::SocketIpTtlTag::SetTtl(uint8_t ttl) [member function]
6333 cls.add_method('SetTtl',
6334 'void',
6335 [param('uint8_t', 'ttl')])
6336 return
6337
6338def register_Ns3SocketSetDontFragmentTag_methods(root_module, cls):
6339 ## socket.h (module 'network'): ns3::SocketSetDontFragmentTag::SocketSetDontFragmentTag(ns3::SocketSetDontFragmentTag const & arg0) [copy constructor]
6340 cls.add_constructor([param('ns3::SocketSetDontFragmentTag const &', 'arg0')])
6341 ## socket.h (module 'network'): ns3::SocketSetDontFragmentTag::SocketSetDontFragmentTag() [constructor]
6342 cls.add_constructor([])
6343 ## socket.h (module 'network'): void ns3::SocketSetDontFragmentTag::Deserialize(ns3::TagBuffer i) [member function]
6344 cls.add_method('Deserialize',
6345 'void',
6346 [param('ns3::TagBuffer', 'i')],
6347 is_virtual=True)
6348 ## socket.h (module 'network'): void ns3::SocketSetDontFragmentTag::Disable() [member function]
6349 cls.add_method('Disable',
6350 'void',
6351 [])
6352 ## socket.h (module 'network'): void ns3::SocketSetDontFragmentTag::Enable() [member function]
6353 cls.add_method('Enable',
6354 'void',
6355 [])
6356 ## socket.h (module 'network'): ns3::TypeId ns3::SocketSetDontFragmentTag::GetInstanceTypeId() const [member function]
6357 cls.add_method('GetInstanceTypeId',
6358 'ns3::TypeId',
6359 [],
6360 is_const=True, is_virtual=True)
6361 ## socket.h (module 'network'): uint32_t ns3::SocketSetDontFragmentTag::GetSerializedSize() const [member function]
6362 cls.add_method('GetSerializedSize',
6363 'uint32_t',
6364 [],
6365 is_const=True, is_virtual=True)
6366 ## socket.h (module 'network'): static ns3::TypeId ns3::SocketSetDontFragmentTag::GetTypeId() [member function]
6367 cls.add_method('GetTypeId',
6368 'ns3::TypeId',
6369 [],
6370 is_static=True)
6371 ## socket.h (module 'network'): bool ns3::SocketSetDontFragmentTag::IsEnabled() const [member function]
6372 cls.add_method('IsEnabled',
6373 'bool',
6374 [],
6375 is_const=True)
6376 ## socket.h (module 'network'): void ns3::SocketSetDontFragmentTag::Print(std::ostream & os) const [member function]
6377 cls.add_method('Print',
6378 'void',
6379 [param('std::ostream &', 'os')],
6380 is_const=True, is_virtual=True)
6381 ## socket.h (module 'network'): void ns3::SocketSetDontFragmentTag::Serialize(ns3::TagBuffer i) const [member function]
6382 cls.add_method('Serialize',
6383 'void',
6384 [param('ns3::TagBuffer', 'i')],
6385 is_const=True, is_virtual=True)
6386 return
6387
Alexander Afanasyev4975f732011-12-20 17:52:19 -08006388def register_Ns3SpringMobilityModel_methods(root_module, cls):
6389 ## spring-mobility-model.h (module 'NDNabstraction'): ns3::SpringMobilityModel::SpringMobilityModel(ns3::SpringMobilityModel const & arg0) [copy constructor]
6390 cls.add_constructor([param('ns3::SpringMobilityModel const &', 'arg0')])
6391 ## spring-mobility-model.h (module 'NDNabstraction'): ns3::SpringMobilityModel::SpringMobilityModel() [constructor]
6392 cls.add_constructor([])
6393 ## spring-mobility-model.h (module 'NDNabstraction'): void ns3::SpringMobilityModel::AddSpring(ns3::Ptr<ns3::MobilityModel> node) [member function]
6394 cls.add_method('AddSpring',
6395 'void',
6396 [param('ns3::Ptr< ns3::MobilityModel >', 'node')])
6397 ## spring-mobility-model.h (module 'NDNabstraction'): static ns3::TypeId ns3::SpringMobilityModel::GetTypeId() [member function]
6398 cls.add_method('GetTypeId',
6399 'ns3::TypeId',
6400 [],
6401 is_static=True)
6402 ## spring-mobility-model.h (module 'NDNabstraction'): ns3::Vector ns3::SpringMobilityModel::DoGetPosition() const [member function]
6403 cls.add_method('DoGetPosition',
6404 'ns3::Vector',
6405 [],
6406 is_const=True, visibility='private', is_virtual=True)
6407 ## spring-mobility-model.h (module 'NDNabstraction'): ns3::Vector ns3::SpringMobilityModel::DoGetVelocity() const [member function]
6408 cls.add_method('DoGetVelocity',
6409 'ns3::Vector',
6410 [],
6411 is_const=True, visibility='private', is_virtual=True)
6412 ## spring-mobility-model.h (module 'NDNabstraction'): void ns3::SpringMobilityModel::DoSetPosition(ns3::Vector const & position) [member function]
6413 cls.add_method('DoSetPosition',
6414 'void',
6415 [param('ns3::Vector const &', 'position')],
6416 visibility='private', is_virtual=True)
6417 ## spring-mobility-model.h (module 'NDNabstraction'): void ns3::SpringMobilityModel::DoStart() [member function]
6418 cls.add_method('DoStart',
6419 'void',
6420 [],
6421 visibility='private', is_virtual=True)
6422 return
6423
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08006424def register_Ns3TcpCongestionWindowTracer_methods(root_module, cls):
6425 ## ccnx-consumer-window-tracer.h (module 'NDNabstraction'): ns3::TcpCongestionWindowTracer::TcpCongestionWindowTracer(ns3::TcpCongestionWindowTracer const & arg0) [copy constructor]
6426 cls.add_constructor([param('ns3::TcpCongestionWindowTracer const &', 'arg0')])
6427 ## ccnx-consumer-window-tracer.h (module 'NDNabstraction'): ns3::TcpCongestionWindowTracer::TcpCongestionWindowTracer(std::ostream & os, ns3::Ptr<ns3::Node> node, std::string const & appId="*") [constructor]
6428 cls.add_constructor([param('std::ostream &', 'os'), param('ns3::Ptr< ns3::Node >', 'node'), param('std::string const &', 'appId', default_value='"*"')])
6429 ## ccnx-consumer-window-tracer.h (module 'NDNabstraction'): void ns3::TcpCongestionWindowTracer::Connect() [member function]
6430 cls.add_method('Connect',
6431 'void',
6432 [])
6433 return
6434
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08006435def register_Ns3TimeChecker_methods(root_module, cls):
6436 ## nstime.h (module 'core'): ns3::TimeChecker::TimeChecker() [constructor]
6437 cls.add_constructor([])
6438 ## nstime.h (module 'core'): ns3::TimeChecker::TimeChecker(ns3::TimeChecker const & arg0) [copy constructor]
6439 cls.add_constructor([param('ns3::TimeChecker const &', 'arg0')])
6440 return
6441
6442def register_Ns3TimeValue_methods(root_module, cls):
6443 ## nstime.h (module 'core'): ns3::TimeValue::TimeValue() [constructor]
6444 cls.add_constructor([])
6445 ## nstime.h (module 'core'): ns3::TimeValue::TimeValue(ns3::TimeValue const & arg0) [copy constructor]
6446 cls.add_constructor([param('ns3::TimeValue const &', 'arg0')])
6447 ## nstime.h (module 'core'): ns3::TimeValue::TimeValue(ns3::Time const & value) [constructor]
6448 cls.add_constructor([param('ns3::Time const &', 'value')])
6449 ## nstime.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::TimeValue::Copy() const [member function]
6450 cls.add_method('Copy',
6451 'ns3::Ptr< ns3::AttributeValue >',
6452 [],
6453 is_const=True, is_virtual=True)
6454 ## nstime.h (module 'core'): bool ns3::TimeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
6455 cls.add_method('DeserializeFromString',
6456 'bool',
6457 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
6458 is_virtual=True)
6459 ## nstime.h (module 'core'): ns3::Time ns3::TimeValue::Get() const [member function]
6460 cls.add_method('Get',
6461 'ns3::Time',
6462 [],
6463 is_const=True)
6464 ## nstime.h (module 'core'): std::string ns3::TimeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
6465 cls.add_method('SerializeToString',
6466 'std::string',
6467 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
6468 is_const=True, is_virtual=True)
6469 ## nstime.h (module 'core'): void ns3::TimeValue::Set(ns3::Time const & value) [member function]
6470 cls.add_method('Set',
6471 'void',
6472 [param('ns3::Time const &', 'value')])
6473 return
6474
6475def register_Ns3TypeIdChecker_methods(root_module, cls):
6476 ## type-id.h (module 'core'): ns3::TypeIdChecker::TypeIdChecker() [constructor]
6477 cls.add_constructor([])
6478 ## type-id.h (module 'core'): ns3::TypeIdChecker::TypeIdChecker(ns3::TypeIdChecker const & arg0) [copy constructor]
6479 cls.add_constructor([param('ns3::TypeIdChecker const &', 'arg0')])
6480 return
6481
6482def register_Ns3TypeIdValue_methods(root_module, cls):
6483 ## type-id.h (module 'core'): ns3::TypeIdValue::TypeIdValue() [constructor]
6484 cls.add_constructor([])
6485 ## type-id.h (module 'core'): ns3::TypeIdValue::TypeIdValue(ns3::TypeIdValue const & arg0) [copy constructor]
6486 cls.add_constructor([param('ns3::TypeIdValue const &', 'arg0')])
6487 ## type-id.h (module 'core'): ns3::TypeIdValue::TypeIdValue(ns3::TypeId const & value) [constructor]
6488 cls.add_constructor([param('ns3::TypeId const &', 'value')])
6489 ## type-id.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::TypeIdValue::Copy() const [member function]
6490 cls.add_method('Copy',
6491 'ns3::Ptr< ns3::AttributeValue >',
6492 [],
6493 is_const=True, is_virtual=True)
6494 ## type-id.h (module 'core'): bool ns3::TypeIdValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
6495 cls.add_method('DeserializeFromString',
6496 'bool',
6497 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
6498 is_virtual=True)
6499 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeIdValue::Get() const [member function]
6500 cls.add_method('Get',
6501 'ns3::TypeId',
6502 [],
6503 is_const=True)
6504 ## type-id.h (module 'core'): std::string ns3::TypeIdValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
6505 cls.add_method('SerializeToString',
6506 'std::string',
6507 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
6508 is_const=True, is_virtual=True)
6509 ## type-id.h (module 'core'): void ns3::TypeIdValue::Set(ns3::TypeId const & value) [member function]
6510 cls.add_method('Set',
6511 'void',
6512 [param('ns3::TypeId const &', 'value')])
6513 return
6514
Alexander Afanasyev4975f732011-12-20 17:52:19 -08006515def register_Ns3Vector2DChecker_methods(root_module, cls):
6516 ## vector.h (module 'core'): ns3::Vector2DChecker::Vector2DChecker() [constructor]
6517 cls.add_constructor([])
6518 ## vector.h (module 'core'): ns3::Vector2DChecker::Vector2DChecker(ns3::Vector2DChecker const & arg0) [copy constructor]
6519 cls.add_constructor([param('ns3::Vector2DChecker const &', 'arg0')])
6520 return
6521
6522def register_Ns3Vector2DValue_methods(root_module, cls):
6523 ## vector.h (module 'core'): ns3::Vector2DValue::Vector2DValue() [constructor]
6524 cls.add_constructor([])
6525 ## vector.h (module 'core'): ns3::Vector2DValue::Vector2DValue(ns3::Vector2DValue const & arg0) [copy constructor]
6526 cls.add_constructor([param('ns3::Vector2DValue const &', 'arg0')])
6527 ## vector.h (module 'core'): ns3::Vector2DValue::Vector2DValue(ns3::Vector2D const & value) [constructor]
6528 cls.add_constructor([param('ns3::Vector2D const &', 'value')])
6529 ## vector.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::Vector2DValue::Copy() const [member function]
6530 cls.add_method('Copy',
6531 'ns3::Ptr< ns3::AttributeValue >',
6532 [],
6533 is_const=True, is_virtual=True)
6534 ## vector.h (module 'core'): bool ns3::Vector2DValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
6535 cls.add_method('DeserializeFromString',
6536 'bool',
6537 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
6538 is_virtual=True)
6539 ## vector.h (module 'core'): ns3::Vector2D ns3::Vector2DValue::Get() const [member function]
6540 cls.add_method('Get',
6541 'ns3::Vector2D',
6542 [],
6543 is_const=True)
6544 ## vector.h (module 'core'): std::string ns3::Vector2DValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
6545 cls.add_method('SerializeToString',
6546 'std::string',
6547 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
6548 is_const=True, is_virtual=True)
6549 ## vector.h (module 'core'): void ns3::Vector2DValue::Set(ns3::Vector2D const & value) [member function]
6550 cls.add_method('Set',
6551 'void',
6552 [param('ns3::Vector2D const &', 'value')])
6553 return
6554
6555def register_Ns3Vector3DChecker_methods(root_module, cls):
6556 ## vector.h (module 'core'): ns3::Vector3DChecker::Vector3DChecker() [constructor]
6557 cls.add_constructor([])
6558 ## vector.h (module 'core'): ns3::Vector3DChecker::Vector3DChecker(ns3::Vector3DChecker const & arg0) [copy constructor]
6559 cls.add_constructor([param('ns3::Vector3DChecker const &', 'arg0')])
6560 return
6561
6562def register_Ns3Vector3DValue_methods(root_module, cls):
6563 ## vector.h (module 'core'): ns3::Vector3DValue::Vector3DValue() [constructor]
6564 cls.add_constructor([])
6565 ## vector.h (module 'core'): ns3::Vector3DValue::Vector3DValue(ns3::Vector3DValue const & arg0) [copy constructor]
6566 cls.add_constructor([param('ns3::Vector3DValue const &', 'arg0')])
6567 ## vector.h (module 'core'): ns3::Vector3DValue::Vector3DValue(ns3::Vector3D const & value) [constructor]
6568 cls.add_constructor([param('ns3::Vector3D const &', 'value')])
6569 ## vector.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::Vector3DValue::Copy() const [member function]
6570 cls.add_method('Copy',
6571 'ns3::Ptr< ns3::AttributeValue >',
6572 [],
6573 is_const=True, is_virtual=True)
6574 ## vector.h (module 'core'): bool ns3::Vector3DValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
6575 cls.add_method('DeserializeFromString',
6576 'bool',
6577 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
6578 is_virtual=True)
6579 ## vector.h (module 'core'): ns3::Vector3D ns3::Vector3DValue::Get() const [member function]
6580 cls.add_method('Get',
6581 'ns3::Vector3D',
6582 [],
6583 is_const=True)
6584 ## vector.h (module 'core'): std::string ns3::Vector3DValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
6585 cls.add_method('SerializeToString',
6586 'std::string',
6587 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
6588 is_const=True, is_virtual=True)
6589 ## vector.h (module 'core'): void ns3::Vector3DValue::Set(ns3::Vector3D const & value) [member function]
6590 cls.add_method('Set',
6591 'void',
6592 [param('ns3::Vector3D const &', 'value')])
6593 return
6594
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08006595def register_Ns3AddressChecker_methods(root_module, cls):
6596 ## address.h (module 'network'): ns3::AddressChecker::AddressChecker() [constructor]
6597 cls.add_constructor([])
6598 ## address.h (module 'network'): ns3::AddressChecker::AddressChecker(ns3::AddressChecker const & arg0) [copy constructor]
6599 cls.add_constructor([param('ns3::AddressChecker const &', 'arg0')])
6600 return
6601
6602def register_Ns3AddressValue_methods(root_module, cls):
6603 ## address.h (module 'network'): ns3::AddressValue::AddressValue() [constructor]
6604 cls.add_constructor([])
6605 ## address.h (module 'network'): ns3::AddressValue::AddressValue(ns3::AddressValue const & arg0) [copy constructor]
6606 cls.add_constructor([param('ns3::AddressValue const &', 'arg0')])
6607 ## address.h (module 'network'): ns3::AddressValue::AddressValue(ns3::Address const & value) [constructor]
6608 cls.add_constructor([param('ns3::Address const &', 'value')])
6609 ## address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::AddressValue::Copy() const [member function]
6610 cls.add_method('Copy',
6611 'ns3::Ptr< ns3::AttributeValue >',
6612 [],
6613 is_const=True, is_virtual=True)
6614 ## address.h (module 'network'): bool ns3::AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
6615 cls.add_method('DeserializeFromString',
6616 'bool',
6617 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
6618 is_virtual=True)
6619 ## address.h (module 'network'): ns3::Address ns3::AddressValue::Get() const [member function]
6620 cls.add_method('Get',
6621 'ns3::Address',
6622 [],
6623 is_const=True)
6624 ## address.h (module 'network'): std::string ns3::AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
6625 cls.add_method('SerializeToString',
6626 'std::string',
6627 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
6628 is_const=True, is_virtual=True)
6629 ## address.h (module 'network'): void ns3::AddressValue::Set(ns3::Address const & value) [member function]
6630 cls.add_method('Set',
6631 'void',
6632 [param('ns3::Address const &', 'value')])
6633 return
6634
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08006635def register_functions(root_module):
6636 module = root_module
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08006637 ## batches.h (module 'NDNabstraction'): extern ns3::Ptr<ns3::AttributeChecker const> ns3::MakeBatchesChecker() [free function]
6638 module.add_function('MakeBatchesChecker',
6639 'ns3::Ptr< ns3::AttributeChecker const >',
6640 [])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08006641 ## ccnx-name-components.h (module 'NDNabstraction'): extern ns3::Ptr<ns3::AttributeChecker const> ns3::MakeCcnxNameComponentsChecker() [free function]
6642 module.add_function('MakeCcnxNameComponentsChecker',
6643 'ns3::Ptr< ns3::AttributeChecker const >',
6644 [])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08006645 register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module)
6646 register_functions_ns3_internal(module.get_submodule('internal'), root_module)
6647 return
6648
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08006649def register_functions_ns3_FatalImpl(module, root_module):
6650 return
6651
6652def register_functions_ns3_internal(module, root_module):
6653 return
6654
6655def main():
6656 out = FileCodeSink(sys.stdout)
6657 root_module = module_init()
6658 register_types(root_module)
6659 register_methods(root_module)
6660 register_functions(root_module)
6661 root_module.generate(out)
6662
6663if __name__ == '__main__':
6664 main()
6665