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