blob: 8a8d26037223141ef4f77a435e23c27c1d14f8f5 [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():
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -070017 root_module = Module('ns.ndnSIM', cpp_namespace='::ns3')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -080018 return root_module
19
20def register_types(module):
21 root_module = module.get_root()
22
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -080023 ## address.h (module 'network'): ns3::Address [class]
24 module.add_class('Address', import_from_module='ns.network')
25 ## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration]
26 module.add_enum('MaxSize_e', ['MAX_SIZE'], outer_class=root_module['ns3::Address'], import_from_module='ns.network')
27 ## application-container.h (module 'network'): ns3::ApplicationContainer [class]
28 module.add_class('ApplicationContainer', import_from_module='ns.network')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -080029 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class]
30 module.add_class('AttributeConstructionList', import_from_module='ns.core')
31 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct]
32 module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList'])
33 ## buffer.h (module 'network'): ns3::Buffer [class]
34 module.add_class('Buffer', import_from_module='ns.network')
35 ## buffer.h (module 'network'): ns3::Buffer::Iterator [class]
36 module.add_class('Iterator', import_from_module='ns.network', outer_class=root_module['ns3::Buffer'])
37 ## packet.h (module 'network'): ns3::ByteTagIterator [class]
38 module.add_class('ByteTagIterator', import_from_module='ns.network')
39 ## packet.h (module 'network'): ns3::ByteTagIterator::Item [class]
40 module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::ByteTagIterator'])
41 ## byte-tag-list.h (module 'network'): ns3::ByteTagList [class]
42 module.add_class('ByteTagList', import_from_module='ns.network')
43 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator [class]
44 module.add_class('Iterator', import_from_module='ns.network', outer_class=root_module['ns3::ByteTagList'])
45 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item [struct]
46 module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::ByteTagList::Iterator'])
47 ## callback.h (module 'core'): ns3::CallbackBase [class]
48 module.add_class('CallbackBase', import_from_module='ns.core')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -080049 ## event-id.h (module 'core'): ns3::EventId [class]
50 module.add_class('EventId', import_from_module='ns.core')
51 ## ipv4-address.h (module 'network'): ns3::Ipv4Address [class]
52 module.add_class('Ipv4Address', import_from_module='ns.network')
53 ## ipv4-address.h (module 'network'): ns3::Ipv4Address [class]
54 root_module['ns3::Ipv4Address'].implicitly_converts_to(root_module['ns3::Address'])
55 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask [class]
56 module.add_class('Ipv4Mask', import_from_module='ns.network')
57 ## ipv6-address.h (module 'network'): ns3::Ipv6Address [class]
58 module.add_class('Ipv6Address', import_from_module='ns.network')
59 ## ipv6-address.h (module 'network'): ns3::Ipv6Address [class]
60 root_module['ns3::Ipv6Address'].implicitly_converts_to(root_module['ns3::Address'])
61 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix [class]
62 module.add_class('Ipv6Prefix', import_from_module='ns.network')
Alexander Afanasyev29c19b92012-09-03 23:46:41 -070063 ## net-device-container.h (module 'network'): ns3::NetDeviceContainer [class]
64 module.add_class('NetDeviceContainer', import_from_module='ns.network')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -080065 ## node-container.h (module 'network'): ns3::NodeContainer [class]
66 module.add_class('NodeContainer', import_from_module='ns.network')
67 ## object-base.h (module 'core'): ns3::ObjectBase [class]
68 module.add_class('ObjectBase', allow_subclassing=True, import_from_module='ns.core')
69 ## object.h (module 'core'): ns3::ObjectDeleter [struct]
70 module.add_class('ObjectDeleter', import_from_module='ns.core')
71 ## object-factory.h (module 'core'): ns3::ObjectFactory [class]
72 module.add_class('ObjectFactory', import_from_module='ns.core')
73 ## packet-metadata.h (module 'network'): ns3::PacketMetadata [class]
74 module.add_class('PacketMetadata', import_from_module='ns.network')
75 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item [struct]
76 module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::PacketMetadata'])
77 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item [enumeration]
78 module.add_enum('', ['PAYLOAD', 'HEADER', 'TRAILER'], outer_class=root_module['ns3::PacketMetadata::Item'], import_from_module='ns.network')
79 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator [class]
80 module.add_class('ItemIterator', import_from_module='ns.network', outer_class=root_module['ns3::PacketMetadata'])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -070081 ## packet.h (module 'network'): ns3::PacketTagIterator [class]
82 module.add_class('PacketTagIterator', import_from_module='ns.network')
83 ## packet.h (module 'network'): ns3::PacketTagIterator::Item [class]
84 module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::PacketTagIterator'])
85 ## packet-tag-list.h (module 'network'): ns3::PacketTagList [class]
86 module.add_class('PacketTagList', import_from_module='ns.network')
87 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData [struct]
88 module.add_class('TagData', import_from_module='ns.network', outer_class=root_module['ns3::PacketTagList'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -070089 ## random-variable.h (module 'core'): ns3::RandomVariable [class]
90 module.add_class('RandomVariable', import_from_module='ns.core')
91 ## rng-seed-manager.h (module 'core'): ns3::RngSeedManager [class]
92 module.add_class('RngSeedManager', import_from_module='ns.core')
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -070093 ## sequence-number.h (module 'network'): ns3::SequenceNumber<unsigned int, int> [class]
94 module.add_class('SequenceNumber32', import_from_module='ns.network')
Alexander Afanasyev29c19b92012-09-03 23:46:41 -070095 ## random-variable.h (module 'core'): ns3::SequentialVariable [class]
96 module.add_class('SequentialVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -080097 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter> [class]
98 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 Afanasyevad5acce2012-05-31 12:43:08 -070099 ## tag.h (module 'network'): ns3::Tag [class]
100 module.add_class('Tag', import_from_module='ns.network', parent=root_module['ns3::ObjectBase'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800101 ## tag-buffer.h (module 'network'): ns3::TagBuffer [class]
102 module.add_class('TagBuffer', import_from_module='ns.network')
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -0700103 ## traced-value.h (module 'core'): ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status> [class]
104 module.add_class('TracedValue', template_parameters=['ns3::ndn::fib::FaceMetric::Status'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700105 ## random-variable.h (module 'core'): ns3::TriangularVariable [class]
106 module.add_class('TriangularVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800107 ## type-id.h (module 'core'): ns3::TypeId [class]
108 module.add_class('TypeId', import_from_module='ns.core')
109 ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration]
110 module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core')
111 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct]
112 module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId'])
113 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct]
114 module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700115 ## random-variable.h (module 'core'): ns3::UniformVariable [class]
116 module.add_class('UniformVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700117 ## random-variable.h (module 'core'): ns3::WeibullVariable [class]
118 module.add_class('WeibullVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
119 ## random-variable.h (module 'core'): ns3::ZetaVariable [class]
120 module.add_class('ZetaVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
121 ## random-variable.h (module 'core'): ns3::ZipfVariable [class]
122 module.add_class('ZipfVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800123 ## empty.h (module 'core'): ns3::empty [class]
124 module.add_class('empty', import_from_module='ns.core')
125 ## int64x64-double.h (module 'core'): ns3::int64x64_t [class]
126 module.add_class('int64x64_t', import_from_module='ns.core')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800127 ## chunk.h (module 'network'): ns3::Chunk [class]
Alexander Afanasyev4756b892012-04-18 14:48:43 -0700128 module.add_class('Chunk', import_from_module='ns.network', parent=root_module['ns3::ObjectBase'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700129 ## random-variable.h (module 'core'): ns3::ConstantVariable [class]
130 module.add_class('ConstantVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
131 ## random-variable.h (module 'core'): ns3::DeterministicVariable [class]
132 module.add_class('DeterministicVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
133 ## random-variable.h (module 'core'): ns3::EmpiricalVariable [class]
134 module.add_class('EmpiricalVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
135 ## random-variable.h (module 'core'): ns3::ErlangVariable [class]
136 module.add_class('ErlangVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
137 ## random-variable.h (module 'core'): ns3::ExponentialVariable [class]
138 module.add_class('ExponentialVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
139 ## random-variable.h (module 'core'): ns3::GammaVariable [class]
140 module.add_class('GammaVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800141 ## header.h (module 'network'): ns3::Header [class]
142 module.add_class('Header', import_from_module='ns.network', parent=root_module['ns3::Chunk'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700143 ## random-variable.h (module 'core'): ns3::IntEmpiricalVariable [class]
144 module.add_class('IntEmpiricalVariable', import_from_module='ns.core', parent=root_module['ns3::EmpiricalVariable'])
145 ## random-variable.h (module 'core'): ns3::LogNormalVariable [class]
146 module.add_class('LogNormalVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
147 ## random-variable.h (module 'core'): ns3::NormalVariable [class]
148 module.add_class('NormalVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800149 ## object.h (module 'core'): ns3::Object [class]
150 module.add_class('Object', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >'])
151 ## object.h (module 'core'): ns3::Object::AggregateIterator [class]
152 module.add_class('AggregateIterator', import_from_module='ns.core', outer_class=root_module['ns3::Object'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700153 ## random-variable.h (module 'core'): ns3::ParetoVariable [class]
154 module.add_class('ParetoVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800155 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> > [class]
156 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'))
157 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> > [class]
158 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'))
159 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> > [class]
160 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'))
161 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> > [class]
162 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 -0800163 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> > [class]
164 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'))
165 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> > [class]
166 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 -0800167 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> > [class]
168 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 Afanasyev29c19b92012-09-03 23:46:41 -0700169 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter<ns3::TopologyReader> > [class]
170 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 -0800171 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> > [class]
172 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 Afanasyeveae83ee2013-03-15 15:01:10 -0700173 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::ContentObject, ns3::Header, ns3::DefaultDeleter<ns3::ndn::ContentObject> > [class]
Alexander Afanasyeve5a8b5a2013-03-15 15:15:26 -0700174 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::ndn::ContentObject', 'ns3::Header', 'ns3::DefaultDeleter<ns3::ndn::ContentObject>'], parent=root_module['ns3::Header'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700175 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::FaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::ndn::FaceContainer> > [class]
176 module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::ndn::FaceContainer', 'ns3::empty', 'ns3::DefaultDeleter<ns3::ndn::FaceContainer>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -0700177 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::Interest, ns3::Header, ns3::DefaultDeleter<ns3::ndn::Interest> > [class]
178 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::ndn::Interest', 'ns3::Header', 'ns3::DefaultDeleter<ns3::ndn::Interest>'], parent=root_module['ns3::Header'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyev32c07562013-02-01 12:58:43 -0800179 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::Name, ns3::empty, ns3::DefaultDeleter<ns3::ndn::Name> > [class]
180 module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::ndn::Name', 'ns3::empty', 'ns3::DefaultDeleter<ns3::ndn::Name>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700181 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::cs::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::cs::Entry> > [class]
182 module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::ndn::cs::Entry', 'ns3::empty', 'ns3::DefaultDeleter<ns3::ndn::cs::Entry>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700183 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::pit::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::pit::Entry> > [class]
184 module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::ndn::pit::Entry', 'ns3::empty', 'ns3::DefaultDeleter<ns3::ndn::pit::Entry>'], 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 -0800185 ## nstime.h (module 'core'): ns3::Time [class]
186 module.add_class('Time', import_from_module='ns.core')
187 ## nstime.h (module 'core'): ns3::Time::Unit [enumeration]
188 module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core')
189 ## nstime.h (module 'core'): ns3::Time [class]
190 root_module['ns3::Time'].implicitly_converts_to(root_module['ns3::int64x64_t'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700191 ## topology-reader.h (module 'topology-read'): ns3::TopologyReader [class]
192 module.add_class('TopologyReader', import_from_module='ns.topology_read', parent=root_module['ns3::SimpleRefCount< ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter<ns3::TopologyReader> >'])
193 ## topology-reader.h (module 'topology-read'): ns3::TopologyReader::Link [class]
194 module.add_class('Link', import_from_module='ns.topology_read', outer_class=root_module['ns3::TopologyReader'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800195 ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor [class]
196 module.add_class('TraceSourceAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
197 ## trailer.h (module 'network'): ns3::Trailer [class]
198 module.add_class('Trailer', import_from_module='ns.network', parent=root_module['ns3::Chunk'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700199 ## annotated-topology-reader.h (module 'ndnSIM'): ns3::AnnotatedTopologyReader [class]
200 module.add_class('AnnotatedTopologyReader', parent=root_module['ns3::TopologyReader'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800201 ## application.h (module 'network'): ns3::Application [class]
202 module.add_class('Application', import_from_module='ns.network', parent=root_module['ns3::Object'])
203 ## attribute.h (module 'core'): ns3::AttributeAccessor [class]
204 module.add_class('AttributeAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >'])
205 ## attribute.h (module 'core'): ns3::AttributeChecker [class]
206 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> >'])
207 ## attribute.h (module 'core'): ns3::AttributeValue [class]
208 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 Afanasyevca5f6d12012-09-04 00:05:12 -0700209 ## boolean.h (module 'core'): ns3::BooleanChecker [class]
210 module.add_class('BooleanChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
211 ## boolean.h (module 'core'): ns3::BooleanValue [class]
212 module.add_class('BooleanValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800213 ## callback.h (module 'core'): ns3::CallbackChecker [class]
214 module.add_class('CallbackChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
215 ## callback.h (module 'core'): ns3::CallbackImplBase [class]
216 module.add_class('CallbackImplBase', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >'])
217 ## callback.h (module 'core'): ns3::CallbackValue [class]
218 module.add_class('CallbackValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700219 ## double.h (module 'core'): ns3::DoubleValue [class]
220 module.add_class('DoubleValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800221 ## attribute.h (module 'core'): ns3::EmptyAttributeValue [class]
222 module.add_class('EmptyAttributeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700223 ## enum.h (module 'core'): ns3::EnumChecker [class]
224 module.add_class('EnumChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
225 ## enum.h (module 'core'): ns3::EnumValue [class]
226 module.add_class('EnumValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800227 ## event-impl.h (module 'core'): ns3::EventImpl [class]
228 module.add_class('EventImpl', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >'])
229 ## integer.h (module 'core'): ns3::IntegerValue [class]
230 module.add_class('IntegerValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
231 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker [class]
232 module.add_class('Ipv4AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
233 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue [class]
234 module.add_class('Ipv4AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
235 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker [class]
236 module.add_class('Ipv4MaskChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
237 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue [class]
238 module.add_class('Ipv4MaskValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
239 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker [class]
240 module.add_class('Ipv6AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
241 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue [class]
242 module.add_class('Ipv6AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
243 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker [class]
244 module.add_class('Ipv6PrefixChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
245 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue [class]
246 module.add_class('Ipv6PrefixValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800247 ## net-device.h (module 'network'): ns3::NetDevice [class]
248 module.add_class('NetDevice', import_from_module='ns.network', parent=root_module['ns3::Object'])
249 ## net-device.h (module 'network'): ns3::NetDevice::PacketType [enumeration]
250 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')
251 ## nix-vector.h (module 'network'): ns3::NixVector [class]
252 module.add_class('NixVector', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >'])
253 ## node.h (module 'network'): ns3::Node [class]
254 module.add_class('Node', import_from_module='ns.network', parent=root_module['ns3::Object'])
255 ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker [class]
256 module.add_class('ObjectFactoryChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
257 ## object-factory.h (module 'core'): ns3::ObjectFactoryValue [class]
258 module.add_class('ObjectFactoryValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800259 ## packet.h (module 'network'): ns3::Packet [class]
260 module.add_class('Packet', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700261 ## random-variable.h (module 'core'): ns3::RandomVariableChecker [class]
262 module.add_class('RandomVariableChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
263 ## random-variable.h (module 'core'): ns3::RandomVariableValue [class]
264 module.add_class('RandomVariableValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
265 ## rocketfuel-weights-reader.h (module 'ndnSIM'): ns3::RocketfuelWeightsReader [class]
266 module.add_class('RocketfuelWeightsReader', parent=root_module['ns3::AnnotatedTopologyReader'])
267 ## rocketfuel-weights-reader.h (module 'ndnSIM'): ns3::RocketfuelWeightsReader [enumeration]
268 module.add_enum('', ['LINKS', 'WEIGHTS', 'LATENCIES', 'POSITIONS'], outer_class=root_module['ns3::RocketfuelWeightsReader'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800269 ## nstime.h (module 'core'): ns3::TimeChecker [class]
270 module.add_class('TimeChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
271 ## nstime.h (module 'core'): ns3::TimeValue [class]
272 module.add_class('TimeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
273 ## type-id.h (module 'core'): ns3::TypeIdChecker [class]
274 module.add_class('TypeIdChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
275 ## type-id.h (module 'core'): ns3::TypeIdValue [class]
276 module.add_class('TypeIdValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700277 ## uinteger.h (module 'core'): ns3::UintegerValue [class]
278 module.add_class('UintegerValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800279 ## address.h (module 'network'): ns3::AddressChecker [class]
280 module.add_class('AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
281 ## address.h (module 'network'): ns3::AddressValue [class]
282 module.add_class('AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700283 module.add_container('std::map< std::string, std::string >', ('std::string', 'std::string'), container_type='map')
284 module.add_container('std::list< ns3::TopologyReader::Link >', 'ns3::TopologyReader::Link', container_type='list')
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -0700285 typehandlers.add_type_alias('ns3::SequenceNumber< short unsigned int, short int >', 'ns3::SequenceNumber16')
286 typehandlers.add_type_alias('ns3::SequenceNumber< short unsigned int, short int >*', 'ns3::SequenceNumber16*')
287 typehandlers.add_type_alias('ns3::SequenceNumber< short unsigned int, short int >&', 'ns3::SequenceNumber16&')
288 typehandlers.add_type_alias('ns3::SequenceNumber< unsigned int, int >', 'ns3::SequenceNumber32')
289 typehandlers.add_type_alias('ns3::SequenceNumber< unsigned int, int >*', 'ns3::SequenceNumber32*')
290 typehandlers.add_type_alias('ns3::SequenceNumber< unsigned int, int >&', 'ns3::SequenceNumber32&')
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700291 typehandlers.add_type_alias('ns3::RngSeedManager', 'ns3::SeedManager')
292 typehandlers.add_type_alias('ns3::RngSeedManager*', 'ns3::SeedManager*')
293 typehandlers.add_type_alias('ns3::RngSeedManager&', 'ns3::SeedManager&')
294 module.add_typedef(root_module['ns3::RngSeedManager'], 'SeedManager')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800295
296 ## Register a nested module for the namespace FatalImpl
297
298 nested_module = module.add_cpp_namespace('FatalImpl')
299 register_types_ns3_FatalImpl(nested_module)
300
301
302 ## Register a nested module for the namespace internal
303
304 nested_module = module.add_cpp_namespace('internal')
305 register_types_ns3_internal(nested_module)
306
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700307
308 ## Register a nested module for the namespace ndn
309
310 nested_module = module.add_cpp_namespace('ndn')
311 register_types_ns3_ndn(nested_module)
312
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800313
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800314def register_types_ns3_FatalImpl(module):
315 root_module = module.get_root()
316
317
318def register_types_ns3_internal(module):
319 root_module = module.get_root()
320
321
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700322def register_types_ns3_ndn(module):
323 root_module = module.get_root()
324
325 ## ndn-app.h (module 'ndnSIM'): ns3::ndn::App [class]
326 module.add_class('App', parent=root_module['ns3::Application'])
327 ## ndn-app-helper.h (module 'ndnSIM'): ns3::ndn::AppHelper [class]
328 module.add_class('AppHelper')
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -0700329 ## ndn-content-object.h (module 'ndnSIM'): ns3::ndn::ContentObject [class]
330 module.add_class('ContentObject', parent=root_module['ns3::SimpleRefCount< ns3::ndn::ContentObject, ns3::Header, ns3::DefaultDeleter<ns3::ndn::ContentObject> >'])
331 ## ndn-content-object.h (module 'ndnSIM'): ns3::ndn::ContentObjectException [class]
332 module.add_class('ContentObjectException')
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -0800333 ## ndn-content-object.h (module 'ndnSIM'): ns3::ndn::ContentObjectTail [class]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700334 module.add_class('ContentObjectTail', parent=root_module['ns3::Trailer'])
335 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::ContentStore [class]
336 module.add_class('ContentStore', parent=root_module['ns3::Object'])
337 ## ndn-face.h (module 'ndnSIM'): ns3::ndn::Face [class]
338 module.add_class('Face', parent=root_module['ns3::Object'])
339 ## ndn-face-container.h (module 'ndnSIM'): ns3::ndn::FaceContainer [class]
340 module.add_class('FaceContainer', parent=root_module['ns3::SimpleRefCount< ns3::ndn::FaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::ndn::FaceContainer> >'])
341 ## ndn-fib.h (module 'ndnSIM'): ns3::ndn::Fib [class]
342 module.add_class('Fib', parent=root_module['ns3::Object'])
343 ## ndn-forwarding-strategy.h (module 'ndnSIM'): ns3::ndn::ForwardingStrategy [class]
344 module.add_class('ForwardingStrategy', parent=root_module['ns3::Object'])
345 ## ndn-global-routing-helper.h (module 'ndnSIM'): ns3::ndn::GlobalRoutingHelper [class]
346 module.add_class('GlobalRoutingHelper')
347 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::HeaderHelper [class]
348 module.add_class('HeaderHelper')
349 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::HeaderHelper::Type [enumeration]
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -0800350 module.add_enum('Type', ['INTEREST_CCNB', 'CONTENT_OBJECT_CCNB', 'INTEREST_NDNSIM', 'CONTENT_OBJECT_NDNSIM'], outer_class=root_module['ns3::ndn::HeaderHelper'])
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -0700351 ## ndn-interest.h (module 'ndnSIM'): ns3::ndn::Interest [class]
352 module.add_class('Interest', parent=root_module['ns3::SimpleRefCount< ns3::ndn::Interest, ns3::Header, ns3::DefaultDeleter<ns3::ndn::Interest> >'])
353 ## ndn-interest.h (module 'ndnSIM'): ns3::ndn::Interest [enumeration]
354 module.add_enum('', ['NORMAL_INTEREST', 'NACK_LOOP', 'NACK_CONGESTION', 'NACK_GIVEUP_PIT'], outer_class=root_module['ns3::ndn::Interest'])
355 ## ndn-interest.h (module 'ndnSIM'): ns3::ndn::InterestException [class]
356 module.add_class('InterestException')
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700357 ## ndn-l3-protocol.h (module 'ndnSIM'): ns3::ndn::L3Protocol [class]
358 module.add_class('L3Protocol', parent=root_module['ns3::Object'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700359 ## ndn-limits.h (module 'ndnSIM'): ns3::ndn::Limits [class]
360 module.add_class('Limits', parent=root_module['ns3::Object'])
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -0800361 ## ndn-name.h (module 'ndnSIM'): ns3::ndn::Name [class]
Alexander Afanasyev32c07562013-02-01 12:58:43 -0800362 module.add_class('Name', parent=root_module['ns3::SimpleRefCount< ns3::ndn::Name, ns3::empty, ns3::DefaultDeleter<ns3::ndn::Name> >'])
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -0800363 ## ndn-name.h (module 'ndnSIM'): ns3::ndn::NameChecker [class]
Alexander Afanasyev32c07562013-02-01 12:58:43 -0800364 module.add_class('NameChecker', parent=root_module['ns3::AttributeChecker'])
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -0800365 ## ndn-name.h (module 'ndnSIM'): ns3::ndn::NameValue [class]
Alexander Afanasyev32c07562013-02-01 12:58:43 -0800366 module.add_class('NameValue', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700367 ## ndn-net-device-face.h (module 'ndnSIM'): ns3::ndn::NetDeviceFace [class]
368 module.add_class('NetDeviceFace', parent=root_module['ns3::ndn::Face'])
369 ## ndn-pit.h (module 'ndnSIM'): ns3::ndn::Pit [class]
370 module.add_class('Pit', parent=root_module['ns3::Object'])
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -0700371 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::ndn::RttEstimator [class]
372 module.add_class('RttEstimator', parent=root_module['ns3::Object'])
373 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::ndn::RttHistory [class]
374 module.add_class('RttHistory')
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700375 ## ndn-stack-helper.h (module 'ndnSIM'): ns3::ndn::StackHelper [class]
376 module.add_class('StackHelper')
377 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::UnknownHeaderException [class]
378 module.add_class('UnknownHeaderException')
379 ## ndn-app-face.h (module 'ndnSIM'): ns3::ndn::AppFace [class]
380 module.add_class('AppFace', parent=root_module['ns3::ndn::Face'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700381 module.add_container('std::vector< ns3::Ptr< ns3::ndn::Face > >', 'ns3::Ptr< ns3::ndn::Face >', container_type='vector')
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700382 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')
383 module.add_container('std::list< std::string >', 'std::string', container_type='list')
Alexander Afanasyeve5a8b5a2013-03-15 15:15:26 -0700384 typehandlers.add_type_alias('ns3::ndn::ContentObject', 'ns3::ndn::ContentObject')
385 typehandlers.add_type_alias('ns3::ndn::ContentObject*', 'ns3::ndn::ContentObject*')
386 typehandlers.add_type_alias('ns3::ndn::ContentObject&', 'ns3::ndn::ContentObject&')
387 module.add_typedef(root_module['ns3::ndn::ContentObject'], 'ContentObject')
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -0700388 typehandlers.add_type_alias('std::deque< ns3::ndn::RttHistory, std::allocator< ns3::ndn::RttHistory > >', 'ns3::ndn::RttHistory_t')
389 typehandlers.add_type_alias('std::deque< ns3::ndn::RttHistory, std::allocator< ns3::ndn::RttHistory > >*', 'ns3::ndn::RttHistory_t*')
390 typehandlers.add_type_alias('std::deque< ns3::ndn::RttHistory, std::allocator< ns3::ndn::RttHistory > >&', 'ns3::ndn::RttHistory_t&')
Alexander Afanasyeve5a8b5a2013-03-15 15:15:26 -0700391 typehandlers.add_type_alias('ns3::ndn::Interest', 'ns3::ndn::Interest')
392 typehandlers.add_type_alias('ns3::ndn::Interest*', 'ns3::ndn::Interest*')
393 typehandlers.add_type_alias('ns3::ndn::Interest&', 'ns3::ndn::Interest&')
394 module.add_typedef(root_module['ns3::ndn::Interest'], 'Interest')
395 typehandlers.add_type_alias('ns3::ndn::Name', 'ns3::ndn::NameComponents')
396 typehandlers.add_type_alias('ns3::ndn::Name*', 'ns3::ndn::NameComponents*')
397 typehandlers.add_type_alias('ns3::ndn::Name&', 'ns3::ndn::NameComponents&')
398 module.add_typedef(root_module['ns3::ndn::Name'], 'NameComponents')
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700399
400 ## Register a nested module for the namespace cs
401
402 nested_module = module.add_cpp_namespace('cs')
403 register_types_ns3_ndn_cs(nested_module)
404
405
406 ## Register a nested module for the namespace fib
407
408 nested_module = module.add_cpp_namespace('fib')
409 register_types_ns3_ndn_fib(nested_module)
410
411
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700412 ## Register a nested module for the namespace fw
413
414 nested_module = module.add_cpp_namespace('fw')
415 register_types_ns3_ndn_fw(nested_module)
416
417
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700418 ## Register a nested module for the namespace pit
419
420 nested_module = module.add_cpp_namespace('pit')
421 register_types_ns3_ndn_pit(nested_module)
422
423
424def register_types_ns3_ndn_cs(module):
425 root_module = module.get_root()
426
427 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::cs::Entry [class]
428 module.add_class('Entry', parent=root_module['ns3::SimpleRefCount< ns3::ndn::cs::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::cs::Entry> >'])
429
430def register_types_ns3_ndn_fib(module):
431 root_module = module.get_root()
432
433 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry [class]
Alexander Afanasyevf5c07742012-10-31 13:13:05 -0700434 module.add_class('Entry', parent=root_module['ns3::Object'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700435 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::NoFaces [class]
436 module.add_class('NoFaces', outer_class=root_module['ns3::ndn::fib::Entry'])
437 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric [class]
438 module.add_class('FaceMetric')
439 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric::Status [enumeration]
440 module.add_enum('Status', ['NDN_FIB_GREEN', 'NDN_FIB_YELLOW', 'NDN_FIB_RED'], outer_class=root_module['ns3::ndn::fib::FaceMetric'])
441 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetricContainer [struct]
442 module.add_class('FaceMetricContainer')
443 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_face [class]
444 module.add_class('i_face')
445 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_metric [class]
446 module.add_class('i_metric')
447 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_nth [class]
448 module.add_class('i_nth')
449
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700450def register_types_ns3_ndn_fw(module):
451 root_module = module.get_root()
452
453 ## ndn-fw-tag.h (module 'ndnSIM'): ns3::ndn::fw::Tag [class]
454 module.add_class('Tag')
455
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700456def register_types_ns3_ndn_pit(module):
457 root_module = module.get_root()
458
459 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::Entry [class]
460 module.add_class('Entry', parent=root_module['ns3::SimpleRefCount< ns3::ndn::pit::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::pit::Entry> >'])
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -0800461 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::EntryIsNotEmpty [struct]
462 module.add_class('EntryIsNotEmpty')
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700463 ## ndn-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::ndn::pit::IncomingFace [struct]
464 module.add_class('IncomingFace')
465 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace [struct]
466 module.add_class('OutgoingFace')
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700467 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::i_face [class]
468 module.add_class('i_face')
469 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::i_retx [class]
470 module.add_class('i_retx')
471 module.add_container('std::set< ns3::ndn::pit::IncomingFace >', 'ns3::ndn::pit::IncomingFace', container_type='set')
Alexander Afanasyevc202fd92012-09-03 21:46:00 -0700472 module.add_container('std::set< ns3::ndn::pit::OutgoingFace >', 'ns3::ndn::pit::OutgoingFace', container_type='set')
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700473 module.add_container('std::set< unsigned int >', 'unsigned int', container_type='set')
474
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800475def register_methods(root_module):
476 register_Ns3Address_methods(root_module, root_module['ns3::Address'])
477 register_Ns3ApplicationContainer_methods(root_module, root_module['ns3::ApplicationContainer'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800478 register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList'])
479 register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item'])
480 register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer'])
481 register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator'])
482 register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator'])
483 register_Ns3ByteTagIteratorItem_methods(root_module, root_module['ns3::ByteTagIterator::Item'])
484 register_Ns3ByteTagList_methods(root_module, root_module['ns3::ByteTagList'])
485 register_Ns3ByteTagListIterator_methods(root_module, root_module['ns3::ByteTagList::Iterator'])
486 register_Ns3ByteTagListIteratorItem_methods(root_module, root_module['ns3::ByteTagList::Iterator::Item'])
487 register_Ns3CallbackBase_methods(root_module, root_module['ns3::CallbackBase'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800488 register_Ns3EventId_methods(root_module, root_module['ns3::EventId'])
489 register_Ns3Ipv4Address_methods(root_module, root_module['ns3::Ipv4Address'])
490 register_Ns3Ipv4Mask_methods(root_module, root_module['ns3::Ipv4Mask'])
491 register_Ns3Ipv6Address_methods(root_module, root_module['ns3::Ipv6Address'])
492 register_Ns3Ipv6Prefix_methods(root_module, root_module['ns3::Ipv6Prefix'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700493 register_Ns3NetDeviceContainer_methods(root_module, root_module['ns3::NetDeviceContainer'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800494 register_Ns3NodeContainer_methods(root_module, root_module['ns3::NodeContainer'])
495 register_Ns3ObjectBase_methods(root_module, root_module['ns3::ObjectBase'])
496 register_Ns3ObjectDeleter_methods(root_module, root_module['ns3::ObjectDeleter'])
497 register_Ns3ObjectFactory_methods(root_module, root_module['ns3::ObjectFactory'])
498 register_Ns3PacketMetadata_methods(root_module, root_module['ns3::PacketMetadata'])
499 register_Ns3PacketMetadataItem_methods(root_module, root_module['ns3::PacketMetadata::Item'])
500 register_Ns3PacketMetadataItemIterator_methods(root_module, root_module['ns3::PacketMetadata::ItemIterator'])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -0700501 register_Ns3PacketTagIterator_methods(root_module, root_module['ns3::PacketTagIterator'])
502 register_Ns3PacketTagIteratorItem_methods(root_module, root_module['ns3::PacketTagIterator::Item'])
503 register_Ns3PacketTagList_methods(root_module, root_module['ns3::PacketTagList'])
504 register_Ns3PacketTagListTagData_methods(root_module, root_module['ns3::PacketTagList::TagData'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700505 register_Ns3RandomVariable_methods(root_module, root_module['ns3::RandomVariable'])
506 register_Ns3RngSeedManager_methods(root_module, root_module['ns3::RngSeedManager'])
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -0700507 register_Ns3SequenceNumber32_methods(root_module, root_module['ns3::SequenceNumber32'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700508 register_Ns3SequentialVariable_methods(root_module, root_module['ns3::SequentialVariable'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800509 register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >'])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -0700510 register_Ns3Tag_methods(root_module, root_module['ns3::Tag'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800511 register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer'])
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -0700512 register_Ns3TracedValue__Ns3NdnFibFaceMetricStatus_methods(root_module, root_module['ns3::TracedValue< ns3::ndn::fib::FaceMetric::Status >'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700513 register_Ns3TriangularVariable_methods(root_module, root_module['ns3::TriangularVariable'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800514 register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId'])
515 register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation'])
516 register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700517 register_Ns3UniformVariable_methods(root_module, root_module['ns3::UniformVariable'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700518 register_Ns3WeibullVariable_methods(root_module, root_module['ns3::WeibullVariable'])
519 register_Ns3ZetaVariable_methods(root_module, root_module['ns3::ZetaVariable'])
520 register_Ns3ZipfVariable_methods(root_module, root_module['ns3::ZipfVariable'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800521 register_Ns3Empty_methods(root_module, root_module['ns3::empty'])
522 register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800523 register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700524 register_Ns3ConstantVariable_methods(root_module, root_module['ns3::ConstantVariable'])
525 register_Ns3DeterministicVariable_methods(root_module, root_module['ns3::DeterministicVariable'])
526 register_Ns3EmpiricalVariable_methods(root_module, root_module['ns3::EmpiricalVariable'])
527 register_Ns3ErlangVariable_methods(root_module, root_module['ns3::ErlangVariable'])
528 register_Ns3ExponentialVariable_methods(root_module, root_module['ns3::ExponentialVariable'])
529 register_Ns3GammaVariable_methods(root_module, root_module['ns3::GammaVariable'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800530 register_Ns3Header_methods(root_module, root_module['ns3::Header'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700531 register_Ns3IntEmpiricalVariable_methods(root_module, root_module['ns3::IntEmpiricalVariable'])
532 register_Ns3LogNormalVariable_methods(root_module, root_module['ns3::LogNormalVariable'])
533 register_Ns3NormalVariable_methods(root_module, root_module['ns3::NormalVariable'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800534 register_Ns3Object_methods(root_module, root_module['ns3::Object'])
535 register_Ns3ObjectAggregateIterator_methods(root_module, root_module['ns3::Object::AggregateIterator'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700536 register_Ns3ParetoVariable_methods(root_module, root_module['ns3::ParetoVariable'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800537 register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >'])
538 register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeChecker__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >'])
539 register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >'])
540 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 -0800541 register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >'])
542 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 -0800543 register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700544 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 -0800545 register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -0700546 register_Ns3SimpleRefCount__Ns3NdnContentObject_Ns3Header_Ns3DefaultDeleter__lt__ns3NdnContentObject__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::ndn::ContentObject, ns3::Header, ns3::DefaultDeleter<ns3::ndn::ContentObject> >'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700547 register_Ns3SimpleRefCount__Ns3NdnFaceContainer_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnFaceContainer__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::ndn::FaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::ndn::FaceContainer> >'])
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -0700548 register_Ns3SimpleRefCount__Ns3NdnInterest_Ns3Header_Ns3DefaultDeleter__lt__ns3NdnInterest__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::ndn::Interest, ns3::Header, ns3::DefaultDeleter<ns3::ndn::Interest> >'])
Alexander Afanasyev32c07562013-02-01 12:58:43 -0800549 register_Ns3SimpleRefCount__Ns3NdnName_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnName__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::ndn::Name, ns3::empty, ns3::DefaultDeleter<ns3::ndn::Name> >'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700550 register_Ns3SimpleRefCount__Ns3NdnCsEntry_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnCsEntry__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::ndn::cs::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::cs::Entry> >'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700551 register_Ns3SimpleRefCount__Ns3NdnPitEntry_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnPitEntry__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::ndn::pit::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::pit::Entry> >'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800552 register_Ns3Time_methods(root_module, root_module['ns3::Time'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700553 register_Ns3TopologyReader_methods(root_module, root_module['ns3::TopologyReader'])
554 register_Ns3TopologyReaderLink_methods(root_module, root_module['ns3::TopologyReader::Link'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800555 register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor'])
556 register_Ns3Trailer_methods(root_module, root_module['ns3::Trailer'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700557 register_Ns3AnnotatedTopologyReader_methods(root_module, root_module['ns3::AnnotatedTopologyReader'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800558 register_Ns3Application_methods(root_module, root_module['ns3::Application'])
559 register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor'])
560 register_Ns3AttributeChecker_methods(root_module, root_module['ns3::AttributeChecker'])
561 register_Ns3AttributeValue_methods(root_module, root_module['ns3::AttributeValue'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700562 register_Ns3BooleanChecker_methods(root_module, root_module['ns3::BooleanChecker'])
563 register_Ns3BooleanValue_methods(root_module, root_module['ns3::BooleanValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800564 register_Ns3CallbackChecker_methods(root_module, root_module['ns3::CallbackChecker'])
565 register_Ns3CallbackImplBase_methods(root_module, root_module['ns3::CallbackImplBase'])
566 register_Ns3CallbackValue_methods(root_module, root_module['ns3::CallbackValue'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700567 register_Ns3DoubleValue_methods(root_module, root_module['ns3::DoubleValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800568 register_Ns3EmptyAttributeValue_methods(root_module, root_module['ns3::EmptyAttributeValue'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700569 register_Ns3EnumChecker_methods(root_module, root_module['ns3::EnumChecker'])
570 register_Ns3EnumValue_methods(root_module, root_module['ns3::EnumValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800571 register_Ns3EventImpl_methods(root_module, root_module['ns3::EventImpl'])
572 register_Ns3IntegerValue_methods(root_module, root_module['ns3::IntegerValue'])
573 register_Ns3Ipv4AddressChecker_methods(root_module, root_module['ns3::Ipv4AddressChecker'])
574 register_Ns3Ipv4AddressValue_methods(root_module, root_module['ns3::Ipv4AddressValue'])
575 register_Ns3Ipv4MaskChecker_methods(root_module, root_module['ns3::Ipv4MaskChecker'])
576 register_Ns3Ipv4MaskValue_methods(root_module, root_module['ns3::Ipv4MaskValue'])
577 register_Ns3Ipv6AddressChecker_methods(root_module, root_module['ns3::Ipv6AddressChecker'])
578 register_Ns3Ipv6AddressValue_methods(root_module, root_module['ns3::Ipv6AddressValue'])
579 register_Ns3Ipv6PrefixChecker_methods(root_module, root_module['ns3::Ipv6PrefixChecker'])
580 register_Ns3Ipv6PrefixValue_methods(root_module, root_module['ns3::Ipv6PrefixValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800581 register_Ns3NetDevice_methods(root_module, root_module['ns3::NetDevice'])
582 register_Ns3NixVector_methods(root_module, root_module['ns3::NixVector'])
583 register_Ns3Node_methods(root_module, root_module['ns3::Node'])
584 register_Ns3ObjectFactoryChecker_methods(root_module, root_module['ns3::ObjectFactoryChecker'])
585 register_Ns3ObjectFactoryValue_methods(root_module, root_module['ns3::ObjectFactoryValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800586 register_Ns3Packet_methods(root_module, root_module['ns3::Packet'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700587 register_Ns3RandomVariableChecker_methods(root_module, root_module['ns3::RandomVariableChecker'])
588 register_Ns3RandomVariableValue_methods(root_module, root_module['ns3::RandomVariableValue'])
589 register_Ns3RocketfuelWeightsReader_methods(root_module, root_module['ns3::RocketfuelWeightsReader'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800590 register_Ns3TimeChecker_methods(root_module, root_module['ns3::TimeChecker'])
591 register_Ns3TimeValue_methods(root_module, root_module['ns3::TimeValue'])
592 register_Ns3TypeIdChecker_methods(root_module, root_module['ns3::TypeIdChecker'])
593 register_Ns3TypeIdValue_methods(root_module, root_module['ns3::TypeIdValue'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700594 register_Ns3UintegerValue_methods(root_module, root_module['ns3::UintegerValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800595 register_Ns3AddressChecker_methods(root_module, root_module['ns3::AddressChecker'])
596 register_Ns3AddressValue_methods(root_module, root_module['ns3::AddressValue'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700597 register_Ns3NdnApp_methods(root_module, root_module['ns3::ndn::App'])
598 register_Ns3NdnAppHelper_methods(root_module, root_module['ns3::ndn::AppHelper'])
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -0700599 register_Ns3NdnContentObject_methods(root_module, root_module['ns3::ndn::ContentObject'])
600 register_Ns3NdnContentObjectException_methods(root_module, root_module['ns3::ndn::ContentObjectException'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700601 register_Ns3NdnContentObjectTail_methods(root_module, root_module['ns3::ndn::ContentObjectTail'])
602 register_Ns3NdnContentStore_methods(root_module, root_module['ns3::ndn::ContentStore'])
603 register_Ns3NdnFace_methods(root_module, root_module['ns3::ndn::Face'])
604 register_Ns3NdnFaceContainer_methods(root_module, root_module['ns3::ndn::FaceContainer'])
605 register_Ns3NdnFib_methods(root_module, root_module['ns3::ndn::Fib'])
606 register_Ns3NdnForwardingStrategy_methods(root_module, root_module['ns3::ndn::ForwardingStrategy'])
607 register_Ns3NdnGlobalRoutingHelper_methods(root_module, root_module['ns3::ndn::GlobalRoutingHelper'])
608 register_Ns3NdnHeaderHelper_methods(root_module, root_module['ns3::ndn::HeaderHelper'])
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -0700609 register_Ns3NdnInterest_methods(root_module, root_module['ns3::ndn::Interest'])
610 register_Ns3NdnInterestException_methods(root_module, root_module['ns3::ndn::InterestException'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700611 register_Ns3NdnL3Protocol_methods(root_module, root_module['ns3::ndn::L3Protocol'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700612 register_Ns3NdnLimits_methods(root_module, root_module['ns3::ndn::Limits'])
Alexander Afanasyev32c07562013-02-01 12:58:43 -0800613 register_Ns3NdnName_methods(root_module, root_module['ns3::ndn::Name'])
614 register_Ns3NdnNameChecker_methods(root_module, root_module['ns3::ndn::NameChecker'])
Alexander Afanasyev32c07562013-02-01 12:58:43 -0800615 register_Ns3NdnNameValue_methods(root_module, root_module['ns3::ndn::NameValue'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700616 register_Ns3NdnNetDeviceFace_methods(root_module, root_module['ns3::ndn::NetDeviceFace'])
617 register_Ns3NdnPit_methods(root_module, root_module['ns3::ndn::Pit'])
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -0700618 register_Ns3NdnRttEstimator_methods(root_module, root_module['ns3::ndn::RttEstimator'])
619 register_Ns3NdnRttHistory_methods(root_module, root_module['ns3::ndn::RttHistory'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700620 register_Ns3NdnStackHelper_methods(root_module, root_module['ns3::ndn::StackHelper'])
621 register_Ns3NdnUnknownHeaderException_methods(root_module, root_module['ns3::ndn::UnknownHeaderException'])
622 register_Ns3NdnAppFace_methods(root_module, root_module['ns3::ndn::AppFace'])
623 register_Ns3NdnCsEntry_methods(root_module, root_module['ns3::ndn::cs::Entry'])
624 register_Ns3NdnFibEntry_methods(root_module, root_module['ns3::ndn::fib::Entry'])
625 register_Ns3NdnFibEntryNoFaces_methods(root_module, root_module['ns3::ndn::fib::Entry::NoFaces'])
626 register_Ns3NdnFibFaceMetric_methods(root_module, root_module['ns3::ndn::fib::FaceMetric'])
627 register_Ns3NdnFibFaceMetricContainer_methods(root_module, root_module['ns3::ndn::fib::FaceMetricContainer'])
628 register_Ns3NdnFibI_face_methods(root_module, root_module['ns3::ndn::fib::i_face'])
629 register_Ns3NdnFibI_metric_methods(root_module, root_module['ns3::ndn::fib::i_metric'])
630 register_Ns3NdnFibI_nth_methods(root_module, root_module['ns3::ndn::fib::i_nth'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700631 register_Ns3NdnFwTag_methods(root_module, root_module['ns3::ndn::fw::Tag'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700632 register_Ns3NdnPitEntry_methods(root_module, root_module['ns3::ndn::pit::Entry'])
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -0800633 register_Ns3NdnPitEntryIsNotEmpty_methods(root_module, root_module['ns3::ndn::pit::EntryIsNotEmpty'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700634 register_Ns3NdnPitIncomingFace_methods(root_module, root_module['ns3::ndn::pit::IncomingFace'])
635 register_Ns3NdnPitOutgoingFace_methods(root_module, root_module['ns3::ndn::pit::OutgoingFace'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700636 register_Ns3NdnPitI_face_methods(root_module, root_module['ns3::ndn::pit::i_face'])
637 register_Ns3NdnPitI_retx_methods(root_module, root_module['ns3::ndn::pit::i_retx'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800638 return
639
640def register_Ns3Address_methods(root_module, cls):
641 cls.add_binary_comparison_operator('!=')
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700642 cls.add_output_stream_operator()
Alexander Afanasyeva28ec562012-10-25 14:07:32 -0700643 cls.add_binary_comparison_operator('==')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800644 cls.add_binary_comparison_operator('<')
645 ## address.h (module 'network'): ns3::Address::Address() [constructor]
646 cls.add_constructor([])
647 ## address.h (module 'network'): ns3::Address::Address(uint8_t type, uint8_t const * buffer, uint8_t len) [constructor]
648 cls.add_constructor([param('uint8_t', 'type'), param('uint8_t const *', 'buffer'), param('uint8_t', 'len')])
649 ## address.h (module 'network'): ns3::Address::Address(ns3::Address const & address) [copy constructor]
650 cls.add_constructor([param('ns3::Address const &', 'address')])
651 ## address.h (module 'network'): bool ns3::Address::CheckCompatible(uint8_t type, uint8_t len) const [member function]
652 cls.add_method('CheckCompatible',
653 'bool',
654 [param('uint8_t', 'type'), param('uint8_t', 'len')],
655 is_const=True)
656 ## address.h (module 'network'): uint32_t ns3::Address::CopyAllFrom(uint8_t const * buffer, uint8_t len) [member function]
657 cls.add_method('CopyAllFrom',
658 'uint32_t',
659 [param('uint8_t const *', 'buffer'), param('uint8_t', 'len')])
660 ## address.h (module 'network'): uint32_t ns3::Address::CopyAllTo(uint8_t * buffer, uint8_t len) const [member function]
661 cls.add_method('CopyAllTo',
662 'uint32_t',
663 [param('uint8_t *', 'buffer'), param('uint8_t', 'len')],
664 is_const=True)
665 ## address.h (module 'network'): uint32_t ns3::Address::CopyFrom(uint8_t const * buffer, uint8_t len) [member function]
666 cls.add_method('CopyFrom',
667 'uint32_t',
668 [param('uint8_t const *', 'buffer'), param('uint8_t', 'len')])
669 ## address.h (module 'network'): uint32_t ns3::Address::CopyTo(uint8_t * buffer) const [member function]
670 cls.add_method('CopyTo',
671 'uint32_t',
672 [param('uint8_t *', 'buffer')],
673 is_const=True)
674 ## address.h (module 'network'): void ns3::Address::Deserialize(ns3::TagBuffer buffer) [member function]
675 cls.add_method('Deserialize',
676 'void',
677 [param('ns3::TagBuffer', 'buffer')])
678 ## address.h (module 'network'): uint8_t ns3::Address::GetLength() const [member function]
679 cls.add_method('GetLength',
680 'uint8_t',
681 [],
682 is_const=True)
683 ## address.h (module 'network'): uint32_t ns3::Address::GetSerializedSize() const [member function]
684 cls.add_method('GetSerializedSize',
685 'uint32_t',
686 [],
687 is_const=True)
688 ## address.h (module 'network'): bool ns3::Address::IsInvalid() const [member function]
689 cls.add_method('IsInvalid',
690 'bool',
691 [],
692 is_const=True)
693 ## address.h (module 'network'): bool ns3::Address::IsMatchingType(uint8_t type) const [member function]
694 cls.add_method('IsMatchingType',
695 'bool',
696 [param('uint8_t', 'type')],
697 is_const=True)
698 ## address.h (module 'network'): static uint8_t ns3::Address::Register() [member function]
699 cls.add_method('Register',
700 'uint8_t',
701 [],
702 is_static=True)
703 ## address.h (module 'network'): void ns3::Address::Serialize(ns3::TagBuffer buffer) const [member function]
704 cls.add_method('Serialize',
705 'void',
706 [param('ns3::TagBuffer', 'buffer')],
707 is_const=True)
708 return
709
710def register_Ns3ApplicationContainer_methods(root_module, cls):
711 ## application-container.h (module 'network'): ns3::ApplicationContainer::ApplicationContainer(ns3::ApplicationContainer const & arg0) [copy constructor]
712 cls.add_constructor([param('ns3::ApplicationContainer const &', 'arg0')])
713 ## application-container.h (module 'network'): ns3::ApplicationContainer::ApplicationContainer() [constructor]
714 cls.add_constructor([])
715 ## application-container.h (module 'network'): ns3::ApplicationContainer::ApplicationContainer(ns3::Ptr<ns3::Application> application) [constructor]
716 cls.add_constructor([param('ns3::Ptr< ns3::Application >', 'application')])
717 ## application-container.h (module 'network'): ns3::ApplicationContainer::ApplicationContainer(std::string name) [constructor]
718 cls.add_constructor([param('std::string', 'name')])
719 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Add(ns3::ApplicationContainer other) [member function]
720 cls.add_method('Add',
721 'void',
722 [param('ns3::ApplicationContainer', 'other')])
723 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Add(ns3::Ptr<ns3::Application> application) [member function]
724 cls.add_method('Add',
725 'void',
726 [param('ns3::Ptr< ns3::Application >', 'application')])
727 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Add(std::string name) [member function]
728 cls.add_method('Add',
729 'void',
730 [param('std::string', 'name')])
731 ## 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]
732 cls.add_method('Begin',
733 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Application > const, std::vector< ns3::Ptr< ns3::Application > > >',
734 [],
735 is_const=True)
736 ## 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]
737 cls.add_method('End',
738 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Application > const, std::vector< ns3::Ptr< ns3::Application > > >',
739 [],
740 is_const=True)
741 ## application-container.h (module 'network'): ns3::Ptr<ns3::Application> ns3::ApplicationContainer::Get(uint32_t i) const [member function]
742 cls.add_method('Get',
743 'ns3::Ptr< ns3::Application >',
744 [param('uint32_t', 'i')],
745 is_const=True)
746 ## application-container.h (module 'network'): uint32_t ns3::ApplicationContainer::GetN() const [member function]
747 cls.add_method('GetN',
748 'uint32_t',
749 [],
750 is_const=True)
751 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Start(ns3::Time start) [member function]
752 cls.add_method('Start',
753 'void',
754 [param('ns3::Time', 'start')])
755 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Stop(ns3::Time stop) [member function]
756 cls.add_method('Stop',
757 'void',
758 [param('ns3::Time', 'stop')])
759 return
760
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800761def register_Ns3AttributeConstructionList_methods(root_module, cls):
762 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor]
763 cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')])
764 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor]
765 cls.add_constructor([])
766 ## 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]
767 cls.add_method('Add',
768 'void',
769 [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')])
770 ## attribute-construction-list.h (module 'core'): std::_List_const_iterator<ns3::AttributeConstructionList::Item> ns3::AttributeConstructionList::Begin() const [member function]
771 cls.add_method('Begin',
772 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >',
773 [],
774 is_const=True)
775 ## attribute-construction-list.h (module 'core'): std::_List_const_iterator<ns3::AttributeConstructionList::Item> ns3::AttributeConstructionList::End() const [member function]
776 cls.add_method('End',
777 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >',
778 [],
779 is_const=True)
780 ## attribute-construction-list.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeConstructionList::Find(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
781 cls.add_method('Find',
782 'ns3::Ptr< ns3::AttributeValue >',
783 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
784 is_const=True)
785 return
786
787def register_Ns3AttributeConstructionListItem_methods(root_module, cls):
788 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor]
789 cls.add_constructor([])
790 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor]
791 cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')])
792 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable]
793 cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False)
794 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable]
795 cls.add_instance_attribute('name', 'std::string', is_const=False)
796 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable]
797 cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False)
798 return
799
800def register_Ns3Buffer_methods(root_module, cls):
801 ## buffer.h (module 'network'): ns3::Buffer::Buffer() [constructor]
802 cls.add_constructor([])
803 ## buffer.h (module 'network'): ns3::Buffer::Buffer(uint32_t dataSize) [constructor]
804 cls.add_constructor([param('uint32_t', 'dataSize')])
805 ## buffer.h (module 'network'): ns3::Buffer::Buffer(uint32_t dataSize, bool initialize) [constructor]
806 cls.add_constructor([param('uint32_t', 'dataSize'), param('bool', 'initialize')])
807 ## buffer.h (module 'network'): ns3::Buffer::Buffer(ns3::Buffer const & o) [copy constructor]
808 cls.add_constructor([param('ns3::Buffer const &', 'o')])
809 ## buffer.h (module 'network'): bool ns3::Buffer::AddAtEnd(uint32_t end) [member function]
810 cls.add_method('AddAtEnd',
811 'bool',
812 [param('uint32_t', 'end')])
813 ## buffer.h (module 'network'): void ns3::Buffer::AddAtEnd(ns3::Buffer const & o) [member function]
814 cls.add_method('AddAtEnd',
815 'void',
816 [param('ns3::Buffer const &', 'o')])
817 ## buffer.h (module 'network'): bool ns3::Buffer::AddAtStart(uint32_t start) [member function]
818 cls.add_method('AddAtStart',
819 'bool',
820 [param('uint32_t', 'start')])
821 ## buffer.h (module 'network'): ns3::Buffer::Iterator ns3::Buffer::Begin() const [member function]
822 cls.add_method('Begin',
823 'ns3::Buffer::Iterator',
824 [],
825 is_const=True)
826 ## buffer.h (module 'network'): void ns3::Buffer::CopyData(std::ostream * os, uint32_t size) const [member function]
827 cls.add_method('CopyData',
828 'void',
829 [param('std::ostream *', 'os'), param('uint32_t', 'size')],
830 is_const=True)
831 ## buffer.h (module 'network'): uint32_t ns3::Buffer::CopyData(uint8_t * buffer, uint32_t size) const [member function]
832 cls.add_method('CopyData',
833 'uint32_t',
834 [param('uint8_t *', 'buffer'), param('uint32_t', 'size')],
835 is_const=True)
836 ## buffer.h (module 'network'): ns3::Buffer ns3::Buffer::CreateFragment(uint32_t start, uint32_t length) const [member function]
837 cls.add_method('CreateFragment',
838 'ns3::Buffer',
839 [param('uint32_t', 'start'), param('uint32_t', 'length')],
840 is_const=True)
841 ## buffer.h (module 'network'): ns3::Buffer ns3::Buffer::CreateFullCopy() const [member function]
842 cls.add_method('CreateFullCopy',
843 'ns3::Buffer',
844 [],
845 is_const=True)
846 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Deserialize(uint8_t const * buffer, uint32_t size) [member function]
847 cls.add_method('Deserialize',
848 'uint32_t',
849 [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
850 ## buffer.h (module 'network'): ns3::Buffer::Iterator ns3::Buffer::End() const [member function]
851 cls.add_method('End',
852 'ns3::Buffer::Iterator',
853 [],
854 is_const=True)
855 ## buffer.h (module 'network'): int32_t ns3::Buffer::GetCurrentEndOffset() const [member function]
856 cls.add_method('GetCurrentEndOffset',
857 'int32_t',
858 [],
859 is_const=True)
860 ## buffer.h (module 'network'): int32_t ns3::Buffer::GetCurrentStartOffset() const [member function]
861 cls.add_method('GetCurrentStartOffset',
862 'int32_t',
863 [],
864 is_const=True)
865 ## buffer.h (module 'network'): uint32_t ns3::Buffer::GetSerializedSize() const [member function]
866 cls.add_method('GetSerializedSize',
867 'uint32_t',
868 [],
869 is_const=True)
870 ## buffer.h (module 'network'): uint32_t ns3::Buffer::GetSize() const [member function]
871 cls.add_method('GetSize',
872 'uint32_t',
873 [],
874 is_const=True)
875 ## buffer.h (module 'network'): uint8_t const * ns3::Buffer::PeekData() const [member function]
876 cls.add_method('PeekData',
877 'uint8_t const *',
878 [],
879 is_const=True)
880 ## buffer.h (module 'network'): void ns3::Buffer::RemoveAtEnd(uint32_t end) [member function]
881 cls.add_method('RemoveAtEnd',
882 'void',
883 [param('uint32_t', 'end')])
884 ## buffer.h (module 'network'): void ns3::Buffer::RemoveAtStart(uint32_t start) [member function]
885 cls.add_method('RemoveAtStart',
886 'void',
887 [param('uint32_t', 'start')])
888 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
889 cls.add_method('Serialize',
890 'uint32_t',
891 [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')],
892 is_const=True)
893 return
894
895def register_Ns3BufferIterator_methods(root_module, cls):
896 ## buffer.h (module 'network'): ns3::Buffer::Iterator::Iterator(ns3::Buffer::Iterator const & arg0) [copy constructor]
897 cls.add_constructor([param('ns3::Buffer::Iterator const &', 'arg0')])
898 ## buffer.h (module 'network'): ns3::Buffer::Iterator::Iterator() [constructor]
899 cls.add_constructor([])
900 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::CalculateIpChecksum(uint16_t size) [member function]
901 cls.add_method('CalculateIpChecksum',
902 'uint16_t',
903 [param('uint16_t', 'size')])
904 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::CalculateIpChecksum(uint16_t size, uint32_t initialChecksum) [member function]
905 cls.add_method('CalculateIpChecksum',
906 'uint16_t',
907 [param('uint16_t', 'size'), param('uint32_t', 'initialChecksum')])
908 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::GetDistanceFrom(ns3::Buffer::Iterator const & o) const [member function]
909 cls.add_method('GetDistanceFrom',
910 'uint32_t',
911 [param('ns3::Buffer::Iterator const &', 'o')],
912 is_const=True)
913 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::GetSize() const [member function]
914 cls.add_method('GetSize',
915 'uint32_t',
916 [],
917 is_const=True)
918 ## buffer.h (module 'network'): bool ns3::Buffer::Iterator::IsEnd() const [member function]
919 cls.add_method('IsEnd',
920 'bool',
921 [],
922 is_const=True)
923 ## buffer.h (module 'network'): bool ns3::Buffer::Iterator::IsStart() const [member function]
924 cls.add_method('IsStart',
925 'bool',
926 [],
927 is_const=True)
928 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Next() [member function]
929 cls.add_method('Next',
930 'void',
931 [])
932 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Next(uint32_t delta) [member function]
933 cls.add_method('Next',
934 'void',
935 [param('uint32_t', 'delta')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -0700936 ## buffer.h (module 'network'): uint8_t ns3::Buffer::Iterator::PeekU8() [member function]
937 cls.add_method('PeekU8',
938 'uint8_t',
939 [])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800940 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Prev() [member function]
941 cls.add_method('Prev',
942 'void',
943 [])
944 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Prev(uint32_t delta) [member function]
945 cls.add_method('Prev',
946 'void',
947 [param('uint32_t', 'delta')])
948 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Read(uint8_t * buffer, uint32_t size) [member function]
949 cls.add_method('Read',
950 'void',
951 [param('uint8_t *', 'buffer'), param('uint32_t', 'size')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -0700952 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Read(ns3::Buffer::Iterator start, uint32_t size) [member function]
953 cls.add_method('Read',
954 'void',
955 [param('ns3::Buffer::Iterator', 'start'), param('uint32_t', 'size')])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800956 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadLsbtohU16() [member function]
957 cls.add_method('ReadLsbtohU16',
958 'uint16_t',
959 [])
960 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadLsbtohU32() [member function]
961 cls.add_method('ReadLsbtohU32',
962 'uint32_t',
963 [])
964 ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadLsbtohU64() [member function]
965 cls.add_method('ReadLsbtohU64',
966 'uint64_t',
967 [])
968 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadNtohU16() [member function]
969 cls.add_method('ReadNtohU16',
970 'uint16_t',
971 [])
972 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadNtohU32() [member function]
973 cls.add_method('ReadNtohU32',
974 'uint32_t',
975 [])
976 ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadNtohU64() [member function]
977 cls.add_method('ReadNtohU64',
978 'uint64_t',
979 [])
980 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadU16() [member function]
981 cls.add_method('ReadU16',
982 'uint16_t',
983 [])
984 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadU32() [member function]
985 cls.add_method('ReadU32',
986 'uint32_t',
987 [])
988 ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadU64() [member function]
989 cls.add_method('ReadU64',
990 'uint64_t',
991 [])
992 ## buffer.h (module 'network'): uint8_t ns3::Buffer::Iterator::ReadU8() [member function]
993 cls.add_method('ReadU8',
994 'uint8_t',
995 [])
996 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Write(uint8_t const * buffer, uint32_t size) [member function]
997 cls.add_method('Write',
998 'void',
999 [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
1000 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Write(ns3::Buffer::Iterator start, ns3::Buffer::Iterator end) [member function]
1001 cls.add_method('Write',
1002 'void',
1003 [param('ns3::Buffer::Iterator', 'start'), param('ns3::Buffer::Iterator', 'end')])
1004 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU16(uint16_t data) [member function]
1005 cls.add_method('WriteHtolsbU16',
1006 'void',
1007 [param('uint16_t', 'data')])
1008 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU32(uint32_t data) [member function]
1009 cls.add_method('WriteHtolsbU32',
1010 'void',
1011 [param('uint32_t', 'data')])
1012 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU64(uint64_t data) [member function]
1013 cls.add_method('WriteHtolsbU64',
1014 'void',
1015 [param('uint64_t', 'data')])
1016 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU16(uint16_t data) [member function]
1017 cls.add_method('WriteHtonU16',
1018 'void',
1019 [param('uint16_t', 'data')])
1020 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU32(uint32_t data) [member function]
1021 cls.add_method('WriteHtonU32',
1022 'void',
1023 [param('uint32_t', 'data')])
1024 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU64(uint64_t data) [member function]
1025 cls.add_method('WriteHtonU64',
1026 'void',
1027 [param('uint64_t', 'data')])
1028 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU16(uint16_t data) [member function]
1029 cls.add_method('WriteU16',
1030 'void',
1031 [param('uint16_t', 'data')])
1032 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU32(uint32_t data) [member function]
1033 cls.add_method('WriteU32',
1034 'void',
1035 [param('uint32_t', 'data')])
1036 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU64(uint64_t data) [member function]
1037 cls.add_method('WriteU64',
1038 'void',
1039 [param('uint64_t', 'data')])
1040 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU8(uint8_t data) [member function]
1041 cls.add_method('WriteU8',
1042 'void',
1043 [param('uint8_t', 'data')])
1044 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU8(uint8_t data, uint32_t len) [member function]
1045 cls.add_method('WriteU8',
1046 'void',
1047 [param('uint8_t', 'data'), param('uint32_t', 'len')])
1048 return
1049
1050def register_Ns3ByteTagIterator_methods(root_module, cls):
1051 ## packet.h (module 'network'): ns3::ByteTagIterator::ByteTagIterator(ns3::ByteTagIterator const & arg0) [copy constructor]
1052 cls.add_constructor([param('ns3::ByteTagIterator const &', 'arg0')])
1053 ## packet.h (module 'network'): bool ns3::ByteTagIterator::HasNext() const [member function]
1054 cls.add_method('HasNext',
1055 'bool',
1056 [],
1057 is_const=True)
1058 ## packet.h (module 'network'): ns3::ByteTagIterator::Item ns3::ByteTagIterator::Next() [member function]
1059 cls.add_method('Next',
1060 'ns3::ByteTagIterator::Item',
1061 [])
1062 return
1063
1064def register_Ns3ByteTagIteratorItem_methods(root_module, cls):
1065 ## packet.h (module 'network'): ns3::ByteTagIterator::Item::Item(ns3::ByteTagIterator::Item const & arg0) [copy constructor]
1066 cls.add_constructor([param('ns3::ByteTagIterator::Item const &', 'arg0')])
1067 ## packet.h (module 'network'): uint32_t ns3::ByteTagIterator::Item::GetEnd() const [member function]
1068 cls.add_method('GetEnd',
1069 'uint32_t',
1070 [],
1071 is_const=True)
1072 ## packet.h (module 'network'): uint32_t ns3::ByteTagIterator::Item::GetStart() const [member function]
1073 cls.add_method('GetStart',
1074 'uint32_t',
1075 [],
1076 is_const=True)
1077 ## packet.h (module 'network'): void ns3::ByteTagIterator::Item::GetTag(ns3::Tag & tag) const [member function]
1078 cls.add_method('GetTag',
1079 'void',
1080 [param('ns3::Tag &', 'tag')],
1081 is_const=True)
1082 ## packet.h (module 'network'): ns3::TypeId ns3::ByteTagIterator::Item::GetTypeId() const [member function]
1083 cls.add_method('GetTypeId',
1084 'ns3::TypeId',
1085 [],
1086 is_const=True)
1087 return
1088
1089def register_Ns3ByteTagList_methods(root_module, cls):
1090 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::ByteTagList() [constructor]
1091 cls.add_constructor([])
1092 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::ByteTagList(ns3::ByteTagList const & o) [copy constructor]
1093 cls.add_constructor([param('ns3::ByteTagList const &', 'o')])
1094 ## 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]
1095 cls.add_method('Add',
1096 'ns3::TagBuffer',
1097 [param('ns3::TypeId', 'tid'), param('uint32_t', 'bufferSize'), param('int32_t', 'start'), param('int32_t', 'end')])
1098 ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::Add(ns3::ByteTagList const & o) [member function]
1099 cls.add_method('Add',
1100 'void',
1101 [param('ns3::ByteTagList const &', 'o')])
1102 ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::AddAtEnd(int32_t adjustment, int32_t appendOffset) [member function]
1103 cls.add_method('AddAtEnd',
1104 'void',
1105 [param('int32_t', 'adjustment'), param('int32_t', 'appendOffset')])
1106 ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::AddAtStart(int32_t adjustment, int32_t prependOffset) [member function]
1107 cls.add_method('AddAtStart',
1108 'void',
1109 [param('int32_t', 'adjustment'), param('int32_t', 'prependOffset')])
1110 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator ns3::ByteTagList::Begin(int32_t offsetStart, int32_t offsetEnd) const [member function]
1111 cls.add_method('Begin',
1112 'ns3::ByteTagList::Iterator',
1113 [param('int32_t', 'offsetStart'), param('int32_t', 'offsetEnd')],
1114 is_const=True)
1115 ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::RemoveAll() [member function]
1116 cls.add_method('RemoveAll',
1117 'void',
1118 [])
1119 return
1120
1121def register_Ns3ByteTagListIterator_methods(root_module, cls):
1122 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Iterator(ns3::ByteTagList::Iterator const & arg0) [copy constructor]
1123 cls.add_constructor([param('ns3::ByteTagList::Iterator const &', 'arg0')])
1124 ## byte-tag-list.h (module 'network'): uint32_t ns3::ByteTagList::Iterator::GetOffsetStart() const [member function]
1125 cls.add_method('GetOffsetStart',
1126 'uint32_t',
1127 [],
1128 is_const=True)
1129 ## byte-tag-list.h (module 'network'): bool ns3::ByteTagList::Iterator::HasNext() const [member function]
1130 cls.add_method('HasNext',
1131 'bool',
1132 [],
1133 is_const=True)
1134 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item ns3::ByteTagList::Iterator::Next() [member function]
1135 cls.add_method('Next',
1136 'ns3::ByteTagList::Iterator::Item',
1137 [])
1138 return
1139
1140def register_Ns3ByteTagListIteratorItem_methods(root_module, cls):
1141 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::Item(ns3::ByteTagList::Iterator::Item const & arg0) [copy constructor]
1142 cls.add_constructor([param('ns3::ByteTagList::Iterator::Item const &', 'arg0')])
1143 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::Item(ns3::TagBuffer buf) [constructor]
1144 cls.add_constructor([param('ns3::TagBuffer', 'buf')])
1145 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::buf [variable]
1146 cls.add_instance_attribute('buf', 'ns3::TagBuffer', is_const=False)
1147 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::end [variable]
1148 cls.add_instance_attribute('end', 'int32_t', is_const=False)
1149 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::size [variable]
1150 cls.add_instance_attribute('size', 'uint32_t', is_const=False)
1151 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::start [variable]
1152 cls.add_instance_attribute('start', 'int32_t', is_const=False)
1153 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::tid [variable]
1154 cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
1155 return
1156
1157def register_Ns3CallbackBase_methods(root_module, cls):
1158 ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase(ns3::CallbackBase const & arg0) [copy constructor]
1159 cls.add_constructor([param('ns3::CallbackBase const &', 'arg0')])
1160 ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase() [constructor]
1161 cls.add_constructor([])
1162 ## callback.h (module 'core'): ns3::Ptr<ns3::CallbackImplBase> ns3::CallbackBase::GetImpl() const [member function]
1163 cls.add_method('GetImpl',
1164 'ns3::Ptr< ns3::CallbackImplBase >',
1165 [],
1166 is_const=True)
1167 ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase(ns3::Ptr<ns3::CallbackImplBase> impl) [constructor]
1168 cls.add_constructor([param('ns3::Ptr< ns3::CallbackImplBase >', 'impl')],
1169 visibility='protected')
1170 ## callback.h (module 'core'): static std::string ns3::CallbackBase::Demangle(std::string const & mangled) [member function]
1171 cls.add_method('Demangle',
1172 'std::string',
1173 [param('std::string const &', 'mangled')],
1174 is_static=True, visibility='protected')
1175 return
1176
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001177def 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('!=')
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07001224 cls.add_output_stream_operator()
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07001225 cls.add_binary_comparison_operator('==')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001226 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)
Alexander Afanasyev4052f952012-06-08 17:57:59 -07001250 ## ipv4-address.h (module 'network'): uint32_t ns3::Ipv4Address::Get() const [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001251 cls.add_method('Get',
Alexander Afanasyev4052f952012-06-08 17:57:59 -07001252 'uint32_t',
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001253 [],
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('!=')
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07001332 cls.add_output_stream_operator()
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07001333 cls.add_binary_comparison_operator('==')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001334 ## 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('!=')
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07001395 cls.add_output_stream_operator()
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07001396 cls.add_binary_comparison_operator('==')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001397 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)
Alexander Afanasyev6f933532012-02-29 13:30:37 -08001447 ## ipv6-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv6Address::GetIpv4MappedAddress() const [member function]
1448 cls.add_method('GetIpv4MappedAddress',
1449 'ns3::Ipv4Address',
1450 [],
1451 is_const=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001452 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetLoopback() [member function]
1453 cls.add_method('GetLoopback',
1454 'ns3::Ipv6Address',
1455 [],
1456 is_static=True)
1457 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetOnes() [member function]
1458 cls.add_method('GetOnes',
1459 'ns3::Ipv6Address',
1460 [],
1461 is_static=True)
1462 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetZero() [member function]
1463 cls.add_method('GetZero',
1464 'ns3::Ipv6Address',
1465 [],
1466 is_static=True)
1467 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAllHostsMulticast() const [member function]
1468 cls.add_method('IsAllHostsMulticast',
1469 'bool',
1470 [],
1471 is_const=True)
1472 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAllNodesMulticast() const [member function]
1473 cls.add_method('IsAllNodesMulticast',
1474 'bool',
1475 [],
1476 is_const=True)
1477 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAllRoutersMulticast() const [member function]
1478 cls.add_method('IsAllRoutersMulticast',
1479 'bool',
1480 [],
1481 is_const=True)
1482 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAny() const [member function]
1483 cls.add_method('IsAny',
1484 'bool',
1485 [],
1486 is_const=True)
1487 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsEqual(ns3::Ipv6Address const & other) const [member function]
1488 cls.add_method('IsEqual',
1489 'bool',
1490 [param('ns3::Ipv6Address const &', 'other')],
1491 is_const=True)
Alexander Afanasyev6f933532012-02-29 13:30:37 -08001492 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsIpv4MappedAddress() [member function]
1493 cls.add_method('IsIpv4MappedAddress',
1494 'bool',
1495 [])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001496 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsLinkLocal() const [member function]
1497 cls.add_method('IsLinkLocal',
1498 'bool',
1499 [],
1500 is_const=True)
Alexander Afanasyev6f933532012-02-29 13:30:37 -08001501 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsLinkLocalMulticast() const [member function]
1502 cls.add_method('IsLinkLocalMulticast',
1503 'bool',
1504 [],
1505 is_const=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001506 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsLocalhost() const [member function]
1507 cls.add_method('IsLocalhost',
1508 'bool',
1509 [],
1510 is_const=True)
1511 ## ipv6-address.h (module 'network'): static bool ns3::Ipv6Address::IsMatchingType(ns3::Address const & address) [member function]
1512 cls.add_method('IsMatchingType',
1513 'bool',
1514 [param('ns3::Address const &', 'address')],
1515 is_static=True)
1516 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsMulticast() const [member function]
1517 cls.add_method('IsMulticast',
1518 'bool',
1519 [],
1520 is_const=True)
1521 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsSolicitedMulticast() const [member function]
1522 cls.add_method('IsSolicitedMulticast',
1523 'bool',
1524 [],
1525 is_const=True)
1526 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredAddress(ns3::Mac48Address addr, ns3::Ipv6Address prefix) [member function]
1527 cls.add_method('MakeAutoconfiguredAddress',
1528 'ns3::Ipv6Address',
1529 [param('ns3::Mac48Address', 'addr'), param('ns3::Ipv6Address', 'prefix')],
1530 is_static=True)
1531 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredLinkLocalAddress(ns3::Mac48Address mac) [member function]
1532 cls.add_method('MakeAutoconfiguredLinkLocalAddress',
1533 'ns3::Ipv6Address',
1534 [param('ns3::Mac48Address', 'mac')],
1535 is_static=True)
Alexander Afanasyev6f933532012-02-29 13:30:37 -08001536 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeIpv4MappedAddress(ns3::Ipv4Address addr) [member function]
1537 cls.add_method('MakeIpv4MappedAddress',
1538 'ns3::Ipv6Address',
1539 [param('ns3::Ipv4Address', 'addr')],
1540 is_static=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001541 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeSolicitedAddress(ns3::Ipv6Address addr) [member function]
1542 cls.add_method('MakeSolicitedAddress',
1543 'ns3::Ipv6Address',
1544 [param('ns3::Ipv6Address', 'addr')],
1545 is_static=True)
1546 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Print(std::ostream & os) const [member function]
1547 cls.add_method('Print',
1548 'void',
1549 [param('std::ostream &', 'os')],
1550 is_const=True)
1551 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Serialize(uint8_t * buf) const [member function]
1552 cls.add_method('Serialize',
1553 'void',
1554 [param('uint8_t *', 'buf')],
1555 is_const=True)
1556 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Set(char const * address) [member function]
1557 cls.add_method('Set',
1558 'void',
1559 [param('char const *', 'address')])
1560 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Set(uint8_t * address) [member function]
1561 cls.add_method('Set',
1562 'void',
1563 [param('uint8_t *', 'address')])
1564 return
1565
1566def register_Ns3Ipv6Prefix_methods(root_module, cls):
1567 cls.add_binary_comparison_operator('!=')
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07001568 cls.add_output_stream_operator()
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07001569 cls.add_binary_comparison_operator('==')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001570 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix() [constructor]
1571 cls.add_constructor([])
1572 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(uint8_t * prefix) [constructor]
1573 cls.add_constructor([param('uint8_t *', 'prefix')])
1574 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(char const * prefix) [constructor]
1575 cls.add_constructor([param('char const *', 'prefix')])
1576 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(uint8_t prefix) [constructor]
1577 cls.add_constructor([param('uint8_t', 'prefix')])
1578 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(ns3::Ipv6Prefix const & prefix) [copy constructor]
1579 cls.add_constructor([param('ns3::Ipv6Prefix const &', 'prefix')])
1580 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(ns3::Ipv6Prefix const * prefix) [constructor]
1581 cls.add_constructor([param('ns3::Ipv6Prefix const *', 'prefix')])
1582 ## ipv6-address.h (module 'network'): void ns3::Ipv6Prefix::GetBytes(uint8_t * buf) const [member function]
1583 cls.add_method('GetBytes',
1584 'void',
1585 [param('uint8_t *', 'buf')],
1586 is_const=True)
1587 ## ipv6-address.h (module 'network'): static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetLoopback() [member function]
1588 cls.add_method('GetLoopback',
1589 'ns3::Ipv6Prefix',
1590 [],
1591 is_static=True)
1592 ## ipv6-address.h (module 'network'): static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetOnes() [member function]
1593 cls.add_method('GetOnes',
1594 'ns3::Ipv6Prefix',
1595 [],
1596 is_static=True)
1597 ## ipv6-address.h (module 'network'): uint8_t ns3::Ipv6Prefix::GetPrefixLength() const [member function]
1598 cls.add_method('GetPrefixLength',
1599 'uint8_t',
1600 [],
1601 is_const=True)
1602 ## ipv6-address.h (module 'network'): static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetZero() [member function]
1603 cls.add_method('GetZero',
1604 'ns3::Ipv6Prefix',
1605 [],
1606 is_static=True)
1607 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Prefix::IsEqual(ns3::Ipv6Prefix const & other) const [member function]
1608 cls.add_method('IsEqual',
1609 'bool',
1610 [param('ns3::Ipv6Prefix const &', 'other')],
1611 is_const=True)
1612 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Prefix::IsMatch(ns3::Ipv6Address a, ns3::Ipv6Address b) const [member function]
1613 cls.add_method('IsMatch',
1614 'bool',
1615 [param('ns3::Ipv6Address', 'a'), param('ns3::Ipv6Address', 'b')],
1616 is_const=True)
1617 ## ipv6-address.h (module 'network'): void ns3::Ipv6Prefix::Print(std::ostream & os) const [member function]
1618 cls.add_method('Print',
1619 'void',
1620 [param('std::ostream &', 'os')],
1621 is_const=True)
1622 return
1623
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07001624def register_Ns3NetDeviceContainer_methods(root_module, cls):
1625 ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(ns3::NetDeviceContainer const & arg0) [copy constructor]
1626 cls.add_constructor([param('ns3::NetDeviceContainer const &', 'arg0')])
1627 ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer() [constructor]
1628 cls.add_constructor([])
1629 ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(ns3::Ptr<ns3::NetDevice> dev) [constructor]
1630 cls.add_constructor([param('ns3::Ptr< ns3::NetDevice >', 'dev')])
1631 ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(std::string devName) [constructor]
1632 cls.add_constructor([param('std::string', 'devName')])
1633 ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(ns3::NetDeviceContainer const & a, ns3::NetDeviceContainer const & b) [constructor]
1634 cls.add_constructor([param('ns3::NetDeviceContainer const &', 'a'), param('ns3::NetDeviceContainer const &', 'b')])
1635 ## net-device-container.h (module 'network'): void ns3::NetDeviceContainer::Add(ns3::NetDeviceContainer other) [member function]
1636 cls.add_method('Add',
1637 'void',
1638 [param('ns3::NetDeviceContainer', 'other')])
1639 ## net-device-container.h (module 'network'): void ns3::NetDeviceContainer::Add(ns3::Ptr<ns3::NetDevice> device) [member function]
1640 cls.add_method('Add',
1641 'void',
1642 [param('ns3::Ptr< ns3::NetDevice >', 'device')])
1643 ## net-device-container.h (module 'network'): void ns3::NetDeviceContainer::Add(std::string deviceName) [member function]
1644 cls.add_method('Add',
1645 'void',
1646 [param('std::string', 'deviceName')])
1647 ## 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]
1648 cls.add_method('Begin',
1649 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::NetDevice > const, std::vector< ns3::Ptr< ns3::NetDevice > > >',
1650 [],
1651 is_const=True)
1652 ## 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]
1653 cls.add_method('End',
1654 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::NetDevice > const, std::vector< ns3::Ptr< ns3::NetDevice > > >',
1655 [],
1656 is_const=True)
1657 ## net-device-container.h (module 'network'): ns3::Ptr<ns3::NetDevice> ns3::NetDeviceContainer::Get(uint32_t i) const [member function]
1658 cls.add_method('Get',
1659 'ns3::Ptr< ns3::NetDevice >',
1660 [param('uint32_t', 'i')],
1661 is_const=True)
1662 ## net-device-container.h (module 'network'): uint32_t ns3::NetDeviceContainer::GetN() const [member function]
1663 cls.add_method('GetN',
1664 'uint32_t',
1665 [],
1666 is_const=True)
1667 return
1668
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001669def register_Ns3NodeContainer_methods(root_module, cls):
1670 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & arg0) [copy constructor]
1671 cls.add_constructor([param('ns3::NodeContainer const &', 'arg0')])
1672 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer() [constructor]
1673 cls.add_constructor([])
1674 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::Ptr<ns3::Node> node) [constructor]
1675 cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node')])
1676 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(std::string nodeName) [constructor]
1677 cls.add_constructor([param('std::string', 'nodeName')])
1678 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b) [constructor]
1679 cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b')])
1680 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b, ns3::NodeContainer const & c) [constructor]
1681 cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b'), param('ns3::NodeContainer const &', 'c')])
1682 ## 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]
1683 cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b'), param('ns3::NodeContainer const &', 'c'), param('ns3::NodeContainer const &', 'd')])
1684 ## 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]
1685 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')])
1686 ## node-container.h (module 'network'): void ns3::NodeContainer::Add(ns3::NodeContainer other) [member function]
1687 cls.add_method('Add',
1688 'void',
1689 [param('ns3::NodeContainer', 'other')])
1690 ## node-container.h (module 'network'): void ns3::NodeContainer::Add(ns3::Ptr<ns3::Node> node) [member function]
1691 cls.add_method('Add',
1692 'void',
1693 [param('ns3::Ptr< ns3::Node >', 'node')])
1694 ## node-container.h (module 'network'): void ns3::NodeContainer::Add(std::string nodeName) [member function]
1695 cls.add_method('Add',
1696 'void',
1697 [param('std::string', 'nodeName')])
1698 ## 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]
1699 cls.add_method('Begin',
1700 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >',
1701 [],
1702 is_const=True)
1703 ## node-container.h (module 'network'): void ns3::NodeContainer::Create(uint32_t n) [member function]
1704 cls.add_method('Create',
1705 'void',
1706 [param('uint32_t', 'n')])
1707 ## node-container.h (module 'network'): void ns3::NodeContainer::Create(uint32_t n, uint32_t systemId) [member function]
1708 cls.add_method('Create',
1709 'void',
1710 [param('uint32_t', 'n'), param('uint32_t', 'systemId')])
1711 ## 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]
1712 cls.add_method('End',
1713 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >',
1714 [],
1715 is_const=True)
1716 ## node-container.h (module 'network'): ns3::Ptr<ns3::Node> ns3::NodeContainer::Get(uint32_t i) const [member function]
1717 cls.add_method('Get',
1718 'ns3::Ptr< ns3::Node >',
1719 [param('uint32_t', 'i')],
1720 is_const=True)
1721 ## node-container.h (module 'network'): static ns3::NodeContainer ns3::NodeContainer::GetGlobal() [member function]
1722 cls.add_method('GetGlobal',
1723 'ns3::NodeContainer',
1724 [],
1725 is_static=True)
1726 ## node-container.h (module 'network'): uint32_t ns3::NodeContainer::GetN() const [member function]
1727 cls.add_method('GetN',
1728 'uint32_t',
1729 [],
1730 is_const=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001731 return
1732
1733def register_Ns3ObjectBase_methods(root_module, cls):
1734 ## object-base.h (module 'core'): ns3::ObjectBase::ObjectBase() [constructor]
1735 cls.add_constructor([])
1736 ## object-base.h (module 'core'): ns3::ObjectBase::ObjectBase(ns3::ObjectBase const & arg0) [copy constructor]
1737 cls.add_constructor([param('ns3::ObjectBase const &', 'arg0')])
1738 ## object-base.h (module 'core'): void ns3::ObjectBase::GetAttribute(std::string name, ns3::AttributeValue & value) const [member function]
1739 cls.add_method('GetAttribute',
1740 'void',
1741 [param('std::string', 'name'), param('ns3::AttributeValue &', 'value')],
1742 is_const=True)
1743 ## object-base.h (module 'core'): bool ns3::ObjectBase::GetAttributeFailSafe(std::string name, ns3::AttributeValue & attribute) const [member function]
1744 cls.add_method('GetAttributeFailSafe',
1745 'bool',
1746 [param('std::string', 'name'), param('ns3::AttributeValue &', 'attribute')],
1747 is_const=True)
1748 ## object-base.h (module 'core'): ns3::TypeId ns3::ObjectBase::GetInstanceTypeId() const [member function]
1749 cls.add_method('GetInstanceTypeId',
1750 'ns3::TypeId',
1751 [],
1752 is_pure_virtual=True, is_const=True, is_virtual=True)
1753 ## object-base.h (module 'core'): static ns3::TypeId ns3::ObjectBase::GetTypeId() [member function]
1754 cls.add_method('GetTypeId',
1755 'ns3::TypeId',
1756 [],
1757 is_static=True)
1758 ## object-base.h (module 'core'): void ns3::ObjectBase::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function]
1759 cls.add_method('SetAttribute',
1760 'void',
1761 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
1762 ## object-base.h (module 'core'): bool ns3::ObjectBase::SetAttributeFailSafe(std::string name, ns3::AttributeValue const & value) [member function]
1763 cls.add_method('SetAttributeFailSafe',
1764 'bool',
1765 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
1766 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceConnect(std::string name, std::string context, ns3::CallbackBase const & cb) [member function]
1767 cls.add_method('TraceConnect',
1768 'bool',
1769 [param('std::string', 'name'), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')])
1770 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceConnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function]
1771 cls.add_method('TraceConnectWithoutContext',
1772 'bool',
1773 [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')])
1774 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceDisconnect(std::string name, std::string context, ns3::CallbackBase const & cb) [member function]
1775 cls.add_method('TraceDisconnect',
1776 'bool',
1777 [param('std::string', 'name'), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')])
1778 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceDisconnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function]
1779 cls.add_method('TraceDisconnectWithoutContext',
1780 'bool',
1781 [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')])
1782 ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function]
1783 cls.add_method('ConstructSelf',
1784 'void',
1785 [param('ns3::AttributeConstructionList const &', 'attributes')],
1786 visibility='protected')
1787 ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function]
1788 cls.add_method('NotifyConstructionCompleted',
1789 'void',
1790 [],
1791 visibility='protected', is_virtual=True)
1792 return
1793
1794def register_Ns3ObjectDeleter_methods(root_module, cls):
1795 ## object.h (module 'core'): ns3::ObjectDeleter::ObjectDeleter() [constructor]
1796 cls.add_constructor([])
1797 ## object.h (module 'core'): ns3::ObjectDeleter::ObjectDeleter(ns3::ObjectDeleter const & arg0) [copy constructor]
1798 cls.add_constructor([param('ns3::ObjectDeleter const &', 'arg0')])
1799 ## object.h (module 'core'): static void ns3::ObjectDeleter::Delete(ns3::Object * object) [member function]
1800 cls.add_method('Delete',
1801 'void',
1802 [param('ns3::Object *', 'object')],
1803 is_static=True)
1804 return
1805
1806def register_Ns3ObjectFactory_methods(root_module, cls):
1807 cls.add_output_stream_operator()
1808 ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(ns3::ObjectFactory const & arg0) [copy constructor]
1809 cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')])
1810 ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor]
1811 cls.add_constructor([])
1812 ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor]
1813 cls.add_constructor([param('std::string', 'typeId')])
1814 ## object-factory.h (module 'core'): ns3::Ptr<ns3::Object> ns3::ObjectFactory::Create() const [member function]
1815 cls.add_method('Create',
1816 'ns3::Ptr< ns3::Object >',
1817 [],
1818 is_const=True)
1819 ## object-factory.h (module 'core'): ns3::TypeId ns3::ObjectFactory::GetTypeId() const [member function]
1820 cls.add_method('GetTypeId',
1821 'ns3::TypeId',
1822 [],
1823 is_const=True)
1824 ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(std::string name, ns3::AttributeValue const & value) [member function]
1825 cls.add_method('Set',
1826 'void',
1827 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
1828 ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function]
1829 cls.add_method('SetTypeId',
1830 'void',
1831 [param('ns3::TypeId', 'tid')])
1832 ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(char const * tid) [member function]
1833 cls.add_method('SetTypeId',
1834 'void',
1835 [param('char const *', 'tid')])
1836 ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(std::string tid) [member function]
1837 cls.add_method('SetTypeId',
1838 'void',
1839 [param('std::string', 'tid')])
1840 return
1841
1842def register_Ns3PacketMetadata_methods(root_module, cls):
1843 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::PacketMetadata(uint64_t uid, uint32_t size) [constructor]
1844 cls.add_constructor([param('uint64_t', 'uid'), param('uint32_t', 'size')])
1845 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::PacketMetadata(ns3::PacketMetadata const & o) [copy constructor]
1846 cls.add_constructor([param('ns3::PacketMetadata const &', 'o')])
1847 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddAtEnd(ns3::PacketMetadata const & o) [member function]
1848 cls.add_method('AddAtEnd',
1849 'void',
1850 [param('ns3::PacketMetadata const &', 'o')])
1851 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddHeader(ns3::Header const & header, uint32_t size) [member function]
1852 cls.add_method('AddHeader',
1853 'void',
1854 [param('ns3::Header const &', 'header'), param('uint32_t', 'size')])
1855 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddPaddingAtEnd(uint32_t end) [member function]
1856 cls.add_method('AddPaddingAtEnd',
1857 'void',
1858 [param('uint32_t', 'end')])
1859 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddTrailer(ns3::Trailer const & trailer, uint32_t size) [member function]
1860 cls.add_method('AddTrailer',
1861 'void',
1862 [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')])
1863 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator ns3::PacketMetadata::BeginItem(ns3::Buffer buffer) const [member function]
1864 cls.add_method('BeginItem',
1865 'ns3::PacketMetadata::ItemIterator',
1866 [param('ns3::Buffer', 'buffer')],
1867 is_const=True)
1868 ## packet-metadata.h (module 'network'): ns3::PacketMetadata ns3::PacketMetadata::CreateFragment(uint32_t start, uint32_t end) const [member function]
1869 cls.add_method('CreateFragment',
1870 'ns3::PacketMetadata',
1871 [param('uint32_t', 'start'), param('uint32_t', 'end')],
1872 is_const=True)
1873 ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::Deserialize(uint8_t const * buffer, uint32_t size) [member function]
1874 cls.add_method('Deserialize',
1875 'uint32_t',
1876 [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
1877 ## packet-metadata.h (module 'network'): static void ns3::PacketMetadata::Enable() [member function]
1878 cls.add_method('Enable',
1879 'void',
1880 [],
1881 is_static=True)
1882 ## packet-metadata.h (module 'network'): static void ns3::PacketMetadata::EnableChecking() [member function]
1883 cls.add_method('EnableChecking',
1884 'void',
1885 [],
1886 is_static=True)
1887 ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::GetSerializedSize() const [member function]
1888 cls.add_method('GetSerializedSize',
1889 'uint32_t',
1890 [],
1891 is_const=True)
1892 ## packet-metadata.h (module 'network'): uint64_t ns3::PacketMetadata::GetUid() const [member function]
1893 cls.add_method('GetUid',
1894 'uint64_t',
1895 [],
1896 is_const=True)
1897 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveAtEnd(uint32_t end) [member function]
1898 cls.add_method('RemoveAtEnd',
1899 'void',
1900 [param('uint32_t', 'end')])
1901 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveAtStart(uint32_t start) [member function]
1902 cls.add_method('RemoveAtStart',
1903 'void',
1904 [param('uint32_t', 'start')])
1905 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveHeader(ns3::Header const & header, uint32_t size) [member function]
1906 cls.add_method('RemoveHeader',
1907 'void',
1908 [param('ns3::Header const &', 'header'), param('uint32_t', 'size')])
1909 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveTrailer(ns3::Trailer const & trailer, uint32_t size) [member function]
1910 cls.add_method('RemoveTrailer',
1911 'void',
1912 [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')])
1913 ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
1914 cls.add_method('Serialize',
1915 'uint32_t',
1916 [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')],
1917 is_const=True)
1918 return
1919
1920def register_Ns3PacketMetadataItem_methods(root_module, cls):
1921 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::Item() [constructor]
1922 cls.add_constructor([])
1923 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::Item(ns3::PacketMetadata::Item const & arg0) [copy constructor]
1924 cls.add_constructor([param('ns3::PacketMetadata::Item const &', 'arg0')])
1925 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::current [variable]
1926 cls.add_instance_attribute('current', 'ns3::Buffer::Iterator', is_const=False)
1927 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentSize [variable]
1928 cls.add_instance_attribute('currentSize', 'uint32_t', is_const=False)
1929 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentTrimedFromEnd [variable]
1930 cls.add_instance_attribute('currentTrimedFromEnd', 'uint32_t', is_const=False)
1931 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentTrimedFromStart [variable]
1932 cls.add_instance_attribute('currentTrimedFromStart', 'uint32_t', is_const=False)
1933 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::isFragment [variable]
1934 cls.add_instance_attribute('isFragment', 'bool', is_const=False)
1935 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::tid [variable]
1936 cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
1937 return
1938
1939def register_Ns3PacketMetadataItemIterator_methods(root_module, cls):
1940 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata::ItemIterator const & arg0) [copy constructor]
1941 cls.add_constructor([param('ns3::PacketMetadata::ItemIterator const &', 'arg0')])
1942 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata const * metadata, ns3::Buffer buffer) [constructor]
1943 cls.add_constructor([param('ns3::PacketMetadata const *', 'metadata'), param('ns3::Buffer', 'buffer')])
1944 ## packet-metadata.h (module 'network'): bool ns3::PacketMetadata::ItemIterator::HasNext() const [member function]
1945 cls.add_method('HasNext',
1946 'bool',
1947 [],
1948 is_const=True)
1949 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item ns3::PacketMetadata::ItemIterator::Next() [member function]
1950 cls.add_method('Next',
1951 'ns3::PacketMetadata::Item',
1952 [])
1953 return
1954
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001955def register_Ns3PacketTagIterator_methods(root_module, cls):
1956 ## packet.h (module 'network'): ns3::PacketTagIterator::PacketTagIterator(ns3::PacketTagIterator const & arg0) [copy constructor]
1957 cls.add_constructor([param('ns3::PacketTagIterator const &', 'arg0')])
1958 ## packet.h (module 'network'): bool ns3::PacketTagIterator::HasNext() const [member function]
1959 cls.add_method('HasNext',
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001960 'bool',
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001961 [],
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001962 is_const=True)
1963 ## packet.h (module 'network'): ns3::PacketTagIterator::Item ns3::PacketTagIterator::Next() [member function]
1964 cls.add_method('Next',
1965 'ns3::PacketTagIterator::Item',
1966 [])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001967 return
1968
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001969def register_Ns3PacketTagIteratorItem_methods(root_module, cls):
1970 ## packet.h (module 'network'): ns3::PacketTagIterator::Item::Item(ns3::PacketTagIterator::Item const & arg0) [copy constructor]
1971 cls.add_constructor([param('ns3::PacketTagIterator::Item const &', 'arg0')])
1972 ## packet.h (module 'network'): void ns3::PacketTagIterator::Item::GetTag(ns3::Tag & tag) const [member function]
1973 cls.add_method('GetTag',
1974 'void',
1975 [param('ns3::Tag &', 'tag')],
1976 is_const=True)
1977 ## packet.h (module 'network'): ns3::TypeId ns3::PacketTagIterator::Item::GetTypeId() const [member function]
1978 cls.add_method('GetTypeId',
1979 'ns3::TypeId',
1980 [],
1981 is_const=True)
1982 return
1983
1984def register_Ns3PacketTagList_methods(root_module, cls):
1985 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::PacketTagList() [constructor]
1986 cls.add_constructor([])
1987 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::PacketTagList(ns3::PacketTagList const & o) [copy constructor]
1988 cls.add_constructor([param('ns3::PacketTagList const &', 'o')])
1989 ## packet-tag-list.h (module 'network'): void ns3::PacketTagList::Add(ns3::Tag const & tag) const [member function]
1990 cls.add_method('Add',
1991 'void',
1992 [param('ns3::Tag const &', 'tag')],
1993 is_const=True)
1994 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData const * ns3::PacketTagList::Head() const [member function]
1995 cls.add_method('Head',
1996 'ns3::PacketTagList::TagData const *',
1997 [],
1998 is_const=True)
1999 ## packet-tag-list.h (module 'network'): bool ns3::PacketTagList::Peek(ns3::Tag & tag) const [member function]
2000 cls.add_method('Peek',
2001 'bool',
2002 [param('ns3::Tag &', 'tag')],
2003 is_const=True)
2004 ## packet-tag-list.h (module 'network'): bool ns3::PacketTagList::Remove(ns3::Tag & tag) [member function]
2005 cls.add_method('Remove',
2006 'bool',
2007 [param('ns3::Tag &', 'tag')])
2008 ## packet-tag-list.h (module 'network'): void ns3::PacketTagList::RemoveAll() [member function]
2009 cls.add_method('RemoveAll',
2010 'void',
2011 [])
2012 return
2013
2014def register_Ns3PacketTagListTagData_methods(root_module, cls):
2015 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::TagData() [constructor]
2016 cls.add_constructor([])
2017 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::TagData(ns3::PacketTagList::TagData const & arg0) [copy constructor]
2018 cls.add_constructor([param('ns3::PacketTagList::TagData const &', 'arg0')])
2019 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::count [variable]
2020 cls.add_instance_attribute('count', 'uint32_t', is_const=False)
2021 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::data [variable]
2022 cls.add_instance_attribute('data', 'uint8_t [ 20 ]', is_const=False)
2023 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::next [variable]
2024 cls.add_instance_attribute('next', 'ns3::PacketTagList::TagData *', is_const=False)
2025 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::tid [variable]
2026 cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002027 return
2028
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002029def register_Ns3RandomVariable_methods(root_module, cls):
2030 cls.add_output_stream_operator()
2031 ## random-variable.h (module 'core'): ns3::RandomVariable::RandomVariable() [constructor]
2032 cls.add_constructor([])
2033 ## random-variable.h (module 'core'): ns3::RandomVariable::RandomVariable(ns3::RandomVariable const & o) [copy constructor]
2034 cls.add_constructor([param('ns3::RandomVariable const &', 'o')])
2035 ## random-variable.h (module 'core'): uint32_t ns3::RandomVariable::GetInteger() const [member function]
2036 cls.add_method('GetInteger',
2037 'uint32_t',
2038 [],
2039 is_const=True)
2040 ## random-variable.h (module 'core'): double ns3::RandomVariable::GetValue() const [member function]
2041 cls.add_method('GetValue',
2042 'double',
2043 [],
2044 is_const=True)
2045 return
2046
2047def register_Ns3RngSeedManager_methods(root_module, cls):
2048 ## rng-seed-manager.h (module 'core'): ns3::RngSeedManager::RngSeedManager() [constructor]
2049 cls.add_constructor([])
2050 ## rng-seed-manager.h (module 'core'): ns3::RngSeedManager::RngSeedManager(ns3::RngSeedManager const & arg0) [copy constructor]
2051 cls.add_constructor([param('ns3::RngSeedManager const &', 'arg0')])
2052 ## rng-seed-manager.h (module 'core'): static uint64_t ns3::RngSeedManager::GetNextStreamIndex() [member function]
2053 cls.add_method('GetNextStreamIndex',
2054 'uint64_t',
2055 [],
2056 is_static=True)
2057 ## rng-seed-manager.h (module 'core'): static uint64_t ns3::RngSeedManager::GetRun() [member function]
2058 cls.add_method('GetRun',
2059 'uint64_t',
2060 [],
2061 is_static=True)
2062 ## rng-seed-manager.h (module 'core'): static uint32_t ns3::RngSeedManager::GetSeed() [member function]
2063 cls.add_method('GetSeed',
2064 'uint32_t',
2065 [],
2066 is_static=True)
2067 ## rng-seed-manager.h (module 'core'): static void ns3::RngSeedManager::SetRun(uint64_t run) [member function]
2068 cls.add_method('SetRun',
2069 'void',
2070 [param('uint64_t', 'run')],
2071 is_static=True)
2072 ## rng-seed-manager.h (module 'core'): static void ns3::RngSeedManager::SetSeed(uint32_t seed) [member function]
2073 cls.add_method('SetSeed',
2074 'void',
2075 [param('uint32_t', 'seed')],
2076 is_static=True)
2077 return
2078
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -07002079def register_Ns3SequenceNumber32_methods(root_module, cls):
2080 cls.add_binary_comparison_operator('!=')
2081 cls.add_binary_numeric_operator('+', root_module['ns3::SequenceNumber32'], root_module['ns3::SequenceNumber32'], param('ns3::SequenceNumber< unsigned int, int > const &', 'right'))
2082 cls.add_binary_numeric_operator('+', root_module['ns3::SequenceNumber32'], root_module['ns3::SequenceNumber32'], param('int', 'right'))
2083 cls.add_inplace_numeric_operator('+=', param('int', 'right'))
2084 cls.add_binary_numeric_operator('-', root_module['ns3::SequenceNumber32'], root_module['ns3::SequenceNumber32'], param('int', 'right'))
2085 cls.add_inplace_numeric_operator('-=', param('int', 'right'))
2086 cls.add_binary_comparison_operator('<')
2087 cls.add_binary_comparison_operator('<=')
2088 cls.add_binary_comparison_operator('==')
2089 cls.add_binary_comparison_operator('>')
2090 cls.add_binary_comparison_operator('>=')
2091 ## sequence-number.h (module 'network'): ns3::SequenceNumber<unsigned int, int>::SequenceNumber() [constructor]
2092 cls.add_constructor([])
2093 ## sequence-number.h (module 'network'): ns3::SequenceNumber<unsigned int, int>::SequenceNumber(unsigned int value) [constructor]
2094 cls.add_constructor([param('unsigned int', 'value')])
2095 ## sequence-number.h (module 'network'): ns3::SequenceNumber<unsigned int, int>::SequenceNumber(ns3::SequenceNumber<unsigned int, int> const & value) [copy constructor]
2096 cls.add_constructor([param('ns3::SequenceNumber< unsigned int, int > const &', 'value')])
2097 ## sequence-number.h (module 'network'): unsigned int ns3::SequenceNumber<unsigned int, int>::GetValue() const [member function]
2098 cls.add_method('GetValue',
2099 'unsigned int',
2100 [],
2101 is_const=True)
2102 return
2103
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002104def register_Ns3SequentialVariable_methods(root_module, cls):
2105 ## random-variable.h (module 'core'): ns3::SequentialVariable::SequentialVariable(ns3::SequentialVariable const & arg0) [copy constructor]
2106 cls.add_constructor([param('ns3::SequentialVariable const &', 'arg0')])
2107 ## random-variable.h (module 'core'): ns3::SequentialVariable::SequentialVariable(double f, double l, double i=1, uint32_t c=1) [constructor]
2108 cls.add_constructor([param('double', 'f'), param('double', 'l'), param('double', 'i', default_value='1'), param('uint32_t', 'c', default_value='1')])
2109 ## random-variable.h (module 'core'): ns3::SequentialVariable::SequentialVariable(double f, double l, ns3::RandomVariable const & i, uint32_t c=1) [constructor]
2110 cls.add_constructor([param('double', 'f'), param('double', 'l'), param('ns3::RandomVariable const &', 'i'), param('uint32_t', 'c', default_value='1')])
2111 return
2112
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002113def register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, cls):
2114 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter>::SimpleRefCount() [constructor]
2115 cls.add_constructor([])
2116 ## 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]
2117 cls.add_constructor([param('ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter > const &', 'o')])
2118 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter>::Cleanup() [member function]
2119 cls.add_method('Cleanup',
2120 'void',
2121 [],
2122 is_static=True)
2123 return
2124
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002125def register_Ns3Tag_methods(root_module, cls):
2126 ## tag.h (module 'network'): ns3::Tag::Tag() [constructor]
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002127 cls.add_constructor([])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002128 ## tag.h (module 'network'): ns3::Tag::Tag(ns3::Tag const & arg0) [copy constructor]
2129 cls.add_constructor([param('ns3::Tag const &', 'arg0')])
2130 ## tag.h (module 'network'): void ns3::Tag::Deserialize(ns3::TagBuffer i) [member function]
2131 cls.add_method('Deserialize',
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002132 'void',
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002133 [param('ns3::TagBuffer', 'i')],
2134 is_pure_virtual=True, is_virtual=True)
2135 ## tag.h (module 'network'): uint32_t ns3::Tag::GetSerializedSize() const [member function]
2136 cls.add_method('GetSerializedSize',
2137 'uint32_t',
2138 [],
2139 is_pure_virtual=True, is_const=True, is_virtual=True)
2140 ## tag.h (module 'network'): static ns3::TypeId ns3::Tag::GetTypeId() [member function]
2141 cls.add_method('GetTypeId',
2142 'ns3::TypeId',
2143 [],
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002144 is_static=True)
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002145 ## tag.h (module 'network'): void ns3::Tag::Print(std::ostream & os) const [member function]
2146 cls.add_method('Print',
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002147 'void',
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002148 [param('std::ostream &', 'os')],
2149 is_pure_virtual=True, is_const=True, is_virtual=True)
2150 ## tag.h (module 'network'): void ns3::Tag::Serialize(ns3::TagBuffer i) const [member function]
2151 cls.add_method('Serialize',
2152 'void',
2153 [param('ns3::TagBuffer', 'i')],
2154 is_pure_virtual=True, is_const=True, is_virtual=True)
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002155 return
2156
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002157def register_Ns3TagBuffer_methods(root_module, cls):
2158 ## tag-buffer.h (module 'network'): ns3::TagBuffer::TagBuffer(ns3::TagBuffer const & arg0) [copy constructor]
2159 cls.add_constructor([param('ns3::TagBuffer const &', 'arg0')])
2160 ## tag-buffer.h (module 'network'): ns3::TagBuffer::TagBuffer(uint8_t * start, uint8_t * end) [constructor]
2161 cls.add_constructor([param('uint8_t *', 'start'), param('uint8_t *', 'end')])
2162 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::CopyFrom(ns3::TagBuffer o) [member function]
2163 cls.add_method('CopyFrom',
2164 'void',
2165 [param('ns3::TagBuffer', 'o')])
2166 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::Read(uint8_t * buffer, uint32_t size) [member function]
2167 cls.add_method('Read',
2168 'void',
2169 [param('uint8_t *', 'buffer'), param('uint32_t', 'size')])
2170 ## tag-buffer.h (module 'network'): double ns3::TagBuffer::ReadDouble() [member function]
2171 cls.add_method('ReadDouble',
2172 'double',
2173 [])
2174 ## tag-buffer.h (module 'network'): uint16_t ns3::TagBuffer::ReadU16() [member function]
2175 cls.add_method('ReadU16',
2176 'uint16_t',
2177 [])
2178 ## tag-buffer.h (module 'network'): uint32_t ns3::TagBuffer::ReadU32() [member function]
2179 cls.add_method('ReadU32',
2180 'uint32_t',
2181 [])
2182 ## tag-buffer.h (module 'network'): uint64_t ns3::TagBuffer::ReadU64() [member function]
2183 cls.add_method('ReadU64',
2184 'uint64_t',
2185 [])
2186 ## tag-buffer.h (module 'network'): uint8_t ns3::TagBuffer::ReadU8() [member function]
2187 cls.add_method('ReadU8',
2188 'uint8_t',
2189 [])
2190 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::TrimAtEnd(uint32_t trim) [member function]
2191 cls.add_method('TrimAtEnd',
2192 'void',
2193 [param('uint32_t', 'trim')])
2194 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::Write(uint8_t const * buffer, uint32_t size) [member function]
2195 cls.add_method('Write',
2196 'void',
2197 [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
2198 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteDouble(double v) [member function]
2199 cls.add_method('WriteDouble',
2200 'void',
2201 [param('double', 'v')])
2202 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU16(uint16_t data) [member function]
2203 cls.add_method('WriteU16',
2204 'void',
2205 [param('uint16_t', 'data')])
2206 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU32(uint32_t data) [member function]
2207 cls.add_method('WriteU32',
2208 'void',
2209 [param('uint32_t', 'data')])
2210 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU64(uint64_t v) [member function]
2211 cls.add_method('WriteU64',
2212 'void',
2213 [param('uint64_t', 'v')])
2214 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU8(uint8_t v) [member function]
2215 cls.add_method('WriteU8',
2216 'void',
2217 [param('uint8_t', 'v')])
2218 return
2219
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -07002220def register_Ns3TracedValue__Ns3NdnFibFaceMetricStatus_methods(root_module, cls):
2221 ## traced-value.h (module 'core'): ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status>::TracedValue() [constructor]
2222 cls.add_constructor([])
2223 ## traced-value.h (module 'core'): ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status>::TracedValue(ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status> const & o) [copy constructor]
2224 cls.add_constructor([param('ns3::TracedValue< ns3::ndn::fib::FaceMetric::Status > const &', 'o')])
2225 ## traced-value.h (module 'core'): ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status>::TracedValue(ns3::ndn::fib::FaceMetric::Status const & v) [constructor]
2226 cls.add_constructor([param('ns3::ndn::fib::FaceMetric::Status const &', 'v')])
2227 ## traced-value.h (module 'core'): void ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status>::Connect(ns3::CallbackBase const & cb, std::basic_string<char,std::char_traits<char>,std::allocator<char> > path) [member function]
2228 cls.add_method('Connect',
2229 'void',
2230 [param('ns3::CallbackBase const &', 'cb'), param('std::string', 'path')])
2231 ## traced-value.h (module 'core'): void ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status>::ConnectWithoutContext(ns3::CallbackBase const & cb) [member function]
2232 cls.add_method('ConnectWithoutContext',
2233 'void',
2234 [param('ns3::CallbackBase const &', 'cb')])
2235 ## traced-value.h (module 'core'): void ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status>::Disconnect(ns3::CallbackBase const & cb, std::basic_string<char,std::char_traits<char>,std::allocator<char> > path) [member function]
2236 cls.add_method('Disconnect',
2237 'void',
2238 [param('ns3::CallbackBase const &', 'cb'), param('std::string', 'path')])
2239 ## traced-value.h (module 'core'): void ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status>::DisconnectWithoutContext(ns3::CallbackBase const & cb) [member function]
2240 cls.add_method('DisconnectWithoutContext',
2241 'void',
2242 [param('ns3::CallbackBase const &', 'cb')])
2243 ## traced-value.h (module 'core'): ns3::ndn::fib::FaceMetric::Status ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status>::Get() const [member function]
2244 cls.add_method('Get',
2245 'ns3::ndn::fib::FaceMetric::Status',
2246 [],
2247 is_const=True)
2248 ## traced-value.h (module 'core'): void ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status>::Set(ns3::ndn::fib::FaceMetric::Status const & v) [member function]
2249 cls.add_method('Set',
2250 'void',
2251 [param('ns3::ndn::fib::FaceMetric::Status const &', 'v')])
2252 return
2253
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002254def register_Ns3TriangularVariable_methods(root_module, cls):
2255 ## random-variable.h (module 'core'): ns3::TriangularVariable::TriangularVariable(ns3::TriangularVariable const & arg0) [copy constructor]
2256 cls.add_constructor([param('ns3::TriangularVariable const &', 'arg0')])
2257 ## random-variable.h (module 'core'): ns3::TriangularVariable::TriangularVariable() [constructor]
2258 cls.add_constructor([])
2259 ## random-variable.h (module 'core'): ns3::TriangularVariable::TriangularVariable(double s, double l, double mean) [constructor]
2260 cls.add_constructor([param('double', 's'), param('double', 'l'), param('double', 'mean')])
2261 return
2262
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002263def register_Ns3TypeId_methods(root_module, cls):
2264 cls.add_binary_comparison_operator('!=')
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07002265 cls.add_output_stream_operator()
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07002266 cls.add_binary_comparison_operator('==')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002267 cls.add_binary_comparison_operator('<')
2268 ## type-id.h (module 'core'): ns3::TypeId::TypeId(char const * name) [constructor]
2269 cls.add_constructor([param('char const *', 'name')])
2270 ## type-id.h (module 'core'): ns3::TypeId::TypeId() [constructor]
2271 cls.add_constructor([])
2272 ## type-id.h (module 'core'): ns3::TypeId::TypeId(ns3::TypeId const & o) [copy constructor]
2273 cls.add_constructor([param('ns3::TypeId const &', 'o')])
2274 ## 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]
2275 cls.add_method('AddAttribute',
2276 'ns3::TypeId',
2277 [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')])
2278 ## 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]
2279 cls.add_method('AddAttribute',
2280 'ns3::TypeId',
2281 [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')])
2282 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr<ns3::TraceSourceAccessor const> accessor) [member function]
2283 cls.add_method('AddTraceSource',
2284 'ns3::TypeId',
2285 [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')])
2286 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function]
2287 cls.add_method('GetAttribute',
2288 'ns3::TypeId::AttributeInformation',
2289 [param('uint32_t', 'i')],
2290 is_const=True)
2291 ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function]
2292 cls.add_method('GetAttributeFullName',
2293 'std::string',
2294 [param('uint32_t', 'i')],
2295 is_const=True)
2296 ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function]
2297 cls.add_method('GetAttributeN',
2298 'uint32_t',
2299 [],
2300 is_const=True)
2301 ## 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]
2302 cls.add_method('GetConstructor',
2303 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >',
2304 [],
2305 is_const=True)
2306 ## type-id.h (module 'core'): std::string ns3::TypeId::GetGroupName() const [member function]
2307 cls.add_method('GetGroupName',
2308 'std::string',
2309 [],
2310 is_const=True)
2311 ## type-id.h (module 'core'): std::string ns3::TypeId::GetName() const [member function]
2312 cls.add_method('GetName',
2313 'std::string',
2314 [],
2315 is_const=True)
2316 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::GetParent() const [member function]
2317 cls.add_method('GetParent',
2318 'ns3::TypeId',
2319 [],
2320 is_const=True)
2321 ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::GetRegistered(uint32_t i) [member function]
2322 cls.add_method('GetRegistered',
2323 'ns3::TypeId',
2324 [param('uint32_t', 'i')],
2325 is_static=True)
2326 ## type-id.h (module 'core'): static uint32_t ns3::TypeId::GetRegisteredN() [member function]
2327 cls.add_method('GetRegisteredN',
2328 'uint32_t',
2329 [],
2330 is_static=True)
2331 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function]
2332 cls.add_method('GetTraceSource',
2333 'ns3::TypeId::TraceSourceInformation',
2334 [param('uint32_t', 'i')],
2335 is_const=True)
2336 ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function]
2337 cls.add_method('GetTraceSourceN',
2338 'uint32_t',
2339 [],
2340 is_const=True)
2341 ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function]
2342 cls.add_method('GetUid',
2343 'uint16_t',
2344 [],
2345 is_const=True)
2346 ## type-id.h (module 'core'): bool ns3::TypeId::HasConstructor() const [member function]
2347 cls.add_method('HasConstructor',
2348 'bool',
2349 [],
2350 is_const=True)
2351 ## type-id.h (module 'core'): bool ns3::TypeId::HasParent() const [member function]
2352 cls.add_method('HasParent',
2353 'bool',
2354 [],
2355 is_const=True)
2356 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::HideFromDocumentation() [member function]
2357 cls.add_method('HideFromDocumentation',
2358 'ns3::TypeId',
2359 [])
2360 ## type-id.h (module 'core'): bool ns3::TypeId::IsChildOf(ns3::TypeId other) const [member function]
2361 cls.add_method('IsChildOf',
2362 'bool',
2363 [param('ns3::TypeId', 'other')],
2364 is_const=True)
2365 ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function]
2366 cls.add_method('LookupAttributeByName',
2367 'bool',
Alexander Afanasyev6f933532012-02-29 13:30:37 -08002368 [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info', transfer_ownership=False)],
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002369 is_const=True)
2370 ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function]
2371 cls.add_method('LookupByName',
2372 'ns3::TypeId',
2373 [param('std::string', 'name')],
2374 is_static=True)
2375 ## type-id.h (module 'core'): ns3::Ptr<ns3::TraceSourceAccessor const> ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function]
2376 cls.add_method('LookupTraceSourceByName',
2377 'ns3::Ptr< ns3::TraceSourceAccessor const >',
2378 [param('std::string', 'name')],
2379 is_const=True)
2380 ## type-id.h (module 'core'): bool ns3::TypeId::MustHideFromDocumentation() const [member function]
2381 cls.add_method('MustHideFromDocumentation',
2382 'bool',
2383 [],
2384 is_const=True)
2385 ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr<ns3::AttributeValue const> initialValue) [member function]
2386 cls.add_method('SetAttributeInitialValue',
2387 'bool',
2388 [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')])
2389 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function]
2390 cls.add_method('SetGroupName',
2391 'ns3::TypeId',
2392 [param('std::string', 'groupName')])
2393 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetParent(ns3::TypeId tid) [member function]
2394 cls.add_method('SetParent',
2395 'ns3::TypeId',
2396 [param('ns3::TypeId', 'tid')])
2397 ## type-id.h (module 'core'): void ns3::TypeId::SetUid(uint16_t tid) [member function]
2398 cls.add_method('SetUid',
2399 'void',
2400 [param('uint16_t', 'tid')])
2401 return
2402
2403def register_Ns3TypeIdAttributeInformation_methods(root_module, cls):
2404 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor]
2405 cls.add_constructor([])
2406 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor]
2407 cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')])
2408 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable]
2409 cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False)
2410 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable]
2411 cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False)
2412 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable]
2413 cls.add_instance_attribute('flags', 'uint32_t', is_const=False)
2414 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable]
2415 cls.add_instance_attribute('help', 'std::string', is_const=False)
2416 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable]
2417 cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False)
2418 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable]
2419 cls.add_instance_attribute('name', 'std::string', is_const=False)
2420 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable]
2421 cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False)
2422 return
2423
2424def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls):
2425 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor]
2426 cls.add_constructor([])
2427 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor]
2428 cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')])
2429 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable]
2430 cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False)
2431 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable]
2432 cls.add_instance_attribute('help', 'std::string', is_const=False)
2433 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable]
2434 cls.add_instance_attribute('name', 'std::string', is_const=False)
2435 return
2436
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002437def register_Ns3UniformVariable_methods(root_module, cls):
2438 ## random-variable.h (module 'core'): ns3::UniformVariable::UniformVariable(ns3::UniformVariable const & arg0) [copy constructor]
2439 cls.add_constructor([param('ns3::UniformVariable const &', 'arg0')])
2440 ## random-variable.h (module 'core'): ns3::UniformVariable::UniformVariable() [constructor]
2441 cls.add_constructor([])
2442 ## random-variable.h (module 'core'): ns3::UniformVariable::UniformVariable(double s, double l) [constructor]
2443 cls.add_constructor([param('double', 's'), param('double', 'l')])
2444 ## random-variable.h (module 'core'): uint32_t ns3::UniformVariable::GetInteger(uint32_t s, uint32_t l) [member function]
2445 cls.add_method('GetInteger',
2446 'uint32_t',
2447 [param('uint32_t', 's'), param('uint32_t', 'l')])
2448 ## random-variable.h (module 'core'): double ns3::UniformVariable::GetValue() const [member function]
2449 cls.add_method('GetValue',
2450 'double',
2451 [],
2452 is_const=True)
2453 ## random-variable.h (module 'core'): double ns3::UniformVariable::GetValue(double s, double l) [member function]
2454 cls.add_method('GetValue',
2455 'double',
2456 [param('double', 's'), param('double', 'l')])
2457 return
2458
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002459def register_Ns3WeibullVariable_methods(root_module, cls):
2460 ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(ns3::WeibullVariable const & arg0) [copy constructor]
2461 cls.add_constructor([param('ns3::WeibullVariable const &', 'arg0')])
2462 ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable() [constructor]
2463 cls.add_constructor([])
2464 ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(double m) [constructor]
2465 cls.add_constructor([param('double', 'm')])
2466 ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(double m, double s) [constructor]
2467 cls.add_constructor([param('double', 'm'), param('double', 's')])
2468 ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(double m, double s, double b) [constructor]
2469 cls.add_constructor([param('double', 'm'), param('double', 's'), param('double', 'b')])
2470 return
2471
2472def register_Ns3ZetaVariable_methods(root_module, cls):
2473 ## random-variable.h (module 'core'): ns3::ZetaVariable::ZetaVariable(ns3::ZetaVariable const & arg0) [copy constructor]
2474 cls.add_constructor([param('ns3::ZetaVariable const &', 'arg0')])
2475 ## random-variable.h (module 'core'): ns3::ZetaVariable::ZetaVariable(double alpha) [constructor]
2476 cls.add_constructor([param('double', 'alpha')])
2477 ## random-variable.h (module 'core'): ns3::ZetaVariable::ZetaVariable() [constructor]
2478 cls.add_constructor([])
2479 return
2480
2481def register_Ns3ZipfVariable_methods(root_module, cls):
2482 ## random-variable.h (module 'core'): ns3::ZipfVariable::ZipfVariable(ns3::ZipfVariable const & arg0) [copy constructor]
2483 cls.add_constructor([param('ns3::ZipfVariable const &', 'arg0')])
2484 ## random-variable.h (module 'core'): ns3::ZipfVariable::ZipfVariable(long int N, double alpha) [constructor]
2485 cls.add_constructor([param('long int', 'N'), param('double', 'alpha')])
2486 ## random-variable.h (module 'core'): ns3::ZipfVariable::ZipfVariable() [constructor]
2487 cls.add_constructor([])
2488 return
2489
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002490def register_Ns3Empty_methods(root_module, cls):
2491 ## empty.h (module 'core'): ns3::empty::empty() [constructor]
2492 cls.add_constructor([])
2493 ## empty.h (module 'core'): ns3::empty::empty(ns3::empty const & arg0) [copy constructor]
2494 cls.add_constructor([param('ns3::empty const &', 'arg0')])
2495 return
2496
2497def register_Ns3Int64x64_t_methods(root_module, cls):
2498 cls.add_binary_comparison_operator('!=')
2499 cls.add_inplace_numeric_operator('*=', param('ns3::int64x64_t const &', 'right'))
2500 cls.add_inplace_numeric_operator('+=', param('ns3::int64x64_t const &', 'right'))
2501 cls.add_inplace_numeric_operator('-=', param('ns3::int64x64_t const &', 'right'))
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07002502 cls.add_output_stream_operator()
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08002503 cls.add_binary_comparison_operator('<=')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002504 cls.add_binary_comparison_operator('==')
2505 cls.add_binary_comparison_operator('>=')
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002506 cls.add_inplace_numeric_operator('/=', param('ns3::int64x64_t const &', 'right'))
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002507 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
2508 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
2509 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
2510 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
2511 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
2512 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
2513 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
2514 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
2515 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
2516 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
2517 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
2518 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
2519 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
2520 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
2521 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
2522 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
2523 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
2524 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
2525 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
2526 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
2527 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
2528 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
2529 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
2530 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
2531 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
2532 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
2533 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
2534 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
2535 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
2536 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
2537 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
2538 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
2539 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
2540 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
2541 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
2542 cls.add_unary_numeric_operator('-')
2543 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
2544 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
2545 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
2546 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
2547 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
2548 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
2549 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
2550 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
2551 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
2552 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
2553 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
2554 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
2555 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
2556 cls.add_binary_comparison_operator('<')
2557 cls.add_binary_comparison_operator('>')
2558 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t() [constructor]
2559 cls.add_constructor([])
2560 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(double v) [constructor]
2561 cls.add_constructor([param('double', 'v')])
2562 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(int v) [constructor]
2563 cls.add_constructor([param('int', 'v')])
2564 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long int v) [constructor]
2565 cls.add_constructor([param('long int', 'v')])
2566 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long long int v) [constructor]
2567 cls.add_constructor([param('long long int', 'v')])
2568 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(unsigned int v) [constructor]
2569 cls.add_constructor([param('unsigned int', 'v')])
2570 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long unsigned int v) [constructor]
2571 cls.add_constructor([param('long unsigned int', 'v')])
2572 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long long unsigned int v) [constructor]
2573 cls.add_constructor([param('long long unsigned int', 'v')])
2574 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(int64_t hi, uint64_t lo) [constructor]
2575 cls.add_constructor([param('int64_t', 'hi'), param('uint64_t', 'lo')])
2576 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(ns3::int64x64_t const & o) [copy constructor]
2577 cls.add_constructor([param('ns3::int64x64_t const &', 'o')])
2578 ## int64x64-double.h (module 'core'): double ns3::int64x64_t::GetDouble() const [member function]
2579 cls.add_method('GetDouble',
2580 'double',
2581 [],
2582 is_const=True)
2583 ## int64x64-double.h (module 'core'): int64_t ns3::int64x64_t::GetHigh() const [member function]
2584 cls.add_method('GetHigh',
2585 'int64_t',
2586 [],
2587 is_const=True)
2588 ## int64x64-double.h (module 'core'): uint64_t ns3::int64x64_t::GetLow() const [member function]
2589 cls.add_method('GetLow',
2590 'uint64_t',
2591 [],
2592 is_const=True)
2593 ## int64x64-double.h (module 'core'): static ns3::int64x64_t ns3::int64x64_t::Invert(uint64_t v) [member function]
2594 cls.add_method('Invert',
2595 'ns3::int64x64_t',
2596 [param('uint64_t', 'v')],
2597 is_static=True)
2598 ## int64x64-double.h (module 'core'): void ns3::int64x64_t::MulByInvert(ns3::int64x64_t const & o) [member function]
2599 cls.add_method('MulByInvert',
2600 'void',
2601 [param('ns3::int64x64_t const &', 'o')])
2602 return
2603
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002604def register_Ns3Chunk_methods(root_module, cls):
2605 ## chunk.h (module 'network'): ns3::Chunk::Chunk() [constructor]
2606 cls.add_constructor([])
2607 ## chunk.h (module 'network'): ns3::Chunk::Chunk(ns3::Chunk const & arg0) [copy constructor]
2608 cls.add_constructor([param('ns3::Chunk const &', 'arg0')])
2609 ## chunk.h (module 'network'): uint32_t ns3::Chunk::Deserialize(ns3::Buffer::Iterator start) [member function]
2610 cls.add_method('Deserialize',
2611 'uint32_t',
2612 [param('ns3::Buffer::Iterator', 'start')],
2613 is_pure_virtual=True, is_virtual=True)
2614 ## chunk.h (module 'network'): static ns3::TypeId ns3::Chunk::GetTypeId() [member function]
2615 cls.add_method('GetTypeId',
2616 'ns3::TypeId',
2617 [],
2618 is_static=True)
2619 ## chunk.h (module 'network'): void ns3::Chunk::Print(std::ostream & os) const [member function]
2620 cls.add_method('Print',
2621 'void',
2622 [param('std::ostream &', 'os')],
2623 is_pure_virtual=True, is_const=True, is_virtual=True)
2624 return
2625
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002626def register_Ns3ConstantVariable_methods(root_module, cls):
2627 ## random-variable.h (module 'core'): ns3::ConstantVariable::ConstantVariable(ns3::ConstantVariable const & arg0) [copy constructor]
2628 cls.add_constructor([param('ns3::ConstantVariable const &', 'arg0')])
2629 ## random-variable.h (module 'core'): ns3::ConstantVariable::ConstantVariable() [constructor]
2630 cls.add_constructor([])
2631 ## random-variable.h (module 'core'): ns3::ConstantVariable::ConstantVariable(double c) [constructor]
2632 cls.add_constructor([param('double', 'c')])
2633 ## random-variable.h (module 'core'): void ns3::ConstantVariable::SetConstant(double c) [member function]
2634 cls.add_method('SetConstant',
2635 'void',
2636 [param('double', 'c')])
2637 return
2638
2639def register_Ns3DeterministicVariable_methods(root_module, cls):
2640 ## random-variable.h (module 'core'): ns3::DeterministicVariable::DeterministicVariable(ns3::DeterministicVariable const & arg0) [copy constructor]
2641 cls.add_constructor([param('ns3::DeterministicVariable const &', 'arg0')])
2642 ## random-variable.h (module 'core'): ns3::DeterministicVariable::DeterministicVariable(double * d, uint32_t c) [constructor]
2643 cls.add_constructor([param('double *', 'd'), param('uint32_t', 'c')])
2644 return
2645
2646def register_Ns3EmpiricalVariable_methods(root_module, cls):
2647 ## random-variable.h (module 'core'): ns3::EmpiricalVariable::EmpiricalVariable(ns3::EmpiricalVariable const & arg0) [copy constructor]
2648 cls.add_constructor([param('ns3::EmpiricalVariable const &', 'arg0')])
2649 ## random-variable.h (module 'core'): ns3::EmpiricalVariable::EmpiricalVariable() [constructor]
2650 cls.add_constructor([])
2651 ## random-variable.h (module 'core'): void ns3::EmpiricalVariable::CDF(double v, double c) [member function]
2652 cls.add_method('CDF',
2653 'void',
2654 [param('double', 'v'), param('double', 'c')])
2655 return
2656
2657def register_Ns3ErlangVariable_methods(root_module, cls):
2658 ## random-variable.h (module 'core'): ns3::ErlangVariable::ErlangVariable(ns3::ErlangVariable const & arg0) [copy constructor]
2659 cls.add_constructor([param('ns3::ErlangVariable const &', 'arg0')])
2660 ## random-variable.h (module 'core'): ns3::ErlangVariable::ErlangVariable() [constructor]
2661 cls.add_constructor([])
2662 ## random-variable.h (module 'core'): ns3::ErlangVariable::ErlangVariable(unsigned int k, double lambda) [constructor]
2663 cls.add_constructor([param('unsigned int', 'k'), param('double', 'lambda')])
2664 ## random-variable.h (module 'core'): double ns3::ErlangVariable::GetValue() const [member function]
2665 cls.add_method('GetValue',
2666 'double',
2667 [],
2668 is_const=True)
2669 ## random-variable.h (module 'core'): double ns3::ErlangVariable::GetValue(unsigned int k, double lambda) const [member function]
2670 cls.add_method('GetValue',
2671 'double',
2672 [param('unsigned int', 'k'), param('double', 'lambda')],
2673 is_const=True)
2674 return
2675
2676def register_Ns3ExponentialVariable_methods(root_module, cls):
2677 ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable(ns3::ExponentialVariable const & arg0) [copy constructor]
2678 cls.add_constructor([param('ns3::ExponentialVariable const &', 'arg0')])
2679 ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable() [constructor]
2680 cls.add_constructor([])
2681 ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable(double m) [constructor]
2682 cls.add_constructor([param('double', 'm')])
2683 ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable(double m, double b) [constructor]
2684 cls.add_constructor([param('double', 'm'), param('double', 'b')])
2685 return
2686
2687def register_Ns3GammaVariable_methods(root_module, cls):
2688 ## random-variable.h (module 'core'): ns3::GammaVariable::GammaVariable(ns3::GammaVariable const & arg0) [copy constructor]
2689 cls.add_constructor([param('ns3::GammaVariable const &', 'arg0')])
2690 ## random-variable.h (module 'core'): ns3::GammaVariable::GammaVariable() [constructor]
2691 cls.add_constructor([])
2692 ## random-variable.h (module 'core'): ns3::GammaVariable::GammaVariable(double alpha, double beta) [constructor]
2693 cls.add_constructor([param('double', 'alpha'), param('double', 'beta')])
2694 ## random-variable.h (module 'core'): double ns3::GammaVariable::GetValue() const [member function]
2695 cls.add_method('GetValue',
2696 'double',
2697 [],
2698 is_const=True)
2699 ## random-variable.h (module 'core'): double ns3::GammaVariable::GetValue(double alpha, double beta) const [member function]
2700 cls.add_method('GetValue',
2701 'double',
2702 [param('double', 'alpha'), param('double', 'beta')],
2703 is_const=True)
2704 return
2705
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002706def register_Ns3Header_methods(root_module, cls):
2707 cls.add_output_stream_operator()
2708 ## header.h (module 'network'): ns3::Header::Header() [constructor]
2709 cls.add_constructor([])
2710 ## header.h (module 'network'): ns3::Header::Header(ns3::Header const & arg0) [copy constructor]
2711 cls.add_constructor([param('ns3::Header const &', 'arg0')])
2712 ## header.h (module 'network'): uint32_t ns3::Header::Deserialize(ns3::Buffer::Iterator start) [member function]
2713 cls.add_method('Deserialize',
2714 'uint32_t',
2715 [param('ns3::Buffer::Iterator', 'start')],
2716 is_pure_virtual=True, is_virtual=True)
2717 ## header.h (module 'network'): uint32_t ns3::Header::GetSerializedSize() const [member function]
2718 cls.add_method('GetSerializedSize',
2719 'uint32_t',
2720 [],
2721 is_pure_virtual=True, is_const=True, is_virtual=True)
2722 ## header.h (module 'network'): static ns3::TypeId ns3::Header::GetTypeId() [member function]
2723 cls.add_method('GetTypeId',
2724 'ns3::TypeId',
2725 [],
2726 is_static=True)
2727 ## header.h (module 'network'): void ns3::Header::Print(std::ostream & os) const [member function]
2728 cls.add_method('Print',
2729 'void',
2730 [param('std::ostream &', 'os')],
2731 is_pure_virtual=True, is_const=True, is_virtual=True)
2732 ## header.h (module 'network'): void ns3::Header::Serialize(ns3::Buffer::Iterator start) const [member function]
2733 cls.add_method('Serialize',
2734 'void',
2735 [param('ns3::Buffer::Iterator', 'start')],
2736 is_pure_virtual=True, is_const=True, is_virtual=True)
2737 return
2738
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002739def register_Ns3IntEmpiricalVariable_methods(root_module, cls):
2740 ## random-variable.h (module 'core'): ns3::IntEmpiricalVariable::IntEmpiricalVariable(ns3::IntEmpiricalVariable const & arg0) [copy constructor]
2741 cls.add_constructor([param('ns3::IntEmpiricalVariable const &', 'arg0')])
2742 ## random-variable.h (module 'core'): ns3::IntEmpiricalVariable::IntEmpiricalVariable() [constructor]
2743 cls.add_constructor([])
2744 return
2745
2746def register_Ns3LogNormalVariable_methods(root_module, cls):
2747 ## random-variable.h (module 'core'): ns3::LogNormalVariable::LogNormalVariable(ns3::LogNormalVariable const & arg0) [copy constructor]
2748 cls.add_constructor([param('ns3::LogNormalVariable const &', 'arg0')])
2749 ## random-variable.h (module 'core'): ns3::LogNormalVariable::LogNormalVariable(double mu, double sigma) [constructor]
2750 cls.add_constructor([param('double', 'mu'), param('double', 'sigma')])
2751 return
2752
2753def register_Ns3NormalVariable_methods(root_module, cls):
2754 ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable(ns3::NormalVariable const & arg0) [copy constructor]
2755 cls.add_constructor([param('ns3::NormalVariable const &', 'arg0')])
2756 ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable() [constructor]
2757 cls.add_constructor([])
2758 ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable(double m, double v) [constructor]
2759 cls.add_constructor([param('double', 'm'), param('double', 'v')])
2760 ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable(double m, double v, double b) [constructor]
2761 cls.add_constructor([param('double', 'm'), param('double', 'v'), param('double', 'b')])
2762 return
2763
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002764def register_Ns3Object_methods(root_module, cls):
2765 ## object.h (module 'core'): ns3::Object::Object() [constructor]
2766 cls.add_constructor([])
2767 ## object.h (module 'core'): void ns3::Object::AggregateObject(ns3::Ptr<ns3::Object> other) [member function]
2768 cls.add_method('AggregateObject',
2769 'void',
2770 [param('ns3::Ptr< ns3::Object >', 'other')])
2771 ## object.h (module 'core'): void ns3::Object::Dispose() [member function]
2772 cls.add_method('Dispose',
2773 'void',
2774 [])
2775 ## object.h (module 'core'): ns3::Object::AggregateIterator ns3::Object::GetAggregateIterator() const [member function]
2776 cls.add_method('GetAggregateIterator',
2777 'ns3::Object::AggregateIterator',
2778 [],
2779 is_const=True)
2780 ## object.h (module 'core'): ns3::TypeId ns3::Object::GetInstanceTypeId() const [member function]
2781 cls.add_method('GetInstanceTypeId',
2782 'ns3::TypeId',
2783 [],
2784 is_const=True, is_virtual=True)
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002785 ## object.h (module 'core'): ns3::Ptr<ns3::ndn::ContentStore> ns3::Object::GetObject() const [member function]
2786 cls.add_method('GetObject',
2787 'ns3::Ptr< ns3::ndn::ContentStore >',
2788 [],
2789 is_const=True, template_parameters=['ns3::ndn::ContentStore'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07002790 ## object.h (module 'core'): ns3::Ptr<ns3::ndn::Fib> ns3::Object::GetObject() const [member function]
Alexander Afanasyev1c0248b2012-07-24 15:59:50 -07002791 cls.add_method('GetObject',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07002792 'ns3::Ptr< ns3::ndn::Fib >',
Alexander Afanasyev1c0248b2012-07-24 15:59:50 -07002793 [],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07002794 is_const=True, template_parameters=['ns3::ndn::Fib'])
2795 ## object.h (module 'core'): ns3::Ptr<ns3::ndn::Pit> ns3::Object::GetObject() const [member function]
Alexander Afanasyev5feb38b2012-08-09 11:01:43 -07002796 cls.add_method('GetObject',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07002797 'ns3::Ptr< ns3::ndn::Pit >',
Alexander Afanasyev5feb38b2012-08-09 11:01:43 -07002798 [],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07002799 is_const=True, template_parameters=['ns3::ndn::Pit'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002800 ## object.h (module 'core'): static ns3::TypeId ns3::Object::GetTypeId() [member function]
2801 cls.add_method('GetTypeId',
2802 'ns3::TypeId',
2803 [],
2804 is_static=True)
2805 ## object.h (module 'core'): void ns3::Object::Start() [member function]
2806 cls.add_method('Start',
2807 'void',
2808 [])
2809 ## object.h (module 'core'): ns3::Object::Object(ns3::Object const & o) [copy constructor]
2810 cls.add_constructor([param('ns3::Object const &', 'o')],
2811 visibility='protected')
2812 ## object.h (module 'core'): void ns3::Object::DoDispose() [member function]
2813 cls.add_method('DoDispose',
2814 'void',
2815 [],
2816 visibility='protected', is_virtual=True)
2817 ## object.h (module 'core'): void ns3::Object::DoStart() [member function]
2818 cls.add_method('DoStart',
2819 'void',
2820 [],
2821 visibility='protected', is_virtual=True)
2822 ## object.h (module 'core'): void ns3::Object::NotifyNewAggregate() [member function]
2823 cls.add_method('NotifyNewAggregate',
2824 'void',
2825 [],
2826 visibility='protected', is_virtual=True)
2827 return
2828
2829def register_Ns3ObjectAggregateIterator_methods(root_module, cls):
2830 ## object.h (module 'core'): ns3::Object::AggregateIterator::AggregateIterator(ns3::Object::AggregateIterator const & arg0) [copy constructor]
2831 cls.add_constructor([param('ns3::Object::AggregateIterator const &', 'arg0')])
2832 ## object.h (module 'core'): ns3::Object::AggregateIterator::AggregateIterator() [constructor]
2833 cls.add_constructor([])
2834 ## object.h (module 'core'): bool ns3::Object::AggregateIterator::HasNext() const [member function]
2835 cls.add_method('HasNext',
2836 'bool',
2837 [],
2838 is_const=True)
2839 ## object.h (module 'core'): ns3::Ptr<ns3::Object const> ns3::Object::AggregateIterator::Next() [member function]
2840 cls.add_method('Next',
2841 'ns3::Ptr< ns3::Object const >',
2842 [])
2843 return
2844
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002845def register_Ns3ParetoVariable_methods(root_module, cls):
2846 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(ns3::ParetoVariable const & arg0) [copy constructor]
2847 cls.add_constructor([param('ns3::ParetoVariable const &', 'arg0')])
2848 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable() [constructor]
2849 cls.add_constructor([])
2850 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(double m) [constructor]
2851 cls.add_constructor([param('double', 'm')])
2852 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(double m, double s) [constructor]
2853 cls.add_constructor([param('double', 'm'), param('double', 's')])
2854 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(double m, double s, double b) [constructor]
2855 cls.add_constructor([param('double', 'm'), param('double', 's'), param('double', 'b')])
2856 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(std::pair<double,double> params) [constructor]
2857 cls.add_constructor([param('std::pair< double, double >', 'params')])
2858 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(std::pair<double,double> params, double b) [constructor]
2859 cls.add_constructor([param('std::pair< double, double >', 'params'), param('double', 'b')])
2860 return
2861
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002862def register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, cls):
2863 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >::SimpleRefCount() [constructor]
2864 cls.add_constructor([])
2865 ## 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]
2866 cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter< ns3::AttributeAccessor > > const &', 'o')])
2867 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >::Cleanup() [member function]
2868 cls.add_method('Cleanup',
2869 'void',
2870 [],
2871 is_static=True)
2872 return
2873
2874def register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeChecker__gt___methods(root_module, cls):
2875 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >::SimpleRefCount() [constructor]
2876 cls.add_constructor([])
2877 ## 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]
2878 cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter< ns3::AttributeChecker > > const &', 'o')])
2879 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >::Cleanup() [member function]
2880 cls.add_method('Cleanup',
2881 'void',
2882 [],
2883 is_static=True)
2884 return
2885
2886def register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, cls):
2887 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >::SimpleRefCount() [constructor]
2888 cls.add_constructor([])
2889 ## 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]
2890 cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter< ns3::AttributeValue > > const &', 'o')])
2891 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >::Cleanup() [member function]
2892 cls.add_method('Cleanup',
2893 'void',
2894 [],
2895 is_static=True)
2896 return
2897
2898def register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, cls):
2899 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >::SimpleRefCount() [constructor]
2900 cls.add_constructor([])
2901 ## 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]
2902 cls.add_constructor([param('ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter< ns3::CallbackImplBase > > const &', 'o')])
2903 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >::Cleanup() [member function]
2904 cls.add_method('Cleanup',
2905 'void',
2906 [],
2907 is_static=True)
2908 return
2909
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002910def register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, cls):
2911 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >::SimpleRefCount() [constructor]
2912 cls.add_constructor([])
2913 ## 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]
2914 cls.add_constructor([param('ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter< ns3::EventImpl > > const &', 'o')])
2915 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >::Cleanup() [member function]
2916 cls.add_method('Cleanup',
2917 'void',
2918 [],
2919 is_static=True)
2920 return
2921
2922def register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, cls):
2923 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >::SimpleRefCount() [constructor]
2924 cls.add_constructor([])
2925 ## 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]
2926 cls.add_constructor([param('ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter< ns3::NixVector > > const &', 'o')])
2927 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >::Cleanup() [member function]
2928 cls.add_method('Cleanup',
2929 'void',
2930 [],
2931 is_static=True)
2932 return
2933
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002934def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, cls):
2935 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >::SimpleRefCount() [constructor]
2936 cls.add_constructor([])
2937 ## 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]
2938 cls.add_constructor([param('ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter< ns3::Packet > > const &', 'o')])
2939 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >::Cleanup() [member function]
2940 cls.add_method('Cleanup',
2941 'void',
2942 [],
2943 is_static=True)
2944 return
2945
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002946def register_Ns3SimpleRefCount__Ns3TopologyReader_Ns3Empty_Ns3DefaultDeleter__lt__ns3TopologyReader__gt___methods(root_module, cls):
2947 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter<ns3::TopologyReader> >::SimpleRefCount() [constructor]
2948 cls.add_constructor([])
2949 ## 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]
2950 cls.add_constructor([param('ns3::SimpleRefCount< ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter< ns3::TopologyReader > > const &', 'o')])
2951 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter<ns3::TopologyReader> >::Cleanup() [member function]
2952 cls.add_method('Cleanup',
2953 'void',
2954 [],
2955 is_static=True)
2956 return
2957
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002958def register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, cls):
2959 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >::SimpleRefCount() [constructor]
2960 cls.add_constructor([])
2961 ## 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]
2962 cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > const &', 'o')])
2963 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >::Cleanup() [member function]
2964 cls.add_method('Cleanup',
2965 'void',
2966 [],
2967 is_static=True)
2968 return
2969
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07002970def register_Ns3SimpleRefCount__Ns3NdnContentObject_Ns3Header_Ns3DefaultDeleter__lt__ns3NdnContentObject__gt___methods(root_module, cls):
2971 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::ContentObject, ns3::Header, ns3::DefaultDeleter<ns3::ndn::ContentObject> >::SimpleRefCount() [constructor]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07002972 cls.add_constructor([])
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07002973 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::ContentObject, ns3::Header, ns3::DefaultDeleter<ns3::ndn::ContentObject> >::SimpleRefCount(ns3::SimpleRefCount<ns3::ndn::ContentObject, ns3::Header, ns3::DefaultDeleter<ns3::ndn::ContentObject> > const & o) [copy constructor]
2974 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::ContentObject, ns3::Header, ns3::DefaultDeleter< ns3::ndn::ContentObject > > const &', 'o')])
2975 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::ndn::ContentObject, ns3::Header, ns3::DefaultDeleter<ns3::ndn::ContentObject> >::Cleanup() [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07002976 cls.add_method('Cleanup',
2977 'void',
2978 [],
2979 is_static=True)
2980 return
2981
2982def register_Ns3SimpleRefCount__Ns3NdnFaceContainer_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnFaceContainer__gt___methods(root_module, cls):
2983 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::FaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::ndn::FaceContainer> >::SimpleRefCount() [constructor]
2984 cls.add_constructor([])
2985 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::FaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::ndn::FaceContainer> >::SimpleRefCount(ns3::SimpleRefCount<ns3::ndn::FaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::ndn::FaceContainer> > const & o) [copy constructor]
2986 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::FaceContainer, ns3::empty, ns3::DefaultDeleter< ns3::ndn::FaceContainer > > const &', 'o')])
2987 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::ndn::FaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::ndn::FaceContainer> >::Cleanup() [member function]
2988 cls.add_method('Cleanup',
2989 'void',
2990 [],
2991 is_static=True)
2992 return
2993
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07002994def register_Ns3SimpleRefCount__Ns3NdnInterest_Ns3Header_Ns3DefaultDeleter__lt__ns3NdnInterest__gt___methods(root_module, cls):
2995 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::Interest, ns3::Header, ns3::DefaultDeleter<ns3::ndn::Interest> >::SimpleRefCount() [constructor]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07002996 cls.add_constructor([])
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07002997 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::Interest, ns3::Header, ns3::DefaultDeleter<ns3::ndn::Interest> >::SimpleRefCount(ns3::SimpleRefCount<ns3::ndn::Interest, ns3::Header, ns3::DefaultDeleter<ns3::ndn::Interest> > const & o) [copy constructor]
2998 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::Interest, ns3::Header, ns3::DefaultDeleter< ns3::ndn::Interest > > const &', 'o')])
2999 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::ndn::Interest, ns3::Header, ns3::DefaultDeleter<ns3::ndn::Interest> >::Cleanup() [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07003000 cls.add_method('Cleanup',
3001 'void',
3002 [],
3003 is_static=True)
3004 return
3005
Alexander Afanasyev32c07562013-02-01 12:58:43 -08003006def register_Ns3SimpleRefCount__Ns3NdnName_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnName__gt___methods(root_module, cls):
3007 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::Name, ns3::empty, ns3::DefaultDeleter<ns3::ndn::Name> >::SimpleRefCount() [constructor]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07003008 cls.add_constructor([])
Alexander Afanasyev32c07562013-02-01 12:58:43 -08003009 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::Name, ns3::empty, ns3::DefaultDeleter<ns3::ndn::Name> >::SimpleRefCount(ns3::SimpleRefCount<ns3::ndn::Name, ns3::empty, ns3::DefaultDeleter<ns3::ndn::Name> > const & o) [copy constructor]
3010 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::Name, ns3::empty, ns3::DefaultDeleter< ns3::ndn::Name > > const &', 'o')])
3011 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::ndn::Name, ns3::empty, ns3::DefaultDeleter<ns3::ndn::Name> >::Cleanup() [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07003012 cls.add_method('Cleanup',
3013 'void',
3014 [],
3015 is_static=True)
3016 return
3017
3018def register_Ns3SimpleRefCount__Ns3NdnCsEntry_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnCsEntry__gt___methods(root_module, cls):
3019 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::cs::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::cs::Entry> >::SimpleRefCount() [constructor]
3020 cls.add_constructor([])
3021 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::cs::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::cs::Entry> >::SimpleRefCount(ns3::SimpleRefCount<ns3::ndn::cs::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::cs::Entry> > const & o) [copy constructor]
3022 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::cs::Entry, ns3::empty, ns3::DefaultDeleter< ns3::ndn::cs::Entry > > const &', 'o')])
3023 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::ndn::cs::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::cs::Entry> >::Cleanup() [member function]
3024 cls.add_method('Cleanup',
3025 'void',
3026 [],
3027 is_static=True)
3028 return
3029
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07003030def register_Ns3SimpleRefCount__Ns3NdnPitEntry_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnPitEntry__gt___methods(root_module, cls):
3031 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::pit::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::pit::Entry> >::SimpleRefCount() [constructor]
3032 cls.add_constructor([])
3033 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::pit::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::pit::Entry> >::SimpleRefCount(ns3::SimpleRefCount<ns3::ndn::pit::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::pit::Entry> > const & o) [copy constructor]
3034 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::pit::Entry, ns3::empty, ns3::DefaultDeleter< ns3::ndn::pit::Entry > > const &', 'o')])
3035 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::ndn::pit::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::pit::Entry> >::Cleanup() [member function]
3036 cls.add_method('Cleanup',
3037 'void',
3038 [],
3039 is_static=True)
3040 return
3041
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003042def register_Ns3Time_methods(root_module, cls):
3043 cls.add_binary_comparison_operator('!=')
3044 cls.add_inplace_numeric_operator('+=', param('ns3::Time const &', 'right'))
3045 cls.add_inplace_numeric_operator('-=', param('ns3::Time const &', 'right'))
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07003046 cls.add_output_stream_operator()
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08003047 cls.add_binary_comparison_operator('<=')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003048 cls.add_binary_comparison_operator('==')
3049 cls.add_binary_comparison_operator('>=')
3050 cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right'))
3051 cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right'))
3052 cls.add_binary_comparison_operator('<')
3053 cls.add_binary_comparison_operator('>')
3054 ## nstime.h (module 'core'): ns3::Time::Time() [constructor]
3055 cls.add_constructor([])
3056 ## nstime.h (module 'core'): ns3::Time::Time(ns3::Time const & o) [copy constructor]
3057 cls.add_constructor([param('ns3::Time const &', 'o')])
3058 ## nstime.h (module 'core'): ns3::Time::Time(double v) [constructor]
3059 cls.add_constructor([param('double', 'v')])
3060 ## nstime.h (module 'core'): ns3::Time::Time(int v) [constructor]
3061 cls.add_constructor([param('int', 'v')])
3062 ## nstime.h (module 'core'): ns3::Time::Time(long int v) [constructor]
3063 cls.add_constructor([param('long int', 'v')])
3064 ## nstime.h (module 'core'): ns3::Time::Time(long long int v) [constructor]
3065 cls.add_constructor([param('long long int', 'v')])
3066 ## nstime.h (module 'core'): ns3::Time::Time(unsigned int v) [constructor]
3067 cls.add_constructor([param('unsigned int', 'v')])
3068 ## nstime.h (module 'core'): ns3::Time::Time(long unsigned int v) [constructor]
3069 cls.add_constructor([param('long unsigned int', 'v')])
3070 ## nstime.h (module 'core'): ns3::Time::Time(long long unsigned int v) [constructor]
3071 cls.add_constructor([param('long long unsigned int', 'v')])
3072 ## nstime.h (module 'core'): ns3::Time::Time(std::string const & s) [constructor]
3073 cls.add_constructor([param('std::string const &', 's')])
3074 ## nstime.h (module 'core'): ns3::Time::Time(ns3::int64x64_t const & value) [constructor]
3075 cls.add_constructor([param('ns3::int64x64_t const &', 'value')])
3076 ## nstime.h (module 'core'): int ns3::Time::Compare(ns3::Time const & o) const [member function]
3077 cls.add_method('Compare',
3078 'int',
3079 [param('ns3::Time const &', 'o')],
3080 is_const=True)
3081 ## nstime.h (module 'core'): static ns3::Time ns3::Time::From(ns3::int64x64_t const & from, ns3::Time::Unit timeUnit) [member function]
3082 cls.add_method('From',
3083 'ns3::Time',
3084 [param('ns3::int64x64_t const &', 'from'), param('ns3::Time::Unit', 'timeUnit')],
3085 is_static=True)
3086 ## nstime.h (module 'core'): static ns3::Time ns3::Time::From(ns3::int64x64_t const & value) [member function]
3087 cls.add_method('From',
3088 'ns3::Time',
3089 [param('ns3::int64x64_t const &', 'value')],
3090 is_static=True)
3091 ## nstime.h (module 'core'): static ns3::Time ns3::Time::FromDouble(double value, ns3::Time::Unit timeUnit) [member function]
3092 cls.add_method('FromDouble',
3093 'ns3::Time',
3094 [param('double', 'value'), param('ns3::Time::Unit', 'timeUnit')],
3095 is_static=True)
3096 ## nstime.h (module 'core'): static ns3::Time ns3::Time::FromInteger(uint64_t value, ns3::Time::Unit timeUnit) [member function]
3097 cls.add_method('FromInteger',
3098 'ns3::Time',
3099 [param('uint64_t', 'value'), param('ns3::Time::Unit', 'timeUnit')],
3100 is_static=True)
3101 ## nstime.h (module 'core'): double ns3::Time::GetDouble() const [member function]
3102 cls.add_method('GetDouble',
3103 'double',
3104 [],
3105 is_const=True)
3106 ## nstime.h (module 'core'): int64_t ns3::Time::GetFemtoSeconds() const [member function]
3107 cls.add_method('GetFemtoSeconds',
3108 'int64_t',
3109 [],
3110 is_const=True)
3111 ## nstime.h (module 'core'): int64_t ns3::Time::GetInteger() const [member function]
3112 cls.add_method('GetInteger',
3113 'int64_t',
3114 [],
3115 is_const=True)
3116 ## nstime.h (module 'core'): int64_t ns3::Time::GetMicroSeconds() const [member function]
3117 cls.add_method('GetMicroSeconds',
3118 'int64_t',
3119 [],
3120 is_const=True)
3121 ## nstime.h (module 'core'): int64_t ns3::Time::GetMilliSeconds() const [member function]
3122 cls.add_method('GetMilliSeconds',
3123 'int64_t',
3124 [],
3125 is_const=True)
3126 ## nstime.h (module 'core'): int64_t ns3::Time::GetNanoSeconds() const [member function]
3127 cls.add_method('GetNanoSeconds',
3128 'int64_t',
3129 [],
3130 is_const=True)
3131 ## nstime.h (module 'core'): int64_t ns3::Time::GetPicoSeconds() const [member function]
3132 cls.add_method('GetPicoSeconds',
3133 'int64_t',
3134 [],
3135 is_const=True)
3136 ## nstime.h (module 'core'): static ns3::Time::Unit ns3::Time::GetResolution() [member function]
3137 cls.add_method('GetResolution',
3138 'ns3::Time::Unit',
3139 [],
3140 is_static=True)
3141 ## nstime.h (module 'core'): double ns3::Time::GetSeconds() const [member function]
3142 cls.add_method('GetSeconds',
3143 'double',
3144 [],
3145 is_const=True)
3146 ## nstime.h (module 'core'): int64_t ns3::Time::GetTimeStep() const [member function]
3147 cls.add_method('GetTimeStep',
3148 'int64_t',
3149 [],
3150 is_const=True)
3151 ## nstime.h (module 'core'): bool ns3::Time::IsNegative() const [member function]
3152 cls.add_method('IsNegative',
3153 'bool',
3154 [],
3155 is_const=True)
3156 ## nstime.h (module 'core'): bool ns3::Time::IsPositive() const [member function]
3157 cls.add_method('IsPositive',
3158 'bool',
3159 [],
3160 is_const=True)
3161 ## nstime.h (module 'core'): bool ns3::Time::IsStrictlyNegative() const [member function]
3162 cls.add_method('IsStrictlyNegative',
3163 'bool',
3164 [],
3165 is_const=True)
3166 ## nstime.h (module 'core'): bool ns3::Time::IsStrictlyPositive() const [member function]
3167 cls.add_method('IsStrictlyPositive',
3168 'bool',
3169 [],
3170 is_const=True)
3171 ## nstime.h (module 'core'): bool ns3::Time::IsZero() const [member function]
3172 cls.add_method('IsZero',
3173 'bool',
3174 [],
3175 is_const=True)
3176 ## nstime.h (module 'core'): static void ns3::Time::SetResolution(ns3::Time::Unit resolution) [member function]
3177 cls.add_method('SetResolution',
3178 'void',
3179 [param('ns3::Time::Unit', 'resolution')],
3180 is_static=True)
3181 ## nstime.h (module 'core'): ns3::int64x64_t ns3::Time::To(ns3::Time::Unit timeUnit) const [member function]
3182 cls.add_method('To',
3183 'ns3::int64x64_t',
3184 [param('ns3::Time::Unit', 'timeUnit')],
3185 is_const=True)
3186 ## nstime.h (module 'core'): double ns3::Time::ToDouble(ns3::Time::Unit timeUnit) const [member function]
3187 cls.add_method('ToDouble',
3188 'double',
3189 [param('ns3::Time::Unit', 'timeUnit')],
3190 is_const=True)
3191 ## nstime.h (module 'core'): int64_t ns3::Time::ToInteger(ns3::Time::Unit timeUnit) const [member function]
3192 cls.add_method('ToInteger',
3193 'int64_t',
3194 [param('ns3::Time::Unit', 'timeUnit')],
3195 is_const=True)
3196 return
3197
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07003198def register_Ns3TopologyReader_methods(root_module, cls):
3199 ## topology-reader.h (module 'topology-read'): ns3::TopologyReader::TopologyReader() [constructor]
3200 cls.add_constructor([])
3201 ## topology-reader.h (module 'topology-read'): void ns3::TopologyReader::AddLink(ns3::TopologyReader::Link link) [member function]
3202 cls.add_method('AddLink',
3203 'void',
3204 [param('ns3::TopologyReader::Link', 'link')])
3205 ## topology-reader.h (module 'topology-read'): std::string ns3::TopologyReader::GetFileName() const [member function]
3206 cls.add_method('GetFileName',
3207 'std::string',
3208 [],
3209 is_const=True)
3210 ## topology-reader.h (module 'topology-read'): std::_List_const_iterator<ns3::TopologyReader::Link> ns3::TopologyReader::LinksBegin() const [member function]
3211 cls.add_method('LinksBegin',
3212 'std::_List_const_iterator< ns3::TopologyReader::Link >',
3213 [],
3214 is_const=True)
3215 ## topology-reader.h (module 'topology-read'): bool ns3::TopologyReader::LinksEmpty() const [member function]
3216 cls.add_method('LinksEmpty',
3217 'bool',
3218 [],
3219 is_const=True)
3220 ## topology-reader.h (module 'topology-read'): std::_List_const_iterator<ns3::TopologyReader::Link> ns3::TopologyReader::LinksEnd() const [member function]
3221 cls.add_method('LinksEnd',
3222 'std::_List_const_iterator< ns3::TopologyReader::Link >',
3223 [],
3224 is_const=True)
3225 ## topology-reader.h (module 'topology-read'): int ns3::TopologyReader::LinksSize() const [member function]
3226 cls.add_method('LinksSize',
3227 'int',
3228 [],
3229 is_const=True)
3230 ## topology-reader.h (module 'topology-read'): ns3::NodeContainer ns3::TopologyReader::Read() [member function]
3231 cls.add_method('Read',
3232 'ns3::NodeContainer',
3233 [],
3234 is_pure_virtual=True, is_virtual=True)
3235 ## topology-reader.h (module 'topology-read'): void ns3::TopologyReader::SetFileName(std::string const & fileName) [member function]
3236 cls.add_method('SetFileName',
3237 'void',
3238 [param('std::string const &', 'fileName')])
3239 return
3240
3241def register_Ns3TopologyReaderLink_methods(root_module, cls):
3242 ## topology-reader.h (module 'topology-read'): ns3::TopologyReader::Link::Link(ns3::TopologyReader::Link const & arg0) [copy constructor]
3243 cls.add_constructor([param('ns3::TopologyReader::Link const &', 'arg0')])
3244 ## topology-reader.h (module 'topology-read'): ns3::TopologyReader::Link::Link() [constructor]
3245 cls.add_constructor([])
3246 ## 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]
3247 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')])
3248 ## 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]
3249 cls.add_method('AttributesBegin',
3250 '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 > > > >',
3251 [])
3252 ## 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]
3253 cls.add_method('AttributesEnd',
3254 '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 > > > >',
3255 [])
3256 ## topology-reader.h (module 'topology-read'): std::string ns3::TopologyReader::Link::GetAttribute(std::string const & name) const [member function]
3257 cls.add_method('GetAttribute',
3258 'std::string',
3259 [param('std::string const &', 'name')],
3260 is_const=True)
3261 ## topology-reader.h (module 'topology-read'): bool ns3::TopologyReader::Link::GetAttributeFailSafe(std::string const & name, std::string & value) const [member function]
3262 cls.add_method('GetAttributeFailSafe',
3263 'bool',
3264 [param('std::string const &', 'name'), param('std::string &', 'value')],
3265 is_const=True)
3266 ## topology-reader.h (module 'topology-read'): ns3::Ptr<ns3::NetDevice> ns3::TopologyReader::Link::GetFromNetDevice() const [member function]
3267 cls.add_method('GetFromNetDevice',
3268 'ns3::Ptr< ns3::NetDevice >',
3269 [],
3270 is_const=True)
3271 ## topology-reader.h (module 'topology-read'): ns3::Ptr<ns3::Node> ns3::TopologyReader::Link::GetFromNode() const [member function]
3272 cls.add_method('GetFromNode',
3273 'ns3::Ptr< ns3::Node >',
3274 [],
3275 is_const=True)
3276 ## topology-reader.h (module 'topology-read'): std::string ns3::TopologyReader::Link::GetFromNodeName() const [member function]
3277 cls.add_method('GetFromNodeName',
3278 'std::string',
3279 [],
3280 is_const=True)
3281 ## topology-reader.h (module 'topology-read'): ns3::Ptr<ns3::NetDevice> ns3::TopologyReader::Link::GetToNetDevice() const [member function]
3282 cls.add_method('GetToNetDevice',
3283 'ns3::Ptr< ns3::NetDevice >',
3284 [],
3285 is_const=True)
3286 ## topology-reader.h (module 'topology-read'): ns3::Ptr<ns3::Node> ns3::TopologyReader::Link::GetToNode() const [member function]
3287 cls.add_method('GetToNode',
3288 'ns3::Ptr< ns3::Node >',
3289 [],
3290 is_const=True)
3291 ## topology-reader.h (module 'topology-read'): std::string ns3::TopologyReader::Link::GetToNodeName() const [member function]
3292 cls.add_method('GetToNodeName',
3293 'std::string',
3294 [],
3295 is_const=True)
3296 ## topology-reader.h (module 'topology-read'): void ns3::TopologyReader::Link::SetAttribute(std::string const & name, std::string const & value) [member function]
3297 cls.add_method('SetAttribute',
3298 'void',
3299 [param('std::string const &', 'name'), param('std::string const &', 'value')])
3300 ## topology-reader.h (module 'topology-read'): void ns3::TopologyReader::Link::SetNetDevices(ns3::Ptr<ns3::NetDevice> from, ns3::Ptr<ns3::NetDevice> to) [member function]
3301 cls.add_method('SetNetDevices',
3302 'void',
3303 [param('ns3::Ptr< ns3::NetDevice >', 'from'), param('ns3::Ptr< ns3::NetDevice >', 'to')])
3304 return
3305
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003306def register_Ns3TraceSourceAccessor_methods(root_module, cls):
3307 ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor]
3308 cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')])
3309 ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor]
3310 cls.add_constructor([])
3311 ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function]
3312 cls.add_method('Connect',
3313 'bool',
3314 [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')],
3315 is_pure_virtual=True, is_const=True, is_virtual=True)
3316 ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function]
3317 cls.add_method('ConnectWithoutContext',
3318 'bool',
3319 [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')],
3320 is_pure_virtual=True, is_const=True, is_virtual=True)
3321 ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function]
3322 cls.add_method('Disconnect',
3323 'bool',
3324 [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')],
3325 is_pure_virtual=True, is_const=True, is_virtual=True)
3326 ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function]
3327 cls.add_method('DisconnectWithoutContext',
3328 'bool',
3329 [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')],
3330 is_pure_virtual=True, is_const=True, is_virtual=True)
3331 return
3332
3333def register_Ns3Trailer_methods(root_module, cls):
3334 cls.add_output_stream_operator()
3335 ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor]
3336 cls.add_constructor([])
3337 ## trailer.h (module 'network'): ns3::Trailer::Trailer(ns3::Trailer const & arg0) [copy constructor]
3338 cls.add_constructor([param('ns3::Trailer const &', 'arg0')])
3339 ## trailer.h (module 'network'): uint32_t ns3::Trailer::Deserialize(ns3::Buffer::Iterator end) [member function]
3340 cls.add_method('Deserialize',
3341 'uint32_t',
3342 [param('ns3::Buffer::Iterator', 'end')],
3343 is_pure_virtual=True, is_virtual=True)
3344 ## trailer.h (module 'network'): uint32_t ns3::Trailer::GetSerializedSize() const [member function]
3345 cls.add_method('GetSerializedSize',
3346 'uint32_t',
3347 [],
3348 is_pure_virtual=True, is_const=True, is_virtual=True)
3349 ## trailer.h (module 'network'): static ns3::TypeId ns3::Trailer::GetTypeId() [member function]
3350 cls.add_method('GetTypeId',
3351 'ns3::TypeId',
3352 [],
3353 is_static=True)
3354 ## trailer.h (module 'network'): void ns3::Trailer::Print(std::ostream & os) const [member function]
3355 cls.add_method('Print',
3356 'void',
3357 [param('std::ostream &', 'os')],
3358 is_pure_virtual=True, is_const=True, is_virtual=True)
3359 ## trailer.h (module 'network'): void ns3::Trailer::Serialize(ns3::Buffer::Iterator start) const [member function]
3360 cls.add_method('Serialize',
3361 'void',
3362 [param('ns3::Buffer::Iterator', 'start')],
3363 is_pure_virtual=True, is_const=True, is_virtual=True)
3364 return
3365
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07003366def register_Ns3AnnotatedTopologyReader_methods(root_module, cls):
3367 ## annotated-topology-reader.h (module 'ndnSIM'): ns3::AnnotatedTopologyReader::AnnotatedTopologyReader(std::string const & path="", double scale=1.0e+0) [constructor]
3368 cls.add_constructor([param('std::string const &', 'path', default_value='""'), param('double', 'scale', default_value='1.0e+0')])
3369 ## annotated-topology-reader.h (module 'ndnSIM'): ns3::NodeContainer ns3::AnnotatedTopologyReader::Read() [member function]
3370 cls.add_method('Read',
3371 'ns3::NodeContainer',
3372 [],
3373 is_virtual=True)
3374 ## annotated-topology-reader.h (module 'ndnSIM'): ns3::NodeContainer ns3::AnnotatedTopologyReader::GetNodes() const [member function]
3375 cls.add_method('GetNodes',
3376 'ns3::NodeContainer',
3377 [],
3378 is_const=True)
3379 ## annotated-topology-reader.h (module 'ndnSIM'): std::list<ns3::TopologyReader::Link, std::allocator<ns3::TopologyReader::Link> > const & ns3::AnnotatedTopologyReader::GetLinks() const [member function]
3380 cls.add_method('GetLinks',
3381 'std::list< ns3::TopologyReader::Link > const &',
3382 [],
3383 is_const=True)
3384 ## annotated-topology-reader.h (module 'ndnSIM'): void ns3::AnnotatedTopologyReader::AssignIpv4Addresses(ns3::Ipv4Address base) [member function]
3385 cls.add_method('AssignIpv4Addresses',
3386 'void',
3387 [param('ns3::Ipv4Address', 'base')])
3388 ## annotated-topology-reader.h (module 'ndnSIM'): void ns3::AnnotatedTopologyReader::SetBoundingBox(double ulx, double uly, double lrx, double lry) [member function]
3389 cls.add_method('SetBoundingBox',
3390 'void',
3391 [param('double', 'ulx'), param('double', 'uly'), param('double', 'lrx'), param('double', 'lry')])
3392 ## annotated-topology-reader.h (module 'ndnSIM'): void ns3::AnnotatedTopologyReader::SetMobilityModel(std::string const & model) [member function]
3393 cls.add_method('SetMobilityModel',
3394 'void',
3395 [param('std::string const &', 'model')])
3396 ## annotated-topology-reader.h (module 'ndnSIM'): void ns3::AnnotatedTopologyReader::ApplyOspfMetric() [member function]
3397 cls.add_method('ApplyOspfMetric',
3398 'void',
3399 [])
Alexander Afanasyev71029732012-11-19 23:50:52 -08003400 ## annotated-topology-reader.h (module 'ndnSIM'): void ns3::AnnotatedTopologyReader::SaveTopology(std::string const & file) const [member function]
3401 cls.add_method('SaveTopology',
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07003402 'void',
3403 [param('std::string const &', 'file')],
3404 is_const=True)
3405 ## annotated-topology-reader.h (module 'ndnSIM'): ns3::Ptr<ns3::Node> ns3::AnnotatedTopologyReader::CreateNode(std::string const name, uint32_t systemId) [member function]
3406 cls.add_method('CreateNode',
3407 'ns3::Ptr< ns3::Node >',
3408 [param('std::string const', 'name'), param('uint32_t', 'systemId')],
3409 visibility='protected')
3410 ## annotated-topology-reader.h (module 'ndnSIM'): ns3::Ptr<ns3::Node> ns3::AnnotatedTopologyReader::CreateNode(std::string const name, double posX, double posY, uint32_t systemId) [member function]
3411 cls.add_method('CreateNode',
3412 'ns3::Ptr< ns3::Node >',
3413 [param('std::string const', 'name'), param('double', 'posX'), param('double', 'posY'), param('uint32_t', 'systemId')],
3414 visibility='protected')
3415 ## annotated-topology-reader.h (module 'ndnSIM'): void ns3::AnnotatedTopologyReader::ApplySettings() [member function]
3416 cls.add_method('ApplySettings',
3417 'void',
3418 [],
3419 visibility='protected')
3420 return
3421
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003422def register_Ns3Application_methods(root_module, cls):
3423 ## application.h (module 'network'): ns3::Application::Application(ns3::Application const & arg0) [copy constructor]
3424 cls.add_constructor([param('ns3::Application const &', 'arg0')])
3425 ## application.h (module 'network'): ns3::Application::Application() [constructor]
3426 cls.add_constructor([])
3427 ## application.h (module 'network'): ns3::Ptr<ns3::Node> ns3::Application::GetNode() const [member function]
3428 cls.add_method('GetNode',
3429 'ns3::Ptr< ns3::Node >',
3430 [],
3431 is_const=True)
3432 ## application.h (module 'network'): static ns3::TypeId ns3::Application::GetTypeId() [member function]
3433 cls.add_method('GetTypeId',
3434 'ns3::TypeId',
3435 [],
3436 is_static=True)
3437 ## application.h (module 'network'): void ns3::Application::SetNode(ns3::Ptr<ns3::Node> node) [member function]
3438 cls.add_method('SetNode',
3439 'void',
3440 [param('ns3::Ptr< ns3::Node >', 'node')])
3441 ## application.h (module 'network'): void ns3::Application::SetStartTime(ns3::Time start) [member function]
3442 cls.add_method('SetStartTime',
3443 'void',
3444 [param('ns3::Time', 'start')])
3445 ## application.h (module 'network'): void ns3::Application::SetStopTime(ns3::Time stop) [member function]
3446 cls.add_method('SetStopTime',
3447 'void',
3448 [param('ns3::Time', 'stop')])
3449 ## application.h (module 'network'): void ns3::Application::DoDispose() [member function]
3450 cls.add_method('DoDispose',
3451 'void',
3452 [],
3453 visibility='protected', is_virtual=True)
3454 ## application.h (module 'network'): void ns3::Application::DoStart() [member function]
3455 cls.add_method('DoStart',
3456 'void',
3457 [],
3458 visibility='protected', is_virtual=True)
3459 ## application.h (module 'network'): void ns3::Application::StartApplication() [member function]
3460 cls.add_method('StartApplication',
3461 'void',
3462 [],
Alexander Afanasyev06d3a612012-04-17 22:25:40 -07003463 visibility='private', is_virtual=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003464 ## application.h (module 'network'): void ns3::Application::StopApplication() [member function]
3465 cls.add_method('StopApplication',
3466 'void',
3467 [],
Alexander Afanasyev06d3a612012-04-17 22:25:40 -07003468 visibility='private', is_virtual=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003469 return
3470
3471def register_Ns3AttributeAccessor_methods(root_module, cls):
3472 ## attribute.h (module 'core'): ns3::AttributeAccessor::AttributeAccessor(ns3::AttributeAccessor const & arg0) [copy constructor]
3473 cls.add_constructor([param('ns3::AttributeAccessor const &', 'arg0')])
3474 ## attribute.h (module 'core'): ns3::AttributeAccessor::AttributeAccessor() [constructor]
3475 cls.add_constructor([])
3476 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::Get(ns3::ObjectBase const * object, ns3::AttributeValue & attribute) const [member function]
3477 cls.add_method('Get',
3478 'bool',
3479 [param('ns3::ObjectBase const *', 'object'), param('ns3::AttributeValue &', 'attribute')],
3480 is_pure_virtual=True, is_const=True, is_virtual=True)
3481 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::HasGetter() const [member function]
3482 cls.add_method('HasGetter',
3483 'bool',
3484 [],
3485 is_pure_virtual=True, is_const=True, is_virtual=True)
3486 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::HasSetter() const [member function]
3487 cls.add_method('HasSetter',
3488 'bool',
3489 [],
3490 is_pure_virtual=True, is_const=True, is_virtual=True)
3491 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::Set(ns3::ObjectBase * object, ns3::AttributeValue const & value) const [member function]
3492 cls.add_method('Set',
3493 'bool',
3494 [param('ns3::ObjectBase *', 'object', transfer_ownership=False), param('ns3::AttributeValue const &', 'value')],
3495 is_pure_virtual=True, is_const=True, is_virtual=True)
3496 return
3497
3498def register_Ns3AttributeChecker_methods(root_module, cls):
3499 ## attribute.h (module 'core'): ns3::AttributeChecker::AttributeChecker(ns3::AttributeChecker const & arg0) [copy constructor]
3500 cls.add_constructor([param('ns3::AttributeChecker const &', 'arg0')])
3501 ## attribute.h (module 'core'): ns3::AttributeChecker::AttributeChecker() [constructor]
3502 cls.add_constructor([])
3503 ## attribute.h (module 'core'): bool ns3::AttributeChecker::Check(ns3::AttributeValue const & value) const [member function]
3504 cls.add_method('Check',
3505 'bool',
3506 [param('ns3::AttributeValue const &', 'value')],
3507 is_pure_virtual=True, is_const=True, is_virtual=True)
3508 ## attribute.h (module 'core'): bool ns3::AttributeChecker::Copy(ns3::AttributeValue const & source, ns3::AttributeValue & destination) const [member function]
3509 cls.add_method('Copy',
3510 'bool',
3511 [param('ns3::AttributeValue const &', 'source'), param('ns3::AttributeValue &', 'destination')],
3512 is_pure_virtual=True, is_const=True, is_virtual=True)
3513 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeChecker::Create() const [member function]
3514 cls.add_method('Create',
3515 'ns3::Ptr< ns3::AttributeValue >',
3516 [],
3517 is_pure_virtual=True, is_const=True, is_virtual=True)
3518 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function]
3519 cls.add_method('CreateValidValue',
3520 'ns3::Ptr< ns3::AttributeValue >',
3521 [param('ns3::AttributeValue const &', 'value')],
3522 is_const=True)
3523 ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function]
3524 cls.add_method('GetUnderlyingTypeInformation',
3525 'std::string',
3526 [],
3527 is_pure_virtual=True, is_const=True, is_virtual=True)
3528 ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetValueTypeName() const [member function]
3529 cls.add_method('GetValueTypeName',
3530 'std::string',
3531 [],
3532 is_pure_virtual=True, is_const=True, is_virtual=True)
3533 ## attribute.h (module 'core'): bool ns3::AttributeChecker::HasUnderlyingTypeInformation() const [member function]
3534 cls.add_method('HasUnderlyingTypeInformation',
3535 'bool',
3536 [],
3537 is_pure_virtual=True, is_const=True, is_virtual=True)
3538 return
3539
3540def register_Ns3AttributeValue_methods(root_module, cls):
3541 ## attribute.h (module 'core'): ns3::AttributeValue::AttributeValue(ns3::AttributeValue const & arg0) [copy constructor]
3542 cls.add_constructor([param('ns3::AttributeValue const &', 'arg0')])
3543 ## attribute.h (module 'core'): ns3::AttributeValue::AttributeValue() [constructor]
3544 cls.add_constructor([])
3545 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeValue::Copy() const [member function]
3546 cls.add_method('Copy',
3547 'ns3::Ptr< ns3::AttributeValue >',
3548 [],
3549 is_pure_virtual=True, is_const=True, is_virtual=True)
3550 ## attribute.h (module 'core'): bool ns3::AttributeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3551 cls.add_method('DeserializeFromString',
3552 'bool',
3553 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3554 is_pure_virtual=True, is_virtual=True)
3555 ## attribute.h (module 'core'): std::string ns3::AttributeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3556 cls.add_method('SerializeToString',
3557 'std::string',
3558 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3559 is_pure_virtual=True, is_const=True, is_virtual=True)
3560 return
3561
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07003562def register_Ns3BooleanChecker_methods(root_module, cls):
3563 ## boolean.h (module 'core'): ns3::BooleanChecker::BooleanChecker() [constructor]
3564 cls.add_constructor([])
3565 ## boolean.h (module 'core'): ns3::BooleanChecker::BooleanChecker(ns3::BooleanChecker const & arg0) [copy constructor]
3566 cls.add_constructor([param('ns3::BooleanChecker const &', 'arg0')])
3567 return
3568
3569def register_Ns3BooleanValue_methods(root_module, cls):
3570 cls.add_output_stream_operator()
3571 ## boolean.h (module 'core'): ns3::BooleanValue::BooleanValue(ns3::BooleanValue const & arg0) [copy constructor]
3572 cls.add_constructor([param('ns3::BooleanValue const &', 'arg0')])
3573 ## boolean.h (module 'core'): ns3::BooleanValue::BooleanValue() [constructor]
3574 cls.add_constructor([])
3575 ## boolean.h (module 'core'): ns3::BooleanValue::BooleanValue(bool value) [constructor]
3576 cls.add_constructor([param('bool', 'value')])
3577 ## boolean.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::BooleanValue::Copy() const [member function]
3578 cls.add_method('Copy',
3579 'ns3::Ptr< ns3::AttributeValue >',
3580 [],
3581 is_const=True, is_virtual=True)
3582 ## boolean.h (module 'core'): bool ns3::BooleanValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3583 cls.add_method('DeserializeFromString',
3584 'bool',
3585 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3586 is_virtual=True)
3587 ## boolean.h (module 'core'): bool ns3::BooleanValue::Get() const [member function]
3588 cls.add_method('Get',
3589 'bool',
3590 [],
3591 is_const=True)
3592 ## boolean.h (module 'core'): std::string ns3::BooleanValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3593 cls.add_method('SerializeToString',
3594 'std::string',
3595 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3596 is_const=True, is_virtual=True)
3597 ## boolean.h (module 'core'): void ns3::BooleanValue::Set(bool value) [member function]
3598 cls.add_method('Set',
3599 'void',
3600 [param('bool', 'value')])
3601 return
3602
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003603def register_Ns3CallbackChecker_methods(root_module, cls):
3604 ## callback.h (module 'core'): ns3::CallbackChecker::CallbackChecker() [constructor]
3605 cls.add_constructor([])
3606 ## callback.h (module 'core'): ns3::CallbackChecker::CallbackChecker(ns3::CallbackChecker const & arg0) [copy constructor]
3607 cls.add_constructor([param('ns3::CallbackChecker const &', 'arg0')])
3608 return
3609
3610def register_Ns3CallbackImplBase_methods(root_module, cls):
3611 ## callback.h (module 'core'): ns3::CallbackImplBase::CallbackImplBase() [constructor]
3612 cls.add_constructor([])
3613 ## callback.h (module 'core'): ns3::CallbackImplBase::CallbackImplBase(ns3::CallbackImplBase const & arg0) [copy constructor]
3614 cls.add_constructor([param('ns3::CallbackImplBase const &', 'arg0')])
3615 ## callback.h (module 'core'): bool ns3::CallbackImplBase::IsEqual(ns3::Ptr<ns3::CallbackImplBase const> other) const [member function]
3616 cls.add_method('IsEqual',
3617 'bool',
3618 [param('ns3::Ptr< ns3::CallbackImplBase const >', 'other')],
3619 is_pure_virtual=True, is_const=True, is_virtual=True)
3620 return
3621
3622def register_Ns3CallbackValue_methods(root_module, cls):
3623 ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue(ns3::CallbackValue const & arg0) [copy constructor]
3624 cls.add_constructor([param('ns3::CallbackValue const &', 'arg0')])
3625 ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue() [constructor]
3626 cls.add_constructor([])
3627 ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue(ns3::CallbackBase const & base) [constructor]
3628 cls.add_constructor([param('ns3::CallbackBase const &', 'base')])
3629 ## callback.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::CallbackValue::Copy() const [member function]
3630 cls.add_method('Copy',
3631 'ns3::Ptr< ns3::AttributeValue >',
3632 [],
3633 is_const=True, is_virtual=True)
3634 ## callback.h (module 'core'): bool ns3::CallbackValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3635 cls.add_method('DeserializeFromString',
3636 'bool',
3637 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3638 is_virtual=True)
3639 ## callback.h (module 'core'): std::string ns3::CallbackValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3640 cls.add_method('SerializeToString',
3641 'std::string',
3642 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3643 is_const=True, is_virtual=True)
3644 ## callback.h (module 'core'): void ns3::CallbackValue::Set(ns3::CallbackBase base) [member function]
3645 cls.add_method('Set',
3646 'void',
3647 [param('ns3::CallbackBase', 'base')])
3648 return
3649
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07003650def register_Ns3DoubleValue_methods(root_module, cls):
3651 ## double.h (module 'core'): ns3::DoubleValue::DoubleValue() [constructor]
3652 cls.add_constructor([])
3653 ## double.h (module 'core'): ns3::DoubleValue::DoubleValue(ns3::DoubleValue const & arg0) [copy constructor]
3654 cls.add_constructor([param('ns3::DoubleValue const &', 'arg0')])
3655 ## double.h (module 'core'): ns3::DoubleValue::DoubleValue(double const & value) [constructor]
3656 cls.add_constructor([param('double const &', 'value')])
3657 ## double.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::DoubleValue::Copy() const [member function]
3658 cls.add_method('Copy',
3659 'ns3::Ptr< ns3::AttributeValue >',
3660 [],
3661 is_const=True, is_virtual=True)
3662 ## double.h (module 'core'): bool ns3::DoubleValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3663 cls.add_method('DeserializeFromString',
3664 'bool',
3665 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3666 is_virtual=True)
3667 ## double.h (module 'core'): double ns3::DoubleValue::Get() const [member function]
3668 cls.add_method('Get',
3669 'double',
3670 [],
3671 is_const=True)
3672 ## double.h (module 'core'): std::string ns3::DoubleValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3673 cls.add_method('SerializeToString',
3674 'std::string',
3675 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3676 is_const=True, is_virtual=True)
3677 ## double.h (module 'core'): void ns3::DoubleValue::Set(double const & value) [member function]
3678 cls.add_method('Set',
3679 'void',
3680 [param('double const &', 'value')])
3681 return
3682
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003683def register_Ns3EmptyAttributeValue_methods(root_module, cls):
3684 ## attribute.h (module 'core'): ns3::EmptyAttributeValue::EmptyAttributeValue(ns3::EmptyAttributeValue const & arg0) [copy constructor]
3685 cls.add_constructor([param('ns3::EmptyAttributeValue const &', 'arg0')])
3686 ## attribute.h (module 'core'): ns3::EmptyAttributeValue::EmptyAttributeValue() [constructor]
3687 cls.add_constructor([])
3688 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::EmptyAttributeValue::Copy() const [member function]
3689 cls.add_method('Copy',
3690 'ns3::Ptr< ns3::AttributeValue >',
3691 [],
3692 is_const=True, visibility='private', is_virtual=True)
3693 ## attribute.h (module 'core'): bool ns3::EmptyAttributeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3694 cls.add_method('DeserializeFromString',
3695 'bool',
3696 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3697 visibility='private', is_virtual=True)
3698 ## attribute.h (module 'core'): std::string ns3::EmptyAttributeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3699 cls.add_method('SerializeToString',
3700 'std::string',
3701 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3702 is_const=True, visibility='private', is_virtual=True)
3703 return
3704
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07003705def register_Ns3EnumChecker_methods(root_module, cls):
3706 ## enum.h (module 'core'): ns3::EnumChecker::EnumChecker(ns3::EnumChecker const & arg0) [copy constructor]
3707 cls.add_constructor([param('ns3::EnumChecker const &', 'arg0')])
3708 ## enum.h (module 'core'): ns3::EnumChecker::EnumChecker() [constructor]
3709 cls.add_constructor([])
3710 ## enum.h (module 'core'): void ns3::EnumChecker::Add(int v, std::string name) [member function]
3711 cls.add_method('Add',
3712 'void',
3713 [param('int', 'v'), param('std::string', 'name')])
3714 ## enum.h (module 'core'): void ns3::EnumChecker::AddDefault(int v, std::string name) [member function]
3715 cls.add_method('AddDefault',
3716 'void',
3717 [param('int', 'v'), param('std::string', 'name')])
3718 ## enum.h (module 'core'): bool ns3::EnumChecker::Check(ns3::AttributeValue const & value) const [member function]
3719 cls.add_method('Check',
3720 'bool',
3721 [param('ns3::AttributeValue const &', 'value')],
3722 is_const=True, is_virtual=True)
3723 ## enum.h (module 'core'): bool ns3::EnumChecker::Copy(ns3::AttributeValue const & src, ns3::AttributeValue & dst) const [member function]
3724 cls.add_method('Copy',
3725 'bool',
3726 [param('ns3::AttributeValue const &', 'src'), param('ns3::AttributeValue &', 'dst')],
3727 is_const=True, is_virtual=True)
3728 ## enum.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::EnumChecker::Create() const [member function]
3729 cls.add_method('Create',
3730 'ns3::Ptr< ns3::AttributeValue >',
3731 [],
3732 is_const=True, is_virtual=True)
3733 ## enum.h (module 'core'): std::string ns3::EnumChecker::GetUnderlyingTypeInformation() const [member function]
3734 cls.add_method('GetUnderlyingTypeInformation',
3735 'std::string',
3736 [],
3737 is_const=True, is_virtual=True)
3738 ## enum.h (module 'core'): std::string ns3::EnumChecker::GetValueTypeName() const [member function]
3739 cls.add_method('GetValueTypeName',
3740 'std::string',
3741 [],
3742 is_const=True, is_virtual=True)
3743 ## enum.h (module 'core'): bool ns3::EnumChecker::HasUnderlyingTypeInformation() const [member function]
3744 cls.add_method('HasUnderlyingTypeInformation',
3745 'bool',
3746 [],
3747 is_const=True, is_virtual=True)
3748 return
3749
3750def register_Ns3EnumValue_methods(root_module, cls):
3751 ## enum.h (module 'core'): ns3::EnumValue::EnumValue(ns3::EnumValue const & arg0) [copy constructor]
3752 cls.add_constructor([param('ns3::EnumValue const &', 'arg0')])
3753 ## enum.h (module 'core'): ns3::EnumValue::EnumValue() [constructor]
3754 cls.add_constructor([])
3755 ## enum.h (module 'core'): ns3::EnumValue::EnumValue(int v) [constructor]
3756 cls.add_constructor([param('int', 'v')])
3757 ## enum.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::EnumValue::Copy() const [member function]
3758 cls.add_method('Copy',
3759 'ns3::Ptr< ns3::AttributeValue >',
3760 [],
3761 is_const=True, is_virtual=True)
3762 ## enum.h (module 'core'): bool ns3::EnumValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3763 cls.add_method('DeserializeFromString',
3764 'bool',
3765 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3766 is_virtual=True)
3767 ## enum.h (module 'core'): int ns3::EnumValue::Get() const [member function]
3768 cls.add_method('Get',
3769 'int',
3770 [],
3771 is_const=True)
3772 ## enum.h (module 'core'): std::string ns3::EnumValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3773 cls.add_method('SerializeToString',
3774 'std::string',
3775 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3776 is_const=True, is_virtual=True)
3777 ## enum.h (module 'core'): void ns3::EnumValue::Set(int v) [member function]
3778 cls.add_method('Set',
3779 'void',
3780 [param('int', 'v')])
3781 return
3782
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003783def register_Ns3EventImpl_methods(root_module, cls):
3784 ## event-impl.h (module 'core'): ns3::EventImpl::EventImpl(ns3::EventImpl const & arg0) [copy constructor]
3785 cls.add_constructor([param('ns3::EventImpl const &', 'arg0')])
3786 ## event-impl.h (module 'core'): ns3::EventImpl::EventImpl() [constructor]
3787 cls.add_constructor([])
3788 ## event-impl.h (module 'core'): void ns3::EventImpl::Cancel() [member function]
3789 cls.add_method('Cancel',
3790 'void',
3791 [])
3792 ## event-impl.h (module 'core'): void ns3::EventImpl::Invoke() [member function]
3793 cls.add_method('Invoke',
3794 'void',
3795 [])
3796 ## event-impl.h (module 'core'): bool ns3::EventImpl::IsCancelled() [member function]
3797 cls.add_method('IsCancelled',
3798 'bool',
3799 [])
3800 ## event-impl.h (module 'core'): void ns3::EventImpl::Notify() [member function]
3801 cls.add_method('Notify',
3802 'void',
3803 [],
3804 is_pure_virtual=True, visibility='protected', is_virtual=True)
3805 return
3806
3807def register_Ns3IntegerValue_methods(root_module, cls):
3808 ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue() [constructor]
3809 cls.add_constructor([])
3810 ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue(ns3::IntegerValue const & arg0) [copy constructor]
3811 cls.add_constructor([param('ns3::IntegerValue const &', 'arg0')])
3812 ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue(int64_t const & value) [constructor]
3813 cls.add_constructor([param('int64_t const &', 'value')])
3814 ## integer.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::IntegerValue::Copy() const [member function]
3815 cls.add_method('Copy',
3816 'ns3::Ptr< ns3::AttributeValue >',
3817 [],
3818 is_const=True, is_virtual=True)
3819 ## integer.h (module 'core'): bool ns3::IntegerValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3820 cls.add_method('DeserializeFromString',
3821 'bool',
3822 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3823 is_virtual=True)
3824 ## integer.h (module 'core'): int64_t ns3::IntegerValue::Get() const [member function]
3825 cls.add_method('Get',
3826 'int64_t',
3827 [],
3828 is_const=True)
3829 ## integer.h (module 'core'): std::string ns3::IntegerValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3830 cls.add_method('SerializeToString',
3831 'std::string',
3832 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3833 is_const=True, is_virtual=True)
3834 ## integer.h (module 'core'): void ns3::IntegerValue::Set(int64_t const & value) [member function]
3835 cls.add_method('Set',
3836 'void',
3837 [param('int64_t const &', 'value')])
3838 return
3839
3840def register_Ns3Ipv4AddressChecker_methods(root_module, cls):
3841 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker::Ipv4AddressChecker() [constructor]
3842 cls.add_constructor([])
3843 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker::Ipv4AddressChecker(ns3::Ipv4AddressChecker const & arg0) [copy constructor]
3844 cls.add_constructor([param('ns3::Ipv4AddressChecker const &', 'arg0')])
3845 return
3846
3847def register_Ns3Ipv4AddressValue_methods(root_module, cls):
3848 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue::Ipv4AddressValue() [constructor]
3849 cls.add_constructor([])
3850 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue::Ipv4AddressValue(ns3::Ipv4AddressValue const & arg0) [copy constructor]
3851 cls.add_constructor([param('ns3::Ipv4AddressValue const &', 'arg0')])
3852 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue::Ipv4AddressValue(ns3::Ipv4Address const & value) [constructor]
3853 cls.add_constructor([param('ns3::Ipv4Address const &', 'value')])
3854 ## ipv4-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv4AddressValue::Copy() const [member function]
3855 cls.add_method('Copy',
3856 'ns3::Ptr< ns3::AttributeValue >',
3857 [],
3858 is_const=True, is_virtual=True)
3859 ## ipv4-address.h (module 'network'): bool ns3::Ipv4AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3860 cls.add_method('DeserializeFromString',
3861 'bool',
3862 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3863 is_virtual=True)
3864 ## ipv4-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv4AddressValue::Get() const [member function]
3865 cls.add_method('Get',
3866 'ns3::Ipv4Address',
3867 [],
3868 is_const=True)
3869 ## ipv4-address.h (module 'network'): std::string ns3::Ipv4AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3870 cls.add_method('SerializeToString',
3871 'std::string',
3872 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3873 is_const=True, is_virtual=True)
3874 ## ipv4-address.h (module 'network'): void ns3::Ipv4AddressValue::Set(ns3::Ipv4Address const & value) [member function]
3875 cls.add_method('Set',
3876 'void',
3877 [param('ns3::Ipv4Address const &', 'value')])
3878 return
3879
3880def register_Ns3Ipv4MaskChecker_methods(root_module, cls):
3881 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker::Ipv4MaskChecker() [constructor]
3882 cls.add_constructor([])
3883 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker::Ipv4MaskChecker(ns3::Ipv4MaskChecker const & arg0) [copy constructor]
3884 cls.add_constructor([param('ns3::Ipv4MaskChecker const &', 'arg0')])
3885 return
3886
3887def register_Ns3Ipv4MaskValue_methods(root_module, cls):
3888 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue::Ipv4MaskValue() [constructor]
3889 cls.add_constructor([])
3890 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue::Ipv4MaskValue(ns3::Ipv4MaskValue const & arg0) [copy constructor]
3891 cls.add_constructor([param('ns3::Ipv4MaskValue const &', 'arg0')])
3892 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue::Ipv4MaskValue(ns3::Ipv4Mask const & value) [constructor]
3893 cls.add_constructor([param('ns3::Ipv4Mask const &', 'value')])
3894 ## ipv4-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv4MaskValue::Copy() const [member function]
3895 cls.add_method('Copy',
3896 'ns3::Ptr< ns3::AttributeValue >',
3897 [],
3898 is_const=True, is_virtual=True)
3899 ## ipv4-address.h (module 'network'): bool ns3::Ipv4MaskValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3900 cls.add_method('DeserializeFromString',
3901 'bool',
3902 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3903 is_virtual=True)
3904 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask ns3::Ipv4MaskValue::Get() const [member function]
3905 cls.add_method('Get',
3906 'ns3::Ipv4Mask',
3907 [],
3908 is_const=True)
3909 ## ipv4-address.h (module 'network'): std::string ns3::Ipv4MaskValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3910 cls.add_method('SerializeToString',
3911 'std::string',
3912 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3913 is_const=True, is_virtual=True)
3914 ## ipv4-address.h (module 'network'): void ns3::Ipv4MaskValue::Set(ns3::Ipv4Mask const & value) [member function]
3915 cls.add_method('Set',
3916 'void',
3917 [param('ns3::Ipv4Mask const &', 'value')])
3918 return
3919
3920def register_Ns3Ipv6AddressChecker_methods(root_module, cls):
3921 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker::Ipv6AddressChecker() [constructor]
3922 cls.add_constructor([])
3923 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker::Ipv6AddressChecker(ns3::Ipv6AddressChecker const & arg0) [copy constructor]
3924 cls.add_constructor([param('ns3::Ipv6AddressChecker const &', 'arg0')])
3925 return
3926
3927def register_Ns3Ipv6AddressValue_methods(root_module, cls):
3928 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue::Ipv6AddressValue() [constructor]
3929 cls.add_constructor([])
3930 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue::Ipv6AddressValue(ns3::Ipv6AddressValue const & arg0) [copy constructor]
3931 cls.add_constructor([param('ns3::Ipv6AddressValue const &', 'arg0')])
3932 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue::Ipv6AddressValue(ns3::Ipv6Address const & value) [constructor]
3933 cls.add_constructor([param('ns3::Ipv6Address const &', 'value')])
3934 ## ipv6-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv6AddressValue::Copy() const [member function]
3935 cls.add_method('Copy',
3936 'ns3::Ptr< ns3::AttributeValue >',
3937 [],
3938 is_const=True, is_virtual=True)
3939 ## ipv6-address.h (module 'network'): bool ns3::Ipv6AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3940 cls.add_method('DeserializeFromString',
3941 'bool',
3942 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3943 is_virtual=True)
3944 ## ipv6-address.h (module 'network'): ns3::Ipv6Address ns3::Ipv6AddressValue::Get() const [member function]
3945 cls.add_method('Get',
3946 'ns3::Ipv6Address',
3947 [],
3948 is_const=True)
3949 ## ipv6-address.h (module 'network'): std::string ns3::Ipv6AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3950 cls.add_method('SerializeToString',
3951 'std::string',
3952 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3953 is_const=True, is_virtual=True)
3954 ## ipv6-address.h (module 'network'): void ns3::Ipv6AddressValue::Set(ns3::Ipv6Address const & value) [member function]
3955 cls.add_method('Set',
3956 'void',
3957 [param('ns3::Ipv6Address const &', 'value')])
3958 return
3959
3960def register_Ns3Ipv6PrefixChecker_methods(root_module, cls):
3961 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker::Ipv6PrefixChecker() [constructor]
3962 cls.add_constructor([])
3963 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker::Ipv6PrefixChecker(ns3::Ipv6PrefixChecker const & arg0) [copy constructor]
3964 cls.add_constructor([param('ns3::Ipv6PrefixChecker const &', 'arg0')])
3965 return
3966
3967def register_Ns3Ipv6PrefixValue_methods(root_module, cls):
3968 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue::Ipv6PrefixValue() [constructor]
3969 cls.add_constructor([])
3970 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue::Ipv6PrefixValue(ns3::Ipv6PrefixValue const & arg0) [copy constructor]
3971 cls.add_constructor([param('ns3::Ipv6PrefixValue const &', 'arg0')])
3972 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue::Ipv6PrefixValue(ns3::Ipv6Prefix const & value) [constructor]
3973 cls.add_constructor([param('ns3::Ipv6Prefix const &', 'value')])
3974 ## ipv6-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv6PrefixValue::Copy() const [member function]
3975 cls.add_method('Copy',
3976 'ns3::Ptr< ns3::AttributeValue >',
3977 [],
3978 is_const=True, is_virtual=True)
3979 ## ipv6-address.h (module 'network'): bool ns3::Ipv6PrefixValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3980 cls.add_method('DeserializeFromString',
3981 'bool',
3982 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3983 is_virtual=True)
3984 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix ns3::Ipv6PrefixValue::Get() const [member function]
3985 cls.add_method('Get',
3986 'ns3::Ipv6Prefix',
3987 [],
3988 is_const=True)
3989 ## ipv6-address.h (module 'network'): std::string ns3::Ipv6PrefixValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3990 cls.add_method('SerializeToString',
3991 'std::string',
3992 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3993 is_const=True, is_virtual=True)
3994 ## ipv6-address.h (module 'network'): void ns3::Ipv6PrefixValue::Set(ns3::Ipv6Prefix const & value) [member function]
3995 cls.add_method('Set',
3996 'void',
3997 [param('ns3::Ipv6Prefix const &', 'value')])
3998 return
3999
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004000def register_Ns3NetDevice_methods(root_module, cls):
4001 ## net-device.h (module 'network'): ns3::NetDevice::NetDevice() [constructor]
4002 cls.add_constructor([])
4003 ## net-device.h (module 'network'): ns3::NetDevice::NetDevice(ns3::NetDevice const & arg0) [copy constructor]
4004 cls.add_constructor([param('ns3::NetDevice const &', 'arg0')])
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08004005 ## 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]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004006 cls.add_method('AddLinkChangeCallback',
4007 'void',
4008 [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')],
4009 is_pure_virtual=True, is_virtual=True)
4010 ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetAddress() const [member function]
4011 cls.add_method('GetAddress',
4012 'ns3::Address',
4013 [],
4014 is_pure_virtual=True, is_const=True, is_virtual=True)
4015 ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetBroadcast() const [member function]
4016 cls.add_method('GetBroadcast',
4017 'ns3::Address',
4018 [],
4019 is_pure_virtual=True, is_const=True, is_virtual=True)
4020 ## net-device.h (module 'network'): ns3::Ptr<ns3::Channel> ns3::NetDevice::GetChannel() const [member function]
4021 cls.add_method('GetChannel',
4022 'ns3::Ptr< ns3::Channel >',
4023 [],
4024 is_pure_virtual=True, is_const=True, is_virtual=True)
4025 ## net-device.h (module 'network'): uint32_t ns3::NetDevice::GetIfIndex() const [member function]
4026 cls.add_method('GetIfIndex',
4027 'uint32_t',
4028 [],
4029 is_pure_virtual=True, is_const=True, is_virtual=True)
4030 ## net-device.h (module 'network'): uint16_t ns3::NetDevice::GetMtu() const [member function]
4031 cls.add_method('GetMtu',
4032 'uint16_t',
4033 [],
4034 is_pure_virtual=True, is_const=True, is_virtual=True)
4035 ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetMulticast(ns3::Ipv4Address multicastGroup) const [member function]
4036 cls.add_method('GetMulticast',
4037 'ns3::Address',
4038 [param('ns3::Ipv4Address', 'multicastGroup')],
4039 is_pure_virtual=True, is_const=True, is_virtual=True)
4040 ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetMulticast(ns3::Ipv6Address addr) const [member function]
4041 cls.add_method('GetMulticast',
4042 'ns3::Address',
4043 [param('ns3::Ipv6Address', 'addr')],
4044 is_pure_virtual=True, is_const=True, is_virtual=True)
4045 ## net-device.h (module 'network'): ns3::Ptr<ns3::Node> ns3::NetDevice::GetNode() const [member function]
4046 cls.add_method('GetNode',
4047 'ns3::Ptr< ns3::Node >',
4048 [],
4049 is_pure_virtual=True, is_const=True, is_virtual=True)
4050 ## net-device.h (module 'network'): static ns3::TypeId ns3::NetDevice::GetTypeId() [member function]
4051 cls.add_method('GetTypeId',
4052 'ns3::TypeId',
4053 [],
4054 is_static=True)
4055 ## net-device.h (module 'network'): bool ns3::NetDevice::IsBridge() const [member function]
4056 cls.add_method('IsBridge',
4057 'bool',
4058 [],
4059 is_pure_virtual=True, is_const=True, is_virtual=True)
4060 ## net-device.h (module 'network'): bool ns3::NetDevice::IsBroadcast() const [member function]
4061 cls.add_method('IsBroadcast',
4062 'bool',
4063 [],
4064 is_pure_virtual=True, is_const=True, is_virtual=True)
4065 ## net-device.h (module 'network'): bool ns3::NetDevice::IsLinkUp() const [member function]
4066 cls.add_method('IsLinkUp',
4067 'bool',
4068 [],
4069 is_pure_virtual=True, is_const=True, is_virtual=True)
4070 ## net-device.h (module 'network'): bool ns3::NetDevice::IsMulticast() const [member function]
4071 cls.add_method('IsMulticast',
4072 'bool',
4073 [],
4074 is_pure_virtual=True, is_const=True, is_virtual=True)
4075 ## net-device.h (module 'network'): bool ns3::NetDevice::IsPointToPoint() const [member function]
4076 cls.add_method('IsPointToPoint',
4077 'bool',
4078 [],
4079 is_pure_virtual=True, is_const=True, is_virtual=True)
4080 ## net-device.h (module 'network'): bool ns3::NetDevice::NeedsArp() const [member function]
4081 cls.add_method('NeedsArp',
4082 'bool',
4083 [],
4084 is_pure_virtual=True, is_const=True, is_virtual=True)
4085 ## net-device.h (module 'network'): bool ns3::NetDevice::Send(ns3::Ptr<ns3::Packet> packet, ns3::Address const & dest, uint16_t protocolNumber) [member function]
4086 cls.add_method('Send',
4087 'bool',
4088 [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')],
4089 is_pure_virtual=True, is_virtual=True)
4090 ## 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]
4091 cls.add_method('SendFrom',
4092 'bool',
4093 [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')],
4094 is_pure_virtual=True, is_virtual=True)
4095 ## net-device.h (module 'network'): void ns3::NetDevice::SetAddress(ns3::Address address) [member function]
4096 cls.add_method('SetAddress',
4097 'void',
4098 [param('ns3::Address', 'address')],
4099 is_pure_virtual=True, is_virtual=True)
4100 ## net-device.h (module 'network'): void ns3::NetDevice::SetIfIndex(uint32_t const index) [member function]
4101 cls.add_method('SetIfIndex',
4102 'void',
4103 [param('uint32_t const', 'index')],
4104 is_pure_virtual=True, is_virtual=True)
4105 ## net-device.h (module 'network'): bool ns3::NetDevice::SetMtu(uint16_t const mtu) [member function]
4106 cls.add_method('SetMtu',
4107 'bool',
4108 [param('uint16_t const', 'mtu')],
4109 is_pure_virtual=True, is_virtual=True)
4110 ## net-device.h (module 'network'): void ns3::NetDevice::SetNode(ns3::Ptr<ns3::Node> node) [member function]
4111 cls.add_method('SetNode',
4112 'void',
4113 [param('ns3::Ptr< ns3::Node >', 'node')],
4114 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08004115 ## 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 -08004116 cls.add_method('SetPromiscReceiveCallback',
4117 'void',
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08004118 [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 -08004119 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08004120 ## 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 -08004121 cls.add_method('SetReceiveCallback',
4122 'void',
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08004123 [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 -08004124 is_pure_virtual=True, is_virtual=True)
4125 ## net-device.h (module 'network'): bool ns3::NetDevice::SupportsSendFrom() const [member function]
4126 cls.add_method('SupportsSendFrom',
4127 'bool',
4128 [],
4129 is_pure_virtual=True, is_const=True, is_virtual=True)
4130 return
4131
4132def register_Ns3NixVector_methods(root_module, cls):
4133 cls.add_output_stream_operator()
4134 ## nix-vector.h (module 'network'): ns3::NixVector::NixVector() [constructor]
4135 cls.add_constructor([])
4136 ## nix-vector.h (module 'network'): ns3::NixVector::NixVector(ns3::NixVector const & o) [copy constructor]
4137 cls.add_constructor([param('ns3::NixVector const &', 'o')])
4138 ## nix-vector.h (module 'network'): void ns3::NixVector::AddNeighborIndex(uint32_t newBits, uint32_t numberOfBits) [member function]
4139 cls.add_method('AddNeighborIndex',
4140 'void',
4141 [param('uint32_t', 'newBits'), param('uint32_t', 'numberOfBits')])
4142 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::BitCount(uint32_t numberOfNeighbors) const [member function]
4143 cls.add_method('BitCount',
4144 'uint32_t',
4145 [param('uint32_t', 'numberOfNeighbors')],
4146 is_const=True)
4147 ## nix-vector.h (module 'network'): ns3::Ptr<ns3::NixVector> ns3::NixVector::Copy() const [member function]
4148 cls.add_method('Copy',
4149 'ns3::Ptr< ns3::NixVector >',
4150 [],
4151 is_const=True)
4152 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::Deserialize(uint32_t const * buffer, uint32_t size) [member function]
4153 cls.add_method('Deserialize',
4154 'uint32_t',
4155 [param('uint32_t const *', 'buffer'), param('uint32_t', 'size')])
4156 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::ExtractNeighborIndex(uint32_t numberOfBits) [member function]
4157 cls.add_method('ExtractNeighborIndex',
4158 'uint32_t',
4159 [param('uint32_t', 'numberOfBits')])
4160 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::GetRemainingBits() [member function]
4161 cls.add_method('GetRemainingBits',
4162 'uint32_t',
4163 [])
4164 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::GetSerializedSize() const [member function]
4165 cls.add_method('GetSerializedSize',
4166 'uint32_t',
4167 [],
4168 is_const=True)
4169 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::Serialize(uint32_t * buffer, uint32_t maxSize) const [member function]
4170 cls.add_method('Serialize',
4171 'uint32_t',
4172 [param('uint32_t *', 'buffer'), param('uint32_t', 'maxSize')],
4173 is_const=True)
4174 return
4175
4176def register_Ns3Node_methods(root_module, cls):
4177 ## node.h (module 'network'): ns3::Node::Node(ns3::Node const & arg0) [copy constructor]
4178 cls.add_constructor([param('ns3::Node const &', 'arg0')])
4179 ## node.h (module 'network'): ns3::Node::Node() [constructor]
4180 cls.add_constructor([])
4181 ## node.h (module 'network'): ns3::Node::Node(uint32_t systemId) [constructor]
4182 cls.add_constructor([param('uint32_t', 'systemId')])
4183 ## node.h (module 'network'): uint32_t ns3::Node::AddApplication(ns3::Ptr<ns3::Application> application) [member function]
4184 cls.add_method('AddApplication',
4185 'uint32_t',
4186 [param('ns3::Ptr< ns3::Application >', 'application')])
4187 ## node.h (module 'network'): uint32_t ns3::Node::AddDevice(ns3::Ptr<ns3::NetDevice> device) [member function]
4188 cls.add_method('AddDevice',
4189 'uint32_t',
4190 [param('ns3::Ptr< ns3::NetDevice >', 'device')])
4191 ## node.h (module 'network'): static bool ns3::Node::ChecksumEnabled() [member function]
4192 cls.add_method('ChecksumEnabled',
4193 'bool',
4194 [],
4195 is_static=True)
4196 ## node.h (module 'network'): ns3::Ptr<ns3::Application> ns3::Node::GetApplication(uint32_t index) const [member function]
4197 cls.add_method('GetApplication',
4198 'ns3::Ptr< ns3::Application >',
4199 [param('uint32_t', 'index')],
4200 is_const=True)
4201 ## node.h (module 'network'): ns3::Ptr<ns3::NetDevice> ns3::Node::GetDevice(uint32_t index) const [member function]
4202 cls.add_method('GetDevice',
4203 'ns3::Ptr< ns3::NetDevice >',
4204 [param('uint32_t', 'index')],
4205 is_const=True)
4206 ## node.h (module 'network'): uint32_t ns3::Node::GetId() const [member function]
4207 cls.add_method('GetId',
4208 'uint32_t',
4209 [],
4210 is_const=True)
4211 ## node.h (module 'network'): uint32_t ns3::Node::GetNApplications() const [member function]
4212 cls.add_method('GetNApplications',
4213 'uint32_t',
4214 [],
4215 is_const=True)
4216 ## node.h (module 'network'): uint32_t ns3::Node::GetNDevices() const [member function]
4217 cls.add_method('GetNDevices',
4218 'uint32_t',
4219 [],
4220 is_const=True)
4221 ## node.h (module 'network'): uint32_t ns3::Node::GetSystemId() const [member function]
4222 cls.add_method('GetSystemId',
4223 'uint32_t',
4224 [],
4225 is_const=True)
4226 ## node.h (module 'network'): static ns3::TypeId ns3::Node::GetTypeId() [member function]
4227 cls.add_method('GetTypeId',
4228 'ns3::TypeId',
4229 [],
4230 is_static=True)
4231 ## 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]
4232 cls.add_method('RegisterDeviceAdditionListener',
4233 'void',
4234 [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')])
4235 ## 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]
4236 cls.add_method('RegisterProtocolHandler',
4237 'void',
4238 [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')])
4239 ## 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]
4240 cls.add_method('UnregisterDeviceAdditionListener',
4241 'void',
4242 [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')])
4243 ## 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]
4244 cls.add_method('UnregisterProtocolHandler',
4245 'void',
4246 [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')])
4247 ## node.h (module 'network'): void ns3::Node::DoDispose() [member function]
4248 cls.add_method('DoDispose',
4249 'void',
4250 [],
4251 visibility='protected', is_virtual=True)
4252 ## node.h (module 'network'): void ns3::Node::DoStart() [member function]
4253 cls.add_method('DoStart',
4254 'void',
4255 [],
4256 visibility='protected', is_virtual=True)
4257 return
4258
4259def register_Ns3ObjectFactoryChecker_methods(root_module, cls):
4260 ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker::ObjectFactoryChecker() [constructor]
4261 cls.add_constructor([])
4262 ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker::ObjectFactoryChecker(ns3::ObjectFactoryChecker const & arg0) [copy constructor]
4263 cls.add_constructor([param('ns3::ObjectFactoryChecker const &', 'arg0')])
4264 return
4265
4266def register_Ns3ObjectFactoryValue_methods(root_module, cls):
4267 ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue() [constructor]
4268 cls.add_constructor([])
4269 ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue(ns3::ObjectFactoryValue const & arg0) [copy constructor]
4270 cls.add_constructor([param('ns3::ObjectFactoryValue const &', 'arg0')])
4271 ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue(ns3::ObjectFactory const & value) [constructor]
4272 cls.add_constructor([param('ns3::ObjectFactory const &', 'value')])
4273 ## object-factory.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::ObjectFactoryValue::Copy() const [member function]
4274 cls.add_method('Copy',
4275 'ns3::Ptr< ns3::AttributeValue >',
4276 [],
4277 is_const=True, is_virtual=True)
4278 ## object-factory.h (module 'core'): bool ns3::ObjectFactoryValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4279 cls.add_method('DeserializeFromString',
4280 'bool',
4281 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4282 is_virtual=True)
4283 ## object-factory.h (module 'core'): ns3::ObjectFactory ns3::ObjectFactoryValue::Get() const [member function]
4284 cls.add_method('Get',
4285 'ns3::ObjectFactory',
4286 [],
4287 is_const=True)
4288 ## object-factory.h (module 'core'): std::string ns3::ObjectFactoryValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4289 cls.add_method('SerializeToString',
4290 'std::string',
4291 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4292 is_const=True, is_virtual=True)
4293 ## object-factory.h (module 'core'): void ns3::ObjectFactoryValue::Set(ns3::ObjectFactory const & value) [member function]
4294 cls.add_method('Set',
4295 'void',
4296 [param('ns3::ObjectFactory const &', 'value')])
4297 return
4298
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004299def register_Ns3Packet_methods(root_module, cls):
4300 cls.add_output_stream_operator()
4301 ## packet.h (module 'network'): ns3::Packet::Packet() [constructor]
4302 cls.add_constructor([])
4303 ## packet.h (module 'network'): ns3::Packet::Packet(ns3::Packet const & o) [copy constructor]
4304 cls.add_constructor([param('ns3::Packet const &', 'o')])
4305 ## packet.h (module 'network'): ns3::Packet::Packet(uint32_t size) [constructor]
4306 cls.add_constructor([param('uint32_t', 'size')])
4307 ## packet.h (module 'network'): ns3::Packet::Packet(uint8_t const * buffer, uint32_t size, bool magic) [constructor]
4308 cls.add_constructor([param('uint8_t const *', 'buffer'), param('uint32_t', 'size'), param('bool', 'magic')])
4309 ## packet.h (module 'network'): ns3::Packet::Packet(uint8_t const * buffer, uint32_t size) [constructor]
4310 cls.add_constructor([param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08004311 ## packet.h (module 'network'): void ns3::Packet::AddAtEnd(ns3::Ptr<const ns3::Packet> packet) [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004312 cls.add_method('AddAtEnd',
4313 'void',
4314 [param('ns3::Ptr< ns3::Packet const >', 'packet')])
4315 ## packet.h (module 'network'): void ns3::Packet::AddByteTag(ns3::Tag const & tag) const [member function]
4316 cls.add_method('AddByteTag',
4317 'void',
4318 [param('ns3::Tag const &', 'tag')],
4319 is_const=True)
4320 ## packet.h (module 'network'): void ns3::Packet::AddHeader(ns3::Header const & header) [member function]
4321 cls.add_method('AddHeader',
4322 'void',
4323 [param('ns3::Header const &', 'header')])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004324 ## packet.h (module 'network'): void ns3::Packet::AddPacketTag(ns3::Tag const & tag) const [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004325 cls.add_method('AddPacketTag',
4326 'void',
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004327 [param('ns3::Tag const &', 'tag')],
4328 is_const=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004329 ## packet.h (module 'network'): void ns3::Packet::AddPaddingAtEnd(uint32_t size) [member function]
4330 cls.add_method('AddPaddingAtEnd',
4331 'void',
4332 [param('uint32_t', 'size')])
4333 ## packet.h (module 'network'): void ns3::Packet::AddTrailer(ns3::Trailer const & trailer) [member function]
4334 cls.add_method('AddTrailer',
4335 'void',
4336 [param('ns3::Trailer const &', 'trailer')])
4337 ## packet.h (module 'network'): ns3::PacketMetadata::ItemIterator ns3::Packet::BeginItem() const [member function]
4338 cls.add_method('BeginItem',
4339 'ns3::PacketMetadata::ItemIterator',
4340 [],
4341 is_const=True)
4342 ## packet.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Packet::Copy() const [member function]
4343 cls.add_method('Copy',
4344 'ns3::Ptr< ns3::Packet >',
4345 [],
4346 is_const=True)
4347 ## packet.h (module 'network'): uint32_t ns3::Packet::CopyData(uint8_t * buffer, uint32_t size) const [member function]
4348 cls.add_method('CopyData',
4349 'uint32_t',
4350 [param('uint8_t *', 'buffer'), param('uint32_t', 'size')],
4351 is_const=True)
4352 ## packet.h (module 'network'): void ns3::Packet::CopyData(std::ostream * os, uint32_t size) const [member function]
4353 cls.add_method('CopyData',
4354 'void',
4355 [param('std::ostream *', 'os'), param('uint32_t', 'size')],
4356 is_const=True)
4357 ## packet.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Packet::CreateFragment(uint32_t start, uint32_t length) const [member function]
4358 cls.add_method('CreateFragment',
4359 'ns3::Ptr< ns3::Packet >',
4360 [param('uint32_t', 'start'), param('uint32_t', 'length')],
4361 is_const=True)
4362 ## packet.h (module 'network'): static void ns3::Packet::EnableChecking() [member function]
4363 cls.add_method('EnableChecking',
4364 'void',
4365 [],
4366 is_static=True)
4367 ## packet.h (module 'network'): static void ns3::Packet::EnablePrinting() [member function]
4368 cls.add_method('EnablePrinting',
4369 'void',
4370 [],
4371 is_static=True)
4372 ## packet.h (module 'network'): bool ns3::Packet::FindFirstMatchingByteTag(ns3::Tag & tag) const [member function]
4373 cls.add_method('FindFirstMatchingByteTag',
4374 'bool',
4375 [param('ns3::Tag &', 'tag')],
4376 is_const=True)
4377 ## packet.h (module 'network'): ns3::ByteTagIterator ns3::Packet::GetByteTagIterator() const [member function]
4378 cls.add_method('GetByteTagIterator',
4379 'ns3::ByteTagIterator',
4380 [],
4381 is_const=True)
4382 ## packet.h (module 'network'): ns3::Ptr<ns3::NixVector> ns3::Packet::GetNixVector() const [member function]
4383 cls.add_method('GetNixVector',
4384 'ns3::Ptr< ns3::NixVector >',
4385 [],
4386 is_const=True)
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004387 ## packet.h (module 'network'): ns3::PacketTagIterator ns3::Packet::GetPacketTagIterator() const [member function]
4388 cls.add_method('GetPacketTagIterator',
4389 'ns3::PacketTagIterator',
4390 [],
4391 is_const=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004392 ## packet.h (module 'network'): uint32_t ns3::Packet::GetSerializedSize() const [member function]
4393 cls.add_method('GetSerializedSize',
4394 'uint32_t',
4395 [],
4396 is_const=True)
4397 ## packet.h (module 'network'): uint32_t ns3::Packet::GetSize() const [member function]
4398 cls.add_method('GetSize',
4399 'uint32_t',
4400 [],
4401 is_const=True)
4402 ## packet.h (module 'network'): uint64_t ns3::Packet::GetUid() const [member function]
4403 cls.add_method('GetUid',
4404 'uint64_t',
4405 [],
4406 is_const=True)
4407 ## packet.h (module 'network'): uint8_t const * ns3::Packet::PeekData() const [member function]
4408 cls.add_method('PeekData',
4409 'uint8_t const *',
4410 [],
4411 deprecated=True, is_const=True)
4412 ## packet.h (module 'network'): uint32_t ns3::Packet::PeekHeader(ns3::Header & header) const [member function]
4413 cls.add_method('PeekHeader',
4414 'uint32_t',
4415 [param('ns3::Header &', 'header')],
4416 is_const=True)
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004417 ## packet.h (module 'network'): bool ns3::Packet::PeekPacketTag(ns3::Tag & tag) const [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004418 cls.add_method('PeekPacketTag',
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004419 'bool',
4420 [param('ns3::Tag &', 'tag')],
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004421 is_const=True)
4422 ## packet.h (module 'network'): uint32_t ns3::Packet::PeekTrailer(ns3::Trailer & trailer) [member function]
4423 cls.add_method('PeekTrailer',
4424 'uint32_t',
4425 [param('ns3::Trailer &', 'trailer')])
4426 ## packet.h (module 'network'): void ns3::Packet::Print(std::ostream & os) const [member function]
4427 cls.add_method('Print',
4428 'void',
4429 [param('std::ostream &', 'os')],
4430 is_const=True)
4431 ## packet.h (module 'network'): void ns3::Packet::PrintByteTags(std::ostream & os) const [member function]
4432 cls.add_method('PrintByteTags',
4433 'void',
4434 [param('std::ostream &', 'os')],
4435 is_const=True)
4436 ## packet.h (module 'network'): void ns3::Packet::PrintPacketTags(std::ostream & os) const [member function]
4437 cls.add_method('PrintPacketTags',
4438 'void',
4439 [param('std::ostream &', 'os')],
4440 is_const=True)
4441 ## packet.h (module 'network'): void ns3::Packet::RemoveAllByteTags() [member function]
4442 cls.add_method('RemoveAllByteTags',
4443 'void',
4444 [])
4445 ## packet.h (module 'network'): void ns3::Packet::RemoveAllPacketTags() [member function]
4446 cls.add_method('RemoveAllPacketTags',
4447 'void',
4448 [])
4449 ## packet.h (module 'network'): void ns3::Packet::RemoveAtEnd(uint32_t size) [member function]
4450 cls.add_method('RemoveAtEnd',
4451 'void',
4452 [param('uint32_t', 'size')])
4453 ## packet.h (module 'network'): void ns3::Packet::RemoveAtStart(uint32_t size) [member function]
4454 cls.add_method('RemoveAtStart',
4455 'void',
4456 [param('uint32_t', 'size')])
4457 ## packet.h (module 'network'): uint32_t ns3::Packet::RemoveHeader(ns3::Header & header) [member function]
4458 cls.add_method('RemoveHeader',
4459 'uint32_t',
4460 [param('ns3::Header &', 'header')])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004461 ## packet.h (module 'network'): bool ns3::Packet::RemovePacketTag(ns3::Tag & tag) [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004462 cls.add_method('RemovePacketTag',
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004463 'bool',
4464 [param('ns3::Tag &', 'tag')])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004465 ## packet.h (module 'network'): uint32_t ns3::Packet::RemoveTrailer(ns3::Trailer & trailer) [member function]
4466 cls.add_method('RemoveTrailer',
4467 'uint32_t',
4468 [param('ns3::Trailer &', 'trailer')])
4469 ## packet.h (module 'network'): uint32_t ns3::Packet::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
4470 cls.add_method('Serialize',
4471 'uint32_t',
4472 [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')],
4473 is_const=True)
4474 ## packet.h (module 'network'): void ns3::Packet::SetNixVector(ns3::Ptr<ns3::NixVector> arg0) [member function]
4475 cls.add_method('SetNixVector',
4476 'void',
4477 [param('ns3::Ptr< ns3::NixVector >', 'arg0')])
4478 return
4479
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07004480def register_Ns3RandomVariableChecker_methods(root_module, cls):
4481 ## random-variable.h (module 'core'): ns3::RandomVariableChecker::RandomVariableChecker() [constructor]
4482 cls.add_constructor([])
4483 ## random-variable.h (module 'core'): ns3::RandomVariableChecker::RandomVariableChecker(ns3::RandomVariableChecker const & arg0) [copy constructor]
4484 cls.add_constructor([param('ns3::RandomVariableChecker const &', 'arg0')])
4485 return
4486
4487def register_Ns3RandomVariableValue_methods(root_module, cls):
4488 ## random-variable.h (module 'core'): ns3::RandomVariableValue::RandomVariableValue() [constructor]
4489 cls.add_constructor([])
4490 ## random-variable.h (module 'core'): ns3::RandomVariableValue::RandomVariableValue(ns3::RandomVariableValue const & arg0) [copy constructor]
4491 cls.add_constructor([param('ns3::RandomVariableValue const &', 'arg0')])
4492 ## random-variable.h (module 'core'): ns3::RandomVariableValue::RandomVariableValue(ns3::RandomVariable const & value) [constructor]
4493 cls.add_constructor([param('ns3::RandomVariable const &', 'value')])
4494 ## random-variable.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::RandomVariableValue::Copy() const [member function]
4495 cls.add_method('Copy',
4496 'ns3::Ptr< ns3::AttributeValue >',
4497 [],
4498 is_const=True, is_virtual=True)
4499 ## random-variable.h (module 'core'): bool ns3::RandomVariableValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4500 cls.add_method('DeserializeFromString',
4501 'bool',
4502 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4503 is_virtual=True)
4504 ## random-variable.h (module 'core'): ns3::RandomVariable ns3::RandomVariableValue::Get() const [member function]
4505 cls.add_method('Get',
4506 'ns3::RandomVariable',
4507 [],
4508 is_const=True)
4509 ## random-variable.h (module 'core'): std::string ns3::RandomVariableValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4510 cls.add_method('SerializeToString',
4511 'std::string',
4512 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4513 is_const=True, is_virtual=True)
4514 ## random-variable.h (module 'core'): void ns3::RandomVariableValue::Set(ns3::RandomVariable const & value) [member function]
4515 cls.add_method('Set',
4516 'void',
4517 [param('ns3::RandomVariable const &', 'value')])
4518 return
4519
4520def register_Ns3RocketfuelWeightsReader_methods(root_module, cls):
4521 ## rocketfuel-weights-reader.h (module 'ndnSIM'): ns3::RocketfuelWeightsReader::RocketfuelWeightsReader(std::string const & path="", double scale=1.0e+0) [constructor]
4522 cls.add_constructor([param('std::string const &', 'path', default_value='""'), param('double', 'scale', default_value='1.0e+0')])
4523 ## rocketfuel-weights-reader.h (module 'ndnSIM'): void ns3::RocketfuelWeightsReader::SetFileType(uint8_t inputType) [member function]
4524 cls.add_method('SetFileType',
4525 'void',
4526 [param('uint8_t', 'inputType')])
4527 ## rocketfuel-weights-reader.h (module 'ndnSIM'): ns3::NodeContainer ns3::RocketfuelWeightsReader::Read() [member function]
4528 cls.add_method('Read',
4529 'ns3::NodeContainer',
4530 [],
4531 is_virtual=True)
4532 ## rocketfuel-weights-reader.h (module 'ndnSIM'): void ns3::RocketfuelWeightsReader::Commit() [member function]
4533 cls.add_method('Commit',
4534 'void',
4535 [])
4536 return
4537
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004538def register_Ns3TimeChecker_methods(root_module, cls):
4539 ## nstime.h (module 'core'): ns3::TimeChecker::TimeChecker() [constructor]
4540 cls.add_constructor([])
4541 ## nstime.h (module 'core'): ns3::TimeChecker::TimeChecker(ns3::TimeChecker const & arg0) [copy constructor]
4542 cls.add_constructor([param('ns3::TimeChecker const &', 'arg0')])
4543 return
4544
4545def register_Ns3TimeValue_methods(root_module, cls):
4546 ## nstime.h (module 'core'): ns3::TimeValue::TimeValue() [constructor]
4547 cls.add_constructor([])
4548 ## nstime.h (module 'core'): ns3::TimeValue::TimeValue(ns3::TimeValue const & arg0) [copy constructor]
4549 cls.add_constructor([param('ns3::TimeValue const &', 'arg0')])
4550 ## nstime.h (module 'core'): ns3::TimeValue::TimeValue(ns3::Time const & value) [constructor]
4551 cls.add_constructor([param('ns3::Time const &', 'value')])
4552 ## nstime.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::TimeValue::Copy() const [member function]
4553 cls.add_method('Copy',
4554 'ns3::Ptr< ns3::AttributeValue >',
4555 [],
4556 is_const=True, is_virtual=True)
4557 ## nstime.h (module 'core'): bool ns3::TimeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4558 cls.add_method('DeserializeFromString',
4559 'bool',
4560 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4561 is_virtual=True)
4562 ## nstime.h (module 'core'): ns3::Time ns3::TimeValue::Get() const [member function]
4563 cls.add_method('Get',
4564 'ns3::Time',
4565 [],
4566 is_const=True)
4567 ## nstime.h (module 'core'): std::string ns3::TimeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4568 cls.add_method('SerializeToString',
4569 'std::string',
4570 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4571 is_const=True, is_virtual=True)
4572 ## nstime.h (module 'core'): void ns3::TimeValue::Set(ns3::Time const & value) [member function]
4573 cls.add_method('Set',
4574 'void',
4575 [param('ns3::Time const &', 'value')])
4576 return
4577
4578def register_Ns3TypeIdChecker_methods(root_module, cls):
4579 ## type-id.h (module 'core'): ns3::TypeIdChecker::TypeIdChecker() [constructor]
4580 cls.add_constructor([])
4581 ## type-id.h (module 'core'): ns3::TypeIdChecker::TypeIdChecker(ns3::TypeIdChecker const & arg0) [copy constructor]
4582 cls.add_constructor([param('ns3::TypeIdChecker const &', 'arg0')])
4583 return
4584
4585def register_Ns3TypeIdValue_methods(root_module, cls):
4586 ## type-id.h (module 'core'): ns3::TypeIdValue::TypeIdValue() [constructor]
4587 cls.add_constructor([])
4588 ## type-id.h (module 'core'): ns3::TypeIdValue::TypeIdValue(ns3::TypeIdValue const & arg0) [copy constructor]
4589 cls.add_constructor([param('ns3::TypeIdValue const &', 'arg0')])
4590 ## type-id.h (module 'core'): ns3::TypeIdValue::TypeIdValue(ns3::TypeId const & value) [constructor]
4591 cls.add_constructor([param('ns3::TypeId const &', 'value')])
4592 ## type-id.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::TypeIdValue::Copy() const [member function]
4593 cls.add_method('Copy',
4594 'ns3::Ptr< ns3::AttributeValue >',
4595 [],
4596 is_const=True, is_virtual=True)
4597 ## type-id.h (module 'core'): bool ns3::TypeIdValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4598 cls.add_method('DeserializeFromString',
4599 'bool',
4600 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4601 is_virtual=True)
4602 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeIdValue::Get() const [member function]
4603 cls.add_method('Get',
4604 'ns3::TypeId',
4605 [],
4606 is_const=True)
4607 ## type-id.h (module 'core'): std::string ns3::TypeIdValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4608 cls.add_method('SerializeToString',
4609 'std::string',
4610 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4611 is_const=True, is_virtual=True)
4612 ## type-id.h (module 'core'): void ns3::TypeIdValue::Set(ns3::TypeId const & value) [member function]
4613 cls.add_method('Set',
4614 'void',
4615 [param('ns3::TypeId const &', 'value')])
4616 return
4617
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07004618def register_Ns3UintegerValue_methods(root_module, cls):
4619 ## uinteger.h (module 'core'): ns3::UintegerValue::UintegerValue() [constructor]
4620 cls.add_constructor([])
4621 ## uinteger.h (module 'core'): ns3::UintegerValue::UintegerValue(ns3::UintegerValue const & arg0) [copy constructor]
4622 cls.add_constructor([param('ns3::UintegerValue const &', 'arg0')])
4623 ## uinteger.h (module 'core'): ns3::UintegerValue::UintegerValue(uint64_t const & value) [constructor]
4624 cls.add_constructor([param('uint64_t const &', 'value')])
4625 ## uinteger.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::UintegerValue::Copy() const [member function]
4626 cls.add_method('Copy',
4627 'ns3::Ptr< ns3::AttributeValue >',
4628 [],
4629 is_const=True, is_virtual=True)
4630 ## uinteger.h (module 'core'): bool ns3::UintegerValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4631 cls.add_method('DeserializeFromString',
4632 'bool',
4633 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4634 is_virtual=True)
4635 ## uinteger.h (module 'core'): uint64_t ns3::UintegerValue::Get() const [member function]
4636 cls.add_method('Get',
4637 'uint64_t',
4638 [],
4639 is_const=True)
4640 ## uinteger.h (module 'core'): std::string ns3::UintegerValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4641 cls.add_method('SerializeToString',
4642 'std::string',
4643 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4644 is_const=True, is_virtual=True)
4645 ## uinteger.h (module 'core'): void ns3::UintegerValue::Set(uint64_t const & value) [member function]
4646 cls.add_method('Set',
4647 'void',
4648 [param('uint64_t const &', 'value')])
4649 return
4650
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004651def register_Ns3AddressChecker_methods(root_module, cls):
4652 ## address.h (module 'network'): ns3::AddressChecker::AddressChecker() [constructor]
4653 cls.add_constructor([])
4654 ## address.h (module 'network'): ns3::AddressChecker::AddressChecker(ns3::AddressChecker const & arg0) [copy constructor]
4655 cls.add_constructor([param('ns3::AddressChecker const &', 'arg0')])
4656 return
4657
4658def register_Ns3AddressValue_methods(root_module, cls):
4659 ## address.h (module 'network'): ns3::AddressValue::AddressValue() [constructor]
4660 cls.add_constructor([])
4661 ## address.h (module 'network'): ns3::AddressValue::AddressValue(ns3::AddressValue const & arg0) [copy constructor]
4662 cls.add_constructor([param('ns3::AddressValue const &', 'arg0')])
4663 ## address.h (module 'network'): ns3::AddressValue::AddressValue(ns3::Address const & value) [constructor]
4664 cls.add_constructor([param('ns3::Address const &', 'value')])
4665 ## address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::AddressValue::Copy() const [member function]
4666 cls.add_method('Copy',
4667 'ns3::Ptr< ns3::AttributeValue >',
4668 [],
4669 is_const=True, is_virtual=True)
4670 ## address.h (module 'network'): bool ns3::AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4671 cls.add_method('DeserializeFromString',
4672 'bool',
4673 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4674 is_virtual=True)
4675 ## address.h (module 'network'): ns3::Address ns3::AddressValue::Get() const [member function]
4676 cls.add_method('Get',
4677 'ns3::Address',
4678 [],
4679 is_const=True)
4680 ## address.h (module 'network'): std::string ns3::AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4681 cls.add_method('SerializeToString',
4682 'std::string',
4683 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4684 is_const=True, is_virtual=True)
4685 ## address.h (module 'network'): void ns3::AddressValue::Set(ns3::Address const & value) [member function]
4686 cls.add_method('Set',
4687 'void',
4688 [param('ns3::Address const &', 'value')])
4689 return
4690
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004691def register_Ns3NdnApp_methods(root_module, cls):
4692 ## ndn-app.h (module 'ndnSIM'): ns3::ndn::App::App(ns3::ndn::App const & arg0) [copy constructor]
4693 cls.add_constructor([param('ns3::ndn::App const &', 'arg0')])
4694 ## ndn-app.h (module 'ndnSIM'): ns3::ndn::App::App() [constructor]
4695 cls.add_constructor([])
Alexander Afanasyev32c07562013-02-01 12:58:43 -08004696 ## ndn-app.h (module 'ndnSIM'): uint32_t ns3::ndn::App::GetId() const [member function]
4697 cls.add_method('GetId',
4698 'uint32_t',
4699 [],
4700 is_const=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004701 ## ndn-app.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::App::GetTypeId() [member function]
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07004702 cls.add_method('GetTypeId',
4703 'ns3::TypeId',
4704 [],
4705 is_static=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07004706 ## ndn-app.h (module 'ndnSIM'): void ns3::ndn::App::OnContentObject(ns3::Ptr<ns3::ndn::ContentObject const> const & contentObject, ns3::Ptr<ns3::Packet> payload) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004707 cls.add_method('OnContentObject',
4708 'void',
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07004709 [param('ns3::Ptr< ns3::ndn::ContentObject const > const &', 'contentObject'), param('ns3::Ptr< ns3::Packet >', 'payload')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004710 is_virtual=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07004711 ## ndn-app.h (module 'ndnSIM'): void ns3::ndn::App::OnInterest(ns3::Ptr<ns3::ndn::Interest const> const & interest, ns3::Ptr<ns3::Packet> packet) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004712 cls.add_method('OnInterest',
4713 'void',
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07004714 [param('ns3::Ptr< ns3::ndn::Interest const > const &', 'interest'), param('ns3::Ptr< ns3::Packet >', 'packet')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004715 is_virtual=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07004716 ## ndn-app.h (module 'ndnSIM'): void ns3::ndn::App::OnNack(ns3::Ptr<ns3::ndn::Interest const> const & interest, ns3::Ptr<ns3::Packet> packet) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004717 cls.add_method('OnNack',
4718 'void',
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07004719 [param('ns3::Ptr< ns3::ndn::Interest const > const &', 'interest'), param('ns3::Ptr< ns3::Packet >', 'packet')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004720 is_virtual=True)
4721 ## ndn-app.h (module 'ndnSIM'): void ns3::ndn::App::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]
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07004722 cls.add_method('RegisterProtocolHandler',
4723 'void',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004724 [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')])
4725 ## ndn-app.h (module 'ndnSIM'): void ns3::ndn::App::DoDispose() [member function]
4726 cls.add_method('DoDispose',
4727 'void',
4728 [],
4729 visibility='protected', is_virtual=True)
4730 ## ndn-app.h (module 'ndnSIM'): void ns3::ndn::App::StartApplication() [member function]
4731 cls.add_method('StartApplication',
4732 'void',
4733 [],
4734 visibility='protected', is_virtual=True)
4735 ## ndn-app.h (module 'ndnSIM'): void ns3::ndn::App::StopApplication() [member function]
4736 cls.add_method('StopApplication',
4737 'void',
4738 [],
4739 visibility='protected', is_virtual=True)
4740 return
4741
4742def register_Ns3NdnAppHelper_methods(root_module, cls):
4743 ## ndn-app-helper.h (module 'ndnSIM'): ns3::ndn::AppHelper::AppHelper(ns3::ndn::AppHelper const & arg0) [copy constructor]
4744 cls.add_constructor([param('ns3::ndn::AppHelper const &', 'arg0')])
4745 ## ndn-app-helper.h (module 'ndnSIM'): ns3::ndn::AppHelper::AppHelper(std::string const & prefix) [constructor]
4746 cls.add_constructor([param('std::string const &', 'prefix')])
4747 ## ndn-app-helper.h (module 'ndnSIM'): ns3::ApplicationContainer ns3::ndn::AppHelper::Install(ns3::NodeContainer c) [member function]
4748 cls.add_method('Install',
4749 'ns3::ApplicationContainer',
4750 [param('ns3::NodeContainer', 'c')])
4751 ## ndn-app-helper.h (module 'ndnSIM'): ns3::ApplicationContainer ns3::ndn::AppHelper::Install(ns3::Ptr<ns3::Node> node) [member function]
4752 cls.add_method('Install',
4753 'ns3::ApplicationContainer',
4754 [param('ns3::Ptr< ns3::Node >', 'node')])
4755 ## ndn-app-helper.h (module 'ndnSIM'): ns3::ApplicationContainer ns3::ndn::AppHelper::Install(std::string nodeName) [member function]
4756 cls.add_method('Install',
4757 'ns3::ApplicationContainer',
4758 [param('std::string', 'nodeName')])
4759 ## ndn-app-helper.h (module 'ndnSIM'): void ns3::ndn::AppHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function]
4760 cls.add_method('SetAttribute',
4761 'void',
4762 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
4763 ## ndn-app-helper.h (module 'ndnSIM'): void ns3::ndn::AppHelper::SetPrefix(std::string const & prefix) [member function]
4764 cls.add_method('SetPrefix',
4765 'void',
4766 [param('std::string const &', 'prefix')])
4767 return
4768
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07004769def register_Ns3NdnContentObject_methods(root_module, cls):
4770 ## ndn-content-object.h (module 'ndnSIM'): ns3::ndn::ContentObject::ContentObject(ns3::ndn::ContentObject const & arg0) [copy constructor]
4771 cls.add_constructor([param('ns3::ndn::ContentObject const &', 'arg0')])
4772 ## ndn-content-object.h (module 'ndnSIM'): ns3::ndn::ContentObject::ContentObject() [constructor]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004773 cls.add_constructor([])
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07004774 ## ndn-content-object.h (module 'ndnSIM'): uint32_t ns3::ndn::ContentObject::Deserialize(ns3::Buffer::Iterator start) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004775 cls.add_method('Deserialize',
4776 'uint32_t',
4777 [param('ns3::Buffer::Iterator', 'start')],
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07004778 is_virtual=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07004779 ## ndn-content-object.h (module 'ndnSIM'): ns3::Time ns3::ndn::ContentObject::GetFreshness() const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004780 cls.add_method('GetFreshness',
4781 'ns3::Time',
4782 [],
4783 is_const=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07004784 ## ndn-content-object.h (module 'ndnSIM'): ns3::TypeId ns3::ndn::ContentObject::GetInstanceTypeId() const [member function]
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08004785 cls.add_method('GetInstanceTypeId',
4786 'ns3::TypeId',
4787 [],
4788 is_const=True, is_virtual=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07004789 ## ndn-content-object.h (module 'ndnSIM'): ns3::ndn::Name const & ns3::ndn::ContentObject::GetName() const [member function]
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08004790 cls.add_method('GetName',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07004791 'ns3::ndn::Name const &',
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08004792 [],
4793 is_const=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07004794 ## ndn-content-object.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::Name const> ns3::ndn::ContentObject::GetNamePtr() const [member function]
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08004795 cls.add_method('GetNamePtr',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07004796 'ns3::Ptr< ns3::ndn::Name const >',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004797 [],
4798 is_const=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07004799 ## ndn-content-object.h (module 'ndnSIM'): uint32_t ns3::ndn::ContentObject::GetSerializedSize() const [member function]
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08004800 cls.add_method('GetSerializedSize',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004801 'uint32_t',
4802 [],
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08004803 is_const=True, is_virtual=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07004804 ## ndn-content-object.h (module 'ndnSIM'): ns3::Time ns3::ndn::ContentObject::GetTimestamp() const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004805 cls.add_method('GetTimestamp',
4806 'ns3::Time',
4807 [],
4808 is_const=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07004809 ## ndn-content-object.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::ContentObject::GetTypeId() [member function]
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08004810 cls.add_method('GetTypeId',
4811 'ns3::TypeId',
4812 [],
4813 is_static=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07004814 ## ndn-content-object.h (module 'ndnSIM'): void ns3::ndn::ContentObject::Print(std::ostream & os) const [member function]
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08004815 cls.add_method('Print',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004816 'void',
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08004817 [param('std::ostream &', 'os')],
4818 is_const=True, is_virtual=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07004819 ## ndn-content-object.h (module 'ndnSIM'): void ns3::ndn::ContentObject::Serialize(ns3::Buffer::Iterator start) const [member function]
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08004820 cls.add_method('Serialize',
4821 'void',
4822 [param('ns3::Buffer::Iterator', 'start')],
4823 is_const=True, is_virtual=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07004824 ## ndn-content-object.h (module 'ndnSIM'): void ns3::ndn::ContentObject::SetFreshness(ns3::Time const & freshness) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004825 cls.add_method('SetFreshness',
4826 'void',
4827 [param('ns3::Time const &', 'freshness')])
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07004828 ## ndn-content-object.h (module 'ndnSIM'): void ns3::ndn::ContentObject::SetName(ns3::Ptr<ns3::ndn::Name> const & name) [member function]
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08004829 cls.add_method('SetName',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004830 'void',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07004831 [param('ns3::Ptr< ns3::ndn::Name > const &', 'name')])
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07004832 ## ndn-content-object.h (module 'ndnSIM'): void ns3::ndn::ContentObject::SetTimestamp(ns3::Time const & timestamp) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004833 cls.add_method('SetTimestamp',
4834 'void',
4835 [param('ns3::Time const &', 'timestamp')])
4836 return
4837
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07004838def register_Ns3NdnContentObjectException_methods(root_module, cls):
4839 ## ndn-content-object.h (module 'ndnSIM'): ns3::ndn::ContentObjectException::ContentObjectException() [constructor]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004840 cls.add_constructor([])
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07004841 ## ndn-content-object.h (module 'ndnSIM'): ns3::ndn::ContentObjectException::ContentObjectException(ns3::ndn::ContentObjectException const & arg0) [copy constructor]
4842 cls.add_constructor([param('ns3::ndn::ContentObjectException const &', 'arg0')])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004843 return
4844
4845def register_Ns3NdnContentObjectTail_methods(root_module, cls):
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08004846 ## ndn-content-object.h (module 'ndnSIM'): ns3::ndn::ContentObjectTail::ContentObjectTail(ns3::ndn::ContentObjectTail const & arg0) [copy constructor]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004847 cls.add_constructor([param('ns3::ndn::ContentObjectTail const &', 'arg0')])
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08004848 ## ndn-content-object.h (module 'ndnSIM'): ns3::ndn::ContentObjectTail::ContentObjectTail() [constructor]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004849 cls.add_constructor([])
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08004850 ## ndn-content-object.h (module 'ndnSIM'): uint32_t ns3::ndn::ContentObjectTail::Deserialize(ns3::Buffer::Iterator start) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004851 cls.add_method('Deserialize',
4852 'uint32_t',
4853 [param('ns3::Buffer::Iterator', 'start')],
4854 is_virtual=True)
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08004855 ## ndn-content-object.h (module 'ndnSIM'): ns3::TypeId ns3::ndn::ContentObjectTail::GetInstanceTypeId() const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004856 cls.add_method('GetInstanceTypeId',
4857 'ns3::TypeId',
4858 [],
4859 is_const=True, is_virtual=True)
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08004860 ## ndn-content-object.h (module 'ndnSIM'): uint32_t ns3::ndn::ContentObjectTail::GetSerializedSize() const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004861 cls.add_method('GetSerializedSize',
4862 'uint32_t',
4863 [],
4864 is_const=True, is_virtual=True)
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08004865 ## ndn-content-object.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::ContentObjectTail::GetTypeId() [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004866 cls.add_method('GetTypeId',
4867 'ns3::TypeId',
4868 [],
4869 is_static=True)
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08004870 ## ndn-content-object.h (module 'ndnSIM'): void ns3::ndn::ContentObjectTail::Print(std::ostream & os) const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004871 cls.add_method('Print',
4872 'void',
4873 [param('std::ostream &', 'os')],
4874 is_const=True, is_virtual=True)
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08004875 ## ndn-content-object.h (module 'ndnSIM'): void ns3::ndn::ContentObjectTail::Serialize(ns3::Buffer::Iterator start) const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004876 cls.add_method('Serialize',
4877 'void',
4878 [param('ns3::Buffer::Iterator', 'start')],
4879 is_const=True, is_virtual=True)
4880 return
4881
4882def register_Ns3NdnContentStore_methods(root_module, cls):
4883 cls.add_output_stream_operator()
4884 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::ContentStore::ContentStore() [constructor]
4885 cls.add_constructor([])
4886 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::ContentStore::ContentStore(ns3::ndn::ContentStore const & arg0) [copy constructor]
4887 cls.add_constructor([param('ns3::ndn::ContentStore const &', 'arg0')])
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07004888 ## ndn-content-store.h (module 'ndnSIM'): bool ns3::ndn::ContentStore::Add(ns3::Ptr<ns3::ndn::ContentObject const> header, ns3::Ptr<const ns3::Packet> packet) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004889 cls.add_method('Add',
4890 'bool',
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07004891 [param('ns3::Ptr< ns3::ndn::ContentObject const >', 'header'), param('ns3::Ptr< ns3::Packet const >', 'packet')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004892 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07004893 ## ndn-content-store.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::cs::Entry> ns3::ndn::ContentStore::Begin() [member function]
4894 cls.add_method('Begin',
4895 'ns3::Ptr< ns3::ndn::cs::Entry >',
4896 [],
4897 is_pure_virtual=True, is_virtual=True)
4898 ## ndn-content-store.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::cs::Entry> ns3::ndn::ContentStore::End() [member function]
4899 cls.add_method('End',
4900 'ns3::Ptr< ns3::ndn::cs::Entry >',
4901 [],
4902 is_pure_virtual=True, is_virtual=True)
4903 ## ndn-content-store.h (module 'ndnSIM'): static ns3::Ptr<ns3::ndn::ContentStore> ns3::ndn::ContentStore::GetContentStore(ns3::Ptr<ns3::Object> node) [member function]
4904 cls.add_method('GetContentStore',
4905 'ns3::Ptr< ns3::ndn::ContentStore >',
4906 [param('ns3::Ptr< ns3::Object >', 'node')],
4907 is_static=True)
4908 ## ndn-content-store.h (module 'ndnSIM'): uint32_t ns3::ndn::ContentStore::GetSize() const [member function]
4909 cls.add_method('GetSize',
4910 'uint32_t',
4911 [],
4912 is_pure_virtual=True, is_const=True, is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004913 ## ndn-content-store.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::ContentStore::GetTypeId() [member function]
4914 cls.add_method('GetTypeId',
4915 'ns3::TypeId',
4916 [],
4917 is_static=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07004918 ## ndn-content-store.h (module 'ndnSIM'): boost::tuples::tuple<ns3::Ptr<ns3::Packet>,ns3::Ptr<const ns3::ndn::ContentObject>,ns3::Ptr<const ns3::Packet>,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> ns3::ndn::ContentStore::Lookup(ns3::Ptr<ns3::ndn::Interest const> interest) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004919 cls.add_method('Lookup',
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07004920 'boost::tuples::tuple< ns3::Ptr< ns3::Packet >, ns3::Ptr< ns3::ndn::ContentObject const >, ns3::Ptr< ns3::Packet const >, 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 >',
4921 [param('ns3::Ptr< ns3::ndn::Interest const >', 'interest')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004922 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07004923 ## ndn-content-store.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::cs::Entry> ns3::ndn::ContentStore::Next(ns3::Ptr<ns3::ndn::cs::Entry> arg0) [member function]
4924 cls.add_method('Next',
4925 'ns3::Ptr< ns3::ndn::cs::Entry >',
4926 [param('ns3::Ptr< ns3::ndn::cs::Entry >', 'arg0')],
4927 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004928 ## ndn-content-store.h (module 'ndnSIM'): void ns3::ndn::ContentStore::Print(std::ostream & os) const [member function]
4929 cls.add_method('Print',
4930 'void',
4931 [param('std::ostream &', 'os')],
4932 is_pure_virtual=True, is_const=True, is_virtual=True)
4933 return
4934
4935def register_Ns3NdnFace_methods(root_module, cls):
4936 cls.add_output_stream_operator()
4937 cls.add_binary_comparison_operator('!=')
4938 cls.add_binary_comparison_operator('<')
4939 cls.add_binary_comparison_operator('==')
4940 ## ndn-face.h (module 'ndnSIM'): ns3::ndn::Face::Face(ns3::Ptr<ns3::Node> node) [constructor]
4941 cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node')])
4942 ## ndn-face.h (module 'ndnSIM'): uint32_t ns3::ndn::Face::GetId() const [member function]
4943 cls.add_method('GetId',
4944 'uint32_t',
4945 [],
4946 is_const=True)
4947 ## ndn-face.h (module 'ndnSIM'): uint16_t ns3::ndn::Face::GetMetric() const [member function]
4948 cls.add_method('GetMetric',
4949 'uint16_t',
4950 [],
4951 is_const=True, is_virtual=True)
4952 ## ndn-face.h (module 'ndnSIM'): ns3::Ptr<ns3::Node> ns3::ndn::Face::GetNode() const [member function]
4953 cls.add_method('GetNode',
4954 'ns3::Ptr< ns3::Node >',
4955 [],
4956 is_const=True)
4957 ## ndn-face.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::Face::GetTypeId() [member function]
4958 cls.add_method('GetTypeId',
4959 'ns3::TypeId',
4960 [],
4961 is_static=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004962 ## ndn-face.h (module 'ndnSIM'): bool ns3::ndn::Face::IsUp() const [member function]
4963 cls.add_method('IsUp',
4964 'bool',
4965 [],
4966 is_const=True, is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004967 ## ndn-face.h (module 'ndnSIM'): std::ostream & ns3::ndn::Face::Print(std::ostream & os) const [member function]
Alexander Afanasyev3073da82012-06-19 14:57:43 -07004968 cls.add_method('Print',
4969 'std::ostream &',
4970 [param('std::ostream &', 'os')],
4971 is_const=True, is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004972 ## ndn-face.h (module 'ndnSIM'): bool ns3::ndn::Face::Receive(ns3::Ptr<const ns3::Packet> const & p) [member function]
4973 cls.add_method('Receive',
4974 'bool',
4975 [param('ns3::Ptr< ns3::Packet const > const &', 'p')])
4976 ## ndn-face.h (module 'ndnSIM'): void ns3::ndn::Face::RegisterProtocolHandler(ns3::Callback<void, ns3::Ptr<ns3::ndn::Face> const&, ns3::Ptr<ns3::Packet const> const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> handler) [member function]
4977 cls.add_method('RegisterProtocolHandler',
4978 'void',
4979 [param('ns3::Callback< void, ns3::Ptr< ns3::ndn::Face >, ns3::Ptr< ns3::Packet const >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'handler')],
4980 is_virtual=True)
4981 ## ndn-face.h (module 'ndnSIM'): bool ns3::ndn::Face::Send(ns3::Ptr<ns3::Packet> p) [member function]
4982 cls.add_method('Send',
4983 'bool',
4984 [param('ns3::Ptr< ns3::Packet >', 'p')])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004985 ## ndn-face.h (module 'ndnSIM'): void ns3::ndn::Face::SetId(uint32_t id) [member function]
4986 cls.add_method('SetId',
4987 'void',
4988 [param('uint32_t', 'id')])
4989 ## ndn-face.h (module 'ndnSIM'): void ns3::ndn::Face::SetMetric(uint16_t metric) [member function]
4990 cls.add_method('SetMetric',
4991 'void',
4992 [param('uint16_t', 'metric')],
4993 is_virtual=True)
4994 ## ndn-face.h (module 'ndnSIM'): void ns3::ndn::Face::SetUp(bool up=true) [member function]
4995 cls.add_method('SetUp',
4996 'void',
4997 [param('bool', 'up', default_value='true')],
4998 is_virtual=True)
4999 ## ndn-face.h (module 'ndnSIM'): bool ns3::ndn::Face::SendImpl(ns3::Ptr<ns3::Packet> p) [member function]
5000 cls.add_method('SendImpl',
5001 'bool',
5002 [param('ns3::Ptr< ns3::Packet >', 'p')],
5003 is_pure_virtual=True, visibility='protected', is_virtual=True)
5004 return
5005
5006def register_Ns3NdnFaceContainer_methods(root_module, cls):
5007 ## ndn-face-container.h (module 'ndnSIM'): ns3::ndn::FaceContainer::FaceContainer() [constructor]
5008 cls.add_constructor([])
5009 ## ndn-face-container.h (module 'ndnSIM'): ns3::ndn::FaceContainer::FaceContainer(ns3::ndn::FaceContainer const & other) [copy constructor]
5010 cls.add_constructor([param('ns3::ndn::FaceContainer const &', 'other')])
5011 ## ndn-face-container.h (module 'ndnSIM'): void ns3::ndn::FaceContainer::Add(ns3::Ptr<ns3::ndn::Face> const & face) [member function]
5012 cls.add_method('Add',
5013 'void',
5014 [param('ns3::Ptr< ns3::ndn::Face > const &', 'face')])
5015 ## ndn-face-container.h (module 'ndnSIM'): void ns3::ndn::FaceContainer::AddAll(ns3::Ptr<ns3::ndn::FaceContainer> other) [member function]
5016 cls.add_method('AddAll',
5017 'void',
5018 [param('ns3::Ptr< ns3::ndn::FaceContainer >', 'other')])
5019 ## ndn-face-container.h (module 'ndnSIM'): void ns3::ndn::FaceContainer::AddAll(ns3::ndn::FaceContainer const & other) [member function]
5020 cls.add_method('AddAll',
5021 'void',
5022 [param('ns3::ndn::FaceContainer const &', 'other')])
5023 ## ndn-face-container.h (module 'ndnSIM'): __gnu_cxx::__normal_iterator<const ns3::Ptr<ns3::ndn::Face>*,std::vector<ns3::Ptr<ns3::ndn::Face>, std::allocator<ns3::Ptr<ns3::ndn::Face> > > > ns3::ndn::FaceContainer::Begin() const [member function]
5024 cls.add_method('Begin',
5025 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::ndn::Face > const, std::vector< ns3::Ptr< ns3::ndn::Face > > >',
5026 [],
5027 is_const=True)
5028 ## ndn-face-container.h (module 'ndnSIM'): __gnu_cxx::__normal_iterator<const ns3::Ptr<ns3::ndn::Face>*,std::vector<ns3::Ptr<ns3::ndn::Face>, std::allocator<ns3::Ptr<ns3::ndn::Face> > > > ns3::ndn::FaceContainer::End() const [member function]
5029 cls.add_method('End',
5030 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::ndn::Face > const, std::vector< ns3::Ptr< ns3::ndn::Face > > >',
5031 [],
5032 is_const=True)
5033 ## ndn-face-container.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::Face> ns3::ndn::FaceContainer::Get(__gnu_cxx::__normal_iterator<const ns3::Ptr<ns3::ndn::Face>*,std::vector<ns3::Ptr<ns3::ndn::Face>, std::allocator<ns3::Ptr<ns3::ndn::Face> > > > i) const [member function]
5034 cls.add_method('Get',
5035 'ns3::Ptr< ns3::ndn::Face >',
5036 [param('__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::ndn::Face > const, std::vector< ns3::Ptr< ns3::ndn::Face > > >', 'i')],
5037 is_const=True)
5038 ## ndn-face-container.h (module 'ndnSIM'): uint32_t ns3::ndn::FaceContainer::GetN() const [member function]
5039 cls.add_method('GetN',
5040 'uint32_t',
5041 [],
5042 is_const=True)
5043 return
5044
5045def register_Ns3NdnFib_methods(root_module, cls):
5046 cls.add_output_stream_operator()
5047 ## ndn-fib.h (module 'ndnSIM'): ns3::ndn::Fib::Fib() [constructor]
5048 cls.add_constructor([])
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005049 ## ndn-fib.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::fib::Entry> ns3::ndn::Fib::Add(ns3::ndn::Name const & prefix, ns3::Ptr<ns3::ndn::Face> face, int32_t metric) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005050 cls.add_method('Add',
5051 'ns3::Ptr< ns3::ndn::fib::Entry >',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005052 [param('ns3::ndn::Name const &', 'prefix'), param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('int32_t', 'metric')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005053 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005054 ## ndn-fib.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::fib::Entry> ns3::ndn::Fib::Add(ns3::Ptr<ns3::ndn::Name const> const & prefix, ns3::Ptr<ns3::ndn::Face> face, int32_t metric) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005055 cls.add_method('Add',
5056 'ns3::Ptr< ns3::ndn::fib::Entry >',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005057 [param('ns3::Ptr< ns3::ndn::Name const > const &', 'prefix'), param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('int32_t', 'metric')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005058 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005059 ## ndn-fib.h (module 'ndnSIM'): ns3::Ptr<const ns3::ndn::fib::Entry> ns3::ndn::Fib::Begin() const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005060 cls.add_method('Begin',
5061 'ns3::Ptr< ns3::ndn::fib::Entry const >',
5062 [],
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005063 is_pure_virtual=True, is_const=True, is_virtual=True)
5064 ## ndn-fib.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::fib::Entry> ns3::ndn::Fib::Begin() [member function]
5065 cls.add_method('Begin',
5066 'ns3::Ptr< ns3::ndn::fib::Entry >',
5067 [],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005068 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005069 ## ndn-fib.h (module 'ndnSIM'): ns3::Ptr<const ns3::ndn::fib::Entry> ns3::ndn::Fib::End() const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005070 cls.add_method('End',
5071 'ns3::Ptr< ns3::ndn::fib::Entry const >',
5072 [],
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005073 is_pure_virtual=True, is_const=True, is_virtual=True)
5074 ## ndn-fib.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::fib::Entry> ns3::ndn::Fib::End() [member function]
5075 cls.add_method('End',
5076 'ns3::Ptr< ns3::ndn::fib::Entry >',
5077 [],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005078 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyeve5a8b5a2013-03-15 15:15:26 -07005079 ## ndn-fib.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::fib::Entry> ns3::ndn::Fib::Find(ns3::ndn::Name const & prefix) [member function]
5080 cls.add_method('Find',
5081 'ns3::Ptr< ns3::ndn::fib::Entry >',
5082 [param('ns3::ndn::Name const &', 'prefix')],
5083 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005084 ## ndn-fib.h (module 'ndnSIM'): static ns3::Ptr<ns3::ndn::Fib> ns3::ndn::Fib::GetFib(ns3::Ptr<ns3::Object> node) [member function]
5085 cls.add_method('GetFib',
5086 'ns3::Ptr< ns3::ndn::Fib >',
5087 [param('ns3::Ptr< ns3::Object >', 'node')],
5088 is_static=True)
5089 ## ndn-fib.h (module 'ndnSIM'): uint32_t ns3::ndn::Fib::GetSize() const [member function]
5090 cls.add_method('GetSize',
5091 'uint32_t',
5092 [],
5093 is_pure_virtual=True, is_const=True, is_virtual=True)
5094 ## ndn-fib.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::Fib::GetTypeId() [member function]
5095 cls.add_method('GetTypeId',
5096 'ns3::TypeId',
5097 [],
5098 is_static=True)
5099 ## ndn-fib.h (module 'ndnSIM'): void ns3::ndn::Fib::InvalidateAll() [member function]
5100 cls.add_method('InvalidateAll',
5101 'void',
5102 [],
5103 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005104 ## ndn-fib.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::fib::Entry> ns3::ndn::Fib::LongestPrefixMatch(ns3::ndn::Interest const & interest) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005105 cls.add_method('LongestPrefixMatch',
5106 'ns3::Ptr< ns3::ndn::fib::Entry >',
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005107 [param('ns3::ndn::Interest const &', 'interest')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005108 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005109 ## ndn-fib.h (module 'ndnSIM'): ns3::Ptr<const ns3::ndn::fib::Entry> ns3::ndn::Fib::Next(ns3::Ptr<const ns3::ndn::fib::Entry> arg0) const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005110 cls.add_method('Next',
5111 'ns3::Ptr< ns3::ndn::fib::Entry const >',
5112 [param('ns3::Ptr< ns3::ndn::fib::Entry const >', 'arg0')],
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005113 is_pure_virtual=True, is_const=True, is_virtual=True)
5114 ## ndn-fib.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::fib::Entry> ns3::ndn::Fib::Next(ns3::Ptr<ns3::ndn::fib::Entry> arg0) [member function]
5115 cls.add_method('Next',
5116 'ns3::Ptr< ns3::ndn::fib::Entry >',
5117 [param('ns3::Ptr< ns3::ndn::fib::Entry >', 'arg0')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005118 is_pure_virtual=True, is_virtual=True)
5119 ## ndn-fib.h (module 'ndnSIM'): void ns3::ndn::Fib::Print(std::ostream & os) const [member function]
5120 cls.add_method('Print',
5121 'void',
5122 [param('std::ostream &', 'os')],
5123 is_pure_virtual=True, is_const=True, is_virtual=True)
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005124 ## ndn-fib.h (module 'ndnSIM'): void ns3::ndn::Fib::Remove(ns3::Ptr<ns3::ndn::Name const> const & prefix) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005125 cls.add_method('Remove',
5126 'void',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005127 [param('ns3::Ptr< ns3::ndn::Name const > const &', 'prefix')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005128 is_pure_virtual=True, is_virtual=True)
5129 ## ndn-fib.h (module 'ndnSIM'): void ns3::ndn::Fib::RemoveFromAll(ns3::Ptr<ns3::ndn::Face> face) [member function]
5130 cls.add_method('RemoveFromAll',
5131 'void',
5132 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
5133 is_pure_virtual=True, is_virtual=True)
5134 return
5135
5136def register_Ns3NdnForwardingStrategy_methods(root_module, cls):
5137 ## ndn-forwarding-strategy.h (module 'ndnSIM'): ns3::ndn::ForwardingStrategy::ForwardingStrategy(ns3::ndn::ForwardingStrategy const & arg0) [copy constructor]
5138 cls.add_constructor([param('ns3::ndn::ForwardingStrategy const &', 'arg0')])
5139 ## ndn-forwarding-strategy.h (module 'ndnSIM'): ns3::ndn::ForwardingStrategy::ForwardingStrategy() [constructor]
5140 cls.add_constructor([])
Alexander Afanasyevf5c07742012-10-31 13:13:05 -07005141 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::AddFace(ns3::Ptr<ns3::ndn::Face> face) [member function]
5142 cls.add_method('AddFace',
5143 'void',
5144 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
5145 is_virtual=True)
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005146 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DidAddFibEntry(ns3::Ptr<ns3::ndn::fib::Entry> fibEntry) [member function]
5147 cls.add_method('DidAddFibEntry',
5148 'void',
5149 [param('ns3::Ptr< ns3::ndn::fib::Entry >', 'fibEntry')],
5150 is_virtual=True)
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005151 ## ndn-forwarding-strategy.h (module 'ndnSIM'): static std::string ns3::ndn::ForwardingStrategy::GetLogName() [member function]
5152 cls.add_method('GetLogName',
5153 'std::string',
5154 [],
5155 is_static=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005156 ## ndn-forwarding-strategy.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::ForwardingStrategy::GetTypeId() [member function]
5157 cls.add_method('GetTypeId',
5158 'ns3::TypeId',
5159 [],
5160 is_static=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005161 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::OnData(ns3::Ptr<ns3::ndn::Face> face, ns3::Ptr<ns3::ndn::ContentObject const> header, ns3::Ptr<ns3::Packet> payload, ns3::Ptr<const ns3::Packet> origPacket) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005162 cls.add_method('OnData',
5163 'void',
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005164 [param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('ns3::Ptr< ns3::ndn::ContentObject const >', 'header'), param('ns3::Ptr< ns3::Packet >', 'payload'), param('ns3::Ptr< ns3::Packet const >', 'origPacket')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005165 is_virtual=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005166 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::OnInterest(ns3::Ptr<ns3::ndn::Face> face, ns3::Ptr<ns3::ndn::Interest const> header, ns3::Ptr<const ns3::Packet> origPacket) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005167 cls.add_method('OnInterest',
5168 'void',
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005169 [param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('ns3::Ptr< ns3::ndn::Interest const >', 'header'), param('ns3::Ptr< ns3::Packet const >', 'origPacket')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005170 is_virtual=True)
5171 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::RemoveFace(ns3::Ptr<ns3::ndn::Face> face) [member function]
5172 cls.add_method('RemoveFace',
5173 'void',
5174 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
5175 is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005176 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::WillEraseTimedOutPendingInterest(ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
5177 cls.add_method('WillEraseTimedOutPendingInterest',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005178 'void',
5179 [param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
5180 is_virtual=True)
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005181 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::WillRemoveFibEntry(ns3::Ptr<ns3::ndn::fib::Entry> fibEntry) [member function]
5182 cls.add_method('WillRemoveFibEntry',
5183 'void',
5184 [param('ns3::Ptr< ns3::ndn::fib::Entry >', 'fibEntry')],
5185 is_virtual=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005186 ## ndn-forwarding-strategy.h (module 'ndnSIM'): bool ns3::ndn::ForwardingStrategy::CanSendOutInterest(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::Face> outFace, ns3::Ptr<ns3::ndn::Interest const> header, ns3::Ptr<const ns3::Packet> origPacket, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08005187 cls.add_method('CanSendOutInterest',
5188 'bool',
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005189 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::Face >', 'outFace'), param('ns3::Ptr< ns3::ndn::Interest const >', 'header'), param('ns3::Ptr< ns3::Packet const >', 'origPacket'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08005190 visibility='protected', is_virtual=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005191 ## ndn-forwarding-strategy.h (module 'ndnSIM'): bool ns3::ndn::ForwardingStrategy::DetectRetransmittedInterest(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::Interest const> header, ns3::Ptr<const ns3::Packet> origPacket, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005192 cls.add_method('DetectRetransmittedInterest',
5193 'bool',
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005194 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::Interest const >', 'header'), param('ns3::Ptr< ns3::Packet const >', 'origPacket'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005195 visibility='protected', is_virtual=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005196 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DidCreatePitEntry(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::Interest const> header, ns3::Ptr<const ns3::Packet> origPacket, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005197 cls.add_method('DidCreatePitEntry',
5198 'void',
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005199 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::Interest const >', 'header'), param('ns3::Ptr< ns3::Packet const >', 'origPacket'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005200 visibility='protected', is_virtual=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005201 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DidExhaustForwardingOptions(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::Interest const> header, ns3::Ptr<const ns3::Packet> origPacket, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005202 cls.add_method('DidExhaustForwardingOptions',
5203 'void',
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005204 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::Interest const >', 'header'), param('ns3::Ptr< ns3::Packet const >', 'origPacket'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005205 visibility='protected', is_virtual=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005206 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DidForwardSimilarInterest(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::Interest const> header, ns3::Ptr<const ns3::Packet> origPacket, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07005207 cls.add_method('DidForwardSimilarInterest',
5208 'void',
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005209 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::Interest const >', 'header'), param('ns3::Ptr< ns3::Packet const >', 'origPacket'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07005210 visibility='protected', is_virtual=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005211 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DidReceiveDuplicateInterest(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::Interest const> header, ns3::Ptr<const ns3::Packet> origPacket, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005212 cls.add_method('DidReceiveDuplicateInterest',
5213 'void',
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005214 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::Interest const >', 'header'), param('ns3::Ptr< ns3::Packet const >', 'origPacket'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005215 visibility='protected', is_virtual=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005216 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DidReceiveSolicitedData(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::ContentObject const> header, ns3::Ptr<const ns3::Packet> payload, ns3::Ptr<const ns3::Packet> origPacket, bool didCreateCacheEntry) [member function]
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005217 cls.add_method('DidReceiveSolicitedData',
5218 'void',
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005219 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::ContentObject const >', 'header'), param('ns3::Ptr< ns3::Packet const >', 'payload'), param('ns3::Ptr< ns3::Packet const >', 'origPacket'), param('bool', 'didCreateCacheEntry')],
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005220 visibility='protected', is_virtual=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005221 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DidReceiveUnsolicitedData(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::ContentObject const> header, ns3::Ptr<const ns3::Packet> payload, ns3::Ptr<const ns3::Packet> origPacket, bool didCreateCacheEntry) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005222 cls.add_method('DidReceiveUnsolicitedData',
5223 'void',
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005224 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::ContentObject const >', 'header'), param('ns3::Ptr< ns3::Packet const >', 'payload'), param('ns3::Ptr< ns3::Packet const >', 'origPacket'), param('bool', 'didCreateCacheEntry')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005225 visibility='protected', is_virtual=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005226 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DidSendOutData(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::Face> outFace, ns3::Ptr<ns3::ndn::ContentObject const> header, ns3::Ptr<const ns3::Packet> payload, ns3::Ptr<const ns3::Packet> origPacket, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005227 cls.add_method('DidSendOutData',
5228 'void',
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005229 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::Face >', 'outFace'), param('ns3::Ptr< ns3::ndn::ContentObject const >', 'header'), param('ns3::Ptr< ns3::Packet const >', 'payload'), param('ns3::Ptr< ns3::Packet const >', 'origPacket'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005230 visibility='protected', is_virtual=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005231 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DidSendOutInterest(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::Face> outFace, ns3::Ptr<ns3::ndn::Interest const> header, ns3::Ptr<const ns3::Packet> origPacket, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005232 cls.add_method('DidSendOutInterest',
5233 'void',
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005234 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::Face >', 'outFace'), param('ns3::Ptr< ns3::ndn::Interest const >', 'header'), param('ns3::Ptr< ns3::Packet const >', 'origPacket'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005235 visibility='protected', is_virtual=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005236 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DidSuppressSimilarInterest(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::Interest const> header, ns3::Ptr<const ns3::Packet> origPacket, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07005237 cls.add_method('DidSuppressSimilarInterest',
5238 'void',
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005239 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::Interest const >', 'header'), param('ns3::Ptr< ns3::Packet const >', 'origPacket'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07005240 visibility='protected', is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005241 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DoDispose() [member function]
5242 cls.add_method('DoDispose',
5243 'void',
5244 [],
5245 visibility='protected', is_virtual=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005246 ## ndn-forwarding-strategy.h (module 'ndnSIM'): bool ns3::ndn::ForwardingStrategy::DoPropagateInterest(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::Interest const> header, ns3::Ptr<const ns3::Packet> origPacket, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005247 cls.add_method('DoPropagateInterest',
5248 'bool',
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005249 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::Interest const >', 'header'), param('ns3::Ptr< ns3::Packet const >', 'origPacket'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005250 is_pure_virtual=True, visibility='protected', is_virtual=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005251 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::FailedToCreatePitEntry(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::Interest const> header, ns3::Ptr<const ns3::Packet> origPacket) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005252 cls.add_method('FailedToCreatePitEntry',
5253 'void',
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005254 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::Interest const >', 'header'), param('ns3::Ptr< ns3::Packet const >', 'origPacket')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005255 visibility='protected', is_virtual=True)
5256 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::NotifyNewAggregate() [member function]
5257 cls.add_method('NotifyNewAggregate',
5258 'void',
5259 [],
5260 visibility='protected', is_virtual=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005261 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::PropagateInterest(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::Interest const> header, ns3::Ptr<const ns3::Packet> origPacket, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005262 cls.add_method('PropagateInterest',
5263 'void',
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005264 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::Interest const >', 'header'), param('ns3::Ptr< ns3::Packet const >', 'origPacket'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005265 visibility='protected', is_virtual=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005266 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::SatisfyPendingInterest(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::ContentObject const> header, ns3::Ptr<const ns3::Packet> payload, ns3::Ptr<const ns3::Packet> origPacket, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005267 cls.add_method('SatisfyPendingInterest',
5268 'void',
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005269 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::ContentObject const >', 'header'), param('ns3::Ptr< ns3::Packet const >', 'payload'), param('ns3::Ptr< ns3::Packet const >', 'origPacket'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005270 visibility='protected', is_virtual=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005271 ## ndn-forwarding-strategy.h (module 'ndnSIM'): bool ns3::ndn::ForwardingStrategy::ShouldSuppressIncomingInterest(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::Interest const> header, ns3::Ptr<const ns3::Packet> origPacket, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005272 cls.add_method('ShouldSuppressIncomingInterest',
5273 'bool',
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005274 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::Interest const >', 'header'), param('ns3::Ptr< ns3::Packet const >', 'origPacket'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005275 visibility='protected', is_virtual=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005276 ## ndn-forwarding-strategy.h (module 'ndnSIM'): bool ns3::ndn::ForwardingStrategy::TrySendOutInterest(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::Face> outFace, ns3::Ptr<ns3::ndn::Interest const> header, ns3::Ptr<const ns3::Packet> origPacket, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005277 cls.add_method('TrySendOutInterest',
5278 'bool',
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005279 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::Face >', 'outFace'), param('ns3::Ptr< ns3::ndn::Interest const >', 'header'), param('ns3::Ptr< ns3::Packet const >', 'origPacket'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005280 visibility='protected', is_virtual=True)
5281 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::WillSatisfyPendingInterest(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005282 cls.add_method('WillSatisfyPendingInterest',
5283 'void',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005284 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005285 visibility='protected', is_virtual=True)
5286 return
5287
5288def register_Ns3NdnGlobalRoutingHelper_methods(root_module, cls):
5289 ## ndn-global-routing-helper.h (module 'ndnSIM'): ns3::ndn::GlobalRoutingHelper::GlobalRoutingHelper() [constructor]
5290 cls.add_constructor([])
5291 ## ndn-global-routing-helper.h (module 'ndnSIM'): ns3::ndn::GlobalRoutingHelper::GlobalRoutingHelper(ns3::ndn::GlobalRoutingHelper const & arg0) [copy constructor]
5292 cls.add_constructor([param('ns3::ndn::GlobalRoutingHelper const &', 'arg0')])
5293 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::AddOrigin(std::string const & prefix, ns3::Ptr<ns3::Node> node) [member function]
5294 cls.add_method('AddOrigin',
5295 'void',
5296 [param('std::string const &', 'prefix'), param('ns3::Ptr< ns3::Node >', 'node')])
5297 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::AddOrigin(std::string const & prefix, std::string const & nodeName) [member function]
5298 cls.add_method('AddOrigin',
5299 'void',
5300 [param('std::string const &', 'prefix'), param('std::string const &', 'nodeName')])
5301 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::AddOrigins(std::string const & prefix, ns3::NodeContainer const & nodes) [member function]
5302 cls.add_method('AddOrigins',
5303 'void',
5304 [param('std::string const &', 'prefix'), param('ns3::NodeContainer const &', 'nodes')])
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005305 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::AddOriginsForAll() [member function]
5306 cls.add_method('AddOriginsForAll',
5307 'void',
5308 [])
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -07005309 ## ndn-global-routing-helper.h (module 'ndnSIM'): static void ns3::ndn::GlobalRoutingHelper::CalculateAllPossibleRoutes() [member function]
5310 cls.add_method('CalculateAllPossibleRoutes',
5311 'void',
5312 [],
5313 is_static=True)
5314 ## ndn-global-routing-helper.h (module 'ndnSIM'): static void ns3::ndn::GlobalRoutingHelper::CalculateRoutes() [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005315 cls.add_method('CalculateRoutes',
5316 'void',
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -07005317 [],
5318 is_static=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005319 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::Install(ns3::Ptr<ns3::Node> node) [member function]
5320 cls.add_method('Install',
5321 'void',
5322 [param('ns3::Ptr< ns3::Node >', 'node')])
5323 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::Install(ns3::NodeContainer const & nodes) [member function]
5324 cls.add_method('Install',
5325 'void',
5326 [param('ns3::NodeContainer const &', 'nodes')])
5327 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::InstallAll() [member function]
5328 cls.add_method('InstallAll',
5329 'void',
5330 [])
5331 return
5332
5333def register_Ns3NdnHeaderHelper_methods(root_module, cls):
5334 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::HeaderHelper::HeaderHelper() [constructor]
5335 cls.add_constructor([])
5336 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::HeaderHelper::HeaderHelper(ns3::ndn::HeaderHelper const & arg0) [copy constructor]
5337 cls.add_constructor([param('ns3::ndn::HeaderHelper const &', 'arg0')])
Alexander Afanasyeve5a8b5a2013-03-15 15:15:26 -07005338 ## ndn-header-helper.h (module 'ndnSIM'): static ns3::Ptr<ns3::ndn::Name const> ns3::ndn::HeaderHelper::GetName(ns3::Ptr<const ns3::Packet> packet) [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005339 cls.add_method('GetName',
5340 'ns3::Ptr< ns3::ndn::Name const >',
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005341 [param('ns3::Ptr< ns3::Packet const >', 'packet')],
5342 is_static=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005343 ## ndn-header-helper.h (module 'ndnSIM'): static ns3::ndn::HeaderHelper::Type ns3::ndn::HeaderHelper::GetNdnHeaderType(ns3::Ptr<const ns3::Packet> packet) [member function]
5344 cls.add_method('GetNdnHeaderType',
5345 'ns3::ndn::HeaderHelper::Type',
5346 [param('ns3::Ptr< ns3::Packet const >', 'packet')],
5347 is_static=True)
5348 return
5349
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005350def register_Ns3NdnInterest_methods(root_module, cls):
5351 ## ndn-interest.h (module 'ndnSIM'): ns3::ndn::Interest::Interest() [constructor]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005352 cls.add_constructor([])
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005353 ## ndn-interest.h (module 'ndnSIM'): ns3::ndn::Interest::Interest(ns3::ndn::Interest const & interest) [copy constructor]
5354 cls.add_constructor([param('ns3::ndn::Interest const &', 'interest')])
5355 ## ndn-interest.h (module 'ndnSIM'): uint32_t ns3::ndn::Interest::Deserialize(ns3::Buffer::Iterator start) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005356 cls.add_method('Deserialize',
5357 'uint32_t',
5358 [param('ns3::Buffer::Iterator', 'start')],
5359 is_virtual=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005360 ## ndn-interest.h (module 'ndnSIM'): ns3::TypeId ns3::ndn::Interest::GetInstanceTypeId() const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005361 cls.add_method('GetInstanceTypeId',
5362 'ns3::TypeId',
5363 [],
5364 is_const=True, is_virtual=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005365 ## ndn-interest.h (module 'ndnSIM'): static ns3::Ptr<ns3::ndn::Interest> ns3::ndn::Interest::GetInterest(ns3::Ptr<ns3::Packet> packet) [member function]
Alexander Afanasyev663d63f2012-09-09 11:55:36 -07005366 cls.add_method('GetInterest',
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005367 'ns3::Ptr< ns3::ndn::Interest >',
Alexander Afanasyev663d63f2012-09-09 11:55:36 -07005368 [param('ns3::Ptr< ns3::Packet >', 'packet')],
5369 is_static=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005370 ## ndn-interest.h (module 'ndnSIM'): ns3::Time ns3::ndn::Interest::GetInterestLifetime() const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005371 cls.add_method('GetInterestLifetime',
5372 'ns3::Time',
5373 [],
5374 is_const=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005375 ## ndn-interest.h (module 'ndnSIM'): uint8_t ns3::ndn::Interest::GetNack() const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005376 cls.add_method('GetNack',
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005377 'uint8_t',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005378 [],
5379 is_const=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005380 ## ndn-interest.h (module 'ndnSIM'): ns3::ndn::Name const & ns3::ndn::Interest::GetName() const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005381 cls.add_method('GetName',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005382 'ns3::ndn::Name const &',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005383 [],
5384 is_const=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005385 ## ndn-interest.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::Name const> ns3::ndn::Interest::GetNamePtr() const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005386 cls.add_method('GetNamePtr',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005387 'ns3::Ptr< ns3::ndn::Name const >',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005388 [],
5389 is_const=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005390 ## ndn-interest.h (module 'ndnSIM'): uint32_t ns3::ndn::Interest::GetNonce() const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005391 cls.add_method('GetNonce',
5392 'uint32_t',
5393 [],
5394 is_const=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005395 ## ndn-interest.h (module 'ndnSIM'): int8_t ns3::ndn::Interest::GetScope() const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005396 cls.add_method('GetScope',
5397 'int8_t',
5398 [],
5399 is_const=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005400 ## ndn-interest.h (module 'ndnSIM'): uint32_t ns3::ndn::Interest::GetSerializedSize() const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005401 cls.add_method('GetSerializedSize',
5402 'uint32_t',
5403 [],
5404 is_const=True, is_virtual=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005405 ## ndn-interest.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::Interest::GetTypeId() [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005406 cls.add_method('GetTypeId',
5407 'ns3::TypeId',
5408 [],
5409 is_static=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005410 ## ndn-interest.h (module 'ndnSIM'): void ns3::ndn::Interest::Print(std::ostream & os) const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005411 cls.add_method('Print',
5412 'void',
5413 [param('std::ostream &', 'os')],
5414 is_const=True, is_virtual=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005415 ## ndn-interest.h (module 'ndnSIM'): void ns3::ndn::Interest::Serialize(ns3::Buffer::Iterator start) const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005416 cls.add_method('Serialize',
5417 'void',
5418 [param('ns3::Buffer::Iterator', 'start')],
5419 is_const=True, is_virtual=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005420 ## ndn-interest.h (module 'ndnSIM'): void ns3::ndn::Interest::SetInterestLifetime(ns3::Time time) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005421 cls.add_method('SetInterestLifetime',
5422 'void',
5423 [param('ns3::Time', 'time')])
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005424 ## ndn-interest.h (module 'ndnSIM'): void ns3::ndn::Interest::SetNack(uint8_t nackType) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005425 cls.add_method('SetNack',
5426 'void',
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005427 [param('uint8_t', 'nackType')])
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005428 ## ndn-interest.h (module 'ndnSIM'): void ns3::ndn::Interest::SetName(ns3::Ptr<ns3::ndn::Name> name) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005429 cls.add_method('SetName',
5430 'void',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005431 [param('ns3::Ptr< ns3::ndn::Name >', 'name')])
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005432 ## ndn-interest.h (module 'ndnSIM'): void ns3::ndn::Interest::SetNonce(uint32_t nonce) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005433 cls.add_method('SetNonce',
5434 'void',
5435 [param('uint32_t', 'nonce')])
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005436 ## ndn-interest.h (module 'ndnSIM'): void ns3::ndn::Interest::SetScope(int8_t scope) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005437 cls.add_method('SetScope',
5438 'void',
5439 [param('int8_t', 'scope')])
5440 return
5441
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005442def register_Ns3NdnInterestException_methods(root_module, cls):
5443 ## ndn-interest.h (module 'ndnSIM'): ns3::ndn::InterestException::InterestException() [constructor]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005444 cls.add_constructor([])
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005445 ## ndn-interest.h (module 'ndnSIM'): ns3::ndn::InterestException::InterestException(ns3::ndn::InterestException const & arg0) [copy constructor]
5446 cls.add_constructor([param('ns3::ndn::InterestException const &', 'arg0')])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005447 return
5448
5449def register_Ns3NdnL3Protocol_methods(root_module, cls):
5450 ## ndn-l3-protocol.h (module 'ndnSIM'): ns3::ndn::L3Protocol::ETHERNET_FRAME_TYPE [variable]
5451 cls.add_static_attribute('ETHERNET_FRAME_TYPE', 'uint16_t const', is_const=True)
5452 ## ndn-l3-protocol.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::L3Protocol::GetTypeId() [member function]
5453 cls.add_method('GetTypeId',
5454 'ns3::TypeId',
5455 [],
5456 is_static=True)
5457 ## ndn-l3-protocol.h (module 'ndnSIM'): ns3::ndn::L3Protocol::L3Protocol() [constructor]
5458 cls.add_constructor([])
5459 ## ndn-l3-protocol.h (module 'ndnSIM'): uint32_t ns3::ndn::L3Protocol::AddFace(ns3::Ptr<ns3::ndn::Face> const & face) [member function]
5460 cls.add_method('AddFace',
5461 'uint32_t',
5462 [param('ns3::Ptr< ns3::ndn::Face > const &', 'face')],
5463 is_virtual=True)
5464 ## ndn-l3-protocol.h (module 'ndnSIM'): uint32_t ns3::ndn::L3Protocol::GetNFaces() const [member function]
5465 cls.add_method('GetNFaces',
5466 'uint32_t',
5467 [],
5468 is_const=True, is_virtual=True)
5469 ## ndn-l3-protocol.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::Face> ns3::ndn::L3Protocol::GetFace(uint32_t face) const [member function]
5470 cls.add_method('GetFace',
5471 'ns3::Ptr< ns3::ndn::Face >',
5472 [param('uint32_t', 'face')],
5473 is_const=True, is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005474 ## ndn-l3-protocol.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::Face> ns3::ndn::L3Protocol::GetFaceById(uint32_t face) const [member function]
5475 cls.add_method('GetFaceById',
5476 'ns3::Ptr< ns3::ndn::Face >',
5477 [param('uint32_t', 'face')],
5478 is_const=True, is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005479 ## ndn-l3-protocol.h (module 'ndnSIM'): void ns3::ndn::L3Protocol::RemoveFace(ns3::Ptr<ns3::ndn::Face> face) [member function]
5480 cls.add_method('RemoveFace',
5481 'void',
5482 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
5483 is_virtual=True)
5484 ## ndn-l3-protocol.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::Face> ns3::ndn::L3Protocol::GetFaceByNetDevice(ns3::Ptr<ns3::NetDevice> netDevice) const [member function]
5485 cls.add_method('GetFaceByNetDevice',
5486 'ns3::Ptr< ns3::ndn::Face >',
5487 [param('ns3::Ptr< ns3::NetDevice >', 'netDevice')],
5488 is_const=True, is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005489 ## ndn-l3-protocol.h (module 'ndnSIM'): static uint64_t ns3::ndn::L3Protocol::GetInterestCounter() [member function]
5490 cls.add_method('GetInterestCounter',
5491 'uint64_t',
5492 [],
5493 is_static=True)
5494 ## ndn-l3-protocol.h (module 'ndnSIM'): static uint64_t ns3::ndn::L3Protocol::GetDataCounter() [member function]
5495 cls.add_method('GetDataCounter',
5496 'uint64_t',
5497 [],
5498 is_static=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005499 ## ndn-l3-protocol.h (module 'ndnSIM'): void ns3::ndn::L3Protocol::DoDispose() [member function]
5500 cls.add_method('DoDispose',
5501 'void',
5502 [],
5503 visibility='protected', is_virtual=True)
5504 ## ndn-l3-protocol.h (module 'ndnSIM'): void ns3::ndn::L3Protocol::NotifyNewAggregate() [member function]
5505 cls.add_method('NotifyNewAggregate',
5506 'void',
5507 [],
5508 visibility='protected', is_virtual=True)
5509 return
5510
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005511def register_Ns3NdnLimits_methods(root_module, cls):
5512 ## ndn-limits.h (module 'ndnSIM'): ns3::ndn::Limits::Limits(ns3::ndn::Limits const & arg0) [copy constructor]
5513 cls.add_constructor([param('ns3::ndn::Limits const &', 'arg0')])
5514 ## ndn-limits.h (module 'ndnSIM'): ns3::ndn::Limits::Limits() [constructor]
5515 cls.add_constructor([])
Alexander Afanasyev7e4235a2012-10-31 16:58:44 -07005516 ## ndn-limits.h (module 'ndnSIM'): void ns3::ndn::Limits::BorrowLimit() [member function]
5517 cls.add_method('BorrowLimit',
5518 'void',
5519 [],
5520 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevf5c07742012-10-31 13:13:05 -07005521 ## ndn-limits.h (module 'ndnSIM'): double ns3::ndn::Limits::GetCurrentLimit() const [member function]
5522 cls.add_method('GetCurrentLimit',
5523 'double',
5524 [],
Alexander Afanasyev7e4235a2012-10-31 16:58:44 -07005525 is_pure_virtual=True, is_const=True, is_virtual=True)
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08005526 ## ndn-limits.h (module 'ndnSIM'): double ns3::ndn::Limits::GetCurrentLimitRate() const [member function]
5527 cls.add_method('GetCurrentLimitRate',
5528 'double',
5529 [],
5530 is_pure_virtual=True, is_const=True, is_virtual=True)
5531 ## ndn-limits.h (module 'ndnSIM'): double ns3::ndn::Limits::GetLinkDelay() const [member function]
5532 cls.add_method('GetLinkDelay',
5533 'double',
5534 [],
5535 is_const=True, is_virtual=True)
Alexander Afanasyev7e4235a2012-10-31 16:58:44 -07005536 ## ndn-limits.h (module 'ndnSIM'): double ns3::ndn::Limits::GetMaxDelay() const [member function]
5537 cls.add_method('GetMaxDelay',
5538 'double',
5539 [],
5540 is_const=True, is_virtual=True)
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08005541 ## ndn-limits.h (module 'ndnSIM'): double ns3::ndn::Limits::GetMaxLimit() const [member function]
5542 cls.add_method('GetMaxLimit',
5543 'double',
5544 [],
5545 is_pure_virtual=True, is_const=True, is_virtual=True)
Alexander Afanasyev7e4235a2012-10-31 16:58:44 -07005546 ## ndn-limits.h (module 'ndnSIM'): double ns3::ndn::Limits::GetMaxRate() const [member function]
5547 cls.add_method('GetMaxRate',
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07005548 'double',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005549 [],
Alexander Afanasyevf5c07742012-10-31 13:13:05 -07005550 is_const=True, is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005551 ## ndn-limits.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::Limits::GetTypeId() [member function]
5552 cls.add_method('GetTypeId',
5553 'ns3::TypeId',
5554 [],
5555 is_static=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005556 ## ndn-limits.h (module 'ndnSIM'): bool ns3::ndn::Limits::IsBelowLimit() [member function]
5557 cls.add_method('IsBelowLimit',
5558 'bool',
Alexander Afanasyevf5c07742012-10-31 13:13:05 -07005559 [],
5560 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005561 ## ndn-limits.h (module 'ndnSIM'): bool ns3::ndn::Limits::IsEnabled() const [member function]
5562 cls.add_method('IsEnabled',
5563 'bool',
5564 [],
Alexander Afanasyevf5c07742012-10-31 13:13:05 -07005565 is_const=True, is_virtual=True)
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08005566 ## ndn-limits.h (module 'ndnSIM'): void ns3::ndn::Limits::RegisterAvailableSlotCallback(ns3::Callback<void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> handler) [member function]
5567 cls.add_method('RegisterAvailableSlotCallback',
5568 'void',
5569 [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'handler')])
Alexander Afanasyev7e4235a2012-10-31 16:58:44 -07005570 ## ndn-limits.h (module 'ndnSIM'): void ns3::ndn::Limits::ReturnLimit() [member function]
5571 cls.add_method('ReturnLimit',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005572 'void',
Alexander Afanasyev7e4235a2012-10-31 16:58:44 -07005573 [],
5574 is_pure_virtual=True, is_virtual=True)
5575 ## ndn-limits.h (module 'ndnSIM'): void ns3::ndn::Limits::SetLimits(double rate, double delay) [member function]
5576 cls.add_method('SetLimits',
5577 'void',
5578 [param('double', 'rate'), param('double', 'delay')],
Alexander Afanasyevf5c07742012-10-31 13:13:05 -07005579 is_virtual=True)
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08005580 ## ndn-limits.h (module 'ndnSIM'): void ns3::ndn::Limits::SetLinkDelay(double delay) [member function]
5581 cls.add_method('SetLinkDelay',
5582 'void',
5583 [param('double', 'delay')],
5584 is_virtual=True)
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07005585 ## ndn-limits.h (module 'ndnSIM'): void ns3::ndn::Limits::UpdateCurrentLimit(double limit) [member function]
5586 cls.add_method('UpdateCurrentLimit',
5587 'void',
Alexander Afanasyev7e4235a2012-10-31 16:58:44 -07005588 [param('double', 'limit')],
5589 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08005590 ## ndn-limits.h (module 'ndnSIM'): void ns3::ndn::Limits::FireAvailableSlotCallback() [member function]
5591 cls.add_method('FireAvailableSlotCallback',
5592 'void',
5593 [],
5594 visibility='protected')
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005595 return
5596
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005597def register_Ns3NdnName_methods(root_module, cls):
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005598 cls.add_output_stream_operator()
5599 cls.add_binary_comparison_operator('<')
5600 cls.add_binary_comparison_operator('==')
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005601 ## ndn-name.h (module 'ndnSIM'): ns3::ndn::Name::Name(ns3::ndn::Name const & arg0) [copy constructor]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005602 cls.add_constructor([param('ns3::ndn::Name const &', 'arg0')])
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005603 ## ndn-name.h (module 'ndnSIM'): ns3::ndn::Name::Name() [constructor]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005604 cls.add_constructor([])
Alexander Afanasyeve5a8b5a2013-03-15 15:15:26 -07005605 ## ndn-name.h (module 'ndnSIM'): ns3::ndn::Name::Name(std::list<boost::reference_wrapper<const std::basic_string<char, std::char_traits<char>, std::allocator<char> > >,std::allocator<boost::reference_wrapper<const std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > const & components) [constructor]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005606 cls.add_constructor([param('std::list< boost::reference_wrapper< std::string const > > const &', 'components')])
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005607 ## ndn-name.h (module 'ndnSIM'): ns3::ndn::Name::Name(std::string const & prefix) [constructor]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005608 cls.add_constructor([param('std::string const &', 'prefix')])
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005609 ## ndn-name.h (module 'ndnSIM'): ns3::ndn::Name::Name(char const * prefix) [constructor]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005610 cls.add_constructor([param('char const *', 'prefix')])
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005611 ## ndn-name.h (module 'ndnSIM'): uint32_t ns3::ndn::Name::Deserialize(ns3::Buffer::Iterator start) [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005612 cls.add_method('Deserialize',
5613 'uint32_t',
5614 [param('ns3::Buffer::Iterator', 'start')])
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005615 ## ndn-name.h (module 'ndnSIM'): std::list<std::string, std::allocator<std::string> > const & ns3::ndn::Name::GetComponents() const [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005616 cls.add_method('GetComponents',
5617 'std::list< std::string > const &',
5618 [],
5619 is_const=True)
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005620 ## ndn-name.h (module 'ndnSIM'): std::string ns3::ndn::Name::GetLastComponent() const [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005621 cls.add_method('GetLastComponent',
5622 'std::string',
5623 [],
5624 is_const=True)
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005625 ## ndn-name.h (module 'ndnSIM'): size_t ns3::ndn::Name::GetSerializedSize() const [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005626 cls.add_method('GetSerializedSize',
5627 'size_t',
5628 [],
5629 is_const=True)
Alexander Afanasyeve5a8b5a2013-03-15 15:15:26 -07005630 ## ndn-name.h (module 'ndnSIM'): std::list<boost::reference_wrapper<const std::basic_string<char, std::char_traits<char>, std::allocator<char> > >,std::allocator<boost::reference_wrapper<const std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > ns3::ndn::Name::GetSubComponents(size_t num) const [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005631 cls.add_method('GetSubComponents',
5632 'std::list< boost::reference_wrapper< std::string const > >',
5633 [param('size_t', 'num')],
5634 is_const=True)
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005635 ## ndn-name.h (module 'ndnSIM'): void ns3::ndn::Name::Print(std::ostream & os) const [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005636 cls.add_method('Print',
5637 'void',
5638 [param('std::ostream &', 'os')],
5639 is_const=True)
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005640 ## ndn-name.h (module 'ndnSIM'): uint32_t ns3::ndn::Name::Serialize(ns3::Buffer::Iterator start) const [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005641 cls.add_method('Serialize',
5642 'uint32_t',
5643 [param('ns3::Buffer::Iterator', 'start')],
5644 is_const=True)
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005645 ## ndn-name.h (module 'ndnSIM'): std::_List_iterator<std::string> ns3::ndn::Name::begin() [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005646 cls.add_method('begin',
5647 'std::_List_iterator< std::string >',
5648 [])
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005649 ## ndn-name.h (module 'ndnSIM'): std::_List_const_iterator<std::string> ns3::ndn::Name::begin() const [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005650 cls.add_method('begin',
5651 'std::_List_const_iterator< std::string >',
5652 [],
5653 is_const=True)
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005654 ## ndn-name.h (module 'ndnSIM'): ns3::ndn::Name ns3::ndn::Name::cut(size_t minusComponents) const [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005655 cls.add_method('cut',
5656 'ns3::ndn::Name',
5657 [param('size_t', 'minusComponents')],
5658 is_const=True)
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005659 ## ndn-name.h (module 'ndnSIM'): std::_List_iterator<std::string> ns3::ndn::Name::end() [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005660 cls.add_method('end',
5661 'std::_List_iterator< std::string >',
5662 [])
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005663 ## ndn-name.h (module 'ndnSIM'): std::_List_const_iterator<std::string> ns3::ndn::Name::end() const [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005664 cls.add_method('end',
5665 'std::_List_const_iterator< std::string >',
5666 [],
5667 is_const=True)
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005668 ## ndn-name.h (module 'ndnSIM'): size_t ns3::ndn::Name::size() const [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005669 cls.add_method('size',
5670 'size_t',
5671 [],
5672 is_const=True)
5673 return
5674
5675def register_Ns3NdnNameChecker_methods(root_module, cls):
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005676 ## ndn-name.h (module 'ndnSIM'): ns3::ndn::NameChecker::NameChecker() [constructor]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005677 cls.add_constructor([])
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005678 ## ndn-name.h (module 'ndnSIM'): ns3::ndn::NameChecker::NameChecker(ns3::ndn::NameChecker const & arg0) [copy constructor]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005679 cls.add_constructor([param('ns3::ndn::NameChecker const &', 'arg0')])
5680 return
5681
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005682def register_Ns3NdnNameValue_methods(root_module, cls):
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005683 ## ndn-name.h (module 'ndnSIM'): ns3::ndn::NameValue::NameValue() [constructor]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005684 cls.add_constructor([])
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005685 ## ndn-name.h (module 'ndnSIM'): ns3::ndn::NameValue::NameValue(ns3::ndn::NameValue const & arg0) [copy constructor]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005686 cls.add_constructor([param('ns3::ndn::NameValue const &', 'arg0')])
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005687 ## ndn-name.h (module 'ndnSIM'): ns3::ndn::NameValue::NameValue(ns3::ndn::Name const & value) [constructor]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005688 cls.add_constructor([param('ns3::ndn::Name const &', 'value')])
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005689 ## ndn-name.h (module 'ndnSIM'): ns3::Ptr<ns3::AttributeValue> ns3::ndn::NameValue::Copy() const [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005690 cls.add_method('Copy',
5691 'ns3::Ptr< ns3::AttributeValue >',
5692 [],
5693 is_const=True, is_virtual=True)
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005694 ## ndn-name.h (module 'ndnSIM'): bool ns3::ndn::NameValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005695 cls.add_method('DeserializeFromString',
5696 'bool',
5697 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
5698 is_virtual=True)
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005699 ## ndn-name.h (module 'ndnSIM'): ns3::ndn::Name ns3::ndn::NameValue::Get() const [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005700 cls.add_method('Get',
5701 'ns3::ndn::Name',
5702 [],
5703 is_const=True)
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005704 ## ndn-name.h (module 'ndnSIM'): std::string ns3::ndn::NameValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005705 cls.add_method('SerializeToString',
5706 'std::string',
5707 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
5708 is_const=True, is_virtual=True)
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005709 ## ndn-name.h (module 'ndnSIM'): void ns3::ndn::NameValue::Set(ns3::ndn::Name const & value) [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005710 cls.add_method('Set',
5711 'void',
5712 [param('ns3::ndn::Name const &', 'value')])
5713 return
5714
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005715def register_Ns3NdnNetDeviceFace_methods(root_module, cls):
5716 ## ndn-net-device-face.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::NetDeviceFace::GetTypeId() [member function]
5717 cls.add_method('GetTypeId',
5718 'ns3::TypeId',
5719 [],
5720 is_static=True)
5721 ## ndn-net-device-face.h (module 'ndnSIM'): ns3::ndn::NetDeviceFace::NetDeviceFace(ns3::Ptr<ns3::Node> node, ns3::Ptr<ns3::NetDevice> const & netDevice) [constructor]
5722 cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::Ptr< ns3::NetDevice > const &', 'netDevice')])
5723 ## ndn-net-device-face.h (module 'ndnSIM'): void ns3::ndn::NetDeviceFace::RegisterProtocolHandler(ns3::Callback<void, ns3::Ptr<ns3::ndn::Face> const&, ns3::Ptr<ns3::Packet const> const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> handler) [member function]
5724 cls.add_method('RegisterProtocolHandler',
5725 'void',
5726 [param('ns3::Callback< void, ns3::Ptr< ns3::ndn::Face >, ns3::Ptr< ns3::Packet const >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'handler')],
5727 is_virtual=True)
5728 ## ndn-net-device-face.h (module 'ndnSIM'): std::ostream & ns3::ndn::NetDeviceFace::Print(std::ostream & os) const [member function]
5729 cls.add_method('Print',
5730 'std::ostream &',
5731 [param('std::ostream &', 'os')],
5732 is_const=True, is_virtual=True)
5733 ## ndn-net-device-face.h (module 'ndnSIM'): ns3::Ptr<ns3::NetDevice> ns3::ndn::NetDeviceFace::GetNetDevice() const [member function]
5734 cls.add_method('GetNetDevice',
5735 'ns3::Ptr< ns3::NetDevice >',
5736 [],
5737 is_const=True)
5738 ## ndn-net-device-face.h (module 'ndnSIM'): bool ns3::ndn::NetDeviceFace::SendImpl(ns3::Ptr<ns3::Packet> p) [member function]
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07005739 cls.add_method('SendImpl',
Alexander Afanasyev1c0248b2012-07-24 15:59:50 -07005740 'bool',
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07005741 [param('ns3::Ptr< ns3::Packet >', 'p')],
5742 visibility='protected', is_virtual=True)
5743 return
5744
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005745def register_Ns3NdnPit_methods(root_module, cls):
5746 cls.add_output_stream_operator()
5747 ## ndn-pit.h (module 'ndnSIM'): ns3::ndn::Pit::Pit(ns3::ndn::Pit const & arg0) [copy constructor]
5748 cls.add_constructor([param('ns3::ndn::Pit const &', 'arg0')])
5749 ## ndn-pit.h (module 'ndnSIM'): ns3::ndn::Pit::Pit() [constructor]
5750 cls.add_constructor([])
5751 ## ndn-pit.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::pit::Entry> ns3::ndn::Pit::Begin() [member function]
5752 cls.add_method('Begin',
5753 'ns3::Ptr< ns3::ndn::pit::Entry >',
5754 [],
5755 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005756 ## ndn-pit.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::pit::Entry> ns3::ndn::Pit::Create(ns3::Ptr<ns3::ndn::Interest const> header) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005757 cls.add_method('Create',
5758 'ns3::Ptr< ns3::ndn::pit::Entry >',
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005759 [param('ns3::Ptr< ns3::ndn::Interest const >', 'header')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005760 is_pure_virtual=True, is_virtual=True)
5761 ## ndn-pit.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::pit::Entry> ns3::ndn::Pit::End() [member function]
5762 cls.add_method('End',
5763 'ns3::Ptr< ns3::ndn::pit::Entry >',
5764 [],
5765 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyeve5a8b5a2013-03-15 15:15:26 -07005766 ## ndn-pit.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::pit::Entry> ns3::ndn::Pit::Find(ns3::ndn::Name const & prefix) [member function]
5767 cls.add_method('Find',
5768 'ns3::Ptr< ns3::ndn::pit::Entry >',
5769 [param('ns3::ndn::Name const &', 'prefix')],
5770 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005771 ## ndn-pit.h (module 'ndnSIM'): static ns3::Ptr<ns3::ndn::Pit> ns3::ndn::Pit::GetPit(ns3::Ptr<ns3::Object> node) [member function]
5772 cls.add_method('GetPit',
5773 'ns3::Ptr< ns3::ndn::Pit >',
5774 [param('ns3::Ptr< ns3::Object >', 'node')],
5775 is_static=True)
5776 ## ndn-pit.h (module 'ndnSIM'): uint32_t ns3::ndn::Pit::GetSize() const [member function]
5777 cls.add_method('GetSize',
5778 'uint32_t',
5779 [],
5780 is_pure_virtual=True, is_const=True, is_virtual=True)
5781 ## ndn-pit.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::Pit::GetTypeId() [member function]
5782 cls.add_method('GetTypeId',
5783 'ns3::TypeId',
5784 [],
5785 is_static=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005786 ## ndn-pit.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::pit::Entry> ns3::ndn::Pit::Lookup(ns3::ndn::ContentObject const & header) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005787 cls.add_method('Lookup',
5788 'ns3::Ptr< ns3::ndn::pit::Entry >',
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005789 [param('ns3::ndn::ContentObject const &', 'header')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005790 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005791 ## ndn-pit.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::pit::Entry> ns3::ndn::Pit::Lookup(ns3::ndn::Interest const & header) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005792 cls.add_method('Lookup',
5793 'ns3::Ptr< ns3::ndn::pit::Entry >',
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005794 [param('ns3::ndn::Interest const &', 'header')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005795 is_pure_virtual=True, is_virtual=True)
5796 ## ndn-pit.h (module 'ndnSIM'): void ns3::ndn::Pit::MarkErased(ns3::Ptr<ns3::ndn::pit::Entry> entry) [member function]
5797 cls.add_method('MarkErased',
5798 'void',
5799 [param('ns3::Ptr< ns3::ndn::pit::Entry >', 'entry')],
5800 is_pure_virtual=True, is_virtual=True)
5801 ## ndn-pit.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::pit::Entry> ns3::ndn::Pit::Next(ns3::Ptr<ns3::ndn::pit::Entry> arg0) [member function]
5802 cls.add_method('Next',
5803 'ns3::Ptr< ns3::ndn::pit::Entry >',
5804 [param('ns3::Ptr< ns3::ndn::pit::Entry >', 'arg0')],
5805 is_pure_virtual=True, is_virtual=True)
5806 ## ndn-pit.h (module 'ndnSIM'): void ns3::ndn::Pit::Print(std::ostream & os) const [member function]
5807 cls.add_method('Print',
5808 'void',
5809 [param('std::ostream &', 'os')],
5810 is_pure_virtual=True, is_const=True, is_virtual=True)
5811 return
5812
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -07005813def register_Ns3NdnRttEstimator_methods(root_module, cls):
5814 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::ndn::RttEstimator::RttEstimator() [constructor]
5815 cls.add_constructor([])
5816 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::ndn::RttEstimator::RttEstimator(ns3::ndn::RttEstimator const & arg0) [copy constructor]
5817 cls.add_constructor([param('ns3::ndn::RttEstimator const &', 'arg0')])
5818 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::Time ns3::ndn::RttEstimator::AckSeq(ns3::SequenceNumber32 ackSeq) [member function]
5819 cls.add_method('AckSeq',
5820 'ns3::Time',
5821 [param('ns3::SequenceNumber32', 'ackSeq')],
5822 is_virtual=True)
5823 ## ndn-rtt-estimator.h (module 'ndnSIM'): void ns3::ndn::RttEstimator::ClearSent() [member function]
5824 cls.add_method('ClearSent',
5825 'void',
5826 [],
5827 is_virtual=True)
5828 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::RttEstimator> ns3::ndn::RttEstimator::Copy() const [member function]
5829 cls.add_method('Copy',
5830 'ns3::Ptr< ns3::ndn::RttEstimator >',
5831 [],
5832 is_pure_virtual=True, is_const=True, is_virtual=True)
5833 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::Time ns3::ndn::RttEstimator::GetCurrentEstimate() const [member function]
5834 cls.add_method('GetCurrentEstimate',
5835 'ns3::Time',
5836 [],
5837 is_const=True)
5838 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::Time ns3::ndn::RttEstimator::GetMaxRto() const [member function]
5839 cls.add_method('GetMaxRto',
5840 'ns3::Time',
5841 [],
5842 is_const=True)
5843 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::Time ns3::ndn::RttEstimator::GetMinRto() const [member function]
5844 cls.add_method('GetMinRto',
5845 'ns3::Time',
5846 [],
5847 is_const=True)
5848 ## ndn-rtt-estimator.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::RttEstimator::GetTypeId() [member function]
5849 cls.add_method('GetTypeId',
5850 'ns3::TypeId',
5851 [],
5852 is_static=True)
5853 ## ndn-rtt-estimator.h (module 'ndnSIM'): void ns3::ndn::RttEstimator::IncreaseMultiplier() [member function]
5854 cls.add_method('IncreaseMultiplier',
5855 'void',
5856 [],
5857 is_virtual=True)
5858 ## ndn-rtt-estimator.h (module 'ndnSIM'): void ns3::ndn::RttEstimator::Measurement(ns3::Time t) [member function]
5859 cls.add_method('Measurement',
5860 'void',
5861 [param('ns3::Time', 't')],
5862 is_pure_virtual=True, is_virtual=True)
5863 ## ndn-rtt-estimator.h (module 'ndnSIM'): void ns3::ndn::RttEstimator::Reset() [member function]
5864 cls.add_method('Reset',
5865 'void',
5866 [],
5867 is_virtual=True)
5868 ## ndn-rtt-estimator.h (module 'ndnSIM'): void ns3::ndn::RttEstimator::ResetMultiplier() [member function]
5869 cls.add_method('ResetMultiplier',
5870 'void',
5871 [],
5872 is_virtual=True)
5873 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::Time ns3::ndn::RttEstimator::RetransmitTimeout() [member function]
5874 cls.add_method('RetransmitTimeout',
5875 'ns3::Time',
5876 [],
5877 is_pure_virtual=True, is_virtual=True)
5878 ## ndn-rtt-estimator.h (module 'ndnSIM'): void ns3::ndn::RttEstimator::SentSeq(ns3::SequenceNumber32 seq, uint32_t size) [member function]
5879 cls.add_method('SentSeq',
5880 'void',
5881 [param('ns3::SequenceNumber32', 'seq'), param('uint32_t', 'size')],
5882 is_virtual=True)
5883 ## ndn-rtt-estimator.h (module 'ndnSIM'): void ns3::ndn::RttEstimator::SetCurrentEstimate(ns3::Time estimate) [member function]
5884 cls.add_method('SetCurrentEstimate',
5885 'void',
5886 [param('ns3::Time', 'estimate')])
5887 ## ndn-rtt-estimator.h (module 'ndnSIM'): void ns3::ndn::RttEstimator::SetMaxRto(ns3::Time maxRto) [member function]
5888 cls.add_method('SetMaxRto',
5889 'void',
5890 [param('ns3::Time', 'maxRto')])
5891 ## ndn-rtt-estimator.h (module 'ndnSIM'): void ns3::ndn::RttEstimator::SetMinRto(ns3::Time minRto) [member function]
5892 cls.add_method('SetMinRto',
5893 'void',
5894 [param('ns3::Time', 'minRto')])
5895 return
5896
5897def register_Ns3NdnRttHistory_methods(root_module, cls):
5898 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::ndn::RttHistory::RttHistory(ns3::SequenceNumber32 s, uint32_t c, ns3::Time t) [constructor]
5899 cls.add_constructor([param('ns3::SequenceNumber32', 's'), param('uint32_t', 'c'), param('ns3::Time', 't')])
5900 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::ndn::RttHistory::RttHistory(ns3::ndn::RttHistory const & h) [copy constructor]
5901 cls.add_constructor([param('ns3::ndn::RttHistory const &', 'h')])
5902 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::ndn::RttHistory::count [variable]
5903 cls.add_instance_attribute('count', 'uint32_t', is_const=False)
5904 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::ndn::RttHistory::retx [variable]
5905 cls.add_instance_attribute('retx', 'bool', is_const=False)
5906 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::ndn::RttHistory::seq [variable]
5907 cls.add_instance_attribute('seq', 'ns3::SequenceNumber32', is_const=False)
5908 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::ndn::RttHistory::time [variable]
5909 cls.add_instance_attribute('time', 'ns3::Time', is_const=False)
5910 return
5911
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005912def register_Ns3NdnStackHelper_methods(root_module, cls):
5913 ## ndn-stack-helper.h (module 'ndnSIM'): ns3::ndn::StackHelper::StackHelper() [constructor]
5914 cls.add_constructor([])
5915 ## ndn-stack-helper.h (module 'ndnSIM'): void ns3::ndn::StackHelper::SetStackAttributes(std::string const & attr1="", std::string const & value1="", std::string const & attr2="", std::string const & value2="", std::string const & attr3="", std::string const & value3="", std::string const & attr4="", std::string const & value4="") [member function]
5916 cls.add_method('SetStackAttributes',
5917 'void',
5918 [param('std::string const &', 'attr1', default_value='""'), param('std::string const &', 'value1', default_value='""'), param('std::string const &', 'attr2', default_value='""'), param('std::string const &', 'value2', default_value='""'), param('std::string const &', 'attr3', default_value='""'), param('std::string const &', 'value3', default_value='""'), param('std::string const &', 'attr4', default_value='""'), param('std::string const &', 'value4', default_value='""')])
5919 ## ndn-stack-helper.h (module 'ndnSIM'): void ns3::ndn::StackHelper::SetForwardingStrategy(std::string const & forwardingStrategyClass, std::string const & attr1="", std::string const & value1="", std::string const & attr2="", std::string const & value2="", std::string const & attr3="", std::string const & value3="", std::string const & attr4="", std::string const & value4="") [member function]
5920 cls.add_method('SetForwardingStrategy',
5921 'void',
5922 [param('std::string const &', 'forwardingStrategyClass'), param('std::string const &', 'attr1', default_value='""'), param('std::string const &', 'value1', default_value='""'), param('std::string const &', 'attr2', default_value='""'), param('std::string const &', 'value2', default_value='""'), param('std::string const &', 'attr3', default_value='""'), param('std::string const &', 'value3', default_value='""'), param('std::string const &', 'attr4', default_value='""'), param('std::string const &', 'value4', default_value='""')])
5923 ## ndn-stack-helper.h (module 'ndnSIM'): void ns3::ndn::StackHelper::SetContentStore(std::string const & contentStoreClass, std::string const & attr1="", std::string const & value1="", std::string const & attr2="", std::string const & value2="", std::string const & attr3="", std::string const & value3="", std::string const & attr4="", std::string const & value4="") [member function]
5924 cls.add_method('SetContentStore',
5925 'void',
5926 [param('std::string const &', 'contentStoreClass'), param('std::string const &', 'attr1', default_value='""'), param('std::string const &', 'value1', default_value='""'), param('std::string const &', 'attr2', default_value='""'), param('std::string const &', 'value2', default_value='""'), param('std::string const &', 'attr3', default_value='""'), param('std::string const &', 'value3', default_value='""'), param('std::string const &', 'attr4', default_value='""'), param('std::string const &', 'value4', default_value='""')])
5927 ## ndn-stack-helper.h (module 'ndnSIM'): void ns3::ndn::StackHelper::SetPit(std::string const & pitClass, std::string const & attr1="", std::string const & value1="", std::string const & attr2="", std::string const & value2="", std::string const & attr3="", std::string const & value3="", std::string const & attr4="", std::string const & value4="") [member function]
5928 cls.add_method('SetPit',
5929 'void',
5930 [param('std::string const &', 'pitClass'), param('std::string const &', 'attr1', default_value='""'), param('std::string const &', 'value1', default_value='""'), param('std::string const &', 'attr2', default_value='""'), param('std::string const &', 'value2', default_value='""'), param('std::string const &', 'attr3', default_value='""'), param('std::string const &', 'value3', default_value='""'), param('std::string const &', 'attr4', default_value='""'), param('std::string const &', 'value4', default_value='""')])
5931 ## ndn-stack-helper.h (module 'ndnSIM'): void ns3::ndn::StackHelper::SetFib(std::string const & fibClass, std::string const & attr1="", std::string const & value1="", std::string const & attr2="", std::string const & value2="", std::string const & attr3="", std::string const & value3="", std::string const & attr4="", std::string const & value4="") [member function]
5932 cls.add_method('SetFib',
5933 'void',
5934 [param('std::string const &', 'fibClass'), param('std::string const &', 'attr1', default_value='""'), param('std::string const &', 'value1', default_value='""'), param('std::string const &', 'attr2', default_value='""'), param('std::string const &', 'value2', default_value='""'), param('std::string const &', 'attr3', default_value='""'), param('std::string const &', 'value3', default_value='""'), param('std::string const &', 'attr4', default_value='""'), param('std::string const &', 'value4', default_value='""')])
Alexander Afanasyevc17e4bd2013-02-17 14:31:56 -08005935 ## ndn-stack-helper.h (module 'ndnSIM'): void ns3::ndn::StackHelper::AddNetDeviceFaceCreateCallback(ns3::TypeId netDeviceType, ns3::Callback<ns3::Ptr<ns3::ndn::NetDeviceFace>,ns3::Ptr<ns3::Node>,ns3::Ptr<ns3::ndn::L3Protocol>,ns3::Ptr<ns3::NetDevice>,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> callback) [member function]
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005936 cls.add_method('AddNetDeviceFaceCreateCallback',
5937 'void',
Alexander Afanasyevc17e4bd2013-02-17 14:31:56 -08005938 [param('ns3::TypeId', 'netDeviceType'), param('ns3::Callback< ns3::Ptr< ns3::ndn::NetDeviceFace >, ns3::Ptr< ns3::Node >, ns3::Ptr< ns3::ndn::L3Protocol >, ns3::Ptr< ns3::NetDevice >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005939 ## ndn-stack-helper.h (module 'ndnSIM'): void ns3::ndn::StackHelper::EnableLimits(bool enable=true, ns3::Time avgRtt=ns3::Seconds( ), uint32_t avgContentObject=1100, uint32_t avgInterest=40) [member function]
5940 cls.add_method('EnableLimits',
5941 'void',
5942 [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')])
Alexander Afanasyev67f4a4a2012-11-24 17:18:17 -08005943 ## ndn-stack-helper.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::FaceContainer> ns3::ndn::StackHelper::Install(std::string const & nodeName) const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005944 cls.add_method('Install',
5945 'ns3::Ptr< ns3::ndn::FaceContainer >',
Alexander Afanasyev67f4a4a2012-11-24 17:18:17 -08005946 [param('std::string const &', 'nodeName')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005947 is_const=True)
5948 ## ndn-stack-helper.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::FaceContainer> ns3::ndn::StackHelper::Install(ns3::Ptr<ns3::Node> node) const [member function]
5949 cls.add_method('Install',
5950 'ns3::Ptr< ns3::ndn::FaceContainer >',
5951 [param('ns3::Ptr< ns3::Node >', 'node')],
5952 is_const=True)
Alexander Afanasyev67f4a4a2012-11-24 17:18:17 -08005953 ## ndn-stack-helper.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::FaceContainer> ns3::ndn::StackHelper::Install(ns3::NodeContainer const & c) const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005954 cls.add_method('Install',
5955 'ns3::Ptr< ns3::ndn::FaceContainer >',
Alexander Afanasyev67f4a4a2012-11-24 17:18:17 -08005956 [param('ns3::NodeContainer const &', 'c')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005957 is_const=True)
5958 ## ndn-stack-helper.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::FaceContainer> ns3::ndn::StackHelper::InstallAll() const [member function]
5959 cls.add_method('InstallAll',
5960 'ns3::Ptr< ns3::ndn::FaceContainer >',
5961 [],
5962 is_const=True)
Alexander Afanasyev67f4a4a2012-11-24 17:18:17 -08005963 ## ndn-stack-helper.h (module 'ndnSIM'): static void ns3::ndn::StackHelper::AddRoute(std::string const & nodeName, std::string const & prefix, uint32_t faceId, int32_t metric) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005964 cls.add_method('AddRoute',
5965 'void',
Alexander Afanasyev67f4a4a2012-11-24 17:18:17 -08005966 [param('std::string const &', 'nodeName'), param('std::string const &', 'prefix'), param('uint32_t', 'faceId'), param('int32_t', 'metric')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005967 is_static=True)
Alexander Afanasyev67f4a4a2012-11-24 17:18:17 -08005968 ## ndn-stack-helper.h (module 'ndnSIM'): static void ns3::ndn::StackHelper::AddRoute(ns3::Ptr<ns3::Node> node, std::string const & prefix, uint32_t faceId, int32_t metric) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005969 cls.add_method('AddRoute',
5970 'void',
Alexander Afanasyev67f4a4a2012-11-24 17:18:17 -08005971 [param('ns3::Ptr< ns3::Node >', 'node'), param('std::string const &', 'prefix'), param('uint32_t', 'faceId'), param('int32_t', 'metric')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005972 is_static=True)
Alexander Afanasyev67f4a4a2012-11-24 17:18:17 -08005973 ## ndn-stack-helper.h (module 'ndnSIM'): static void ns3::ndn::StackHelper::AddRoute(ns3::Ptr<ns3::Node> node, std::string const & prefix, ns3::Ptr<ns3::ndn::Face> face, int32_t metric) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005974 cls.add_method('AddRoute',
5975 'void',
Alexander Afanasyev67f4a4a2012-11-24 17:18:17 -08005976 [param('ns3::Ptr< ns3::Node >', 'node'), param('std::string const &', 'prefix'), param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('int32_t', 'metric')],
5977 is_static=True)
5978 ## ndn-stack-helper.h (module 'ndnSIM'): static void ns3::ndn::StackHelper::AddRoute(ns3::Ptr<ns3::Node> node, std::string const & prefix, ns3::Ptr<ns3::Node> otherNode, int32_t metric) [member function]
5979 cls.add_method('AddRoute',
5980 'void',
5981 [param('ns3::Ptr< ns3::Node >', 'node'), param('std::string const &', 'prefix'), param('ns3::Ptr< ns3::Node >', 'otherNode'), param('int32_t', 'metric')],
5982 is_static=True)
5983 ## ndn-stack-helper.h (module 'ndnSIM'): static void ns3::ndn::StackHelper::AddRoute(std::string const & nodeName, std::string const & prefix, std::string const & otherNodeName, int32_t metric) [member function]
5984 cls.add_method('AddRoute',
5985 'void',
5986 [param('std::string const &', 'nodeName'), param('std::string const &', 'prefix'), param('std::string const &', 'otherNodeName'), param('int32_t', 'metric')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005987 is_static=True)
5988 ## ndn-stack-helper.h (module 'ndnSIM'): void ns3::ndn::StackHelper::SetDefaultRoutes(bool needSet) [member function]
5989 cls.add_method('SetDefaultRoutes',
5990 'void',
5991 [param('bool', 'needSet')])
5992 return
5993
5994def register_Ns3NdnUnknownHeaderException_methods(root_module, cls):
5995 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::UnknownHeaderException::UnknownHeaderException() [constructor]
5996 cls.add_constructor([])
5997 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::UnknownHeaderException::UnknownHeaderException(ns3::ndn::UnknownHeaderException const & arg0) [copy constructor]
5998 cls.add_constructor([param('ns3::ndn::UnknownHeaderException const &', 'arg0')])
5999 return
6000
6001def register_Ns3NdnAppFace_methods(root_module, cls):
6002 ## ndn-app-face.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::AppFace::GetTypeId() [member function]
6003 cls.add_method('GetTypeId',
6004 'ns3::TypeId',
6005 [],
6006 is_static=True)
6007 ## ndn-app-face.h (module 'ndnSIM'): ns3::ndn::AppFace::AppFace(ns3::Ptr<ns3::ndn::App> app) [constructor]
6008 cls.add_constructor([param('ns3::Ptr< ns3::ndn::App >', 'app')])
6009 ## ndn-app-face.h (module 'ndnSIM'): void ns3::ndn::AppFace::RegisterProtocolHandler(ns3::Callback<void, ns3::Ptr<ns3::ndn::Face> const&, ns3::Ptr<ns3::Packet const> const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> handler) [member function]
6010 cls.add_method('RegisterProtocolHandler',
6011 'void',
6012 [param('ns3::Callback< void, ns3::Ptr< ns3::ndn::Face >, ns3::Ptr< ns3::Packet const >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'handler')],
6013 is_virtual=True)
6014 ## ndn-app-face.h (module 'ndnSIM'): std::ostream & ns3::ndn::AppFace::Print(std::ostream & os) const [member function]
6015 cls.add_method('Print',
6016 'std::ostream &',
6017 [param('std::ostream &', 'os')],
6018 is_const=True, is_virtual=True)
6019 ## ndn-app-face.h (module 'ndnSIM'): bool ns3::ndn::AppFace::SendImpl(ns3::Ptr<ns3::Packet> p) [member function]
6020 cls.add_method('SendImpl',
6021 'bool',
6022 [param('ns3::Ptr< ns3::Packet >', 'p')],
6023 visibility='protected', is_virtual=True)
6024 return
6025
6026def register_Ns3NdnCsEntry_methods(root_module, cls):
6027 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::cs::Entry::Entry(ns3::ndn::cs::Entry const & arg0) [copy constructor]
6028 cls.add_constructor([param('ns3::ndn::cs::Entry const &', 'arg0')])
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07006029 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::cs::Entry::Entry(ns3::Ptr<ns3::ndn::ContentStore> cs, ns3::Ptr<ns3::ndn::ContentObject const> header, ns3::Ptr<const ns3::Packet> packet) [constructor]
6030 cls.add_constructor([param('ns3::Ptr< ns3::ndn::ContentStore >', 'cs'), param('ns3::Ptr< ns3::ndn::ContentObject const >', 'header'), param('ns3::Ptr< ns3::Packet const >', 'packet')])
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -07006031 ## ndn-content-store.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::ContentStore> ns3::ndn::cs::Entry::GetContentStore() [member function]
6032 cls.add_method('GetContentStore',
6033 'ns3::Ptr< ns3::ndn::ContentStore >',
6034 [])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006035 ## ndn-content-store.h (module 'ndnSIM'): ns3::Ptr<ns3::Packet> ns3::ndn::cs::Entry::GetFullyFormedNdnPacket() const [member function]
6036 cls.add_method('GetFullyFormedNdnPacket',
6037 'ns3::Ptr< ns3::Packet >',
6038 [],
6039 is_const=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07006040 ## ndn-content-store.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::ContentObject const> ns3::ndn::cs::Entry::GetHeader() const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006041 cls.add_method('GetHeader',
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07006042 'ns3::Ptr< ns3::ndn::ContentObject const >',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006043 [],
6044 is_const=True)
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07006045 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::Name const & ns3::ndn::cs::Entry::GetName() const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006046 cls.add_method('GetName',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07006047 'ns3::ndn::Name const &',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006048 [],
6049 is_const=True)
6050 ## ndn-content-store.h (module 'ndnSIM'): ns3::Ptr<const ns3::Packet> ns3::ndn::cs::Entry::GetPacket() const [member function]
6051 cls.add_method('GetPacket',
6052 'ns3::Ptr< ns3::Packet const >',
6053 [],
6054 is_const=True)
6055 return
6056
6057def register_Ns3NdnFibEntry_methods(root_module, cls):
6058 cls.add_output_stream_operator()
6059 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::Entry(ns3::ndn::fib::Entry const & arg0) [copy constructor]
6060 cls.add_constructor([param('ns3::ndn::fib::Entry const &', 'arg0')])
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07006061 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::Entry(ns3::Ptr<ns3::ndn::Name const> const & prefix) [constructor]
6062 cls.add_constructor([param('ns3::Ptr< ns3::ndn::Name const > const &', 'prefix')])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006063 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::Entry::AddOrUpdateRoutingMetric(ns3::Ptr<ns3::ndn::Face> face, int32_t metric) [member function]
6064 cls.add_method('AddOrUpdateRoutingMetric',
6065 'void',
6066 [param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('int32_t', 'metric')])
6067 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric const & ns3::ndn::fib::Entry::FindBestCandidate(uint32_t skip=0) const [member function]
6068 cls.add_method('FindBestCandidate',
6069 'ns3::ndn::fib::FaceMetric const &',
6070 [param('uint32_t', 'skip', default_value='0')],
6071 is_const=True)
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07006072 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::Name const & ns3::ndn::fib::Entry::GetPrefix() const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006073 cls.add_method('GetPrefix',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07006074 'ns3::ndn::Name const &',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006075 [],
6076 is_const=True)
6077 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::Entry::Invalidate() [member function]
6078 cls.add_method('Invalidate',
6079 'void',
6080 [])
6081 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::Entry::RemoveFace(ns3::Ptr<ns3::ndn::Face> const & face) [member function]
6082 cls.add_method('RemoveFace',
6083 'void',
6084 [param('ns3::Ptr< ns3::ndn::Face > const &', 'face')])
Alexander Afanasyev32c07562013-02-01 12:58:43 -08006085 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::Entry::SetRealDelayToProducer(ns3::Ptr<ns3::ndn::Face> face, ns3::Time delay) [member function]
6086 cls.add_method('SetRealDelayToProducer',
6087 'void',
6088 [param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('ns3::Time', 'delay')])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006089 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::Entry::UpdateFaceRtt(ns3::Ptr<ns3::ndn::Face> face, ns3::Time const & sample) [member function]
6090 cls.add_method('UpdateFaceRtt',
6091 'void',
6092 [param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('ns3::Time const &', 'sample')])
6093 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::Entry::UpdateStatus(ns3::Ptr<ns3::ndn::Face> face, ns3::ndn::fib::FaceMetric::Status status) [member function]
6094 cls.add_method('UpdateStatus',
6095 'void',
6096 [param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('ns3::ndn::fib::FaceMetric::Status', 'status')])
6097 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::m_faces [variable]
Alexander Afanasyev06dba7c2013-02-21 11:36:26 -08006098 cls.add_instance_attribute('m_faces', 'boost::multi_index::multi_index_container< ns3::ndn::fib::FaceMetric, boost::multi_index::indexed_by< boost::multi_index::ordered_unique< boost::multi_index::tag< ns3::ndn::fib::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::const_mem_fun< ns3::ndn::fib::FaceMetric, ns3::Ptr< ns3::ndn::Face >, & ( ns3::ndn::fib::FaceMetric::GetFace ( ) const ) >, mpl_::na >, boost::multi_index::ordered_non_unique< boost::multi_index::tag< ns3::ndn::fib::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::ndn::fib::FaceMetric, boost::multi_index::const_mem_fun< ns3::ndn::fib::FaceMetric, ns3::ndn::fib::FaceMetric::Status, & ( ns3::ndn::fib::FaceMetric::GetStatus ( ) const ) >, boost::multi_index::const_mem_fun< ns3::ndn::fib::FaceMetric, int, & ( ns3::ndn::fib::FaceMetric::GetRoutingCost ( ) const ) >, 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::ndn::fib::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::ndn::fib::FaceMetric > >', is_const=False)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006099 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::m_needsProbing [variable]
6100 cls.add_instance_attribute('m_needsProbing', 'bool', is_const=False)
6101 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::m_prefix [variable]
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07006102 cls.add_instance_attribute('m_prefix', 'ns3::Ptr< ns3::ndn::Name const >', is_const=False)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006103 return
6104
6105def register_Ns3NdnFibEntryNoFaces_methods(root_module, cls):
6106 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::NoFaces::NoFaces() [constructor]
6107 cls.add_constructor([])
6108 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::NoFaces::NoFaces(ns3::ndn::fib::Entry::NoFaces const & arg0) [copy constructor]
6109 cls.add_constructor([param('ns3::ndn::fib::Entry::NoFaces const &', 'arg0')])
6110 return
6111
6112def register_Ns3NdnFibFaceMetric_methods(root_module, cls):
6113 cls.add_output_stream_operator()
6114 cls.add_binary_comparison_operator('<')
6115 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric::FaceMetric(ns3::ndn::fib::FaceMetric const & arg0) [copy constructor]
6116 cls.add_constructor([param('ns3::ndn::fib::FaceMetric const &', 'arg0')])
6117 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric::FaceMetric(ns3::Ptr<ns3::ndn::Face> face, int32_t cost) [constructor]
6118 cls.add_constructor([param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('int32_t', 'cost')])
6119 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::Face> ns3::ndn::fib::FaceMetric::GetFace() const [member function]
6120 cls.add_method('GetFace',
6121 'ns3::Ptr< ns3::ndn::Face >',
6122 [],
6123 is_const=True)
Alexander Afanasyev06dba7c2013-02-21 11:36:26 -08006124 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::Time ns3::ndn::fib::FaceMetric::GetRealDelay() const [member function]
6125 cls.add_method('GetRealDelay',
6126 'ns3::Time',
6127 [],
6128 is_const=True)
6129 ## ndn-fib-entry.h (module 'ndnSIM'): int32_t ns3::ndn::fib::FaceMetric::GetRoutingCost() const [member function]
6130 cls.add_method('GetRoutingCost',
6131 'int32_t',
6132 [],
6133 is_const=True)
6134 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric::Status ns3::ndn::fib::FaceMetric::GetStatus() const [member function]
6135 cls.add_method('GetStatus',
6136 'ns3::ndn::fib::FaceMetric::Status',
6137 [],
6138 is_const=True)
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -07006139 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status> & ns3::ndn::fib::FaceMetric::GetStatusTrace() [member function]
6140 cls.add_method('GetStatusTrace',
6141 'ns3::TracedValue< ns3::ndn::fib::FaceMetric::Status > &',
6142 [])
Alexander Afanasyev06dba7c2013-02-21 11:36:26 -08006143 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::FaceMetric::SetRealDelay(ns3::Time realDelay) [member function]
6144 cls.add_method('SetRealDelay',
6145 'void',
6146 [param('ns3::Time', 'realDelay')])
6147 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::FaceMetric::SetRoutingCost(int32_t routingCost) [member function]
6148 cls.add_method('SetRoutingCost',
6149 'void',
6150 [param('int32_t', 'routingCost')])
6151 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::FaceMetric::SetStatus(ns3::ndn::fib::FaceMetric::Status status) [member function]
6152 cls.add_method('SetStatus',
6153 'void',
6154 [param('ns3::ndn::fib::FaceMetric::Status', 'status')])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006155 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::FaceMetric::UpdateRtt(ns3::Time const & rttSample) [member function]
6156 cls.add_method('UpdateRtt',
6157 'void',
6158 [param('ns3::Time const &', 'rttSample')])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006159 return
6160
6161def register_Ns3NdnFibFaceMetricContainer_methods(root_module, cls):
6162 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetricContainer::FaceMetricContainer() [constructor]
6163 cls.add_constructor([])
6164 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetricContainer::FaceMetricContainer(ns3::ndn::fib::FaceMetricContainer const & arg0) [copy constructor]
6165 cls.add_constructor([param('ns3::ndn::fib::FaceMetricContainer const &', 'arg0')])
6166 return
6167
6168def register_Ns3NdnFibI_face_methods(root_module, cls):
6169 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_face::i_face() [constructor]
6170 cls.add_constructor([])
6171 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_face::i_face(ns3::ndn::fib::i_face const & arg0) [copy constructor]
6172 cls.add_constructor([param('ns3::ndn::fib::i_face const &', 'arg0')])
6173 return
6174
6175def register_Ns3NdnFibI_metric_methods(root_module, cls):
6176 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_metric::i_metric() [constructor]
6177 cls.add_constructor([])
6178 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_metric::i_metric(ns3::ndn::fib::i_metric const & arg0) [copy constructor]
6179 cls.add_constructor([param('ns3::ndn::fib::i_metric const &', 'arg0')])
6180 return
6181
6182def register_Ns3NdnFibI_nth_methods(root_module, cls):
6183 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_nth::i_nth() [constructor]
6184 cls.add_constructor([])
6185 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_nth::i_nth(ns3::ndn::fib::i_nth const & arg0) [copy constructor]
6186 cls.add_constructor([param('ns3::ndn::fib::i_nth const &', 'arg0')])
6187 return
6188
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006189def register_Ns3NdnFwTag_methods(root_module, cls):
6190 ## ndn-fw-tag.h (module 'ndnSIM'): ns3::ndn::fw::Tag::Tag() [constructor]
6191 cls.add_constructor([])
6192 ## ndn-fw-tag.h (module 'ndnSIM'): ns3::ndn::fw::Tag::Tag(ns3::ndn::fw::Tag const & arg0) [copy constructor]
6193 cls.add_constructor([param('ns3::ndn::fw::Tag const &', 'arg0')])
6194 return
6195
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006196def register_Ns3NdnPitEntry_methods(root_module, cls):
6197 cls.add_output_stream_operator()
6198 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::Entry::Entry(ns3::ndn::pit::Entry const & arg0) [copy constructor]
6199 cls.add_constructor([param('ns3::ndn::pit::Entry const &', 'arg0')])
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07006200 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::Entry::Entry(ns3::ndn::Pit & container, ns3::Ptr<ns3::ndn::Interest const> header, ns3::Ptr<ns3::ndn::fib::Entry> fibEntry) [constructor]
6201 cls.add_constructor([param('ns3::ndn::Pit &', 'container'), param('ns3::Ptr< ns3::ndn::Interest const >', 'header'), param('ns3::Ptr< ns3::ndn::fib::Entry >', 'fibEntry')])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006202 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::AddFwTag(boost::shared_ptr<ns3::ndn::fw::Tag> tag) [member function]
6203 cls.add_method('AddFwTag',
6204 'void',
6205 [param('boost::shared_ptr< ns3::ndn::fw::Tag >', 'tag')])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006206 ## ndn-pit-entry.h (module 'ndnSIM'): std::_Rb_tree_const_iterator<ns3::ndn::pit::IncomingFace> ns3::ndn::pit::Entry::AddIncoming(ns3::Ptr<ns3::ndn::Face> face) [member function]
6207 cls.add_method('AddIncoming',
6208 'std::_Rb_tree_const_iterator< ns3::ndn::pit::IncomingFace >',
6209 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
6210 is_virtual=True)
Alexander Afanasyevc202fd92012-09-03 21:46:00 -07006211 ## ndn-pit-entry.h (module 'ndnSIM'): std::_Rb_tree_const_iterator<ns3::ndn::pit::OutgoingFace> ns3::ndn::pit::Entry::AddOutgoing(ns3::Ptr<ns3::ndn::Face> face) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006212 cls.add_method('AddOutgoing',
Alexander Afanasyevc202fd92012-09-03 21:46:00 -07006213 'std::_Rb_tree_const_iterator< ns3::ndn::pit::OutgoingFace >',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006214 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
6215 is_virtual=True)
6216 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::AddSeenNonce(uint32_t nonce) [member function]
6217 cls.add_method('AddSeenNonce',
6218 'void',
6219 [param('uint32_t', 'nonce')],
6220 is_virtual=True)
6221 ## ndn-pit-entry.h (module 'ndnSIM'): bool ns3::ndn::pit::Entry::AreAllOutgoingInVain() const [member function]
6222 cls.add_method('AreAllOutgoingInVain',
6223 'bool',
6224 [],
6225 is_const=True)
6226 ## ndn-pit-entry.h (module 'ndnSIM'): bool ns3::ndn::pit::Entry::AreTherePromisingOutgoingFacesExcept(ns3::Ptr<ns3::ndn::Face> face) const [member function]
6227 cls.add_method('AreTherePromisingOutgoingFacesExcept',
6228 'bool',
6229 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
6230 is_const=True)
6231 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::ClearIncoming() [member function]
6232 cls.add_method('ClearIncoming',
6233 'void',
6234 [],
6235 is_virtual=True)
6236 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::ClearOutgoing() [member function]
6237 cls.add_method('ClearOutgoing',
6238 'void',
6239 [],
6240 is_virtual=True)
6241 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::Time const & ns3::ndn::pit::Entry::GetExpireTime() const [member function]
6242 cls.add_method('GetExpireTime',
6243 'ns3::Time const &',
6244 [],
6245 is_const=True)
6246 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::fib::Entry> ns3::ndn::pit::Entry::GetFibEntry() [member function]
6247 cls.add_method('GetFibEntry',
6248 'ns3::Ptr< ns3::ndn::fib::Entry >',
6249 [])
6250 ## ndn-pit-entry.h (module 'ndnSIM'): std::set<ns3::ndn::pit::IncomingFace, std::less<ns3::ndn::pit::IncomingFace>, std::allocator<ns3::ndn::pit::IncomingFace> > const & ns3::ndn::pit::Entry::GetIncoming() const [member function]
6251 cls.add_method('GetIncoming',
6252 'std::set< ns3::ndn::pit::IncomingFace > const &',
6253 [],
6254 is_const=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07006255 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::Interest const> ns3::ndn::pit::Entry::GetInterest() const [member function]
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006256 cls.add_method('GetInterest',
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07006257 'ns3::Ptr< ns3::ndn::Interest const >',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006258 [],
6259 is_const=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006260 ## ndn-pit-entry.h (module 'ndnSIM'): uint32_t ns3::ndn::pit::Entry::GetMaxRetxCount() const [member function]
6261 cls.add_method('GetMaxRetxCount',
6262 'uint32_t',
6263 [],
6264 is_const=True)
Alexander Afanasyevc202fd92012-09-03 21:46:00 -07006265 ## ndn-pit-entry.h (module 'ndnSIM'): std::set<ns3::ndn::pit::OutgoingFace, std::less<ns3::ndn::pit::OutgoingFace>, std::allocator<ns3::ndn::pit::OutgoingFace> > const & ns3::ndn::pit::Entry::GetOutgoing() const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006266 cls.add_method('GetOutgoing',
Alexander Afanasyevc202fd92012-09-03 21:46:00 -07006267 'std::set< ns3::ndn::pit::OutgoingFace > const &',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006268 [],
6269 is_const=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006270 ## ndn-pit-entry.h (module 'ndnSIM'): uint32_t ns3::ndn::pit::Entry::GetOutgoingCount() const [member function]
6271 cls.add_method('GetOutgoingCount',
6272 'uint32_t',
6273 [],
6274 is_const=True)
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07006275 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::Name const & ns3::ndn::pit::Entry::GetPrefix() const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006276 cls.add_method('GetPrefix',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07006277 'ns3::ndn::Name const &',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006278 [],
6279 is_const=True)
6280 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::IncreaseAllowedRetxCount() [member function]
6281 cls.add_method('IncreaseAllowedRetxCount',
6282 'void',
6283 [],
6284 is_virtual=True)
6285 ## ndn-pit-entry.h (module 'ndnSIM'): bool ns3::ndn::pit::Entry::IsNonceSeen(uint32_t nonce) const [member function]
6286 cls.add_method('IsNonceSeen',
6287 'bool',
6288 [param('uint32_t', 'nonce')],
6289 is_const=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006290 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::OffsetLifetime(ns3::Time const & offsetTime) [member function]
6291 cls.add_method('OffsetLifetime',
6292 'void',
6293 [param('ns3::Time const &', 'offsetTime')],
6294 is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006295 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::RemoveAllReferencesToFace(ns3::Ptr<ns3::ndn::Face> face) [member function]
6296 cls.add_method('RemoveAllReferencesToFace',
6297 'void',
6298 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
6299 is_virtual=True)
6300 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::RemoveIncoming(ns3::Ptr<ns3::ndn::Face> face) [member function]
6301 cls.add_method('RemoveIncoming',
6302 'void',
6303 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
6304 is_virtual=True)
6305 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::SetWaitingInVain(ns3::Ptr<ns3::ndn::Face> face) [member function]
6306 cls.add_method('SetWaitingInVain',
6307 'void',
6308 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
6309 is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006310 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::UpdateLifetime(ns3::Time const & lifetime) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006311 cls.add_method('UpdateLifetime',
6312 'void',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006313 [param('ns3::Time const &', 'lifetime')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006314 is_virtual=True)
6315 return
6316
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08006317def register_Ns3NdnPitEntryIsNotEmpty_methods(root_module, cls):
6318 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::EntryIsNotEmpty::EntryIsNotEmpty() [constructor]
6319 cls.add_constructor([])
6320 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::EntryIsNotEmpty::EntryIsNotEmpty(ns3::ndn::pit::EntryIsNotEmpty const & arg0) [copy constructor]
6321 cls.add_constructor([param('ns3::ndn::pit::EntryIsNotEmpty const &', 'arg0')])
6322 ## ndn-pit-entry.h (module 'ndnSIM'): bool ns3::ndn::pit::EntryIsNotEmpty::operator()(ns3::Ptr<ns3::ndn::pit::Entry> entry) [member operator]
6323 cls.add_method('operator()',
6324 'bool',
6325 [param('ns3::Ptr< ns3::ndn::pit::Entry >', 'entry')],
6326 custom_name='__call__')
6327 return
6328
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006329def register_Ns3NdnPitIncomingFace_methods(root_module, cls):
6330 cls.add_binary_comparison_operator('==')
6331 cls.add_binary_comparison_operator('<')
6332 ## ndn-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::ndn::pit::IncomingFace::IncomingFace(ns3::ndn::pit::IncomingFace const & arg0) [copy constructor]
6333 cls.add_constructor([param('ns3::ndn::pit::IncomingFace const &', 'arg0')])
6334 ## ndn-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::ndn::pit::IncomingFace::IncomingFace(ns3::Ptr<ns3::ndn::Face> face) [constructor]
6335 cls.add_constructor([param('ns3::Ptr< ns3::ndn::Face >', 'face')])
6336 ## ndn-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::ndn::pit::IncomingFace::IncomingFace() [constructor]
6337 cls.add_constructor([])
6338 ## ndn-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::ndn::pit::IncomingFace::m_arrivalTime [variable]
6339 cls.add_instance_attribute('m_arrivalTime', 'ns3::Time', is_const=False)
6340 ## ndn-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::ndn::pit::IncomingFace::m_face [variable]
6341 cls.add_instance_attribute('m_face', 'ns3::Ptr< ns3::ndn::Face >', is_const=False)
6342 return
6343
6344def register_Ns3NdnPitOutgoingFace_methods(root_module, cls):
6345 cls.add_binary_comparison_operator('==')
6346 cls.add_binary_comparison_operator('<')
6347 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::OutgoingFace(ns3::ndn::pit::OutgoingFace const & arg0) [copy constructor]
6348 cls.add_constructor([param('ns3::ndn::pit::OutgoingFace const &', 'arg0')])
6349 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::OutgoingFace(ns3::Ptr<ns3::ndn::Face> face) [constructor]
6350 cls.add_constructor([param('ns3::Ptr< ns3::ndn::Face >', 'face')])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07006351 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::OutgoingFace() [constructor]
6352 cls.add_constructor([])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006353 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): void ns3::ndn::pit::OutgoingFace::UpdateOnRetransmit() [member function]
6354 cls.add_method('UpdateOnRetransmit',
6355 'void',
6356 [])
6357 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::m_face [variable]
6358 cls.add_instance_attribute('m_face', 'ns3::Ptr< ns3::ndn::Face >', is_const=False)
6359 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::m_retxCount [variable]
6360 cls.add_instance_attribute('m_retxCount', 'uint32_t', is_const=False)
6361 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::m_sendTime [variable]
6362 cls.add_instance_attribute('m_sendTime', 'ns3::Time', is_const=False)
6363 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::m_waitingInVain [variable]
6364 cls.add_instance_attribute('m_waitingInVain', 'bool', is_const=False)
6365 return
6366
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006367def register_Ns3NdnPitI_face_methods(root_module, cls):
6368 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::i_face::i_face() [constructor]
6369 cls.add_constructor([])
6370 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::i_face::i_face(ns3::ndn::pit::i_face const & arg0) [copy constructor]
6371 cls.add_constructor([param('ns3::ndn::pit::i_face const &', 'arg0')])
6372 return
6373
6374def register_Ns3NdnPitI_retx_methods(root_module, cls):
6375 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::i_retx::i_retx() [constructor]
6376 cls.add_constructor([])
6377 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::i_retx::i_retx(ns3::ndn::pit::i_retx const & arg0) [copy constructor]
6378 cls.add_constructor([param('ns3::ndn::pit::i_retx const &', 'arg0')])
6379 return
6380
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08006381def register_functions(root_module):
6382 module = root_module
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08006383 register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module)
6384 register_functions_ns3_internal(module.get_submodule('internal'), root_module)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006385 register_functions_ns3_ndn(module.get_submodule('ndn'), root_module)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08006386 return
6387
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08006388def register_functions_ns3_FatalImpl(module, root_module):
6389 return
6390
6391def register_functions_ns3_internal(module, root_module):
6392 return
6393
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006394def register_functions_ns3_ndn(module, root_module):
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08006395 ## ndn-name.h (module 'ndnSIM'): extern ns3::Ptr<ns3::AttributeChecker const> ns3::ndn::MakeNameChecker() [free function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08006396 module.add_function('MakeNameChecker',
6397 'ns3::Ptr< ns3::AttributeChecker const >',
6398 [])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006399 register_functions_ns3_ndn_cs(module.get_submodule('cs'), root_module)
6400 register_functions_ns3_ndn_fib(module.get_submodule('fib'), root_module)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006401 register_functions_ns3_ndn_fw(module.get_submodule('fw'), root_module)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006402 register_functions_ns3_ndn_pit(module.get_submodule('pit'), root_module)
6403 return
6404
6405def register_functions_ns3_ndn_cs(module, root_module):
6406 return
6407
6408def register_functions_ns3_ndn_fib(module, root_module):
6409 return
6410
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006411def register_functions_ns3_ndn_fw(module, root_module):
6412 return
6413
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006414def register_functions_ns3_ndn_pit(module, root_module):
6415 return
6416
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08006417def main():
6418 out = FileCodeSink(sys.stdout)
6419 root_module = module_init()
6420 register_types(root_module)
6421 register_methods(root_module)
6422 register_functions(root_module)
6423 root_module.generate(out)
6424
6425if __name__ == '__main__':
6426 main()
6427