blob: 0e3df61870d1d97bd982570a9304b5ea8a973921 [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 Afanasyev76b11572013-07-16 21:49:50 -070099 ## simulator.h (module 'core'): ns3::Simulator [class]
100 module.add_class('Simulator', destructor_visibility='private', import_from_module='ns.core')
Alexander Afanasyevad5acce2012-05-31 12:43:08 -0700101 ## tag.h (module 'network'): ns3::Tag [class]
102 module.add_class('Tag', import_from_module='ns.network', parent=root_module['ns3::ObjectBase'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800103 ## tag-buffer.h (module 'network'): ns3::TagBuffer [class]
104 module.add_class('TagBuffer', import_from_module='ns.network')
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -0700105 ## traced-value.h (module 'core'): ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status> [class]
106 module.add_class('TracedValue', template_parameters=['ns3::ndn::fib::FaceMetric::Status'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700107 ## random-variable.h (module 'core'): ns3::TriangularVariable [class]
108 module.add_class('TriangularVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800109 ## type-id.h (module 'core'): ns3::TypeId [class]
110 module.add_class('TypeId', import_from_module='ns.core')
111 ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration]
112 module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core')
113 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct]
114 module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId'])
115 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct]
116 module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700117 ## random-variable.h (module 'core'): ns3::UniformVariable [class]
118 module.add_class('UniformVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700119 ## random-variable.h (module 'core'): ns3::WeibullVariable [class]
120 module.add_class('WeibullVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
121 ## random-variable.h (module 'core'): ns3::ZetaVariable [class]
122 module.add_class('ZetaVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
123 ## random-variable.h (module 'core'): ns3::ZipfVariable [class]
124 module.add_class('ZipfVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800125 ## empty.h (module 'core'): ns3::empty [class]
126 module.add_class('empty', import_from_module='ns.core')
127 ## int64x64-double.h (module 'core'): ns3::int64x64_t [class]
128 module.add_class('int64x64_t', import_from_module='ns.core')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800129 ## chunk.h (module 'network'): ns3::Chunk [class]
Alexander Afanasyev4756b892012-04-18 14:48:43 -0700130 module.add_class('Chunk', import_from_module='ns.network', parent=root_module['ns3::ObjectBase'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700131 ## random-variable.h (module 'core'): ns3::ConstantVariable [class]
132 module.add_class('ConstantVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
133 ## random-variable.h (module 'core'): ns3::DeterministicVariable [class]
134 module.add_class('DeterministicVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
135 ## random-variable.h (module 'core'): ns3::EmpiricalVariable [class]
136 module.add_class('EmpiricalVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
137 ## random-variable.h (module 'core'): ns3::ErlangVariable [class]
138 module.add_class('ErlangVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
139 ## random-variable.h (module 'core'): ns3::ExponentialVariable [class]
140 module.add_class('ExponentialVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
141 ## random-variable.h (module 'core'): ns3::GammaVariable [class]
142 module.add_class('GammaVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800143 ## header.h (module 'network'): ns3::Header [class]
144 module.add_class('Header', import_from_module='ns.network', parent=root_module['ns3::Chunk'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700145 ## random-variable.h (module 'core'): ns3::IntEmpiricalVariable [class]
146 module.add_class('IntEmpiricalVariable', import_from_module='ns.core', parent=root_module['ns3::EmpiricalVariable'])
147 ## random-variable.h (module 'core'): ns3::LogNormalVariable [class]
148 module.add_class('LogNormalVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
149 ## random-variable.h (module 'core'): ns3::NormalVariable [class]
150 module.add_class('NormalVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800151 ## object.h (module 'core'): ns3::Object [class]
152 module.add_class('Object', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >'])
153 ## object.h (module 'core'): ns3::Object::AggregateIterator [class]
154 module.add_class('AggregateIterator', import_from_module='ns.core', outer_class=root_module['ns3::Object'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700155 ## random-variable.h (module 'core'): ns3::ParetoVariable [class]
156 module.add_class('ParetoVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800157 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> > [class]
158 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'))
159 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> > [class]
160 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'))
161 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> > [class]
162 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'))
163 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> > [class]
164 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 -0800165 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> > [class]
166 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'))
167 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> > [class]
168 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 -0800169 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> > [class]
170 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 -0700171 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter<ns3::TopologyReader> > [class]
172 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 -0800173 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> > [class]
174 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 Afanasyev858d5312013-07-10 18:50:18 -0700175 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::ContentObject, ns3::empty, ns3::DefaultDeleter<ns3::ndn::ContentObject> > [class]
176 module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::ndn::ContentObject', 'ns3::empty', 'ns3::DefaultDeleter<ns3::ndn::ContentObject>'], 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 -0700177 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::FaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::ndn::FaceContainer> > [class]
178 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 Afanasyev858d5312013-07-10 18:50:18 -0700179 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::Interest, ns3::empty, ns3::DefaultDeleter<ns3::ndn::Interest> > [class]
180 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::ndn::Interest', 'ns3::empty', 'ns3::DefaultDeleter<ns3::ndn::Interest>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyev32c07562013-02-01 12:58:43 -0800181 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::Name, ns3::empty, ns3::DefaultDeleter<ns3::ndn::Name> > [class]
182 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 -0700183 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::cs::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::cs::Entry> > [class]
184 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 -0700185 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::pit::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::pit::Entry> > [class]
186 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 -0800187 ## nstime.h (module 'core'): ns3::Time [class]
188 module.add_class('Time', import_from_module='ns.core')
189 ## nstime.h (module 'core'): ns3::Time::Unit [enumeration]
190 module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core')
191 ## nstime.h (module 'core'): ns3::Time [class]
192 root_module['ns3::Time'].implicitly_converts_to(root_module['ns3::int64x64_t'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700193 ## topology-reader.h (module 'topology-read'): ns3::TopologyReader [class]
194 module.add_class('TopologyReader', import_from_module='ns.topology_read', parent=root_module['ns3::SimpleRefCount< ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter<ns3::TopologyReader> >'])
195 ## topology-reader.h (module 'topology-read'): ns3::TopologyReader::Link [class]
196 module.add_class('Link', import_from_module='ns.topology_read', outer_class=root_module['ns3::TopologyReader'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800197 ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor [class]
198 module.add_class('TraceSourceAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
199 ## trailer.h (module 'network'): ns3::Trailer [class]
200 module.add_class('Trailer', import_from_module='ns.network', parent=root_module['ns3::Chunk'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700201 ## annotated-topology-reader.h (module 'ndnSIM'): ns3::AnnotatedTopologyReader [class]
202 module.add_class('AnnotatedTopologyReader', parent=root_module['ns3::TopologyReader'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800203 ## application.h (module 'network'): ns3::Application [class]
204 module.add_class('Application', import_from_module='ns.network', parent=root_module['ns3::Object'])
205 ## attribute.h (module 'core'): ns3::AttributeAccessor [class]
206 module.add_class('AttributeAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >'])
207 ## attribute.h (module 'core'): ns3::AttributeChecker [class]
208 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> >'])
209 ## attribute.h (module 'core'): ns3::AttributeValue [class]
210 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 -0700211 ## boolean.h (module 'core'): ns3::BooleanChecker [class]
212 module.add_class('BooleanChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
213 ## boolean.h (module 'core'): ns3::BooleanValue [class]
214 module.add_class('BooleanValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyeve4795ae2013-07-11 20:01:31 -0700215 ## callback-based-app.h (module 'ndnSIM'): ns3::CallbackBasedApp [class]
216 module.add_class('CallbackBasedApp', parent=root_module['ns3::Application'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800217 ## callback.h (module 'core'): ns3::CallbackChecker [class]
218 module.add_class('CallbackChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
219 ## callback.h (module 'core'): ns3::CallbackImplBase [class]
220 module.add_class('CallbackImplBase', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >'])
221 ## callback.h (module 'core'): ns3::CallbackValue [class]
222 module.add_class('CallbackValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700223 ## double.h (module 'core'): ns3::DoubleValue [class]
224 module.add_class('DoubleValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800225 ## attribute.h (module 'core'): ns3::EmptyAttributeValue [class]
226 module.add_class('EmptyAttributeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700227 ## enum.h (module 'core'): ns3::EnumChecker [class]
228 module.add_class('EnumChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
229 ## enum.h (module 'core'): ns3::EnumValue [class]
230 module.add_class('EnumValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800231 ## event-impl.h (module 'core'): ns3::EventImpl [class]
232 module.add_class('EventImpl', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >'])
233 ## integer.h (module 'core'): ns3::IntegerValue [class]
234 module.add_class('IntegerValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
235 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker [class]
236 module.add_class('Ipv4AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
237 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue [class]
238 module.add_class('Ipv4AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
239 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker [class]
240 module.add_class('Ipv4MaskChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
241 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue [class]
242 module.add_class('Ipv4MaskValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
243 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker [class]
244 module.add_class('Ipv6AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
245 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue [class]
246 module.add_class('Ipv6AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
247 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker [class]
248 module.add_class('Ipv6PrefixChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
249 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue [class]
250 module.add_class('Ipv6PrefixValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800251 ## net-device.h (module 'network'): ns3::NetDevice [class]
252 module.add_class('NetDevice', import_from_module='ns.network', parent=root_module['ns3::Object'])
253 ## net-device.h (module 'network'): ns3::NetDevice::PacketType [enumeration]
254 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')
255 ## nix-vector.h (module 'network'): ns3::NixVector [class]
256 module.add_class('NixVector', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >'])
257 ## node.h (module 'network'): ns3::Node [class]
258 module.add_class('Node', import_from_module='ns.network', parent=root_module['ns3::Object'])
259 ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker [class]
260 module.add_class('ObjectFactoryChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
261 ## object-factory.h (module 'core'): ns3::ObjectFactoryValue [class]
262 module.add_class('ObjectFactoryValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800263 ## packet.h (module 'network'): ns3::Packet [class]
264 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 -0700265 ## random-variable.h (module 'core'): ns3::RandomVariableChecker [class]
266 module.add_class('RandomVariableChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
267 ## random-variable.h (module 'core'): ns3::RandomVariableValue [class]
268 module.add_class('RandomVariableValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
269 ## rocketfuel-weights-reader.h (module 'ndnSIM'): ns3::RocketfuelWeightsReader [class]
270 module.add_class('RocketfuelWeightsReader', parent=root_module['ns3::AnnotatedTopologyReader'])
271 ## rocketfuel-weights-reader.h (module 'ndnSIM'): ns3::RocketfuelWeightsReader [enumeration]
272 module.add_enum('', ['LINKS', 'WEIGHTS', 'LATENCIES', 'POSITIONS'], outer_class=root_module['ns3::RocketfuelWeightsReader'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800273 ## nstime.h (module 'core'): ns3::TimeChecker [class]
274 module.add_class('TimeChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
275 ## nstime.h (module 'core'): ns3::TimeValue [class]
276 module.add_class('TimeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
277 ## type-id.h (module 'core'): ns3::TypeIdChecker [class]
278 module.add_class('TypeIdChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
279 ## type-id.h (module 'core'): ns3::TypeIdValue [class]
280 module.add_class('TypeIdValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700281 ## uinteger.h (module 'core'): ns3::UintegerValue [class]
282 module.add_class('UintegerValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800283 ## address.h (module 'network'): ns3::AddressChecker [class]
284 module.add_class('AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
285 ## address.h (module 'network'): ns3::AddressValue [class]
286 module.add_class('AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700287 module.add_container('std::map< std::string, std::string >', ('std::string', 'std::string'), container_type='map')
288 module.add_container('std::list< ns3::TopologyReader::Link >', 'ns3::TopologyReader::Link', container_type='list')
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -0700289 typehandlers.add_type_alias('ns3::SequenceNumber< short unsigned int, short int >', 'ns3::SequenceNumber16')
290 typehandlers.add_type_alias('ns3::SequenceNumber< short unsigned int, short int >*', 'ns3::SequenceNumber16*')
291 typehandlers.add_type_alias('ns3::SequenceNumber< short unsigned int, short int >&', 'ns3::SequenceNumber16&')
292 typehandlers.add_type_alias('ns3::SequenceNumber< unsigned int, int >', 'ns3::SequenceNumber32')
293 typehandlers.add_type_alias('ns3::SequenceNumber< unsigned int, int >*', 'ns3::SequenceNumber32*')
294 typehandlers.add_type_alias('ns3::SequenceNumber< unsigned int, int >&', 'ns3::SequenceNumber32&')
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700295 typehandlers.add_type_alias('ns3::RngSeedManager', 'ns3::SeedManager')
296 typehandlers.add_type_alias('ns3::RngSeedManager*', 'ns3::SeedManager*')
297 typehandlers.add_type_alias('ns3::RngSeedManager&', 'ns3::SeedManager&')
298 module.add_typedef(root_module['ns3::RngSeedManager'], 'SeedManager')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800299
300 ## Register a nested module for the namespace FatalImpl
301
302 nested_module = module.add_cpp_namespace('FatalImpl')
303 register_types_ns3_FatalImpl(nested_module)
304
305
306 ## Register a nested module for the namespace internal
307
308 nested_module = module.add_cpp_namespace('internal')
309 register_types_ns3_internal(nested_module)
310
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700311
312 ## Register a nested module for the namespace ndn
313
314 nested_module = module.add_cpp_namespace('ndn')
315 register_types_ns3_ndn(nested_module)
316
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800317
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800318def register_types_ns3_FatalImpl(module):
319 root_module = module.get_root()
320
321
322def register_types_ns3_internal(module):
323 root_module = module.get_root()
324
325
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700326def register_types_ns3_ndn(module):
327 root_module = module.get_root()
328
329 ## ndn-app.h (module 'ndnSIM'): ns3::ndn::App [class]
330 module.add_class('App', parent=root_module['ns3::Application'])
331 ## ndn-app-helper.h (module 'ndnSIM'): ns3::ndn::AppHelper [class]
332 module.add_class('AppHelper')
Alexander Afanasyev76b11572013-07-16 21:49:50 -0700333 ## blob.h (module 'ndnSIM'): ns3::ndn::Blob [class]
334 module.add_class('Blob')
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -0700335 ## ndn-content-object.h (module 'ndnSIM'): ns3::ndn::ContentObject [class]
Alexander Afanasyev858d5312013-07-10 18:50:18 -0700336 module.add_class('ContentObject', parent=root_module['ns3::SimpleRefCount< ns3::ndn::ContentObject, ns3::empty, ns3::DefaultDeleter<ns3::ndn::ContentObject> >'])
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -0700337 ## ndn-content-object.h (module 'ndnSIM'): ns3::ndn::ContentObjectException [class]
338 module.add_class('ContentObjectException')
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700339 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::ContentStore [class]
340 module.add_class('ContentStore', parent=root_module['ns3::Object'])
Alexander Afanasyev76b11572013-07-16 21:49:50 -0700341 ## exclude.h (module 'ndnSIM'): ns3::ndn::Exclude [class]
342 module.add_class('Exclude')
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700343 ## ndn-face.h (module 'ndnSIM'): ns3::ndn::Face [class]
344 module.add_class('Face', parent=root_module['ns3::Object'])
Alexander Afanasyev858d5312013-07-10 18:50:18 -0700345 ## ndn-face.h (module 'ndnSIM'): ns3::ndn::Face::Flags [enumeration]
346 module.add_enum('Flags', ['APPLICATION'], outer_class=root_module['ns3::ndn::Face'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700347 ## ndn-face-container.h (module 'ndnSIM'): ns3::ndn::FaceContainer [class]
348 module.add_class('FaceContainer', parent=root_module['ns3::SimpleRefCount< ns3::ndn::FaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::ndn::FaceContainer> >'])
349 ## ndn-fib.h (module 'ndnSIM'): ns3::ndn::Fib [class]
350 module.add_class('Fib', parent=root_module['ns3::Object'])
351 ## ndn-forwarding-strategy.h (module 'ndnSIM'): ns3::ndn::ForwardingStrategy [class]
352 module.add_class('ForwardingStrategy', parent=root_module['ns3::Object'])
353 ## ndn-global-routing-helper.h (module 'ndnSIM'): ns3::ndn::GlobalRoutingHelper [class]
354 module.add_class('GlobalRoutingHelper')
355 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::HeaderHelper [class]
356 module.add_class('HeaderHelper')
357 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::HeaderHelper::Type [enumeration]
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -0800358 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 -0700359 ## ndn-interest.h (module 'ndnSIM'): ns3::ndn::Interest [class]
Alexander Afanasyev858d5312013-07-10 18:50:18 -0700360 module.add_class('Interest', parent=root_module['ns3::SimpleRefCount< ns3::ndn::Interest, ns3::empty, ns3::DefaultDeleter<ns3::ndn::Interest> >'])
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -0700361 ## ndn-interest.h (module 'ndnSIM'): ns3::ndn::Interest [enumeration]
362 module.add_enum('', ['NORMAL_INTEREST', 'NACK_LOOP', 'NACK_CONGESTION', 'NACK_GIVEUP_PIT'], outer_class=root_module['ns3::ndn::Interest'])
363 ## ndn-interest.h (module 'ndnSIM'): ns3::ndn::InterestException [class]
364 module.add_class('InterestException')
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700365 ## ndn-l3-protocol.h (module 'ndnSIM'): ns3::ndn::L3Protocol [class]
366 module.add_class('L3Protocol', parent=root_module['ns3::Object'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700367 ## ndn-limits.h (module 'ndnSIM'): ns3::ndn::Limits [class]
368 module.add_class('Limits', parent=root_module['ns3::Object'])
Alexander Afanasyev76b11572013-07-16 21:49:50 -0700369 ## name.h (module 'ndnSIM'): ns3::ndn::Name [class]
Alexander Afanasyev32c07562013-02-01 12:58:43 -0800370 module.add_class('Name', parent=root_module['ns3::SimpleRefCount< ns3::ndn::Name, ns3::empty, ns3::DefaultDeleter<ns3::ndn::Name> >'])
Alexander Afanasyev76b11572013-07-16 21:49:50 -0700371 ## name.h (module 'ndnSIM'): ns3::ndn::NameChecker [class]
Alexander Afanasyev32c07562013-02-01 12:58:43 -0800372 module.add_class('NameChecker', parent=root_module['ns3::AttributeChecker'])
Alexander Afanasyev76b11572013-07-16 21:49:50 -0700373 ## name.h (module 'ndnSIM'): ns3::ndn::NameValue [class]
Alexander Afanasyev32c07562013-02-01 12:58:43 -0800374 module.add_class('NameValue', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700375 ## ndn-net-device-face.h (module 'ndnSIM'): ns3::ndn::NetDeviceFace [class]
376 module.add_class('NetDeviceFace', parent=root_module['ns3::ndn::Face'])
377 ## ndn-pit.h (module 'ndnSIM'): ns3::ndn::Pit [class]
378 module.add_class('Pit', parent=root_module['ns3::Object'])
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -0700379 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::ndn::RttEstimator [class]
380 module.add_class('RttEstimator', parent=root_module['ns3::Object'])
381 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::ndn::RttHistory [class]
382 module.add_class('RttHistory')
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700383 ## ndn-stack-helper.h (module 'ndnSIM'): ns3::ndn::StackHelper [class]
384 module.add_class('StackHelper')
385 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::UnknownHeaderException [class]
386 module.add_class('UnknownHeaderException')
Alexander Afanasyev76b11572013-07-16 21:49:50 -0700387 ## ndn-wire.h (module 'ndnSIM'): ns3::ndn::Wire [struct]
388 module.add_class('Wire')
389 ## ndn-wire.h (module 'ndnSIM'): ns3::ndn::Wire [enumeration]
390 module.add_enum('', ['WIRE_FORMAT_DEFAULT', 'WIRE_FORMAT_AUTODETECT', 'WIRE_FORMAT_NDNSIM', 'WIRE_FORMAT_CCNB'], outer_class=root_module['ns3::ndn::Wire'])
Alexander Afanasyeva4e74282013-07-11 15:23:20 -0700391 ## ndn-api-face.h (module 'ndnSIM'): ns3::ndn::ApiFace [class]
392 module.add_class('ApiFace', parent=root_module['ns3::ndn::Face'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700393 ## ndn-app-face.h (module 'ndnSIM'): ns3::ndn::AppFace [class]
394 module.add_class('AppFace', parent=root_module['ns3::ndn::Face'])
Alexander Afanasyev76b11572013-07-16 21:49:50 -0700395 module.add_container('std::vector< char >', 'char', container_type='vector')
396 module.add_container('std::map< ns3::ndn::name::Component, bool, std::greater< ns3::ndn::name::Component >, std::allocator< std::pair< ns3::ndn::name::Component const, bool > > >', ('ns3::ndn::name::Component', 'bool'), container_type='map')
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700397 module.add_container('std::vector< ns3::Ptr< ns3::ndn::Face > >', 'ns3::Ptr< ns3::ndn::Face >', container_type='vector')
Alexander Afanasyev298c8442013-04-14 15:18:45 -0700398 typehandlers.add_type_alias('ns3::ndn::ContentObject', 'ns3::ndn::ContentObjectHeader')
399 typehandlers.add_type_alias('ns3::ndn::ContentObject*', 'ns3::ndn::ContentObjectHeader*')
400 typehandlers.add_type_alias('ns3::ndn::ContentObject&', 'ns3::ndn::ContentObjectHeader&')
401 module.add_typedef(root_module['ns3::ndn::ContentObject'], 'ContentObjectHeader')
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -0700402 typehandlers.add_type_alias('std::deque< ns3::ndn::RttHistory, std::allocator< ns3::ndn::RttHistory > >', 'ns3::ndn::RttHistory_t')
403 typehandlers.add_type_alias('std::deque< ns3::ndn::RttHistory, std::allocator< ns3::ndn::RttHistory > >*', 'ns3::ndn::RttHistory_t*')
404 typehandlers.add_type_alias('std::deque< ns3::ndn::RttHistory, std::allocator< ns3::ndn::RttHistory > >&', 'ns3::ndn::RttHistory_t&')
Alexander Afanasyev76b11572013-07-16 21:49:50 -0700405 typehandlers.add_type_alias('ns3::Time', 'ns3::ndn::TimeInterval')
406 typehandlers.add_type_alias('ns3::Time*', 'ns3::ndn::TimeInterval*')
407 typehandlers.add_type_alias('ns3::Time&', 'ns3::ndn::TimeInterval&')
408 module.add_typedef(root_module['ns3::Time'], 'TimeInterval')
Alexander Afanasyeve5a8b5a2013-03-15 15:15:26 -0700409 typehandlers.add_type_alias('ns3::ndn::Name', 'ns3::ndn::NameComponents')
410 typehandlers.add_type_alias('ns3::ndn::Name*', 'ns3::ndn::NameComponents*')
411 typehandlers.add_type_alias('ns3::ndn::Name&', 'ns3::ndn::NameComponents&')
412 module.add_typedef(root_module['ns3::ndn::Name'], 'NameComponents')
Alexander Afanasyev76b11572013-07-16 21:49:50 -0700413 typehandlers.add_type_alias('ns3::ndn::Interest', 'ns3::ndn::InterestHeader')
414 typehandlers.add_type_alias('ns3::ndn::Interest*', 'ns3::ndn::InterestHeader*')
415 typehandlers.add_type_alias('ns3::ndn::Interest&', 'ns3::ndn::InterestHeader&')
416 module.add_typedef(root_module['ns3::ndn::Interest'], 'InterestHeader')
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700417
418 ## Register a nested module for the namespace cs
419
420 nested_module = module.add_cpp_namespace('cs')
421 register_types_ns3_ndn_cs(nested_module)
422
423
424 ## Register a nested module for the namespace fib
425
426 nested_module = module.add_cpp_namespace('fib')
427 register_types_ns3_ndn_fib(nested_module)
428
429
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700430 ## Register a nested module for the namespace fw
431
432 nested_module = module.add_cpp_namespace('fw')
433 register_types_ns3_ndn_fw(nested_module)
434
435
Alexander Afanasyev76b11572013-07-16 21:49:50 -0700436 ## Register a nested module for the namespace name
437
438 nested_module = module.add_cpp_namespace('name')
439 register_types_ns3_ndn_name(nested_module)
440
441
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700442 ## Register a nested module for the namespace pit
443
444 nested_module = module.add_cpp_namespace('pit')
445 register_types_ns3_ndn_pit(nested_module)
446
Alexander Afanasyeva6cc9102013-07-15 18:44:24 -0700447
Alexander Afanasyev76b11572013-07-16 21:49:50 -0700448 ## Register a nested module for the namespace time
Alexander Afanasyeva6cc9102013-07-15 18:44:24 -0700449
Alexander Afanasyev76b11572013-07-16 21:49:50 -0700450 nested_module = module.add_cpp_namespace('time')
451 register_types_ns3_ndn_time(nested_module)
Alexander Afanasyeva6cc9102013-07-15 18:44:24 -0700452
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700453
454def register_types_ns3_ndn_cs(module):
455 root_module = module.get_root()
456
457 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::cs::Entry [class]
458 module.add_class('Entry', parent=root_module['ns3::SimpleRefCount< ns3::ndn::cs::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::cs::Entry> >'])
459
460def register_types_ns3_ndn_fib(module):
461 root_module = module.get_root()
462
463 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry [class]
Alexander Afanasyevf5c07742012-10-31 13:13:05 -0700464 module.add_class('Entry', parent=root_module['ns3::Object'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700465 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::NoFaces [class]
466 module.add_class('NoFaces', outer_class=root_module['ns3::ndn::fib::Entry'])
467 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric [class]
468 module.add_class('FaceMetric')
469 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric::Status [enumeration]
470 module.add_enum('Status', ['NDN_FIB_GREEN', 'NDN_FIB_YELLOW', 'NDN_FIB_RED'], outer_class=root_module['ns3::ndn::fib::FaceMetric'])
471 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetricContainer [struct]
472 module.add_class('FaceMetricContainer')
473 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_face [class]
474 module.add_class('i_face')
475 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_metric [class]
476 module.add_class('i_metric')
477 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_nth [class]
478 module.add_class('i_nth')
479
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700480def register_types_ns3_ndn_fw(module):
481 root_module = module.get_root()
482
483 ## ndn-fw-tag.h (module 'ndnSIM'): ns3::ndn::fw::Tag [class]
484 module.add_class('Tag')
485
Alexander Afanasyev76b11572013-07-16 21:49:50 -0700486def register_types_ns3_ndn_name(module):
487 root_module = module.get_root()
488
489 ## name-component.h (module 'ndnSIM'): ns3::ndn::name::Component [class]
490 module.add_class('Component', parent=root_module['ns3::ndn::Blob'])
491
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700492def register_types_ns3_ndn_pit(module):
493 root_module = module.get_root()
494
495 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::Entry [class]
496 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 -0800497 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::EntryIsNotEmpty [struct]
498 module.add_class('EntryIsNotEmpty')
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700499 ## ndn-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::ndn::pit::IncomingFace [struct]
500 module.add_class('IncomingFace')
501 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace [struct]
502 module.add_class('OutgoingFace')
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700503 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::i_face [class]
504 module.add_class('i_face')
505 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::i_retx [class]
506 module.add_class('i_retx')
507 module.add_container('std::set< ns3::ndn::pit::IncomingFace >', 'ns3::ndn::pit::IncomingFace', container_type='set')
Alexander Afanasyevc202fd92012-09-03 21:46:00 -0700508 module.add_container('std::set< ns3::ndn::pit::OutgoingFace >', 'ns3::ndn::pit::OutgoingFace', container_type='set')
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700509 module.add_container('std::set< unsigned int >', 'unsigned int', container_type='set')
510
Alexander Afanasyev76b11572013-07-16 21:49:50 -0700511def register_types_ns3_ndn_time(module):
Alexander Afanasyeva6cc9102013-07-15 18:44:24 -0700512 root_module = module.get_root()
513
Alexander Afanasyeva6cc9102013-07-15 18:44:24 -0700514
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800515def register_methods(root_module):
516 register_Ns3Address_methods(root_module, root_module['ns3::Address'])
517 register_Ns3ApplicationContainer_methods(root_module, root_module['ns3::ApplicationContainer'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800518 register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList'])
519 register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item'])
520 register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer'])
521 register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator'])
522 register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator'])
523 register_Ns3ByteTagIteratorItem_methods(root_module, root_module['ns3::ByteTagIterator::Item'])
524 register_Ns3ByteTagList_methods(root_module, root_module['ns3::ByteTagList'])
525 register_Ns3ByteTagListIterator_methods(root_module, root_module['ns3::ByteTagList::Iterator'])
526 register_Ns3ByteTagListIteratorItem_methods(root_module, root_module['ns3::ByteTagList::Iterator::Item'])
527 register_Ns3CallbackBase_methods(root_module, root_module['ns3::CallbackBase'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800528 register_Ns3EventId_methods(root_module, root_module['ns3::EventId'])
529 register_Ns3Ipv4Address_methods(root_module, root_module['ns3::Ipv4Address'])
530 register_Ns3Ipv4Mask_methods(root_module, root_module['ns3::Ipv4Mask'])
531 register_Ns3Ipv6Address_methods(root_module, root_module['ns3::Ipv6Address'])
532 register_Ns3Ipv6Prefix_methods(root_module, root_module['ns3::Ipv6Prefix'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700533 register_Ns3NetDeviceContainer_methods(root_module, root_module['ns3::NetDeviceContainer'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800534 register_Ns3NodeContainer_methods(root_module, root_module['ns3::NodeContainer'])
535 register_Ns3ObjectBase_methods(root_module, root_module['ns3::ObjectBase'])
536 register_Ns3ObjectDeleter_methods(root_module, root_module['ns3::ObjectDeleter'])
537 register_Ns3ObjectFactory_methods(root_module, root_module['ns3::ObjectFactory'])
538 register_Ns3PacketMetadata_methods(root_module, root_module['ns3::PacketMetadata'])
539 register_Ns3PacketMetadataItem_methods(root_module, root_module['ns3::PacketMetadata::Item'])
540 register_Ns3PacketMetadataItemIterator_methods(root_module, root_module['ns3::PacketMetadata::ItemIterator'])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -0700541 register_Ns3PacketTagIterator_methods(root_module, root_module['ns3::PacketTagIterator'])
542 register_Ns3PacketTagIteratorItem_methods(root_module, root_module['ns3::PacketTagIterator::Item'])
543 register_Ns3PacketTagList_methods(root_module, root_module['ns3::PacketTagList'])
544 register_Ns3PacketTagListTagData_methods(root_module, root_module['ns3::PacketTagList::TagData'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700545 register_Ns3RandomVariable_methods(root_module, root_module['ns3::RandomVariable'])
546 register_Ns3RngSeedManager_methods(root_module, root_module['ns3::RngSeedManager'])
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -0700547 register_Ns3SequenceNumber32_methods(root_module, root_module['ns3::SequenceNumber32'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700548 register_Ns3SequentialVariable_methods(root_module, root_module['ns3::SequentialVariable'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800549 register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >'])
Alexander Afanasyev76b11572013-07-16 21:49:50 -0700550 register_Ns3Simulator_methods(root_module, root_module['ns3::Simulator'])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -0700551 register_Ns3Tag_methods(root_module, root_module['ns3::Tag'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800552 register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer'])
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -0700553 register_Ns3TracedValue__Ns3NdnFibFaceMetricStatus_methods(root_module, root_module['ns3::TracedValue< ns3::ndn::fib::FaceMetric::Status >'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700554 register_Ns3TriangularVariable_methods(root_module, root_module['ns3::TriangularVariable'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800555 register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId'])
556 register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation'])
557 register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700558 register_Ns3UniformVariable_methods(root_module, root_module['ns3::UniformVariable'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700559 register_Ns3WeibullVariable_methods(root_module, root_module['ns3::WeibullVariable'])
560 register_Ns3ZetaVariable_methods(root_module, root_module['ns3::ZetaVariable'])
561 register_Ns3ZipfVariable_methods(root_module, root_module['ns3::ZipfVariable'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800562 register_Ns3Empty_methods(root_module, root_module['ns3::empty'])
563 register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800564 register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700565 register_Ns3ConstantVariable_methods(root_module, root_module['ns3::ConstantVariable'])
566 register_Ns3DeterministicVariable_methods(root_module, root_module['ns3::DeterministicVariable'])
567 register_Ns3EmpiricalVariable_methods(root_module, root_module['ns3::EmpiricalVariable'])
568 register_Ns3ErlangVariable_methods(root_module, root_module['ns3::ErlangVariable'])
569 register_Ns3ExponentialVariable_methods(root_module, root_module['ns3::ExponentialVariable'])
570 register_Ns3GammaVariable_methods(root_module, root_module['ns3::GammaVariable'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800571 register_Ns3Header_methods(root_module, root_module['ns3::Header'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700572 register_Ns3IntEmpiricalVariable_methods(root_module, root_module['ns3::IntEmpiricalVariable'])
573 register_Ns3LogNormalVariable_methods(root_module, root_module['ns3::LogNormalVariable'])
574 register_Ns3NormalVariable_methods(root_module, root_module['ns3::NormalVariable'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800575 register_Ns3Object_methods(root_module, root_module['ns3::Object'])
576 register_Ns3ObjectAggregateIterator_methods(root_module, root_module['ns3::Object::AggregateIterator'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700577 register_Ns3ParetoVariable_methods(root_module, root_module['ns3::ParetoVariable'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800578 register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >'])
579 register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeChecker__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >'])
580 register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >'])
581 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 -0800582 register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >'])
583 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 -0800584 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 -0700585 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 -0800586 register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
Alexander Afanasyev858d5312013-07-10 18:50:18 -0700587 register_Ns3SimpleRefCount__Ns3NdnContentObject_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnContentObject__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::ndn::ContentObject, ns3::empty, ns3::DefaultDeleter<ns3::ndn::ContentObject> >'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700588 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 Afanasyev858d5312013-07-10 18:50:18 -0700589 register_Ns3SimpleRefCount__Ns3NdnInterest_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnInterest__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::ndn::Interest, ns3::empty, ns3::DefaultDeleter<ns3::ndn::Interest> >'])
Alexander Afanasyev32c07562013-02-01 12:58:43 -0800590 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 -0700591 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 -0700592 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 -0800593 register_Ns3Time_methods(root_module, root_module['ns3::Time'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700594 register_Ns3TopologyReader_methods(root_module, root_module['ns3::TopologyReader'])
595 register_Ns3TopologyReaderLink_methods(root_module, root_module['ns3::TopologyReader::Link'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800596 register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor'])
597 register_Ns3Trailer_methods(root_module, root_module['ns3::Trailer'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700598 register_Ns3AnnotatedTopologyReader_methods(root_module, root_module['ns3::AnnotatedTopologyReader'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800599 register_Ns3Application_methods(root_module, root_module['ns3::Application'])
600 register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor'])
601 register_Ns3AttributeChecker_methods(root_module, root_module['ns3::AttributeChecker'])
602 register_Ns3AttributeValue_methods(root_module, root_module['ns3::AttributeValue'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700603 register_Ns3BooleanChecker_methods(root_module, root_module['ns3::BooleanChecker'])
604 register_Ns3BooleanValue_methods(root_module, root_module['ns3::BooleanValue'])
Alexander Afanasyeve4795ae2013-07-11 20:01:31 -0700605 register_Ns3CallbackBasedApp_methods(root_module, root_module['ns3::CallbackBasedApp'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800606 register_Ns3CallbackChecker_methods(root_module, root_module['ns3::CallbackChecker'])
607 register_Ns3CallbackImplBase_methods(root_module, root_module['ns3::CallbackImplBase'])
608 register_Ns3CallbackValue_methods(root_module, root_module['ns3::CallbackValue'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700609 register_Ns3DoubleValue_methods(root_module, root_module['ns3::DoubleValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800610 register_Ns3EmptyAttributeValue_methods(root_module, root_module['ns3::EmptyAttributeValue'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700611 register_Ns3EnumChecker_methods(root_module, root_module['ns3::EnumChecker'])
612 register_Ns3EnumValue_methods(root_module, root_module['ns3::EnumValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800613 register_Ns3EventImpl_methods(root_module, root_module['ns3::EventImpl'])
614 register_Ns3IntegerValue_methods(root_module, root_module['ns3::IntegerValue'])
615 register_Ns3Ipv4AddressChecker_methods(root_module, root_module['ns3::Ipv4AddressChecker'])
616 register_Ns3Ipv4AddressValue_methods(root_module, root_module['ns3::Ipv4AddressValue'])
617 register_Ns3Ipv4MaskChecker_methods(root_module, root_module['ns3::Ipv4MaskChecker'])
618 register_Ns3Ipv4MaskValue_methods(root_module, root_module['ns3::Ipv4MaskValue'])
619 register_Ns3Ipv6AddressChecker_methods(root_module, root_module['ns3::Ipv6AddressChecker'])
620 register_Ns3Ipv6AddressValue_methods(root_module, root_module['ns3::Ipv6AddressValue'])
621 register_Ns3Ipv6PrefixChecker_methods(root_module, root_module['ns3::Ipv6PrefixChecker'])
622 register_Ns3Ipv6PrefixValue_methods(root_module, root_module['ns3::Ipv6PrefixValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800623 register_Ns3NetDevice_methods(root_module, root_module['ns3::NetDevice'])
624 register_Ns3NixVector_methods(root_module, root_module['ns3::NixVector'])
625 register_Ns3Node_methods(root_module, root_module['ns3::Node'])
626 register_Ns3ObjectFactoryChecker_methods(root_module, root_module['ns3::ObjectFactoryChecker'])
627 register_Ns3ObjectFactoryValue_methods(root_module, root_module['ns3::ObjectFactoryValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800628 register_Ns3Packet_methods(root_module, root_module['ns3::Packet'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700629 register_Ns3RandomVariableChecker_methods(root_module, root_module['ns3::RandomVariableChecker'])
630 register_Ns3RandomVariableValue_methods(root_module, root_module['ns3::RandomVariableValue'])
631 register_Ns3RocketfuelWeightsReader_methods(root_module, root_module['ns3::RocketfuelWeightsReader'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800632 register_Ns3TimeChecker_methods(root_module, root_module['ns3::TimeChecker'])
633 register_Ns3TimeValue_methods(root_module, root_module['ns3::TimeValue'])
634 register_Ns3TypeIdChecker_methods(root_module, root_module['ns3::TypeIdChecker'])
635 register_Ns3TypeIdValue_methods(root_module, root_module['ns3::TypeIdValue'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700636 register_Ns3UintegerValue_methods(root_module, root_module['ns3::UintegerValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800637 register_Ns3AddressChecker_methods(root_module, root_module['ns3::AddressChecker'])
638 register_Ns3AddressValue_methods(root_module, root_module['ns3::AddressValue'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700639 register_Ns3NdnApp_methods(root_module, root_module['ns3::ndn::App'])
640 register_Ns3NdnAppHelper_methods(root_module, root_module['ns3::ndn::AppHelper'])
Alexander Afanasyev76b11572013-07-16 21:49:50 -0700641 register_Ns3NdnBlob_methods(root_module, root_module['ns3::ndn::Blob'])
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -0700642 register_Ns3NdnContentObject_methods(root_module, root_module['ns3::ndn::ContentObject'])
643 register_Ns3NdnContentObjectException_methods(root_module, root_module['ns3::ndn::ContentObjectException'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700644 register_Ns3NdnContentStore_methods(root_module, root_module['ns3::ndn::ContentStore'])
Alexander Afanasyev76b11572013-07-16 21:49:50 -0700645 register_Ns3NdnExclude_methods(root_module, root_module['ns3::ndn::Exclude'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700646 register_Ns3NdnFace_methods(root_module, root_module['ns3::ndn::Face'])
647 register_Ns3NdnFaceContainer_methods(root_module, root_module['ns3::ndn::FaceContainer'])
648 register_Ns3NdnFib_methods(root_module, root_module['ns3::ndn::Fib'])
649 register_Ns3NdnForwardingStrategy_methods(root_module, root_module['ns3::ndn::ForwardingStrategy'])
650 register_Ns3NdnGlobalRoutingHelper_methods(root_module, root_module['ns3::ndn::GlobalRoutingHelper'])
651 register_Ns3NdnHeaderHelper_methods(root_module, root_module['ns3::ndn::HeaderHelper'])
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -0700652 register_Ns3NdnInterest_methods(root_module, root_module['ns3::ndn::Interest'])
653 register_Ns3NdnInterestException_methods(root_module, root_module['ns3::ndn::InterestException'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700654 register_Ns3NdnL3Protocol_methods(root_module, root_module['ns3::ndn::L3Protocol'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700655 register_Ns3NdnLimits_methods(root_module, root_module['ns3::ndn::Limits'])
Alexander Afanasyev32c07562013-02-01 12:58:43 -0800656 register_Ns3NdnName_methods(root_module, root_module['ns3::ndn::Name'])
657 register_Ns3NdnNameChecker_methods(root_module, root_module['ns3::ndn::NameChecker'])
Alexander Afanasyev32c07562013-02-01 12:58:43 -0800658 register_Ns3NdnNameValue_methods(root_module, root_module['ns3::ndn::NameValue'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700659 register_Ns3NdnNetDeviceFace_methods(root_module, root_module['ns3::ndn::NetDeviceFace'])
660 register_Ns3NdnPit_methods(root_module, root_module['ns3::ndn::Pit'])
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -0700661 register_Ns3NdnRttEstimator_methods(root_module, root_module['ns3::ndn::RttEstimator'])
662 register_Ns3NdnRttHistory_methods(root_module, root_module['ns3::ndn::RttHistory'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700663 register_Ns3NdnStackHelper_methods(root_module, root_module['ns3::ndn::StackHelper'])
664 register_Ns3NdnUnknownHeaderException_methods(root_module, root_module['ns3::ndn::UnknownHeaderException'])
Alexander Afanasyev76b11572013-07-16 21:49:50 -0700665 register_Ns3NdnWire_methods(root_module, root_module['ns3::ndn::Wire'])
Alexander Afanasyeva4e74282013-07-11 15:23:20 -0700666 register_Ns3NdnApiFace_methods(root_module, root_module['ns3::ndn::ApiFace'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700667 register_Ns3NdnAppFace_methods(root_module, root_module['ns3::ndn::AppFace'])
668 register_Ns3NdnCsEntry_methods(root_module, root_module['ns3::ndn::cs::Entry'])
669 register_Ns3NdnFibEntry_methods(root_module, root_module['ns3::ndn::fib::Entry'])
670 register_Ns3NdnFibEntryNoFaces_methods(root_module, root_module['ns3::ndn::fib::Entry::NoFaces'])
671 register_Ns3NdnFibFaceMetric_methods(root_module, root_module['ns3::ndn::fib::FaceMetric'])
672 register_Ns3NdnFibFaceMetricContainer_methods(root_module, root_module['ns3::ndn::fib::FaceMetricContainer'])
673 register_Ns3NdnFibI_face_methods(root_module, root_module['ns3::ndn::fib::i_face'])
674 register_Ns3NdnFibI_metric_methods(root_module, root_module['ns3::ndn::fib::i_metric'])
675 register_Ns3NdnFibI_nth_methods(root_module, root_module['ns3::ndn::fib::i_nth'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700676 register_Ns3NdnFwTag_methods(root_module, root_module['ns3::ndn::fw::Tag'])
Alexander Afanasyev76b11572013-07-16 21:49:50 -0700677 register_Ns3NdnNameComponent_methods(root_module, root_module['ns3::ndn::name::Component'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700678 register_Ns3NdnPitEntry_methods(root_module, root_module['ns3::ndn::pit::Entry'])
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -0800679 register_Ns3NdnPitEntryIsNotEmpty_methods(root_module, root_module['ns3::ndn::pit::EntryIsNotEmpty'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700680 register_Ns3NdnPitIncomingFace_methods(root_module, root_module['ns3::ndn::pit::IncomingFace'])
681 register_Ns3NdnPitOutgoingFace_methods(root_module, root_module['ns3::ndn::pit::OutgoingFace'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700682 register_Ns3NdnPitI_face_methods(root_module, root_module['ns3::ndn::pit::i_face'])
683 register_Ns3NdnPitI_retx_methods(root_module, root_module['ns3::ndn::pit::i_retx'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800684 return
685
686def register_Ns3Address_methods(root_module, cls):
687 cls.add_binary_comparison_operator('!=')
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700688 cls.add_output_stream_operator()
Alexander Afanasyeva28ec562012-10-25 14:07:32 -0700689 cls.add_binary_comparison_operator('==')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800690 cls.add_binary_comparison_operator('<')
691 ## address.h (module 'network'): ns3::Address::Address() [constructor]
692 cls.add_constructor([])
693 ## address.h (module 'network'): ns3::Address::Address(uint8_t type, uint8_t const * buffer, uint8_t len) [constructor]
694 cls.add_constructor([param('uint8_t', 'type'), param('uint8_t const *', 'buffer'), param('uint8_t', 'len')])
695 ## address.h (module 'network'): ns3::Address::Address(ns3::Address const & address) [copy constructor]
696 cls.add_constructor([param('ns3::Address const &', 'address')])
697 ## address.h (module 'network'): bool ns3::Address::CheckCompatible(uint8_t type, uint8_t len) const [member function]
698 cls.add_method('CheckCompatible',
699 'bool',
700 [param('uint8_t', 'type'), param('uint8_t', 'len')],
701 is_const=True)
702 ## address.h (module 'network'): uint32_t ns3::Address::CopyAllFrom(uint8_t const * buffer, uint8_t len) [member function]
703 cls.add_method('CopyAllFrom',
704 'uint32_t',
705 [param('uint8_t const *', 'buffer'), param('uint8_t', 'len')])
706 ## address.h (module 'network'): uint32_t ns3::Address::CopyAllTo(uint8_t * buffer, uint8_t len) const [member function]
707 cls.add_method('CopyAllTo',
708 'uint32_t',
709 [param('uint8_t *', 'buffer'), param('uint8_t', 'len')],
710 is_const=True)
711 ## address.h (module 'network'): uint32_t ns3::Address::CopyFrom(uint8_t const * buffer, uint8_t len) [member function]
712 cls.add_method('CopyFrom',
713 'uint32_t',
714 [param('uint8_t const *', 'buffer'), param('uint8_t', 'len')])
715 ## address.h (module 'network'): uint32_t ns3::Address::CopyTo(uint8_t * buffer) const [member function]
716 cls.add_method('CopyTo',
717 'uint32_t',
718 [param('uint8_t *', 'buffer')],
719 is_const=True)
720 ## address.h (module 'network'): void ns3::Address::Deserialize(ns3::TagBuffer buffer) [member function]
721 cls.add_method('Deserialize',
722 'void',
723 [param('ns3::TagBuffer', 'buffer')])
724 ## address.h (module 'network'): uint8_t ns3::Address::GetLength() const [member function]
725 cls.add_method('GetLength',
726 'uint8_t',
727 [],
728 is_const=True)
729 ## address.h (module 'network'): uint32_t ns3::Address::GetSerializedSize() const [member function]
730 cls.add_method('GetSerializedSize',
731 'uint32_t',
732 [],
733 is_const=True)
734 ## address.h (module 'network'): bool ns3::Address::IsInvalid() const [member function]
735 cls.add_method('IsInvalid',
736 'bool',
737 [],
738 is_const=True)
739 ## address.h (module 'network'): bool ns3::Address::IsMatchingType(uint8_t type) const [member function]
740 cls.add_method('IsMatchingType',
741 'bool',
742 [param('uint8_t', 'type')],
743 is_const=True)
744 ## address.h (module 'network'): static uint8_t ns3::Address::Register() [member function]
745 cls.add_method('Register',
746 'uint8_t',
747 [],
748 is_static=True)
749 ## address.h (module 'network'): void ns3::Address::Serialize(ns3::TagBuffer buffer) const [member function]
750 cls.add_method('Serialize',
751 'void',
752 [param('ns3::TagBuffer', 'buffer')],
753 is_const=True)
754 return
755
756def register_Ns3ApplicationContainer_methods(root_module, cls):
757 ## application-container.h (module 'network'): ns3::ApplicationContainer::ApplicationContainer(ns3::ApplicationContainer const & arg0) [copy constructor]
758 cls.add_constructor([param('ns3::ApplicationContainer const &', 'arg0')])
759 ## application-container.h (module 'network'): ns3::ApplicationContainer::ApplicationContainer() [constructor]
760 cls.add_constructor([])
761 ## application-container.h (module 'network'): ns3::ApplicationContainer::ApplicationContainer(ns3::Ptr<ns3::Application> application) [constructor]
762 cls.add_constructor([param('ns3::Ptr< ns3::Application >', 'application')])
763 ## application-container.h (module 'network'): ns3::ApplicationContainer::ApplicationContainer(std::string name) [constructor]
764 cls.add_constructor([param('std::string', 'name')])
765 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Add(ns3::ApplicationContainer other) [member function]
766 cls.add_method('Add',
767 'void',
768 [param('ns3::ApplicationContainer', 'other')])
769 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Add(ns3::Ptr<ns3::Application> application) [member function]
770 cls.add_method('Add',
771 'void',
772 [param('ns3::Ptr< ns3::Application >', 'application')])
773 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Add(std::string name) [member function]
774 cls.add_method('Add',
775 'void',
776 [param('std::string', 'name')])
777 ## 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]
778 cls.add_method('Begin',
779 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Application > const, std::vector< ns3::Ptr< ns3::Application > > >',
780 [],
781 is_const=True)
782 ## 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]
783 cls.add_method('End',
784 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Application > const, std::vector< ns3::Ptr< ns3::Application > > >',
785 [],
786 is_const=True)
787 ## application-container.h (module 'network'): ns3::Ptr<ns3::Application> ns3::ApplicationContainer::Get(uint32_t i) const [member function]
788 cls.add_method('Get',
789 'ns3::Ptr< ns3::Application >',
790 [param('uint32_t', 'i')],
791 is_const=True)
792 ## application-container.h (module 'network'): uint32_t ns3::ApplicationContainer::GetN() const [member function]
793 cls.add_method('GetN',
794 'uint32_t',
795 [],
796 is_const=True)
797 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Start(ns3::Time start) [member function]
798 cls.add_method('Start',
799 'void',
800 [param('ns3::Time', 'start')])
801 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Stop(ns3::Time stop) [member function]
802 cls.add_method('Stop',
803 'void',
804 [param('ns3::Time', 'stop')])
805 return
806
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800807def register_Ns3AttributeConstructionList_methods(root_module, cls):
808 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor]
809 cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')])
810 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor]
811 cls.add_constructor([])
812 ## 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]
813 cls.add_method('Add',
814 'void',
815 [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')])
816 ## attribute-construction-list.h (module 'core'): std::_List_const_iterator<ns3::AttributeConstructionList::Item> ns3::AttributeConstructionList::Begin() const [member function]
817 cls.add_method('Begin',
818 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >',
819 [],
820 is_const=True)
821 ## attribute-construction-list.h (module 'core'): std::_List_const_iterator<ns3::AttributeConstructionList::Item> ns3::AttributeConstructionList::End() const [member function]
822 cls.add_method('End',
823 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >',
824 [],
825 is_const=True)
826 ## attribute-construction-list.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeConstructionList::Find(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
827 cls.add_method('Find',
828 'ns3::Ptr< ns3::AttributeValue >',
829 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
830 is_const=True)
831 return
832
833def register_Ns3AttributeConstructionListItem_methods(root_module, cls):
834 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor]
835 cls.add_constructor([])
836 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor]
837 cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')])
838 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable]
839 cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False)
840 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable]
841 cls.add_instance_attribute('name', 'std::string', is_const=False)
842 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable]
843 cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False)
844 return
845
846def register_Ns3Buffer_methods(root_module, cls):
847 ## buffer.h (module 'network'): ns3::Buffer::Buffer() [constructor]
848 cls.add_constructor([])
849 ## buffer.h (module 'network'): ns3::Buffer::Buffer(uint32_t dataSize) [constructor]
850 cls.add_constructor([param('uint32_t', 'dataSize')])
851 ## buffer.h (module 'network'): ns3::Buffer::Buffer(uint32_t dataSize, bool initialize) [constructor]
852 cls.add_constructor([param('uint32_t', 'dataSize'), param('bool', 'initialize')])
853 ## buffer.h (module 'network'): ns3::Buffer::Buffer(ns3::Buffer const & o) [copy constructor]
854 cls.add_constructor([param('ns3::Buffer const &', 'o')])
855 ## buffer.h (module 'network'): bool ns3::Buffer::AddAtEnd(uint32_t end) [member function]
856 cls.add_method('AddAtEnd',
857 'bool',
858 [param('uint32_t', 'end')])
859 ## buffer.h (module 'network'): void ns3::Buffer::AddAtEnd(ns3::Buffer const & o) [member function]
860 cls.add_method('AddAtEnd',
861 'void',
862 [param('ns3::Buffer const &', 'o')])
863 ## buffer.h (module 'network'): bool ns3::Buffer::AddAtStart(uint32_t start) [member function]
864 cls.add_method('AddAtStart',
865 'bool',
866 [param('uint32_t', 'start')])
867 ## buffer.h (module 'network'): ns3::Buffer::Iterator ns3::Buffer::Begin() const [member function]
868 cls.add_method('Begin',
869 'ns3::Buffer::Iterator',
870 [],
871 is_const=True)
872 ## buffer.h (module 'network'): void ns3::Buffer::CopyData(std::ostream * os, uint32_t size) const [member function]
873 cls.add_method('CopyData',
874 'void',
875 [param('std::ostream *', 'os'), param('uint32_t', 'size')],
876 is_const=True)
877 ## buffer.h (module 'network'): uint32_t ns3::Buffer::CopyData(uint8_t * buffer, uint32_t size) const [member function]
878 cls.add_method('CopyData',
879 'uint32_t',
880 [param('uint8_t *', 'buffer'), param('uint32_t', 'size')],
881 is_const=True)
882 ## buffer.h (module 'network'): ns3::Buffer ns3::Buffer::CreateFragment(uint32_t start, uint32_t length) const [member function]
883 cls.add_method('CreateFragment',
884 'ns3::Buffer',
885 [param('uint32_t', 'start'), param('uint32_t', 'length')],
886 is_const=True)
887 ## buffer.h (module 'network'): ns3::Buffer ns3::Buffer::CreateFullCopy() const [member function]
888 cls.add_method('CreateFullCopy',
889 'ns3::Buffer',
890 [],
891 is_const=True)
892 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Deserialize(uint8_t const * buffer, uint32_t size) [member function]
893 cls.add_method('Deserialize',
894 'uint32_t',
895 [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
896 ## buffer.h (module 'network'): ns3::Buffer::Iterator ns3::Buffer::End() const [member function]
897 cls.add_method('End',
898 'ns3::Buffer::Iterator',
899 [],
900 is_const=True)
901 ## buffer.h (module 'network'): int32_t ns3::Buffer::GetCurrentEndOffset() const [member function]
902 cls.add_method('GetCurrentEndOffset',
903 'int32_t',
904 [],
905 is_const=True)
906 ## buffer.h (module 'network'): int32_t ns3::Buffer::GetCurrentStartOffset() const [member function]
907 cls.add_method('GetCurrentStartOffset',
908 'int32_t',
909 [],
910 is_const=True)
911 ## buffer.h (module 'network'): uint32_t ns3::Buffer::GetSerializedSize() const [member function]
912 cls.add_method('GetSerializedSize',
913 'uint32_t',
914 [],
915 is_const=True)
916 ## buffer.h (module 'network'): uint32_t ns3::Buffer::GetSize() const [member function]
917 cls.add_method('GetSize',
918 'uint32_t',
919 [],
920 is_const=True)
921 ## buffer.h (module 'network'): uint8_t const * ns3::Buffer::PeekData() const [member function]
922 cls.add_method('PeekData',
923 'uint8_t const *',
924 [],
925 is_const=True)
926 ## buffer.h (module 'network'): void ns3::Buffer::RemoveAtEnd(uint32_t end) [member function]
927 cls.add_method('RemoveAtEnd',
928 'void',
929 [param('uint32_t', 'end')])
930 ## buffer.h (module 'network'): void ns3::Buffer::RemoveAtStart(uint32_t start) [member function]
931 cls.add_method('RemoveAtStart',
932 'void',
933 [param('uint32_t', 'start')])
934 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
935 cls.add_method('Serialize',
936 'uint32_t',
937 [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')],
938 is_const=True)
939 return
940
941def register_Ns3BufferIterator_methods(root_module, cls):
942 ## buffer.h (module 'network'): ns3::Buffer::Iterator::Iterator(ns3::Buffer::Iterator const & arg0) [copy constructor]
943 cls.add_constructor([param('ns3::Buffer::Iterator const &', 'arg0')])
944 ## buffer.h (module 'network'): ns3::Buffer::Iterator::Iterator() [constructor]
945 cls.add_constructor([])
946 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::CalculateIpChecksum(uint16_t size) [member function]
947 cls.add_method('CalculateIpChecksum',
948 'uint16_t',
949 [param('uint16_t', 'size')])
950 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::CalculateIpChecksum(uint16_t size, uint32_t initialChecksum) [member function]
951 cls.add_method('CalculateIpChecksum',
952 'uint16_t',
953 [param('uint16_t', 'size'), param('uint32_t', 'initialChecksum')])
954 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::GetDistanceFrom(ns3::Buffer::Iterator const & o) const [member function]
955 cls.add_method('GetDistanceFrom',
956 'uint32_t',
957 [param('ns3::Buffer::Iterator const &', 'o')],
958 is_const=True)
959 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::GetSize() const [member function]
960 cls.add_method('GetSize',
961 'uint32_t',
962 [],
963 is_const=True)
964 ## buffer.h (module 'network'): bool ns3::Buffer::Iterator::IsEnd() const [member function]
965 cls.add_method('IsEnd',
966 'bool',
967 [],
968 is_const=True)
969 ## buffer.h (module 'network'): bool ns3::Buffer::Iterator::IsStart() const [member function]
970 cls.add_method('IsStart',
971 'bool',
972 [],
973 is_const=True)
974 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Next() [member function]
975 cls.add_method('Next',
976 'void',
977 [])
978 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Next(uint32_t delta) [member function]
979 cls.add_method('Next',
980 'void',
981 [param('uint32_t', 'delta')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -0700982 ## buffer.h (module 'network'): uint8_t ns3::Buffer::Iterator::PeekU8() [member function]
983 cls.add_method('PeekU8',
984 'uint8_t',
985 [])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800986 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Prev() [member function]
987 cls.add_method('Prev',
988 'void',
989 [])
990 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Prev(uint32_t delta) [member function]
991 cls.add_method('Prev',
992 'void',
993 [param('uint32_t', 'delta')])
994 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Read(uint8_t * buffer, uint32_t size) [member function]
995 cls.add_method('Read',
996 'void',
997 [param('uint8_t *', 'buffer'), param('uint32_t', 'size')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -0700998 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Read(ns3::Buffer::Iterator start, uint32_t size) [member function]
999 cls.add_method('Read',
1000 'void',
1001 [param('ns3::Buffer::Iterator', 'start'), param('uint32_t', 'size')])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001002 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadLsbtohU16() [member function]
1003 cls.add_method('ReadLsbtohU16',
1004 'uint16_t',
1005 [])
1006 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadLsbtohU32() [member function]
1007 cls.add_method('ReadLsbtohU32',
1008 'uint32_t',
1009 [])
1010 ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadLsbtohU64() [member function]
1011 cls.add_method('ReadLsbtohU64',
1012 'uint64_t',
1013 [])
1014 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadNtohU16() [member function]
1015 cls.add_method('ReadNtohU16',
1016 'uint16_t',
1017 [])
1018 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadNtohU32() [member function]
1019 cls.add_method('ReadNtohU32',
1020 'uint32_t',
1021 [])
1022 ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadNtohU64() [member function]
1023 cls.add_method('ReadNtohU64',
1024 'uint64_t',
1025 [])
1026 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadU16() [member function]
1027 cls.add_method('ReadU16',
1028 'uint16_t',
1029 [])
1030 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadU32() [member function]
1031 cls.add_method('ReadU32',
1032 'uint32_t',
1033 [])
1034 ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadU64() [member function]
1035 cls.add_method('ReadU64',
1036 'uint64_t',
1037 [])
1038 ## buffer.h (module 'network'): uint8_t ns3::Buffer::Iterator::ReadU8() [member function]
1039 cls.add_method('ReadU8',
1040 'uint8_t',
1041 [])
1042 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Write(uint8_t const * buffer, uint32_t size) [member function]
1043 cls.add_method('Write',
1044 'void',
1045 [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
1046 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Write(ns3::Buffer::Iterator start, ns3::Buffer::Iterator end) [member function]
1047 cls.add_method('Write',
1048 'void',
1049 [param('ns3::Buffer::Iterator', 'start'), param('ns3::Buffer::Iterator', 'end')])
1050 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU16(uint16_t data) [member function]
1051 cls.add_method('WriteHtolsbU16',
1052 'void',
1053 [param('uint16_t', 'data')])
1054 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU32(uint32_t data) [member function]
1055 cls.add_method('WriteHtolsbU32',
1056 'void',
1057 [param('uint32_t', 'data')])
1058 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU64(uint64_t data) [member function]
1059 cls.add_method('WriteHtolsbU64',
1060 'void',
1061 [param('uint64_t', 'data')])
1062 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU16(uint16_t data) [member function]
1063 cls.add_method('WriteHtonU16',
1064 'void',
1065 [param('uint16_t', 'data')])
1066 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU32(uint32_t data) [member function]
1067 cls.add_method('WriteHtonU32',
1068 'void',
1069 [param('uint32_t', 'data')])
1070 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU64(uint64_t data) [member function]
1071 cls.add_method('WriteHtonU64',
1072 'void',
1073 [param('uint64_t', 'data')])
1074 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU16(uint16_t data) [member function]
1075 cls.add_method('WriteU16',
1076 'void',
1077 [param('uint16_t', 'data')])
1078 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU32(uint32_t data) [member function]
1079 cls.add_method('WriteU32',
1080 'void',
1081 [param('uint32_t', 'data')])
1082 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU64(uint64_t data) [member function]
1083 cls.add_method('WriteU64',
1084 'void',
1085 [param('uint64_t', 'data')])
1086 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU8(uint8_t data) [member function]
1087 cls.add_method('WriteU8',
1088 'void',
1089 [param('uint8_t', 'data')])
1090 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU8(uint8_t data, uint32_t len) [member function]
1091 cls.add_method('WriteU8',
1092 'void',
1093 [param('uint8_t', 'data'), param('uint32_t', 'len')])
1094 return
1095
1096def register_Ns3ByteTagIterator_methods(root_module, cls):
1097 ## packet.h (module 'network'): ns3::ByteTagIterator::ByteTagIterator(ns3::ByteTagIterator const & arg0) [copy constructor]
1098 cls.add_constructor([param('ns3::ByteTagIterator const &', 'arg0')])
1099 ## packet.h (module 'network'): bool ns3::ByteTagIterator::HasNext() const [member function]
1100 cls.add_method('HasNext',
1101 'bool',
1102 [],
1103 is_const=True)
1104 ## packet.h (module 'network'): ns3::ByteTagIterator::Item ns3::ByteTagIterator::Next() [member function]
1105 cls.add_method('Next',
1106 'ns3::ByteTagIterator::Item',
1107 [])
1108 return
1109
1110def register_Ns3ByteTagIteratorItem_methods(root_module, cls):
1111 ## packet.h (module 'network'): ns3::ByteTagIterator::Item::Item(ns3::ByteTagIterator::Item const & arg0) [copy constructor]
1112 cls.add_constructor([param('ns3::ByteTagIterator::Item const &', 'arg0')])
1113 ## packet.h (module 'network'): uint32_t ns3::ByteTagIterator::Item::GetEnd() const [member function]
1114 cls.add_method('GetEnd',
1115 'uint32_t',
1116 [],
1117 is_const=True)
1118 ## packet.h (module 'network'): uint32_t ns3::ByteTagIterator::Item::GetStart() const [member function]
1119 cls.add_method('GetStart',
1120 'uint32_t',
1121 [],
1122 is_const=True)
1123 ## packet.h (module 'network'): void ns3::ByteTagIterator::Item::GetTag(ns3::Tag & tag) const [member function]
1124 cls.add_method('GetTag',
1125 'void',
1126 [param('ns3::Tag &', 'tag')],
1127 is_const=True)
1128 ## packet.h (module 'network'): ns3::TypeId ns3::ByteTagIterator::Item::GetTypeId() const [member function]
1129 cls.add_method('GetTypeId',
1130 'ns3::TypeId',
1131 [],
1132 is_const=True)
1133 return
1134
1135def register_Ns3ByteTagList_methods(root_module, cls):
1136 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::ByteTagList() [constructor]
1137 cls.add_constructor([])
1138 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::ByteTagList(ns3::ByteTagList const & o) [copy constructor]
1139 cls.add_constructor([param('ns3::ByteTagList const &', 'o')])
1140 ## 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]
1141 cls.add_method('Add',
1142 'ns3::TagBuffer',
1143 [param('ns3::TypeId', 'tid'), param('uint32_t', 'bufferSize'), param('int32_t', 'start'), param('int32_t', 'end')])
1144 ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::Add(ns3::ByteTagList const & o) [member function]
1145 cls.add_method('Add',
1146 'void',
1147 [param('ns3::ByteTagList const &', 'o')])
1148 ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::AddAtEnd(int32_t adjustment, int32_t appendOffset) [member function]
1149 cls.add_method('AddAtEnd',
1150 'void',
1151 [param('int32_t', 'adjustment'), param('int32_t', 'appendOffset')])
1152 ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::AddAtStart(int32_t adjustment, int32_t prependOffset) [member function]
1153 cls.add_method('AddAtStart',
1154 'void',
1155 [param('int32_t', 'adjustment'), param('int32_t', 'prependOffset')])
1156 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator ns3::ByteTagList::Begin(int32_t offsetStart, int32_t offsetEnd) const [member function]
1157 cls.add_method('Begin',
1158 'ns3::ByteTagList::Iterator',
1159 [param('int32_t', 'offsetStart'), param('int32_t', 'offsetEnd')],
1160 is_const=True)
1161 ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::RemoveAll() [member function]
1162 cls.add_method('RemoveAll',
1163 'void',
1164 [])
1165 return
1166
1167def register_Ns3ByteTagListIterator_methods(root_module, cls):
1168 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Iterator(ns3::ByteTagList::Iterator const & arg0) [copy constructor]
1169 cls.add_constructor([param('ns3::ByteTagList::Iterator const &', 'arg0')])
1170 ## byte-tag-list.h (module 'network'): uint32_t ns3::ByteTagList::Iterator::GetOffsetStart() const [member function]
1171 cls.add_method('GetOffsetStart',
1172 'uint32_t',
1173 [],
1174 is_const=True)
1175 ## byte-tag-list.h (module 'network'): bool ns3::ByteTagList::Iterator::HasNext() const [member function]
1176 cls.add_method('HasNext',
1177 'bool',
1178 [],
1179 is_const=True)
1180 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item ns3::ByteTagList::Iterator::Next() [member function]
1181 cls.add_method('Next',
1182 'ns3::ByteTagList::Iterator::Item',
1183 [])
1184 return
1185
1186def register_Ns3ByteTagListIteratorItem_methods(root_module, cls):
1187 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::Item(ns3::ByteTagList::Iterator::Item const & arg0) [copy constructor]
1188 cls.add_constructor([param('ns3::ByteTagList::Iterator::Item const &', 'arg0')])
1189 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::Item(ns3::TagBuffer buf) [constructor]
1190 cls.add_constructor([param('ns3::TagBuffer', 'buf')])
1191 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::buf [variable]
1192 cls.add_instance_attribute('buf', 'ns3::TagBuffer', is_const=False)
1193 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::end [variable]
1194 cls.add_instance_attribute('end', 'int32_t', is_const=False)
1195 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::size [variable]
1196 cls.add_instance_attribute('size', 'uint32_t', is_const=False)
1197 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::start [variable]
1198 cls.add_instance_attribute('start', 'int32_t', is_const=False)
1199 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::tid [variable]
1200 cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
1201 return
1202
1203def register_Ns3CallbackBase_methods(root_module, cls):
1204 ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase(ns3::CallbackBase const & arg0) [copy constructor]
1205 cls.add_constructor([param('ns3::CallbackBase const &', 'arg0')])
1206 ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase() [constructor]
1207 cls.add_constructor([])
1208 ## callback.h (module 'core'): ns3::Ptr<ns3::CallbackImplBase> ns3::CallbackBase::GetImpl() const [member function]
1209 cls.add_method('GetImpl',
1210 'ns3::Ptr< ns3::CallbackImplBase >',
1211 [],
1212 is_const=True)
1213 ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase(ns3::Ptr<ns3::CallbackImplBase> impl) [constructor]
1214 cls.add_constructor([param('ns3::Ptr< ns3::CallbackImplBase >', 'impl')],
1215 visibility='protected')
1216 ## callback.h (module 'core'): static std::string ns3::CallbackBase::Demangle(std::string const & mangled) [member function]
1217 cls.add_method('Demangle',
1218 'std::string',
1219 [param('std::string const &', 'mangled')],
1220 is_static=True, visibility='protected')
1221 return
1222
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001223def register_Ns3EventId_methods(root_module, cls):
1224 cls.add_binary_comparison_operator('!=')
1225 cls.add_binary_comparison_operator('==')
1226 ## event-id.h (module 'core'): ns3::EventId::EventId(ns3::EventId const & arg0) [copy constructor]
1227 cls.add_constructor([param('ns3::EventId const &', 'arg0')])
1228 ## event-id.h (module 'core'): ns3::EventId::EventId() [constructor]
1229 cls.add_constructor([])
1230 ## event-id.h (module 'core'): ns3::EventId::EventId(ns3::Ptr<ns3::EventImpl> const & impl, uint64_t ts, uint32_t context, uint32_t uid) [constructor]
1231 cls.add_constructor([param('ns3::Ptr< ns3::EventImpl > const &', 'impl'), param('uint64_t', 'ts'), param('uint32_t', 'context'), param('uint32_t', 'uid')])
1232 ## event-id.h (module 'core'): void ns3::EventId::Cancel() [member function]
1233 cls.add_method('Cancel',
1234 'void',
1235 [])
1236 ## event-id.h (module 'core'): uint32_t ns3::EventId::GetContext() const [member function]
1237 cls.add_method('GetContext',
1238 'uint32_t',
1239 [],
1240 is_const=True)
1241 ## event-id.h (module 'core'): uint64_t ns3::EventId::GetTs() const [member function]
1242 cls.add_method('GetTs',
1243 'uint64_t',
1244 [],
1245 is_const=True)
1246 ## event-id.h (module 'core'): uint32_t ns3::EventId::GetUid() const [member function]
1247 cls.add_method('GetUid',
1248 'uint32_t',
1249 [],
1250 is_const=True)
1251 ## event-id.h (module 'core'): bool ns3::EventId::IsExpired() const [member function]
1252 cls.add_method('IsExpired',
1253 'bool',
1254 [],
1255 is_const=True)
1256 ## event-id.h (module 'core'): bool ns3::EventId::IsRunning() const [member function]
1257 cls.add_method('IsRunning',
1258 'bool',
1259 [],
1260 is_const=True)
1261 ## event-id.h (module 'core'): ns3::EventImpl * ns3::EventId::PeekEventImpl() const [member function]
1262 cls.add_method('PeekEventImpl',
1263 'ns3::EventImpl *',
1264 [],
1265 is_const=True)
1266 return
1267
1268def register_Ns3Ipv4Address_methods(root_module, cls):
1269 cls.add_binary_comparison_operator('!=')
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07001270 cls.add_output_stream_operator()
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07001271 cls.add_binary_comparison_operator('==')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001272 cls.add_binary_comparison_operator('<')
1273 ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(ns3::Ipv4Address const & arg0) [copy constructor]
1274 cls.add_constructor([param('ns3::Ipv4Address const &', 'arg0')])
1275 ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address() [constructor]
1276 cls.add_constructor([])
1277 ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(uint32_t address) [constructor]
1278 cls.add_constructor([param('uint32_t', 'address')])
1279 ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(char const * address) [constructor]
1280 cls.add_constructor([param('char const *', 'address')])
1281 ## ipv4-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv4Address::CombineMask(ns3::Ipv4Mask const & mask) const [member function]
1282 cls.add_method('CombineMask',
1283 'ns3::Ipv4Address',
1284 [param('ns3::Ipv4Mask const &', 'mask')],
1285 is_const=True)
1286 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::ConvertFrom(ns3::Address const & address) [member function]
1287 cls.add_method('ConvertFrom',
1288 'ns3::Ipv4Address',
1289 [param('ns3::Address const &', 'address')],
1290 is_static=True)
1291 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::Deserialize(uint8_t const * buf) [member function]
1292 cls.add_method('Deserialize',
1293 'ns3::Ipv4Address',
1294 [param('uint8_t const *', 'buf')],
1295 is_static=True)
Alexander Afanasyev4052f952012-06-08 17:57:59 -07001296 ## ipv4-address.h (module 'network'): uint32_t ns3::Ipv4Address::Get() const [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001297 cls.add_method('Get',
Alexander Afanasyev4052f952012-06-08 17:57:59 -07001298 'uint32_t',
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001299 [],
1300 is_const=True)
1301 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetAny() [member function]
1302 cls.add_method('GetAny',
1303 'ns3::Ipv4Address',
1304 [],
1305 is_static=True)
1306 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetBroadcast() [member function]
1307 cls.add_method('GetBroadcast',
1308 'ns3::Ipv4Address',
1309 [],
1310 is_static=True)
1311 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetLoopback() [member function]
1312 cls.add_method('GetLoopback',
1313 'ns3::Ipv4Address',
1314 [],
1315 is_static=True)
1316 ## ipv4-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv4Address::GetSubnetDirectedBroadcast(ns3::Ipv4Mask const & mask) const [member function]
1317 cls.add_method('GetSubnetDirectedBroadcast',
1318 'ns3::Ipv4Address',
1319 [param('ns3::Ipv4Mask const &', 'mask')],
1320 is_const=True)
1321 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetZero() [member function]
1322 cls.add_method('GetZero',
1323 'ns3::Ipv4Address',
1324 [],
1325 is_static=True)
1326 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsBroadcast() const [member function]
1327 cls.add_method('IsBroadcast',
1328 'bool',
1329 [],
1330 is_const=True)
1331 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsEqual(ns3::Ipv4Address const & other) const [member function]
1332 cls.add_method('IsEqual',
1333 'bool',
1334 [param('ns3::Ipv4Address const &', 'other')],
1335 is_const=True)
1336 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsLocalMulticast() const [member function]
1337 cls.add_method('IsLocalMulticast',
1338 'bool',
1339 [],
1340 is_const=True)
1341 ## ipv4-address.h (module 'network'): static bool ns3::Ipv4Address::IsMatchingType(ns3::Address const & address) [member function]
1342 cls.add_method('IsMatchingType',
1343 'bool',
1344 [param('ns3::Address const &', 'address')],
1345 is_static=True)
1346 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsMulticast() const [member function]
1347 cls.add_method('IsMulticast',
1348 'bool',
1349 [],
1350 is_const=True)
1351 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsSubnetDirectedBroadcast(ns3::Ipv4Mask const & mask) const [member function]
1352 cls.add_method('IsSubnetDirectedBroadcast',
1353 'bool',
1354 [param('ns3::Ipv4Mask const &', 'mask')],
1355 is_const=True)
1356 ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Print(std::ostream & os) const [member function]
1357 cls.add_method('Print',
1358 'void',
1359 [param('std::ostream &', 'os')],
1360 is_const=True)
1361 ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Serialize(uint8_t * buf) const [member function]
1362 cls.add_method('Serialize',
1363 'void',
1364 [param('uint8_t *', 'buf')],
1365 is_const=True)
1366 ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Set(uint32_t address) [member function]
1367 cls.add_method('Set',
1368 'void',
1369 [param('uint32_t', 'address')])
1370 ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Set(char const * address) [member function]
1371 cls.add_method('Set',
1372 'void',
1373 [param('char const *', 'address')])
1374 return
1375
1376def register_Ns3Ipv4Mask_methods(root_module, cls):
1377 cls.add_binary_comparison_operator('!=')
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07001378 cls.add_output_stream_operator()
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07001379 cls.add_binary_comparison_operator('==')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001380 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask(ns3::Ipv4Mask const & arg0) [copy constructor]
1381 cls.add_constructor([param('ns3::Ipv4Mask const &', 'arg0')])
1382 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask() [constructor]
1383 cls.add_constructor([])
1384 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask(uint32_t mask) [constructor]
1385 cls.add_constructor([param('uint32_t', 'mask')])
1386 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask(char const * mask) [constructor]
1387 cls.add_constructor([param('char const *', 'mask')])
1388 ## ipv4-address.h (module 'network'): uint32_t ns3::Ipv4Mask::Get() const [member function]
1389 cls.add_method('Get',
1390 'uint32_t',
1391 [],
1392 is_const=True)
1393 ## ipv4-address.h (module 'network'): uint32_t ns3::Ipv4Mask::GetInverse() const [member function]
1394 cls.add_method('GetInverse',
1395 'uint32_t',
1396 [],
1397 is_const=True)
1398 ## ipv4-address.h (module 'network'): static ns3::Ipv4Mask ns3::Ipv4Mask::GetLoopback() [member function]
1399 cls.add_method('GetLoopback',
1400 'ns3::Ipv4Mask',
1401 [],
1402 is_static=True)
1403 ## ipv4-address.h (module 'network'): static ns3::Ipv4Mask ns3::Ipv4Mask::GetOnes() [member function]
1404 cls.add_method('GetOnes',
1405 'ns3::Ipv4Mask',
1406 [],
1407 is_static=True)
1408 ## ipv4-address.h (module 'network'): uint16_t ns3::Ipv4Mask::GetPrefixLength() const [member function]
1409 cls.add_method('GetPrefixLength',
1410 'uint16_t',
1411 [],
1412 is_const=True)
1413 ## ipv4-address.h (module 'network'): static ns3::Ipv4Mask ns3::Ipv4Mask::GetZero() [member function]
1414 cls.add_method('GetZero',
1415 'ns3::Ipv4Mask',
1416 [],
1417 is_static=True)
1418 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Mask::IsEqual(ns3::Ipv4Mask other) const [member function]
1419 cls.add_method('IsEqual',
1420 'bool',
1421 [param('ns3::Ipv4Mask', 'other')],
1422 is_const=True)
1423 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Mask::IsMatch(ns3::Ipv4Address a, ns3::Ipv4Address b) const [member function]
1424 cls.add_method('IsMatch',
1425 'bool',
1426 [param('ns3::Ipv4Address', 'a'), param('ns3::Ipv4Address', 'b')],
1427 is_const=True)
1428 ## ipv4-address.h (module 'network'): void ns3::Ipv4Mask::Print(std::ostream & os) const [member function]
1429 cls.add_method('Print',
1430 'void',
1431 [param('std::ostream &', 'os')],
1432 is_const=True)
1433 ## ipv4-address.h (module 'network'): void ns3::Ipv4Mask::Set(uint32_t mask) [member function]
1434 cls.add_method('Set',
1435 'void',
1436 [param('uint32_t', 'mask')])
1437 return
1438
1439def register_Ns3Ipv6Address_methods(root_module, cls):
1440 cls.add_binary_comparison_operator('!=')
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07001441 cls.add_output_stream_operator()
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07001442 cls.add_binary_comparison_operator('==')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001443 cls.add_binary_comparison_operator('<')
1444 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address() [constructor]
1445 cls.add_constructor([])
1446 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(char const * address) [constructor]
1447 cls.add_constructor([param('char const *', 'address')])
1448 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(uint8_t * address) [constructor]
1449 cls.add_constructor([param('uint8_t *', 'address')])
1450 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(ns3::Ipv6Address const & addr) [copy constructor]
1451 cls.add_constructor([param('ns3::Ipv6Address const &', 'addr')])
1452 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(ns3::Ipv6Address const * addr) [constructor]
1453 cls.add_constructor([param('ns3::Ipv6Address const *', 'addr')])
1454 ## ipv6-address.h (module 'network'): ns3::Ipv6Address ns3::Ipv6Address::CombinePrefix(ns3::Ipv6Prefix const & prefix) [member function]
1455 cls.add_method('CombinePrefix',
1456 'ns3::Ipv6Address',
1457 [param('ns3::Ipv6Prefix const &', 'prefix')])
1458 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::ConvertFrom(ns3::Address const & address) [member function]
1459 cls.add_method('ConvertFrom',
1460 'ns3::Ipv6Address',
1461 [param('ns3::Address const &', 'address')],
1462 is_static=True)
1463 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::Deserialize(uint8_t const * buf) [member function]
1464 cls.add_method('Deserialize',
1465 'ns3::Ipv6Address',
1466 [param('uint8_t const *', 'buf')],
1467 is_static=True)
1468 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAllHostsMulticast() [member function]
1469 cls.add_method('GetAllHostsMulticast',
1470 'ns3::Ipv6Address',
1471 [],
1472 is_static=True)
1473 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAllNodesMulticast() [member function]
1474 cls.add_method('GetAllNodesMulticast',
1475 'ns3::Ipv6Address',
1476 [],
1477 is_static=True)
1478 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAllRoutersMulticast() [member function]
1479 cls.add_method('GetAllRoutersMulticast',
1480 'ns3::Ipv6Address',
1481 [],
1482 is_static=True)
1483 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAny() [member function]
1484 cls.add_method('GetAny',
1485 'ns3::Ipv6Address',
1486 [],
1487 is_static=True)
1488 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::GetBytes(uint8_t * buf) const [member function]
1489 cls.add_method('GetBytes',
1490 'void',
1491 [param('uint8_t *', 'buf')],
1492 is_const=True)
Alexander Afanasyev6f933532012-02-29 13:30:37 -08001493 ## ipv6-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv6Address::GetIpv4MappedAddress() const [member function]
1494 cls.add_method('GetIpv4MappedAddress',
1495 'ns3::Ipv4Address',
1496 [],
1497 is_const=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001498 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetLoopback() [member function]
1499 cls.add_method('GetLoopback',
1500 'ns3::Ipv6Address',
1501 [],
1502 is_static=True)
1503 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetOnes() [member function]
1504 cls.add_method('GetOnes',
1505 'ns3::Ipv6Address',
1506 [],
1507 is_static=True)
1508 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetZero() [member function]
1509 cls.add_method('GetZero',
1510 'ns3::Ipv6Address',
1511 [],
1512 is_static=True)
1513 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAllHostsMulticast() const [member function]
1514 cls.add_method('IsAllHostsMulticast',
1515 'bool',
1516 [],
1517 is_const=True)
1518 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAllNodesMulticast() const [member function]
1519 cls.add_method('IsAllNodesMulticast',
1520 'bool',
1521 [],
1522 is_const=True)
1523 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAllRoutersMulticast() const [member function]
1524 cls.add_method('IsAllRoutersMulticast',
1525 'bool',
1526 [],
1527 is_const=True)
1528 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAny() const [member function]
1529 cls.add_method('IsAny',
1530 'bool',
1531 [],
1532 is_const=True)
1533 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsEqual(ns3::Ipv6Address const & other) const [member function]
1534 cls.add_method('IsEqual',
1535 'bool',
1536 [param('ns3::Ipv6Address const &', 'other')],
1537 is_const=True)
Alexander Afanasyev6f933532012-02-29 13:30:37 -08001538 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsIpv4MappedAddress() [member function]
1539 cls.add_method('IsIpv4MappedAddress',
1540 'bool',
1541 [])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001542 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsLinkLocal() const [member function]
1543 cls.add_method('IsLinkLocal',
1544 'bool',
1545 [],
1546 is_const=True)
Alexander Afanasyev6f933532012-02-29 13:30:37 -08001547 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsLinkLocalMulticast() const [member function]
1548 cls.add_method('IsLinkLocalMulticast',
1549 'bool',
1550 [],
1551 is_const=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001552 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsLocalhost() const [member function]
1553 cls.add_method('IsLocalhost',
1554 'bool',
1555 [],
1556 is_const=True)
1557 ## ipv6-address.h (module 'network'): static bool ns3::Ipv6Address::IsMatchingType(ns3::Address const & address) [member function]
1558 cls.add_method('IsMatchingType',
1559 'bool',
1560 [param('ns3::Address const &', 'address')],
1561 is_static=True)
1562 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsMulticast() const [member function]
1563 cls.add_method('IsMulticast',
1564 'bool',
1565 [],
1566 is_const=True)
1567 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsSolicitedMulticast() const [member function]
1568 cls.add_method('IsSolicitedMulticast',
1569 'bool',
1570 [],
1571 is_const=True)
1572 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredAddress(ns3::Mac48Address addr, ns3::Ipv6Address prefix) [member function]
1573 cls.add_method('MakeAutoconfiguredAddress',
1574 'ns3::Ipv6Address',
1575 [param('ns3::Mac48Address', 'addr'), param('ns3::Ipv6Address', 'prefix')],
1576 is_static=True)
1577 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredLinkLocalAddress(ns3::Mac48Address mac) [member function]
1578 cls.add_method('MakeAutoconfiguredLinkLocalAddress',
1579 'ns3::Ipv6Address',
1580 [param('ns3::Mac48Address', 'mac')],
1581 is_static=True)
Alexander Afanasyev6f933532012-02-29 13:30:37 -08001582 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeIpv4MappedAddress(ns3::Ipv4Address addr) [member function]
1583 cls.add_method('MakeIpv4MappedAddress',
1584 'ns3::Ipv6Address',
1585 [param('ns3::Ipv4Address', 'addr')],
1586 is_static=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001587 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeSolicitedAddress(ns3::Ipv6Address addr) [member function]
1588 cls.add_method('MakeSolicitedAddress',
1589 'ns3::Ipv6Address',
1590 [param('ns3::Ipv6Address', 'addr')],
1591 is_static=True)
1592 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Print(std::ostream & os) const [member function]
1593 cls.add_method('Print',
1594 'void',
1595 [param('std::ostream &', 'os')],
1596 is_const=True)
1597 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Serialize(uint8_t * buf) const [member function]
1598 cls.add_method('Serialize',
1599 'void',
1600 [param('uint8_t *', 'buf')],
1601 is_const=True)
1602 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Set(char const * address) [member function]
1603 cls.add_method('Set',
1604 'void',
1605 [param('char const *', 'address')])
1606 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Set(uint8_t * address) [member function]
1607 cls.add_method('Set',
1608 'void',
1609 [param('uint8_t *', 'address')])
1610 return
1611
1612def register_Ns3Ipv6Prefix_methods(root_module, cls):
1613 cls.add_binary_comparison_operator('!=')
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07001614 cls.add_output_stream_operator()
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07001615 cls.add_binary_comparison_operator('==')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001616 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix() [constructor]
1617 cls.add_constructor([])
1618 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(uint8_t * prefix) [constructor]
1619 cls.add_constructor([param('uint8_t *', 'prefix')])
1620 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(char const * prefix) [constructor]
1621 cls.add_constructor([param('char const *', 'prefix')])
1622 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(uint8_t prefix) [constructor]
1623 cls.add_constructor([param('uint8_t', 'prefix')])
1624 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(ns3::Ipv6Prefix const & prefix) [copy constructor]
1625 cls.add_constructor([param('ns3::Ipv6Prefix const &', 'prefix')])
1626 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(ns3::Ipv6Prefix const * prefix) [constructor]
1627 cls.add_constructor([param('ns3::Ipv6Prefix const *', 'prefix')])
1628 ## ipv6-address.h (module 'network'): void ns3::Ipv6Prefix::GetBytes(uint8_t * buf) const [member function]
1629 cls.add_method('GetBytes',
1630 'void',
1631 [param('uint8_t *', 'buf')],
1632 is_const=True)
1633 ## ipv6-address.h (module 'network'): static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetLoopback() [member function]
1634 cls.add_method('GetLoopback',
1635 'ns3::Ipv6Prefix',
1636 [],
1637 is_static=True)
1638 ## ipv6-address.h (module 'network'): static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetOnes() [member function]
1639 cls.add_method('GetOnes',
1640 'ns3::Ipv6Prefix',
1641 [],
1642 is_static=True)
1643 ## ipv6-address.h (module 'network'): uint8_t ns3::Ipv6Prefix::GetPrefixLength() const [member function]
1644 cls.add_method('GetPrefixLength',
1645 'uint8_t',
1646 [],
1647 is_const=True)
1648 ## ipv6-address.h (module 'network'): static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetZero() [member function]
1649 cls.add_method('GetZero',
1650 'ns3::Ipv6Prefix',
1651 [],
1652 is_static=True)
1653 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Prefix::IsEqual(ns3::Ipv6Prefix const & other) const [member function]
1654 cls.add_method('IsEqual',
1655 'bool',
1656 [param('ns3::Ipv6Prefix const &', 'other')],
1657 is_const=True)
1658 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Prefix::IsMatch(ns3::Ipv6Address a, ns3::Ipv6Address b) const [member function]
1659 cls.add_method('IsMatch',
1660 'bool',
1661 [param('ns3::Ipv6Address', 'a'), param('ns3::Ipv6Address', 'b')],
1662 is_const=True)
1663 ## ipv6-address.h (module 'network'): void ns3::Ipv6Prefix::Print(std::ostream & os) const [member function]
1664 cls.add_method('Print',
1665 'void',
1666 [param('std::ostream &', 'os')],
1667 is_const=True)
1668 return
1669
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07001670def register_Ns3NetDeviceContainer_methods(root_module, cls):
1671 ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(ns3::NetDeviceContainer const & arg0) [copy constructor]
1672 cls.add_constructor([param('ns3::NetDeviceContainer const &', 'arg0')])
1673 ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer() [constructor]
1674 cls.add_constructor([])
1675 ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(ns3::Ptr<ns3::NetDevice> dev) [constructor]
1676 cls.add_constructor([param('ns3::Ptr< ns3::NetDevice >', 'dev')])
1677 ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(std::string devName) [constructor]
1678 cls.add_constructor([param('std::string', 'devName')])
1679 ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(ns3::NetDeviceContainer const & a, ns3::NetDeviceContainer const & b) [constructor]
1680 cls.add_constructor([param('ns3::NetDeviceContainer const &', 'a'), param('ns3::NetDeviceContainer const &', 'b')])
1681 ## net-device-container.h (module 'network'): void ns3::NetDeviceContainer::Add(ns3::NetDeviceContainer other) [member function]
1682 cls.add_method('Add',
1683 'void',
1684 [param('ns3::NetDeviceContainer', 'other')])
1685 ## net-device-container.h (module 'network'): void ns3::NetDeviceContainer::Add(ns3::Ptr<ns3::NetDevice> device) [member function]
1686 cls.add_method('Add',
1687 'void',
1688 [param('ns3::Ptr< ns3::NetDevice >', 'device')])
1689 ## net-device-container.h (module 'network'): void ns3::NetDeviceContainer::Add(std::string deviceName) [member function]
1690 cls.add_method('Add',
1691 'void',
1692 [param('std::string', 'deviceName')])
1693 ## 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]
1694 cls.add_method('Begin',
1695 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::NetDevice > const, std::vector< ns3::Ptr< ns3::NetDevice > > >',
1696 [],
1697 is_const=True)
1698 ## 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]
1699 cls.add_method('End',
1700 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::NetDevice > const, std::vector< ns3::Ptr< ns3::NetDevice > > >',
1701 [],
1702 is_const=True)
1703 ## net-device-container.h (module 'network'): ns3::Ptr<ns3::NetDevice> ns3::NetDeviceContainer::Get(uint32_t i) const [member function]
1704 cls.add_method('Get',
1705 'ns3::Ptr< ns3::NetDevice >',
1706 [param('uint32_t', 'i')],
1707 is_const=True)
1708 ## net-device-container.h (module 'network'): uint32_t ns3::NetDeviceContainer::GetN() const [member function]
1709 cls.add_method('GetN',
1710 'uint32_t',
1711 [],
1712 is_const=True)
1713 return
1714
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001715def register_Ns3NodeContainer_methods(root_module, cls):
1716 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & arg0) [copy constructor]
1717 cls.add_constructor([param('ns3::NodeContainer const &', 'arg0')])
1718 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer() [constructor]
1719 cls.add_constructor([])
1720 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::Ptr<ns3::Node> node) [constructor]
1721 cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node')])
1722 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(std::string nodeName) [constructor]
1723 cls.add_constructor([param('std::string', 'nodeName')])
1724 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b) [constructor]
1725 cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b')])
1726 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b, ns3::NodeContainer const & c) [constructor]
1727 cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b'), param('ns3::NodeContainer const &', 'c')])
1728 ## 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]
1729 cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b'), param('ns3::NodeContainer const &', 'c'), param('ns3::NodeContainer const &', 'd')])
1730 ## 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]
1731 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')])
1732 ## node-container.h (module 'network'): void ns3::NodeContainer::Add(ns3::NodeContainer other) [member function]
1733 cls.add_method('Add',
1734 'void',
1735 [param('ns3::NodeContainer', 'other')])
1736 ## node-container.h (module 'network'): void ns3::NodeContainer::Add(ns3::Ptr<ns3::Node> node) [member function]
1737 cls.add_method('Add',
1738 'void',
1739 [param('ns3::Ptr< ns3::Node >', 'node')])
1740 ## node-container.h (module 'network'): void ns3::NodeContainer::Add(std::string nodeName) [member function]
1741 cls.add_method('Add',
1742 'void',
1743 [param('std::string', 'nodeName')])
1744 ## 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]
1745 cls.add_method('Begin',
1746 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >',
1747 [],
1748 is_const=True)
1749 ## node-container.h (module 'network'): void ns3::NodeContainer::Create(uint32_t n) [member function]
1750 cls.add_method('Create',
1751 'void',
1752 [param('uint32_t', 'n')])
1753 ## node-container.h (module 'network'): void ns3::NodeContainer::Create(uint32_t n, uint32_t systemId) [member function]
1754 cls.add_method('Create',
1755 'void',
1756 [param('uint32_t', 'n'), param('uint32_t', 'systemId')])
1757 ## 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]
1758 cls.add_method('End',
1759 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >',
1760 [],
1761 is_const=True)
1762 ## node-container.h (module 'network'): ns3::Ptr<ns3::Node> ns3::NodeContainer::Get(uint32_t i) const [member function]
1763 cls.add_method('Get',
1764 'ns3::Ptr< ns3::Node >',
1765 [param('uint32_t', 'i')],
1766 is_const=True)
1767 ## node-container.h (module 'network'): static ns3::NodeContainer ns3::NodeContainer::GetGlobal() [member function]
1768 cls.add_method('GetGlobal',
1769 'ns3::NodeContainer',
1770 [],
1771 is_static=True)
1772 ## node-container.h (module 'network'): uint32_t ns3::NodeContainer::GetN() const [member function]
1773 cls.add_method('GetN',
1774 'uint32_t',
1775 [],
1776 is_const=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07001777 ## 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]
1778 cls.add_method('begin',
1779 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >',
1780 [],
1781 is_const=True)
1782 ## node-container.h (module 'network'): __gnu_cxx::__normal_iterator<ns3::Ptr<ns3::Node>*,std::vector<ns3::Ptr<ns3::Node>, std::allocator<ns3::Ptr<ns3::Node> > > > ns3::NodeContainer::begin() [member function]
1783 cls.add_method('begin',
1784 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node >, std::vector< ns3::Ptr< ns3::Node > > >',
1785 [])
1786 ## 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]
1787 cls.add_method('end',
1788 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >',
1789 [],
1790 is_const=True)
1791 ## node-container.h (module 'network'): __gnu_cxx::__normal_iterator<ns3::Ptr<ns3::Node>*,std::vector<ns3::Ptr<ns3::Node>, std::allocator<ns3::Ptr<ns3::Node> > > > ns3::NodeContainer::end() [member function]
1792 cls.add_method('end',
1793 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node >, std::vector< ns3::Ptr< ns3::Node > > >',
1794 [])
1795 ## node-container.h (module 'network'): uint32_t ns3::NodeContainer::size() const [member function]
1796 cls.add_method('size',
1797 'uint32_t',
1798 [],
1799 is_const=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001800 return
1801
1802def register_Ns3ObjectBase_methods(root_module, cls):
1803 ## object-base.h (module 'core'): ns3::ObjectBase::ObjectBase() [constructor]
1804 cls.add_constructor([])
1805 ## object-base.h (module 'core'): ns3::ObjectBase::ObjectBase(ns3::ObjectBase const & arg0) [copy constructor]
1806 cls.add_constructor([param('ns3::ObjectBase const &', 'arg0')])
1807 ## object-base.h (module 'core'): void ns3::ObjectBase::GetAttribute(std::string name, ns3::AttributeValue & value) const [member function]
1808 cls.add_method('GetAttribute',
1809 'void',
1810 [param('std::string', 'name'), param('ns3::AttributeValue &', 'value')],
1811 is_const=True)
1812 ## object-base.h (module 'core'): bool ns3::ObjectBase::GetAttributeFailSafe(std::string name, ns3::AttributeValue & attribute) const [member function]
1813 cls.add_method('GetAttributeFailSafe',
1814 'bool',
1815 [param('std::string', 'name'), param('ns3::AttributeValue &', 'attribute')],
1816 is_const=True)
1817 ## object-base.h (module 'core'): ns3::TypeId ns3::ObjectBase::GetInstanceTypeId() const [member function]
1818 cls.add_method('GetInstanceTypeId',
1819 'ns3::TypeId',
1820 [],
1821 is_pure_virtual=True, is_const=True, is_virtual=True)
1822 ## object-base.h (module 'core'): static ns3::TypeId ns3::ObjectBase::GetTypeId() [member function]
1823 cls.add_method('GetTypeId',
1824 'ns3::TypeId',
1825 [],
1826 is_static=True)
1827 ## object-base.h (module 'core'): void ns3::ObjectBase::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function]
1828 cls.add_method('SetAttribute',
1829 'void',
1830 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
1831 ## object-base.h (module 'core'): bool ns3::ObjectBase::SetAttributeFailSafe(std::string name, ns3::AttributeValue const & value) [member function]
1832 cls.add_method('SetAttributeFailSafe',
1833 'bool',
1834 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
1835 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceConnect(std::string name, std::string context, ns3::CallbackBase const & cb) [member function]
1836 cls.add_method('TraceConnect',
1837 'bool',
1838 [param('std::string', 'name'), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')])
1839 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceConnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function]
1840 cls.add_method('TraceConnectWithoutContext',
1841 'bool',
1842 [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')])
1843 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceDisconnect(std::string name, std::string context, ns3::CallbackBase const & cb) [member function]
1844 cls.add_method('TraceDisconnect',
1845 'bool',
1846 [param('std::string', 'name'), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')])
1847 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceDisconnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function]
1848 cls.add_method('TraceDisconnectWithoutContext',
1849 'bool',
1850 [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')])
1851 ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function]
1852 cls.add_method('ConstructSelf',
1853 'void',
1854 [param('ns3::AttributeConstructionList const &', 'attributes')],
1855 visibility='protected')
1856 ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function]
1857 cls.add_method('NotifyConstructionCompleted',
1858 'void',
1859 [],
1860 visibility='protected', is_virtual=True)
1861 return
1862
1863def register_Ns3ObjectDeleter_methods(root_module, cls):
1864 ## object.h (module 'core'): ns3::ObjectDeleter::ObjectDeleter() [constructor]
1865 cls.add_constructor([])
1866 ## object.h (module 'core'): ns3::ObjectDeleter::ObjectDeleter(ns3::ObjectDeleter const & arg0) [copy constructor]
1867 cls.add_constructor([param('ns3::ObjectDeleter const &', 'arg0')])
1868 ## object.h (module 'core'): static void ns3::ObjectDeleter::Delete(ns3::Object * object) [member function]
1869 cls.add_method('Delete',
1870 'void',
1871 [param('ns3::Object *', 'object')],
1872 is_static=True)
1873 return
1874
1875def register_Ns3ObjectFactory_methods(root_module, cls):
1876 cls.add_output_stream_operator()
1877 ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(ns3::ObjectFactory const & arg0) [copy constructor]
1878 cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')])
1879 ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor]
1880 cls.add_constructor([])
1881 ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor]
1882 cls.add_constructor([param('std::string', 'typeId')])
1883 ## object-factory.h (module 'core'): ns3::Ptr<ns3::Object> ns3::ObjectFactory::Create() const [member function]
1884 cls.add_method('Create',
1885 'ns3::Ptr< ns3::Object >',
1886 [],
1887 is_const=True)
1888 ## object-factory.h (module 'core'): ns3::TypeId ns3::ObjectFactory::GetTypeId() const [member function]
1889 cls.add_method('GetTypeId',
1890 'ns3::TypeId',
1891 [],
1892 is_const=True)
1893 ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(std::string name, ns3::AttributeValue const & value) [member function]
1894 cls.add_method('Set',
1895 'void',
1896 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
1897 ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function]
1898 cls.add_method('SetTypeId',
1899 'void',
1900 [param('ns3::TypeId', 'tid')])
1901 ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(char const * tid) [member function]
1902 cls.add_method('SetTypeId',
1903 'void',
1904 [param('char const *', 'tid')])
1905 ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(std::string tid) [member function]
1906 cls.add_method('SetTypeId',
1907 'void',
1908 [param('std::string', 'tid')])
1909 return
1910
1911def register_Ns3PacketMetadata_methods(root_module, cls):
1912 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::PacketMetadata(uint64_t uid, uint32_t size) [constructor]
1913 cls.add_constructor([param('uint64_t', 'uid'), param('uint32_t', 'size')])
1914 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::PacketMetadata(ns3::PacketMetadata const & o) [copy constructor]
1915 cls.add_constructor([param('ns3::PacketMetadata const &', 'o')])
1916 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddAtEnd(ns3::PacketMetadata const & o) [member function]
1917 cls.add_method('AddAtEnd',
1918 'void',
1919 [param('ns3::PacketMetadata const &', 'o')])
1920 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddHeader(ns3::Header const & header, uint32_t size) [member function]
1921 cls.add_method('AddHeader',
1922 'void',
1923 [param('ns3::Header const &', 'header'), param('uint32_t', 'size')])
1924 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddPaddingAtEnd(uint32_t end) [member function]
1925 cls.add_method('AddPaddingAtEnd',
1926 'void',
1927 [param('uint32_t', 'end')])
1928 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddTrailer(ns3::Trailer const & trailer, uint32_t size) [member function]
1929 cls.add_method('AddTrailer',
1930 'void',
1931 [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')])
1932 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator ns3::PacketMetadata::BeginItem(ns3::Buffer buffer) const [member function]
1933 cls.add_method('BeginItem',
1934 'ns3::PacketMetadata::ItemIterator',
1935 [param('ns3::Buffer', 'buffer')],
1936 is_const=True)
1937 ## packet-metadata.h (module 'network'): ns3::PacketMetadata ns3::PacketMetadata::CreateFragment(uint32_t start, uint32_t end) const [member function]
1938 cls.add_method('CreateFragment',
1939 'ns3::PacketMetadata',
1940 [param('uint32_t', 'start'), param('uint32_t', 'end')],
1941 is_const=True)
1942 ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::Deserialize(uint8_t const * buffer, uint32_t size) [member function]
1943 cls.add_method('Deserialize',
1944 'uint32_t',
1945 [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
1946 ## packet-metadata.h (module 'network'): static void ns3::PacketMetadata::Enable() [member function]
1947 cls.add_method('Enable',
1948 'void',
1949 [],
1950 is_static=True)
1951 ## packet-metadata.h (module 'network'): static void ns3::PacketMetadata::EnableChecking() [member function]
1952 cls.add_method('EnableChecking',
1953 'void',
1954 [],
1955 is_static=True)
1956 ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::GetSerializedSize() const [member function]
1957 cls.add_method('GetSerializedSize',
1958 'uint32_t',
1959 [],
1960 is_const=True)
1961 ## packet-metadata.h (module 'network'): uint64_t ns3::PacketMetadata::GetUid() const [member function]
1962 cls.add_method('GetUid',
1963 'uint64_t',
1964 [],
1965 is_const=True)
1966 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveAtEnd(uint32_t end) [member function]
1967 cls.add_method('RemoveAtEnd',
1968 'void',
1969 [param('uint32_t', 'end')])
1970 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveAtStart(uint32_t start) [member function]
1971 cls.add_method('RemoveAtStart',
1972 'void',
1973 [param('uint32_t', 'start')])
1974 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveHeader(ns3::Header const & header, uint32_t size) [member function]
1975 cls.add_method('RemoveHeader',
1976 'void',
1977 [param('ns3::Header const &', 'header'), param('uint32_t', 'size')])
1978 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveTrailer(ns3::Trailer const & trailer, uint32_t size) [member function]
1979 cls.add_method('RemoveTrailer',
1980 'void',
1981 [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')])
1982 ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
1983 cls.add_method('Serialize',
1984 'uint32_t',
1985 [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')],
1986 is_const=True)
1987 return
1988
1989def register_Ns3PacketMetadataItem_methods(root_module, cls):
1990 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::Item() [constructor]
1991 cls.add_constructor([])
1992 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::Item(ns3::PacketMetadata::Item const & arg0) [copy constructor]
1993 cls.add_constructor([param('ns3::PacketMetadata::Item const &', 'arg0')])
1994 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::current [variable]
1995 cls.add_instance_attribute('current', 'ns3::Buffer::Iterator', is_const=False)
1996 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentSize [variable]
1997 cls.add_instance_attribute('currentSize', 'uint32_t', is_const=False)
1998 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentTrimedFromEnd [variable]
1999 cls.add_instance_attribute('currentTrimedFromEnd', 'uint32_t', is_const=False)
2000 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentTrimedFromStart [variable]
2001 cls.add_instance_attribute('currentTrimedFromStart', 'uint32_t', is_const=False)
2002 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::isFragment [variable]
2003 cls.add_instance_attribute('isFragment', 'bool', is_const=False)
2004 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::tid [variable]
2005 cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
2006 return
2007
2008def register_Ns3PacketMetadataItemIterator_methods(root_module, cls):
2009 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata::ItemIterator const & arg0) [copy constructor]
2010 cls.add_constructor([param('ns3::PacketMetadata::ItemIterator const &', 'arg0')])
2011 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata const * metadata, ns3::Buffer buffer) [constructor]
2012 cls.add_constructor([param('ns3::PacketMetadata const *', 'metadata'), param('ns3::Buffer', 'buffer')])
2013 ## packet-metadata.h (module 'network'): bool ns3::PacketMetadata::ItemIterator::HasNext() const [member function]
2014 cls.add_method('HasNext',
2015 'bool',
2016 [],
2017 is_const=True)
2018 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item ns3::PacketMetadata::ItemIterator::Next() [member function]
2019 cls.add_method('Next',
2020 'ns3::PacketMetadata::Item',
2021 [])
2022 return
2023
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002024def register_Ns3PacketTagIterator_methods(root_module, cls):
2025 ## packet.h (module 'network'): ns3::PacketTagIterator::PacketTagIterator(ns3::PacketTagIterator const & arg0) [copy constructor]
2026 cls.add_constructor([param('ns3::PacketTagIterator const &', 'arg0')])
2027 ## packet.h (module 'network'): bool ns3::PacketTagIterator::HasNext() const [member function]
2028 cls.add_method('HasNext',
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002029 'bool',
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002030 [],
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002031 is_const=True)
2032 ## packet.h (module 'network'): ns3::PacketTagIterator::Item ns3::PacketTagIterator::Next() [member function]
2033 cls.add_method('Next',
2034 'ns3::PacketTagIterator::Item',
2035 [])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002036 return
2037
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002038def register_Ns3PacketTagIteratorItem_methods(root_module, cls):
2039 ## packet.h (module 'network'): ns3::PacketTagIterator::Item::Item(ns3::PacketTagIterator::Item const & arg0) [copy constructor]
2040 cls.add_constructor([param('ns3::PacketTagIterator::Item const &', 'arg0')])
2041 ## packet.h (module 'network'): void ns3::PacketTagIterator::Item::GetTag(ns3::Tag & tag) const [member function]
2042 cls.add_method('GetTag',
2043 'void',
2044 [param('ns3::Tag &', 'tag')],
2045 is_const=True)
2046 ## packet.h (module 'network'): ns3::TypeId ns3::PacketTagIterator::Item::GetTypeId() const [member function]
2047 cls.add_method('GetTypeId',
2048 'ns3::TypeId',
2049 [],
2050 is_const=True)
2051 return
2052
2053def register_Ns3PacketTagList_methods(root_module, cls):
2054 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::PacketTagList() [constructor]
2055 cls.add_constructor([])
2056 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::PacketTagList(ns3::PacketTagList const & o) [copy constructor]
2057 cls.add_constructor([param('ns3::PacketTagList const &', 'o')])
2058 ## packet-tag-list.h (module 'network'): void ns3::PacketTagList::Add(ns3::Tag const & tag) const [member function]
2059 cls.add_method('Add',
2060 'void',
2061 [param('ns3::Tag const &', 'tag')],
2062 is_const=True)
2063 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData const * ns3::PacketTagList::Head() const [member function]
2064 cls.add_method('Head',
2065 'ns3::PacketTagList::TagData const *',
2066 [],
2067 is_const=True)
2068 ## packet-tag-list.h (module 'network'): bool ns3::PacketTagList::Peek(ns3::Tag & tag) const [member function]
2069 cls.add_method('Peek',
2070 'bool',
2071 [param('ns3::Tag &', 'tag')],
2072 is_const=True)
2073 ## packet-tag-list.h (module 'network'): bool ns3::PacketTagList::Remove(ns3::Tag & tag) [member function]
2074 cls.add_method('Remove',
2075 'bool',
2076 [param('ns3::Tag &', 'tag')])
2077 ## packet-tag-list.h (module 'network'): void ns3::PacketTagList::RemoveAll() [member function]
2078 cls.add_method('RemoveAll',
2079 'void',
2080 [])
2081 return
2082
2083def register_Ns3PacketTagListTagData_methods(root_module, cls):
2084 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::TagData() [constructor]
2085 cls.add_constructor([])
2086 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::TagData(ns3::PacketTagList::TagData const & arg0) [copy constructor]
2087 cls.add_constructor([param('ns3::PacketTagList::TagData const &', 'arg0')])
2088 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::count [variable]
2089 cls.add_instance_attribute('count', 'uint32_t', is_const=False)
2090 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::data [variable]
2091 cls.add_instance_attribute('data', 'uint8_t [ 20 ]', is_const=False)
2092 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::next [variable]
2093 cls.add_instance_attribute('next', 'ns3::PacketTagList::TagData *', is_const=False)
2094 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::tid [variable]
2095 cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002096 return
2097
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002098def register_Ns3RandomVariable_methods(root_module, cls):
2099 cls.add_output_stream_operator()
2100 ## random-variable.h (module 'core'): ns3::RandomVariable::RandomVariable() [constructor]
2101 cls.add_constructor([])
2102 ## random-variable.h (module 'core'): ns3::RandomVariable::RandomVariable(ns3::RandomVariable const & o) [copy constructor]
2103 cls.add_constructor([param('ns3::RandomVariable const &', 'o')])
2104 ## random-variable.h (module 'core'): uint32_t ns3::RandomVariable::GetInteger() const [member function]
2105 cls.add_method('GetInteger',
2106 'uint32_t',
2107 [],
2108 is_const=True)
2109 ## random-variable.h (module 'core'): double ns3::RandomVariable::GetValue() const [member function]
2110 cls.add_method('GetValue',
2111 'double',
2112 [],
2113 is_const=True)
2114 return
2115
2116def register_Ns3RngSeedManager_methods(root_module, cls):
2117 ## rng-seed-manager.h (module 'core'): ns3::RngSeedManager::RngSeedManager() [constructor]
2118 cls.add_constructor([])
2119 ## rng-seed-manager.h (module 'core'): ns3::RngSeedManager::RngSeedManager(ns3::RngSeedManager const & arg0) [copy constructor]
2120 cls.add_constructor([param('ns3::RngSeedManager const &', 'arg0')])
2121 ## rng-seed-manager.h (module 'core'): static uint64_t ns3::RngSeedManager::GetNextStreamIndex() [member function]
2122 cls.add_method('GetNextStreamIndex',
2123 'uint64_t',
2124 [],
2125 is_static=True)
2126 ## rng-seed-manager.h (module 'core'): static uint64_t ns3::RngSeedManager::GetRun() [member function]
2127 cls.add_method('GetRun',
2128 'uint64_t',
2129 [],
2130 is_static=True)
2131 ## rng-seed-manager.h (module 'core'): static uint32_t ns3::RngSeedManager::GetSeed() [member function]
2132 cls.add_method('GetSeed',
2133 'uint32_t',
2134 [],
2135 is_static=True)
2136 ## rng-seed-manager.h (module 'core'): static void ns3::RngSeedManager::SetRun(uint64_t run) [member function]
2137 cls.add_method('SetRun',
2138 'void',
2139 [param('uint64_t', 'run')],
2140 is_static=True)
2141 ## rng-seed-manager.h (module 'core'): static void ns3::RngSeedManager::SetSeed(uint32_t seed) [member function]
2142 cls.add_method('SetSeed',
2143 'void',
2144 [param('uint32_t', 'seed')],
2145 is_static=True)
2146 return
2147
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -07002148def register_Ns3SequenceNumber32_methods(root_module, cls):
2149 cls.add_binary_comparison_operator('!=')
2150 cls.add_binary_numeric_operator('+', root_module['ns3::SequenceNumber32'], root_module['ns3::SequenceNumber32'], param('ns3::SequenceNumber< unsigned int, int > const &', 'right'))
2151 cls.add_binary_numeric_operator('+', root_module['ns3::SequenceNumber32'], root_module['ns3::SequenceNumber32'], param('int', 'right'))
2152 cls.add_inplace_numeric_operator('+=', param('int', 'right'))
2153 cls.add_binary_numeric_operator('-', root_module['ns3::SequenceNumber32'], root_module['ns3::SequenceNumber32'], param('int', 'right'))
2154 cls.add_inplace_numeric_operator('-=', param('int', 'right'))
2155 cls.add_binary_comparison_operator('<')
2156 cls.add_binary_comparison_operator('<=')
2157 cls.add_binary_comparison_operator('==')
2158 cls.add_binary_comparison_operator('>')
2159 cls.add_binary_comparison_operator('>=')
2160 ## sequence-number.h (module 'network'): ns3::SequenceNumber<unsigned int, int>::SequenceNumber() [constructor]
2161 cls.add_constructor([])
2162 ## sequence-number.h (module 'network'): ns3::SequenceNumber<unsigned int, int>::SequenceNumber(unsigned int value) [constructor]
2163 cls.add_constructor([param('unsigned int', 'value')])
2164 ## sequence-number.h (module 'network'): ns3::SequenceNumber<unsigned int, int>::SequenceNumber(ns3::SequenceNumber<unsigned int, int> const & value) [copy constructor]
2165 cls.add_constructor([param('ns3::SequenceNumber< unsigned int, int > const &', 'value')])
2166 ## sequence-number.h (module 'network'): unsigned int ns3::SequenceNumber<unsigned int, int>::GetValue() const [member function]
2167 cls.add_method('GetValue',
2168 'unsigned int',
2169 [],
2170 is_const=True)
2171 return
2172
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002173def register_Ns3SequentialVariable_methods(root_module, cls):
2174 ## random-variable.h (module 'core'): ns3::SequentialVariable::SequentialVariable(ns3::SequentialVariable const & arg0) [copy constructor]
2175 cls.add_constructor([param('ns3::SequentialVariable const &', 'arg0')])
2176 ## random-variable.h (module 'core'): ns3::SequentialVariable::SequentialVariable(double f, double l, double i=1, uint32_t c=1) [constructor]
2177 cls.add_constructor([param('double', 'f'), param('double', 'l'), param('double', 'i', default_value='1'), param('uint32_t', 'c', default_value='1')])
2178 ## random-variable.h (module 'core'): ns3::SequentialVariable::SequentialVariable(double f, double l, ns3::RandomVariable const & i, uint32_t c=1) [constructor]
2179 cls.add_constructor([param('double', 'f'), param('double', 'l'), param('ns3::RandomVariable const &', 'i'), param('uint32_t', 'c', default_value='1')])
2180 return
2181
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002182def register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, cls):
2183 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter>::SimpleRefCount() [constructor]
2184 cls.add_constructor([])
2185 ## 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]
2186 cls.add_constructor([param('ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter > const &', 'o')])
2187 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter>::Cleanup() [member function]
2188 cls.add_method('Cleanup',
2189 'void',
2190 [],
2191 is_static=True)
2192 return
2193
Alexander Afanasyev76b11572013-07-16 21:49:50 -07002194def register_Ns3Simulator_methods(root_module, cls):
2195 ## simulator.h (module 'core'): ns3::Simulator::Simulator(ns3::Simulator const & arg0) [copy constructor]
2196 cls.add_constructor([param('ns3::Simulator const &', 'arg0')])
2197 ## simulator.h (module 'core'): static void ns3::Simulator::Cancel(ns3::EventId const & id) [member function]
2198 cls.add_method('Cancel',
2199 'void',
2200 [param('ns3::EventId const &', 'id')],
2201 is_static=True)
2202 ## simulator.h (module 'core'): static void ns3::Simulator::Destroy() [member function]
2203 cls.add_method('Destroy',
2204 'void',
2205 [],
2206 is_static=True)
2207 ## simulator.h (module 'core'): static uint32_t ns3::Simulator::GetContext() [member function]
2208 cls.add_method('GetContext',
2209 'uint32_t',
2210 [],
2211 is_static=True)
2212 ## simulator.h (module 'core'): static ns3::Time ns3::Simulator::GetDelayLeft(ns3::EventId const & id) [member function]
2213 cls.add_method('GetDelayLeft',
2214 'ns3::Time',
2215 [param('ns3::EventId const &', 'id')],
2216 is_static=True)
2217 ## simulator.h (module 'core'): static ns3::Ptr<ns3::SimulatorImpl> ns3::Simulator::GetImplementation() [member function]
2218 cls.add_method('GetImplementation',
2219 'ns3::Ptr< ns3::SimulatorImpl >',
2220 [],
2221 is_static=True)
2222 ## simulator.h (module 'core'): static ns3::Time ns3::Simulator::GetMaximumSimulationTime() [member function]
2223 cls.add_method('GetMaximumSimulationTime',
2224 'ns3::Time',
2225 [],
2226 is_static=True)
2227 ## simulator.h (module 'core'): static uint32_t ns3::Simulator::GetSystemId() [member function]
2228 cls.add_method('GetSystemId',
2229 'uint32_t',
2230 [],
2231 is_static=True)
2232 ## simulator.h (module 'core'): static bool ns3::Simulator::IsExpired(ns3::EventId const & id) [member function]
2233 cls.add_method('IsExpired',
2234 'bool',
2235 [param('ns3::EventId const &', 'id')],
2236 is_static=True)
2237 ## simulator.h (module 'core'): static bool ns3::Simulator::IsFinished() [member function]
2238 cls.add_method('IsFinished',
2239 'bool',
2240 [],
2241 is_static=True)
2242 ## simulator.h (module 'core'): static ns3::Time ns3::Simulator::Now() [member function]
2243 cls.add_method('Now',
2244 'ns3::Time',
2245 [],
2246 is_static=True)
2247 ## simulator.h (module 'core'): static void ns3::Simulator::Remove(ns3::EventId const & id) [member function]
2248 cls.add_method('Remove',
2249 'void',
2250 [param('ns3::EventId const &', 'id')],
2251 is_static=True)
2252 ## simulator.h (module 'core'): static void ns3::Simulator::SetImplementation(ns3::Ptr<ns3::SimulatorImpl> impl) [member function]
2253 cls.add_method('SetImplementation',
2254 'void',
2255 [param('ns3::Ptr< ns3::SimulatorImpl >', 'impl')],
2256 is_static=True)
2257 ## simulator.h (module 'core'): static void ns3::Simulator::SetScheduler(ns3::ObjectFactory schedulerFactory) [member function]
2258 cls.add_method('SetScheduler',
2259 'void',
2260 [param('ns3::ObjectFactory', 'schedulerFactory')],
2261 is_static=True)
2262 ## simulator.h (module 'core'): static void ns3::Simulator::Stop() [member function]
2263 cls.add_method('Stop',
2264 'void',
2265 [],
2266 is_static=True)
2267 ## simulator.h (module 'core'): static void ns3::Simulator::Stop(ns3::Time const & time) [member function]
2268 cls.add_method('Stop',
2269 'void',
2270 [param('ns3::Time const &', 'time')],
2271 is_static=True)
2272 return
2273
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002274def register_Ns3Tag_methods(root_module, cls):
2275 ## tag.h (module 'network'): ns3::Tag::Tag() [constructor]
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002276 cls.add_constructor([])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002277 ## tag.h (module 'network'): ns3::Tag::Tag(ns3::Tag const & arg0) [copy constructor]
2278 cls.add_constructor([param('ns3::Tag const &', 'arg0')])
2279 ## tag.h (module 'network'): void ns3::Tag::Deserialize(ns3::TagBuffer i) [member function]
2280 cls.add_method('Deserialize',
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002281 'void',
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002282 [param('ns3::TagBuffer', 'i')],
2283 is_pure_virtual=True, is_virtual=True)
2284 ## tag.h (module 'network'): uint32_t ns3::Tag::GetSerializedSize() const [member function]
2285 cls.add_method('GetSerializedSize',
2286 'uint32_t',
2287 [],
2288 is_pure_virtual=True, is_const=True, is_virtual=True)
2289 ## tag.h (module 'network'): static ns3::TypeId ns3::Tag::GetTypeId() [member function]
2290 cls.add_method('GetTypeId',
2291 'ns3::TypeId',
2292 [],
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002293 is_static=True)
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002294 ## tag.h (module 'network'): void ns3::Tag::Print(std::ostream & os) const [member function]
2295 cls.add_method('Print',
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002296 'void',
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002297 [param('std::ostream &', 'os')],
2298 is_pure_virtual=True, is_const=True, is_virtual=True)
2299 ## tag.h (module 'network'): void ns3::Tag::Serialize(ns3::TagBuffer i) const [member function]
2300 cls.add_method('Serialize',
2301 'void',
2302 [param('ns3::TagBuffer', 'i')],
2303 is_pure_virtual=True, is_const=True, is_virtual=True)
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002304 return
2305
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002306def register_Ns3TagBuffer_methods(root_module, cls):
2307 ## tag-buffer.h (module 'network'): ns3::TagBuffer::TagBuffer(ns3::TagBuffer const & arg0) [copy constructor]
2308 cls.add_constructor([param('ns3::TagBuffer const &', 'arg0')])
2309 ## tag-buffer.h (module 'network'): ns3::TagBuffer::TagBuffer(uint8_t * start, uint8_t * end) [constructor]
2310 cls.add_constructor([param('uint8_t *', 'start'), param('uint8_t *', 'end')])
2311 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::CopyFrom(ns3::TagBuffer o) [member function]
2312 cls.add_method('CopyFrom',
2313 'void',
2314 [param('ns3::TagBuffer', 'o')])
2315 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::Read(uint8_t * buffer, uint32_t size) [member function]
2316 cls.add_method('Read',
2317 'void',
2318 [param('uint8_t *', 'buffer'), param('uint32_t', 'size')])
2319 ## tag-buffer.h (module 'network'): double ns3::TagBuffer::ReadDouble() [member function]
2320 cls.add_method('ReadDouble',
2321 'double',
2322 [])
2323 ## tag-buffer.h (module 'network'): uint16_t ns3::TagBuffer::ReadU16() [member function]
2324 cls.add_method('ReadU16',
2325 'uint16_t',
2326 [])
2327 ## tag-buffer.h (module 'network'): uint32_t ns3::TagBuffer::ReadU32() [member function]
2328 cls.add_method('ReadU32',
2329 'uint32_t',
2330 [])
2331 ## tag-buffer.h (module 'network'): uint64_t ns3::TagBuffer::ReadU64() [member function]
2332 cls.add_method('ReadU64',
2333 'uint64_t',
2334 [])
2335 ## tag-buffer.h (module 'network'): uint8_t ns3::TagBuffer::ReadU8() [member function]
2336 cls.add_method('ReadU8',
2337 'uint8_t',
2338 [])
2339 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::TrimAtEnd(uint32_t trim) [member function]
2340 cls.add_method('TrimAtEnd',
2341 'void',
2342 [param('uint32_t', 'trim')])
2343 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::Write(uint8_t const * buffer, uint32_t size) [member function]
2344 cls.add_method('Write',
2345 'void',
2346 [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
2347 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteDouble(double v) [member function]
2348 cls.add_method('WriteDouble',
2349 'void',
2350 [param('double', 'v')])
2351 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU16(uint16_t data) [member function]
2352 cls.add_method('WriteU16',
2353 'void',
2354 [param('uint16_t', 'data')])
2355 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU32(uint32_t data) [member function]
2356 cls.add_method('WriteU32',
2357 'void',
2358 [param('uint32_t', 'data')])
2359 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU64(uint64_t v) [member function]
2360 cls.add_method('WriteU64',
2361 'void',
2362 [param('uint64_t', 'v')])
2363 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU8(uint8_t v) [member function]
2364 cls.add_method('WriteU8',
2365 'void',
2366 [param('uint8_t', 'v')])
2367 return
2368
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -07002369def register_Ns3TracedValue__Ns3NdnFibFaceMetricStatus_methods(root_module, cls):
2370 ## traced-value.h (module 'core'): ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status>::TracedValue() [constructor]
2371 cls.add_constructor([])
2372 ## traced-value.h (module 'core'): ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status>::TracedValue(ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status> const & o) [copy constructor]
2373 cls.add_constructor([param('ns3::TracedValue< ns3::ndn::fib::FaceMetric::Status > const &', 'o')])
2374 ## traced-value.h (module 'core'): ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status>::TracedValue(ns3::ndn::fib::FaceMetric::Status const & v) [constructor]
2375 cls.add_constructor([param('ns3::ndn::fib::FaceMetric::Status const &', 'v')])
2376 ## 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]
2377 cls.add_method('Connect',
2378 'void',
2379 [param('ns3::CallbackBase const &', 'cb'), param('std::string', 'path')])
2380 ## traced-value.h (module 'core'): void ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status>::ConnectWithoutContext(ns3::CallbackBase const & cb) [member function]
2381 cls.add_method('ConnectWithoutContext',
2382 'void',
2383 [param('ns3::CallbackBase const &', 'cb')])
2384 ## 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]
2385 cls.add_method('Disconnect',
2386 'void',
2387 [param('ns3::CallbackBase const &', 'cb'), param('std::string', 'path')])
2388 ## traced-value.h (module 'core'): void ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status>::DisconnectWithoutContext(ns3::CallbackBase const & cb) [member function]
2389 cls.add_method('DisconnectWithoutContext',
2390 'void',
2391 [param('ns3::CallbackBase const &', 'cb')])
2392 ## traced-value.h (module 'core'): ns3::ndn::fib::FaceMetric::Status ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status>::Get() const [member function]
2393 cls.add_method('Get',
2394 'ns3::ndn::fib::FaceMetric::Status',
2395 [],
2396 is_const=True)
2397 ## traced-value.h (module 'core'): void ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status>::Set(ns3::ndn::fib::FaceMetric::Status const & v) [member function]
2398 cls.add_method('Set',
2399 'void',
2400 [param('ns3::ndn::fib::FaceMetric::Status const &', 'v')])
2401 return
2402
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002403def register_Ns3TriangularVariable_methods(root_module, cls):
2404 ## random-variable.h (module 'core'): ns3::TriangularVariable::TriangularVariable(ns3::TriangularVariable const & arg0) [copy constructor]
2405 cls.add_constructor([param('ns3::TriangularVariable const &', 'arg0')])
2406 ## random-variable.h (module 'core'): ns3::TriangularVariable::TriangularVariable() [constructor]
2407 cls.add_constructor([])
2408 ## random-variable.h (module 'core'): ns3::TriangularVariable::TriangularVariable(double s, double l, double mean) [constructor]
2409 cls.add_constructor([param('double', 's'), param('double', 'l'), param('double', 'mean')])
2410 return
2411
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002412def register_Ns3TypeId_methods(root_module, cls):
2413 cls.add_binary_comparison_operator('!=')
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07002414 cls.add_output_stream_operator()
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07002415 cls.add_binary_comparison_operator('==')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002416 cls.add_binary_comparison_operator('<')
2417 ## type-id.h (module 'core'): ns3::TypeId::TypeId(char const * name) [constructor]
2418 cls.add_constructor([param('char const *', 'name')])
2419 ## type-id.h (module 'core'): ns3::TypeId::TypeId() [constructor]
2420 cls.add_constructor([])
2421 ## type-id.h (module 'core'): ns3::TypeId::TypeId(ns3::TypeId const & o) [copy constructor]
2422 cls.add_constructor([param('ns3::TypeId const &', 'o')])
2423 ## 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]
2424 cls.add_method('AddAttribute',
2425 'ns3::TypeId',
2426 [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')])
2427 ## 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]
2428 cls.add_method('AddAttribute',
2429 'ns3::TypeId',
2430 [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')])
2431 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr<ns3::TraceSourceAccessor const> accessor) [member function]
2432 cls.add_method('AddTraceSource',
2433 'ns3::TypeId',
2434 [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')])
2435 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function]
2436 cls.add_method('GetAttribute',
2437 'ns3::TypeId::AttributeInformation',
2438 [param('uint32_t', 'i')],
2439 is_const=True)
2440 ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function]
2441 cls.add_method('GetAttributeFullName',
2442 'std::string',
2443 [param('uint32_t', 'i')],
2444 is_const=True)
2445 ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function]
2446 cls.add_method('GetAttributeN',
2447 'uint32_t',
2448 [],
2449 is_const=True)
2450 ## 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]
2451 cls.add_method('GetConstructor',
2452 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >',
2453 [],
2454 is_const=True)
2455 ## type-id.h (module 'core'): std::string ns3::TypeId::GetGroupName() const [member function]
2456 cls.add_method('GetGroupName',
2457 'std::string',
2458 [],
2459 is_const=True)
2460 ## type-id.h (module 'core'): std::string ns3::TypeId::GetName() const [member function]
2461 cls.add_method('GetName',
2462 'std::string',
2463 [],
2464 is_const=True)
2465 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::GetParent() const [member function]
2466 cls.add_method('GetParent',
2467 'ns3::TypeId',
2468 [],
2469 is_const=True)
2470 ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::GetRegistered(uint32_t i) [member function]
2471 cls.add_method('GetRegistered',
2472 'ns3::TypeId',
2473 [param('uint32_t', 'i')],
2474 is_static=True)
2475 ## type-id.h (module 'core'): static uint32_t ns3::TypeId::GetRegisteredN() [member function]
2476 cls.add_method('GetRegisteredN',
2477 'uint32_t',
2478 [],
2479 is_static=True)
2480 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function]
2481 cls.add_method('GetTraceSource',
2482 'ns3::TypeId::TraceSourceInformation',
2483 [param('uint32_t', 'i')],
2484 is_const=True)
2485 ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function]
2486 cls.add_method('GetTraceSourceN',
2487 'uint32_t',
2488 [],
2489 is_const=True)
2490 ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function]
2491 cls.add_method('GetUid',
2492 'uint16_t',
2493 [],
2494 is_const=True)
2495 ## type-id.h (module 'core'): bool ns3::TypeId::HasConstructor() const [member function]
2496 cls.add_method('HasConstructor',
2497 'bool',
2498 [],
2499 is_const=True)
2500 ## type-id.h (module 'core'): bool ns3::TypeId::HasParent() const [member function]
2501 cls.add_method('HasParent',
2502 'bool',
2503 [],
2504 is_const=True)
2505 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::HideFromDocumentation() [member function]
2506 cls.add_method('HideFromDocumentation',
2507 'ns3::TypeId',
2508 [])
2509 ## type-id.h (module 'core'): bool ns3::TypeId::IsChildOf(ns3::TypeId other) const [member function]
2510 cls.add_method('IsChildOf',
2511 'bool',
2512 [param('ns3::TypeId', 'other')],
2513 is_const=True)
2514 ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function]
2515 cls.add_method('LookupAttributeByName',
2516 'bool',
Alexander Afanasyev6f933532012-02-29 13:30:37 -08002517 [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info', transfer_ownership=False)],
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002518 is_const=True)
2519 ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function]
2520 cls.add_method('LookupByName',
2521 'ns3::TypeId',
2522 [param('std::string', 'name')],
2523 is_static=True)
2524 ## type-id.h (module 'core'): ns3::Ptr<ns3::TraceSourceAccessor const> ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function]
2525 cls.add_method('LookupTraceSourceByName',
2526 'ns3::Ptr< ns3::TraceSourceAccessor const >',
2527 [param('std::string', 'name')],
2528 is_const=True)
2529 ## type-id.h (module 'core'): bool ns3::TypeId::MustHideFromDocumentation() const [member function]
2530 cls.add_method('MustHideFromDocumentation',
2531 'bool',
2532 [],
2533 is_const=True)
2534 ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr<ns3::AttributeValue const> initialValue) [member function]
2535 cls.add_method('SetAttributeInitialValue',
2536 'bool',
2537 [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')])
2538 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function]
2539 cls.add_method('SetGroupName',
2540 'ns3::TypeId',
2541 [param('std::string', 'groupName')])
2542 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetParent(ns3::TypeId tid) [member function]
2543 cls.add_method('SetParent',
2544 'ns3::TypeId',
2545 [param('ns3::TypeId', 'tid')])
2546 ## type-id.h (module 'core'): void ns3::TypeId::SetUid(uint16_t tid) [member function]
2547 cls.add_method('SetUid',
2548 'void',
2549 [param('uint16_t', 'tid')])
2550 return
2551
2552def register_Ns3TypeIdAttributeInformation_methods(root_module, cls):
2553 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor]
2554 cls.add_constructor([])
2555 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor]
2556 cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')])
2557 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable]
2558 cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False)
2559 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable]
2560 cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False)
2561 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable]
2562 cls.add_instance_attribute('flags', 'uint32_t', is_const=False)
2563 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable]
2564 cls.add_instance_attribute('help', 'std::string', is_const=False)
2565 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable]
2566 cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False)
2567 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable]
2568 cls.add_instance_attribute('name', 'std::string', is_const=False)
2569 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable]
2570 cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False)
2571 return
2572
2573def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls):
2574 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor]
2575 cls.add_constructor([])
2576 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor]
2577 cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')])
2578 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable]
2579 cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False)
2580 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable]
2581 cls.add_instance_attribute('help', 'std::string', is_const=False)
2582 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable]
2583 cls.add_instance_attribute('name', 'std::string', is_const=False)
2584 return
2585
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002586def register_Ns3UniformVariable_methods(root_module, cls):
2587 ## random-variable.h (module 'core'): ns3::UniformVariable::UniformVariable(ns3::UniformVariable const & arg0) [copy constructor]
2588 cls.add_constructor([param('ns3::UniformVariable const &', 'arg0')])
2589 ## random-variable.h (module 'core'): ns3::UniformVariable::UniformVariable() [constructor]
2590 cls.add_constructor([])
2591 ## random-variable.h (module 'core'): ns3::UniformVariable::UniformVariable(double s, double l) [constructor]
2592 cls.add_constructor([param('double', 's'), param('double', 'l')])
2593 ## random-variable.h (module 'core'): uint32_t ns3::UniformVariable::GetInteger(uint32_t s, uint32_t l) [member function]
2594 cls.add_method('GetInteger',
2595 'uint32_t',
2596 [param('uint32_t', 's'), param('uint32_t', 'l')])
2597 ## random-variable.h (module 'core'): double ns3::UniformVariable::GetValue() const [member function]
2598 cls.add_method('GetValue',
2599 'double',
2600 [],
2601 is_const=True)
2602 ## random-variable.h (module 'core'): double ns3::UniformVariable::GetValue(double s, double l) [member function]
2603 cls.add_method('GetValue',
2604 'double',
2605 [param('double', 's'), param('double', 'l')])
2606 return
2607
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002608def register_Ns3WeibullVariable_methods(root_module, cls):
2609 ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(ns3::WeibullVariable const & arg0) [copy constructor]
2610 cls.add_constructor([param('ns3::WeibullVariable const &', 'arg0')])
2611 ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable() [constructor]
2612 cls.add_constructor([])
2613 ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(double m) [constructor]
2614 cls.add_constructor([param('double', 'm')])
2615 ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(double m, double s) [constructor]
2616 cls.add_constructor([param('double', 'm'), param('double', 's')])
2617 ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(double m, double s, double b) [constructor]
2618 cls.add_constructor([param('double', 'm'), param('double', 's'), param('double', 'b')])
2619 return
2620
2621def register_Ns3ZetaVariable_methods(root_module, cls):
2622 ## random-variable.h (module 'core'): ns3::ZetaVariable::ZetaVariable(ns3::ZetaVariable const & arg0) [copy constructor]
2623 cls.add_constructor([param('ns3::ZetaVariable const &', 'arg0')])
2624 ## random-variable.h (module 'core'): ns3::ZetaVariable::ZetaVariable(double alpha) [constructor]
2625 cls.add_constructor([param('double', 'alpha')])
2626 ## random-variable.h (module 'core'): ns3::ZetaVariable::ZetaVariable() [constructor]
2627 cls.add_constructor([])
2628 return
2629
2630def register_Ns3ZipfVariable_methods(root_module, cls):
2631 ## random-variable.h (module 'core'): ns3::ZipfVariable::ZipfVariable(ns3::ZipfVariable const & arg0) [copy constructor]
2632 cls.add_constructor([param('ns3::ZipfVariable const &', 'arg0')])
2633 ## random-variable.h (module 'core'): ns3::ZipfVariable::ZipfVariable(long int N, double alpha) [constructor]
2634 cls.add_constructor([param('long int', 'N'), param('double', 'alpha')])
2635 ## random-variable.h (module 'core'): ns3::ZipfVariable::ZipfVariable() [constructor]
2636 cls.add_constructor([])
2637 return
2638
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002639def register_Ns3Empty_methods(root_module, cls):
2640 ## empty.h (module 'core'): ns3::empty::empty() [constructor]
2641 cls.add_constructor([])
2642 ## empty.h (module 'core'): ns3::empty::empty(ns3::empty const & arg0) [copy constructor]
2643 cls.add_constructor([param('ns3::empty const &', 'arg0')])
2644 return
2645
2646def register_Ns3Int64x64_t_methods(root_module, cls):
2647 cls.add_binary_comparison_operator('!=')
2648 cls.add_inplace_numeric_operator('*=', param('ns3::int64x64_t const &', 'right'))
2649 cls.add_inplace_numeric_operator('+=', param('ns3::int64x64_t const &', 'right'))
2650 cls.add_inplace_numeric_operator('-=', param('ns3::int64x64_t const &', 'right'))
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07002651 cls.add_output_stream_operator()
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08002652 cls.add_binary_comparison_operator('<=')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002653 cls.add_binary_comparison_operator('==')
2654 cls.add_binary_comparison_operator('>=')
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002655 cls.add_inplace_numeric_operator('/=', param('ns3::int64x64_t const &', 'right'))
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002656 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
2657 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
2658 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
2659 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
2660 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
2661 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
2662 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
2663 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
2664 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
2665 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
2666 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
2667 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
2668 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
2669 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
2670 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
2671 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
2672 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
2673 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
2674 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
2675 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
2676 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
2677 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
2678 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
2679 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
2680 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
2681 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
2682 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
2683 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
2684 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
2685 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
2686 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
2687 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
2688 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
2689 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
2690 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
2691 cls.add_unary_numeric_operator('-')
2692 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
2693 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
2694 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
2695 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
2696 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
2697 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
2698 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
2699 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
2700 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
2701 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
2702 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
2703 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
2704 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
2705 cls.add_binary_comparison_operator('<')
2706 cls.add_binary_comparison_operator('>')
2707 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t() [constructor]
2708 cls.add_constructor([])
2709 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(double v) [constructor]
2710 cls.add_constructor([param('double', 'v')])
2711 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(int v) [constructor]
2712 cls.add_constructor([param('int', 'v')])
2713 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long int v) [constructor]
2714 cls.add_constructor([param('long int', 'v')])
2715 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long long int v) [constructor]
2716 cls.add_constructor([param('long long int', 'v')])
2717 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(unsigned int v) [constructor]
2718 cls.add_constructor([param('unsigned int', 'v')])
2719 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long unsigned int v) [constructor]
2720 cls.add_constructor([param('long unsigned int', 'v')])
2721 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long long unsigned int v) [constructor]
2722 cls.add_constructor([param('long long unsigned int', 'v')])
2723 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(int64_t hi, uint64_t lo) [constructor]
2724 cls.add_constructor([param('int64_t', 'hi'), param('uint64_t', 'lo')])
2725 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(ns3::int64x64_t const & o) [copy constructor]
2726 cls.add_constructor([param('ns3::int64x64_t const &', 'o')])
2727 ## int64x64-double.h (module 'core'): double ns3::int64x64_t::GetDouble() const [member function]
2728 cls.add_method('GetDouble',
2729 'double',
2730 [],
2731 is_const=True)
2732 ## int64x64-double.h (module 'core'): int64_t ns3::int64x64_t::GetHigh() const [member function]
2733 cls.add_method('GetHigh',
2734 'int64_t',
2735 [],
2736 is_const=True)
2737 ## int64x64-double.h (module 'core'): uint64_t ns3::int64x64_t::GetLow() const [member function]
2738 cls.add_method('GetLow',
2739 'uint64_t',
2740 [],
2741 is_const=True)
2742 ## int64x64-double.h (module 'core'): static ns3::int64x64_t ns3::int64x64_t::Invert(uint64_t v) [member function]
2743 cls.add_method('Invert',
2744 'ns3::int64x64_t',
2745 [param('uint64_t', 'v')],
2746 is_static=True)
2747 ## int64x64-double.h (module 'core'): void ns3::int64x64_t::MulByInvert(ns3::int64x64_t const & o) [member function]
2748 cls.add_method('MulByInvert',
2749 'void',
2750 [param('ns3::int64x64_t const &', 'o')])
2751 return
2752
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002753def register_Ns3Chunk_methods(root_module, cls):
2754 ## chunk.h (module 'network'): ns3::Chunk::Chunk() [constructor]
2755 cls.add_constructor([])
2756 ## chunk.h (module 'network'): ns3::Chunk::Chunk(ns3::Chunk const & arg0) [copy constructor]
2757 cls.add_constructor([param('ns3::Chunk const &', 'arg0')])
2758 ## chunk.h (module 'network'): uint32_t ns3::Chunk::Deserialize(ns3::Buffer::Iterator start) [member function]
2759 cls.add_method('Deserialize',
2760 'uint32_t',
2761 [param('ns3::Buffer::Iterator', 'start')],
2762 is_pure_virtual=True, is_virtual=True)
2763 ## chunk.h (module 'network'): static ns3::TypeId ns3::Chunk::GetTypeId() [member function]
2764 cls.add_method('GetTypeId',
2765 'ns3::TypeId',
2766 [],
2767 is_static=True)
2768 ## chunk.h (module 'network'): void ns3::Chunk::Print(std::ostream & os) const [member function]
2769 cls.add_method('Print',
2770 'void',
2771 [param('std::ostream &', 'os')],
2772 is_pure_virtual=True, is_const=True, is_virtual=True)
2773 return
2774
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002775def register_Ns3ConstantVariable_methods(root_module, cls):
2776 ## random-variable.h (module 'core'): ns3::ConstantVariable::ConstantVariable(ns3::ConstantVariable const & arg0) [copy constructor]
2777 cls.add_constructor([param('ns3::ConstantVariable const &', 'arg0')])
2778 ## random-variable.h (module 'core'): ns3::ConstantVariable::ConstantVariable() [constructor]
2779 cls.add_constructor([])
2780 ## random-variable.h (module 'core'): ns3::ConstantVariable::ConstantVariable(double c) [constructor]
2781 cls.add_constructor([param('double', 'c')])
2782 ## random-variable.h (module 'core'): void ns3::ConstantVariable::SetConstant(double c) [member function]
2783 cls.add_method('SetConstant',
2784 'void',
2785 [param('double', 'c')])
2786 return
2787
2788def register_Ns3DeterministicVariable_methods(root_module, cls):
2789 ## random-variable.h (module 'core'): ns3::DeterministicVariable::DeterministicVariable(ns3::DeterministicVariable const & arg0) [copy constructor]
2790 cls.add_constructor([param('ns3::DeterministicVariable const &', 'arg0')])
2791 ## random-variable.h (module 'core'): ns3::DeterministicVariable::DeterministicVariable(double * d, uint32_t c) [constructor]
2792 cls.add_constructor([param('double *', 'd'), param('uint32_t', 'c')])
2793 return
2794
2795def register_Ns3EmpiricalVariable_methods(root_module, cls):
2796 ## random-variable.h (module 'core'): ns3::EmpiricalVariable::EmpiricalVariable(ns3::EmpiricalVariable const & arg0) [copy constructor]
2797 cls.add_constructor([param('ns3::EmpiricalVariable const &', 'arg0')])
2798 ## random-variable.h (module 'core'): ns3::EmpiricalVariable::EmpiricalVariable() [constructor]
2799 cls.add_constructor([])
2800 ## random-variable.h (module 'core'): void ns3::EmpiricalVariable::CDF(double v, double c) [member function]
2801 cls.add_method('CDF',
2802 'void',
2803 [param('double', 'v'), param('double', 'c')])
2804 return
2805
2806def register_Ns3ErlangVariable_methods(root_module, cls):
2807 ## random-variable.h (module 'core'): ns3::ErlangVariable::ErlangVariable(ns3::ErlangVariable const & arg0) [copy constructor]
2808 cls.add_constructor([param('ns3::ErlangVariable const &', 'arg0')])
2809 ## random-variable.h (module 'core'): ns3::ErlangVariable::ErlangVariable() [constructor]
2810 cls.add_constructor([])
2811 ## random-variable.h (module 'core'): ns3::ErlangVariable::ErlangVariable(unsigned int k, double lambda) [constructor]
2812 cls.add_constructor([param('unsigned int', 'k'), param('double', 'lambda')])
2813 ## random-variable.h (module 'core'): double ns3::ErlangVariable::GetValue() const [member function]
2814 cls.add_method('GetValue',
2815 'double',
2816 [],
2817 is_const=True)
2818 ## random-variable.h (module 'core'): double ns3::ErlangVariable::GetValue(unsigned int k, double lambda) const [member function]
2819 cls.add_method('GetValue',
2820 'double',
2821 [param('unsigned int', 'k'), param('double', 'lambda')],
2822 is_const=True)
2823 return
2824
2825def register_Ns3ExponentialVariable_methods(root_module, cls):
2826 ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable(ns3::ExponentialVariable const & arg0) [copy constructor]
2827 cls.add_constructor([param('ns3::ExponentialVariable const &', 'arg0')])
2828 ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable() [constructor]
2829 cls.add_constructor([])
2830 ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable(double m) [constructor]
2831 cls.add_constructor([param('double', 'm')])
2832 ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable(double m, double b) [constructor]
2833 cls.add_constructor([param('double', 'm'), param('double', 'b')])
2834 return
2835
2836def register_Ns3GammaVariable_methods(root_module, cls):
2837 ## random-variable.h (module 'core'): ns3::GammaVariable::GammaVariable(ns3::GammaVariable const & arg0) [copy constructor]
2838 cls.add_constructor([param('ns3::GammaVariable const &', 'arg0')])
2839 ## random-variable.h (module 'core'): ns3::GammaVariable::GammaVariable() [constructor]
2840 cls.add_constructor([])
2841 ## random-variable.h (module 'core'): ns3::GammaVariable::GammaVariable(double alpha, double beta) [constructor]
2842 cls.add_constructor([param('double', 'alpha'), param('double', 'beta')])
2843 ## random-variable.h (module 'core'): double ns3::GammaVariable::GetValue() const [member function]
2844 cls.add_method('GetValue',
2845 'double',
2846 [],
2847 is_const=True)
2848 ## random-variable.h (module 'core'): double ns3::GammaVariable::GetValue(double alpha, double beta) const [member function]
2849 cls.add_method('GetValue',
2850 'double',
2851 [param('double', 'alpha'), param('double', 'beta')],
2852 is_const=True)
2853 return
2854
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002855def register_Ns3Header_methods(root_module, cls):
2856 cls.add_output_stream_operator()
2857 ## header.h (module 'network'): ns3::Header::Header() [constructor]
2858 cls.add_constructor([])
2859 ## header.h (module 'network'): ns3::Header::Header(ns3::Header const & arg0) [copy constructor]
2860 cls.add_constructor([param('ns3::Header const &', 'arg0')])
2861 ## header.h (module 'network'): uint32_t ns3::Header::Deserialize(ns3::Buffer::Iterator start) [member function]
2862 cls.add_method('Deserialize',
2863 'uint32_t',
2864 [param('ns3::Buffer::Iterator', 'start')],
2865 is_pure_virtual=True, is_virtual=True)
2866 ## header.h (module 'network'): uint32_t ns3::Header::GetSerializedSize() const [member function]
2867 cls.add_method('GetSerializedSize',
2868 'uint32_t',
2869 [],
2870 is_pure_virtual=True, is_const=True, is_virtual=True)
2871 ## header.h (module 'network'): static ns3::TypeId ns3::Header::GetTypeId() [member function]
2872 cls.add_method('GetTypeId',
2873 'ns3::TypeId',
2874 [],
2875 is_static=True)
2876 ## header.h (module 'network'): void ns3::Header::Print(std::ostream & os) const [member function]
2877 cls.add_method('Print',
2878 'void',
2879 [param('std::ostream &', 'os')],
2880 is_pure_virtual=True, is_const=True, is_virtual=True)
2881 ## header.h (module 'network'): void ns3::Header::Serialize(ns3::Buffer::Iterator start) const [member function]
2882 cls.add_method('Serialize',
2883 'void',
2884 [param('ns3::Buffer::Iterator', 'start')],
2885 is_pure_virtual=True, is_const=True, is_virtual=True)
2886 return
2887
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002888def register_Ns3IntEmpiricalVariable_methods(root_module, cls):
2889 ## random-variable.h (module 'core'): ns3::IntEmpiricalVariable::IntEmpiricalVariable(ns3::IntEmpiricalVariable const & arg0) [copy constructor]
2890 cls.add_constructor([param('ns3::IntEmpiricalVariable const &', 'arg0')])
2891 ## random-variable.h (module 'core'): ns3::IntEmpiricalVariable::IntEmpiricalVariable() [constructor]
2892 cls.add_constructor([])
2893 return
2894
2895def register_Ns3LogNormalVariable_methods(root_module, cls):
2896 ## random-variable.h (module 'core'): ns3::LogNormalVariable::LogNormalVariable(ns3::LogNormalVariable const & arg0) [copy constructor]
2897 cls.add_constructor([param('ns3::LogNormalVariable const &', 'arg0')])
2898 ## random-variable.h (module 'core'): ns3::LogNormalVariable::LogNormalVariable(double mu, double sigma) [constructor]
2899 cls.add_constructor([param('double', 'mu'), param('double', 'sigma')])
2900 return
2901
2902def register_Ns3NormalVariable_methods(root_module, cls):
2903 ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable(ns3::NormalVariable const & arg0) [copy constructor]
2904 cls.add_constructor([param('ns3::NormalVariable const &', 'arg0')])
2905 ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable() [constructor]
2906 cls.add_constructor([])
2907 ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable(double m, double v) [constructor]
2908 cls.add_constructor([param('double', 'm'), param('double', 'v')])
2909 ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable(double m, double v, double b) [constructor]
2910 cls.add_constructor([param('double', 'm'), param('double', 'v'), param('double', 'b')])
2911 return
2912
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002913def register_Ns3Object_methods(root_module, cls):
2914 ## object.h (module 'core'): ns3::Object::Object() [constructor]
2915 cls.add_constructor([])
2916 ## object.h (module 'core'): void ns3::Object::AggregateObject(ns3::Ptr<ns3::Object> other) [member function]
2917 cls.add_method('AggregateObject',
2918 'void',
2919 [param('ns3::Ptr< ns3::Object >', 'other')])
2920 ## object.h (module 'core'): void ns3::Object::Dispose() [member function]
2921 cls.add_method('Dispose',
2922 'void',
2923 [])
2924 ## object.h (module 'core'): ns3::Object::AggregateIterator ns3::Object::GetAggregateIterator() const [member function]
2925 cls.add_method('GetAggregateIterator',
2926 'ns3::Object::AggregateIterator',
2927 [],
2928 is_const=True)
2929 ## object.h (module 'core'): ns3::TypeId ns3::Object::GetInstanceTypeId() const [member function]
2930 cls.add_method('GetInstanceTypeId',
2931 'ns3::TypeId',
2932 [],
2933 is_const=True, is_virtual=True)
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002934 ## object.h (module 'core'): ns3::Ptr<ns3::ndn::ContentStore> ns3::Object::GetObject() const [member function]
2935 cls.add_method('GetObject',
2936 'ns3::Ptr< ns3::ndn::ContentStore >',
2937 [],
2938 is_const=True, template_parameters=['ns3::ndn::ContentStore'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07002939 ## object.h (module 'core'): ns3::Ptr<ns3::ndn::Fib> ns3::Object::GetObject() const [member function]
Alexander Afanasyev1c0248b2012-07-24 15:59:50 -07002940 cls.add_method('GetObject',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07002941 'ns3::Ptr< ns3::ndn::Fib >',
Alexander Afanasyev1c0248b2012-07-24 15:59:50 -07002942 [],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07002943 is_const=True, template_parameters=['ns3::ndn::Fib'])
2944 ## object.h (module 'core'): ns3::Ptr<ns3::ndn::Pit> ns3::Object::GetObject() const [member function]
Alexander Afanasyev5feb38b2012-08-09 11:01:43 -07002945 cls.add_method('GetObject',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07002946 'ns3::Ptr< ns3::ndn::Pit >',
Alexander Afanasyev5feb38b2012-08-09 11:01:43 -07002947 [],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07002948 is_const=True, template_parameters=['ns3::ndn::Pit'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002949 ## object.h (module 'core'): static ns3::TypeId ns3::Object::GetTypeId() [member function]
2950 cls.add_method('GetTypeId',
2951 'ns3::TypeId',
2952 [],
2953 is_static=True)
Alexander Afanasyev5b8d61b2013-05-03 10:23:21 -07002954 ## object.h (module 'core'): void ns3::Object::Initialize() [member function]
2955 cls.add_method('Initialize',
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002956 'void',
2957 [])
2958 ## object.h (module 'core'): ns3::Object::Object(ns3::Object const & o) [copy constructor]
2959 cls.add_constructor([param('ns3::Object const &', 'o')],
2960 visibility='protected')
2961 ## object.h (module 'core'): void ns3::Object::DoDispose() [member function]
2962 cls.add_method('DoDispose',
2963 'void',
2964 [],
2965 visibility='protected', is_virtual=True)
Alexander Afanasyev5b8d61b2013-05-03 10:23:21 -07002966 ## object.h (module 'core'): void ns3::Object::DoInitialize() [member function]
2967 cls.add_method('DoInitialize',
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002968 'void',
2969 [],
2970 visibility='protected', is_virtual=True)
2971 ## object.h (module 'core'): void ns3::Object::NotifyNewAggregate() [member function]
2972 cls.add_method('NotifyNewAggregate',
2973 'void',
2974 [],
2975 visibility='protected', is_virtual=True)
2976 return
2977
2978def register_Ns3ObjectAggregateIterator_methods(root_module, cls):
2979 ## object.h (module 'core'): ns3::Object::AggregateIterator::AggregateIterator(ns3::Object::AggregateIterator const & arg0) [copy constructor]
2980 cls.add_constructor([param('ns3::Object::AggregateIterator const &', 'arg0')])
2981 ## object.h (module 'core'): ns3::Object::AggregateIterator::AggregateIterator() [constructor]
2982 cls.add_constructor([])
2983 ## object.h (module 'core'): bool ns3::Object::AggregateIterator::HasNext() const [member function]
2984 cls.add_method('HasNext',
2985 'bool',
2986 [],
2987 is_const=True)
2988 ## object.h (module 'core'): ns3::Ptr<ns3::Object const> ns3::Object::AggregateIterator::Next() [member function]
2989 cls.add_method('Next',
2990 'ns3::Ptr< ns3::Object const >',
2991 [])
2992 return
2993
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002994def register_Ns3ParetoVariable_methods(root_module, cls):
2995 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(ns3::ParetoVariable const & arg0) [copy constructor]
2996 cls.add_constructor([param('ns3::ParetoVariable const &', 'arg0')])
2997 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable() [constructor]
2998 cls.add_constructor([])
2999 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(double m) [constructor]
3000 cls.add_constructor([param('double', 'm')])
3001 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(double m, double s) [constructor]
3002 cls.add_constructor([param('double', 'm'), param('double', 's')])
3003 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(double m, double s, double b) [constructor]
3004 cls.add_constructor([param('double', 'm'), param('double', 's'), param('double', 'b')])
3005 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(std::pair<double,double> params) [constructor]
3006 cls.add_constructor([param('std::pair< double, double >', 'params')])
3007 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(std::pair<double,double> params, double b) [constructor]
3008 cls.add_constructor([param('std::pair< double, double >', 'params'), param('double', 'b')])
3009 return
3010
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003011def register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, cls):
3012 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >::SimpleRefCount() [constructor]
3013 cls.add_constructor([])
3014 ## 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]
3015 cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter< ns3::AttributeAccessor > > const &', 'o')])
3016 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >::Cleanup() [member function]
3017 cls.add_method('Cleanup',
3018 'void',
3019 [],
3020 is_static=True)
3021 return
3022
3023def register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeChecker__gt___methods(root_module, cls):
3024 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >::SimpleRefCount() [constructor]
3025 cls.add_constructor([])
3026 ## 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]
3027 cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter< ns3::AttributeChecker > > const &', 'o')])
3028 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >::Cleanup() [member function]
3029 cls.add_method('Cleanup',
3030 'void',
3031 [],
3032 is_static=True)
3033 return
3034
3035def register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, cls):
3036 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >::SimpleRefCount() [constructor]
3037 cls.add_constructor([])
3038 ## 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]
3039 cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter< ns3::AttributeValue > > const &', 'o')])
3040 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >::Cleanup() [member function]
3041 cls.add_method('Cleanup',
3042 'void',
3043 [],
3044 is_static=True)
3045 return
3046
3047def register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, cls):
3048 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >::SimpleRefCount() [constructor]
3049 cls.add_constructor([])
3050 ## 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]
3051 cls.add_constructor([param('ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter< ns3::CallbackImplBase > > const &', 'o')])
3052 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >::Cleanup() [member function]
3053 cls.add_method('Cleanup',
3054 'void',
3055 [],
3056 is_static=True)
3057 return
3058
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003059def register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, cls):
3060 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >::SimpleRefCount() [constructor]
3061 cls.add_constructor([])
3062 ## 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]
3063 cls.add_constructor([param('ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter< ns3::EventImpl > > const &', 'o')])
3064 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >::Cleanup() [member function]
3065 cls.add_method('Cleanup',
3066 'void',
3067 [],
3068 is_static=True)
3069 return
3070
3071def register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, cls):
3072 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >::SimpleRefCount() [constructor]
3073 cls.add_constructor([])
3074 ## 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]
3075 cls.add_constructor([param('ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter< ns3::NixVector > > const &', 'o')])
3076 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >::Cleanup() [member function]
3077 cls.add_method('Cleanup',
3078 'void',
3079 [],
3080 is_static=True)
3081 return
3082
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003083def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, cls):
3084 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >::SimpleRefCount() [constructor]
3085 cls.add_constructor([])
3086 ## 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]
3087 cls.add_constructor([param('ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter< ns3::Packet > > const &', 'o')])
3088 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >::Cleanup() [member function]
3089 cls.add_method('Cleanup',
3090 'void',
3091 [],
3092 is_static=True)
3093 return
3094
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07003095def register_Ns3SimpleRefCount__Ns3TopologyReader_Ns3Empty_Ns3DefaultDeleter__lt__ns3TopologyReader__gt___methods(root_module, cls):
3096 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter<ns3::TopologyReader> >::SimpleRefCount() [constructor]
3097 cls.add_constructor([])
3098 ## 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]
3099 cls.add_constructor([param('ns3::SimpleRefCount< ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter< ns3::TopologyReader > > const &', 'o')])
3100 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter<ns3::TopologyReader> >::Cleanup() [member function]
3101 cls.add_method('Cleanup',
3102 'void',
3103 [],
3104 is_static=True)
3105 return
3106
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003107def register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, cls):
3108 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >::SimpleRefCount() [constructor]
3109 cls.add_constructor([])
3110 ## 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]
3111 cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > const &', 'o')])
3112 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >::Cleanup() [member function]
3113 cls.add_method('Cleanup',
3114 'void',
3115 [],
3116 is_static=True)
3117 return
3118
Alexander Afanasyev858d5312013-07-10 18:50:18 -07003119def register_Ns3SimpleRefCount__Ns3NdnContentObject_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnContentObject__gt___methods(root_module, cls):
3120 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::ContentObject, ns3::empty, ns3::DefaultDeleter<ns3::ndn::ContentObject> >::SimpleRefCount() [constructor]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07003121 cls.add_constructor([])
Alexander Afanasyev858d5312013-07-10 18:50:18 -07003122 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::ContentObject, ns3::empty, ns3::DefaultDeleter<ns3::ndn::ContentObject> >::SimpleRefCount(ns3::SimpleRefCount<ns3::ndn::ContentObject, ns3::empty, ns3::DefaultDeleter<ns3::ndn::ContentObject> > const & o) [copy constructor]
3123 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::ContentObject, ns3::empty, ns3::DefaultDeleter< ns3::ndn::ContentObject > > const &', 'o')])
3124 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::ndn::ContentObject, ns3::empty, ns3::DefaultDeleter<ns3::ndn::ContentObject> >::Cleanup() [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07003125 cls.add_method('Cleanup',
3126 'void',
3127 [],
3128 is_static=True)
3129 return
3130
3131def register_Ns3SimpleRefCount__Ns3NdnFaceContainer_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnFaceContainer__gt___methods(root_module, cls):
3132 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::FaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::ndn::FaceContainer> >::SimpleRefCount() [constructor]
3133 cls.add_constructor([])
3134 ## 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]
3135 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::FaceContainer, ns3::empty, ns3::DefaultDeleter< ns3::ndn::FaceContainer > > const &', 'o')])
3136 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::ndn::FaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::ndn::FaceContainer> >::Cleanup() [member function]
3137 cls.add_method('Cleanup',
3138 'void',
3139 [],
3140 is_static=True)
3141 return
3142
Alexander Afanasyev858d5312013-07-10 18:50:18 -07003143def register_Ns3SimpleRefCount__Ns3NdnInterest_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnInterest__gt___methods(root_module, cls):
3144 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::Interest, ns3::empty, ns3::DefaultDeleter<ns3::ndn::Interest> >::SimpleRefCount() [constructor]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07003145 cls.add_constructor([])
Alexander Afanasyev858d5312013-07-10 18:50:18 -07003146 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::Interest, ns3::empty, ns3::DefaultDeleter<ns3::ndn::Interest> >::SimpleRefCount(ns3::SimpleRefCount<ns3::ndn::Interest, ns3::empty, ns3::DefaultDeleter<ns3::ndn::Interest> > const & o) [copy constructor]
3147 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::Interest, ns3::empty, ns3::DefaultDeleter< ns3::ndn::Interest > > const &', 'o')])
3148 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::ndn::Interest, ns3::empty, ns3::DefaultDeleter<ns3::ndn::Interest> >::Cleanup() [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07003149 cls.add_method('Cleanup',
3150 'void',
3151 [],
3152 is_static=True)
3153 return
3154
Alexander Afanasyev32c07562013-02-01 12:58:43 -08003155def register_Ns3SimpleRefCount__Ns3NdnName_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnName__gt___methods(root_module, cls):
3156 ## 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 -07003157 cls.add_constructor([])
Alexander Afanasyev32c07562013-02-01 12:58:43 -08003158 ## 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]
3159 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::Name, ns3::empty, ns3::DefaultDeleter< ns3::ndn::Name > > const &', 'o')])
3160 ## 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 -07003161 cls.add_method('Cleanup',
3162 'void',
3163 [],
3164 is_static=True)
3165 return
3166
3167def register_Ns3SimpleRefCount__Ns3NdnCsEntry_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnCsEntry__gt___methods(root_module, cls):
3168 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::cs::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::cs::Entry> >::SimpleRefCount() [constructor]
3169 cls.add_constructor([])
3170 ## 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]
3171 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::cs::Entry, ns3::empty, ns3::DefaultDeleter< ns3::ndn::cs::Entry > > const &', 'o')])
3172 ## 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]
3173 cls.add_method('Cleanup',
3174 'void',
3175 [],
3176 is_static=True)
3177 return
3178
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07003179def register_Ns3SimpleRefCount__Ns3NdnPitEntry_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnPitEntry__gt___methods(root_module, cls):
3180 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::pit::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::pit::Entry> >::SimpleRefCount() [constructor]
3181 cls.add_constructor([])
3182 ## 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]
3183 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::pit::Entry, ns3::empty, ns3::DefaultDeleter< ns3::ndn::pit::Entry > > const &', 'o')])
3184 ## 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]
3185 cls.add_method('Cleanup',
3186 'void',
3187 [],
3188 is_static=True)
3189 return
3190
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003191def register_Ns3Time_methods(root_module, cls):
3192 cls.add_binary_comparison_operator('!=')
3193 cls.add_inplace_numeric_operator('+=', param('ns3::Time const &', 'right'))
3194 cls.add_inplace_numeric_operator('-=', param('ns3::Time const &', 'right'))
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07003195 cls.add_output_stream_operator()
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08003196 cls.add_binary_comparison_operator('<=')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003197 cls.add_binary_comparison_operator('==')
3198 cls.add_binary_comparison_operator('>=')
3199 cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right'))
3200 cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right'))
3201 cls.add_binary_comparison_operator('<')
3202 cls.add_binary_comparison_operator('>')
3203 ## nstime.h (module 'core'): ns3::Time::Time() [constructor]
3204 cls.add_constructor([])
3205 ## nstime.h (module 'core'): ns3::Time::Time(ns3::Time const & o) [copy constructor]
3206 cls.add_constructor([param('ns3::Time const &', 'o')])
3207 ## nstime.h (module 'core'): ns3::Time::Time(double v) [constructor]
3208 cls.add_constructor([param('double', 'v')])
3209 ## nstime.h (module 'core'): ns3::Time::Time(int v) [constructor]
3210 cls.add_constructor([param('int', 'v')])
3211 ## nstime.h (module 'core'): ns3::Time::Time(long int v) [constructor]
3212 cls.add_constructor([param('long int', 'v')])
3213 ## nstime.h (module 'core'): ns3::Time::Time(long long int v) [constructor]
3214 cls.add_constructor([param('long long int', 'v')])
3215 ## nstime.h (module 'core'): ns3::Time::Time(unsigned int v) [constructor]
3216 cls.add_constructor([param('unsigned int', 'v')])
3217 ## nstime.h (module 'core'): ns3::Time::Time(long unsigned int v) [constructor]
3218 cls.add_constructor([param('long unsigned int', 'v')])
3219 ## nstime.h (module 'core'): ns3::Time::Time(long long unsigned int v) [constructor]
3220 cls.add_constructor([param('long long unsigned int', 'v')])
3221 ## nstime.h (module 'core'): ns3::Time::Time(std::string const & s) [constructor]
3222 cls.add_constructor([param('std::string const &', 's')])
3223 ## nstime.h (module 'core'): ns3::Time::Time(ns3::int64x64_t const & value) [constructor]
3224 cls.add_constructor([param('ns3::int64x64_t const &', 'value')])
3225 ## nstime.h (module 'core'): int ns3::Time::Compare(ns3::Time const & o) const [member function]
3226 cls.add_method('Compare',
3227 'int',
3228 [param('ns3::Time const &', 'o')],
3229 is_const=True)
3230 ## nstime.h (module 'core'): static ns3::Time ns3::Time::From(ns3::int64x64_t const & from, ns3::Time::Unit timeUnit) [member function]
3231 cls.add_method('From',
3232 'ns3::Time',
3233 [param('ns3::int64x64_t const &', 'from'), param('ns3::Time::Unit', 'timeUnit')],
3234 is_static=True)
3235 ## nstime.h (module 'core'): static ns3::Time ns3::Time::From(ns3::int64x64_t const & value) [member function]
3236 cls.add_method('From',
3237 'ns3::Time',
3238 [param('ns3::int64x64_t const &', 'value')],
3239 is_static=True)
3240 ## nstime.h (module 'core'): static ns3::Time ns3::Time::FromDouble(double value, ns3::Time::Unit timeUnit) [member function]
3241 cls.add_method('FromDouble',
3242 'ns3::Time',
3243 [param('double', 'value'), param('ns3::Time::Unit', 'timeUnit')],
3244 is_static=True)
3245 ## nstime.h (module 'core'): static ns3::Time ns3::Time::FromInteger(uint64_t value, ns3::Time::Unit timeUnit) [member function]
3246 cls.add_method('FromInteger',
3247 'ns3::Time',
3248 [param('uint64_t', 'value'), param('ns3::Time::Unit', 'timeUnit')],
3249 is_static=True)
3250 ## nstime.h (module 'core'): double ns3::Time::GetDouble() const [member function]
3251 cls.add_method('GetDouble',
3252 'double',
3253 [],
3254 is_const=True)
3255 ## nstime.h (module 'core'): int64_t ns3::Time::GetFemtoSeconds() const [member function]
3256 cls.add_method('GetFemtoSeconds',
3257 'int64_t',
3258 [],
3259 is_const=True)
3260 ## nstime.h (module 'core'): int64_t ns3::Time::GetInteger() const [member function]
3261 cls.add_method('GetInteger',
3262 'int64_t',
3263 [],
3264 is_const=True)
3265 ## nstime.h (module 'core'): int64_t ns3::Time::GetMicroSeconds() const [member function]
3266 cls.add_method('GetMicroSeconds',
3267 'int64_t',
3268 [],
3269 is_const=True)
3270 ## nstime.h (module 'core'): int64_t ns3::Time::GetMilliSeconds() const [member function]
3271 cls.add_method('GetMilliSeconds',
3272 'int64_t',
3273 [],
3274 is_const=True)
3275 ## nstime.h (module 'core'): int64_t ns3::Time::GetNanoSeconds() const [member function]
3276 cls.add_method('GetNanoSeconds',
3277 'int64_t',
3278 [],
3279 is_const=True)
3280 ## nstime.h (module 'core'): int64_t ns3::Time::GetPicoSeconds() const [member function]
3281 cls.add_method('GetPicoSeconds',
3282 'int64_t',
3283 [],
3284 is_const=True)
3285 ## nstime.h (module 'core'): static ns3::Time::Unit ns3::Time::GetResolution() [member function]
3286 cls.add_method('GetResolution',
3287 'ns3::Time::Unit',
3288 [],
3289 is_static=True)
3290 ## nstime.h (module 'core'): double ns3::Time::GetSeconds() const [member function]
3291 cls.add_method('GetSeconds',
3292 'double',
3293 [],
3294 is_const=True)
3295 ## nstime.h (module 'core'): int64_t ns3::Time::GetTimeStep() const [member function]
3296 cls.add_method('GetTimeStep',
3297 'int64_t',
3298 [],
3299 is_const=True)
3300 ## nstime.h (module 'core'): bool ns3::Time::IsNegative() const [member function]
3301 cls.add_method('IsNegative',
3302 'bool',
3303 [],
3304 is_const=True)
3305 ## nstime.h (module 'core'): bool ns3::Time::IsPositive() const [member function]
3306 cls.add_method('IsPositive',
3307 'bool',
3308 [],
3309 is_const=True)
3310 ## nstime.h (module 'core'): bool ns3::Time::IsStrictlyNegative() const [member function]
3311 cls.add_method('IsStrictlyNegative',
3312 'bool',
3313 [],
3314 is_const=True)
3315 ## nstime.h (module 'core'): bool ns3::Time::IsStrictlyPositive() const [member function]
3316 cls.add_method('IsStrictlyPositive',
3317 'bool',
3318 [],
3319 is_const=True)
3320 ## nstime.h (module 'core'): bool ns3::Time::IsZero() const [member function]
3321 cls.add_method('IsZero',
3322 'bool',
3323 [],
3324 is_const=True)
3325 ## nstime.h (module 'core'): static void ns3::Time::SetResolution(ns3::Time::Unit resolution) [member function]
3326 cls.add_method('SetResolution',
3327 'void',
3328 [param('ns3::Time::Unit', 'resolution')],
3329 is_static=True)
3330 ## nstime.h (module 'core'): ns3::int64x64_t ns3::Time::To(ns3::Time::Unit timeUnit) const [member function]
3331 cls.add_method('To',
3332 'ns3::int64x64_t',
3333 [param('ns3::Time::Unit', 'timeUnit')],
3334 is_const=True)
3335 ## nstime.h (module 'core'): double ns3::Time::ToDouble(ns3::Time::Unit timeUnit) const [member function]
3336 cls.add_method('ToDouble',
3337 'double',
3338 [param('ns3::Time::Unit', 'timeUnit')],
3339 is_const=True)
3340 ## nstime.h (module 'core'): int64_t ns3::Time::ToInteger(ns3::Time::Unit timeUnit) const [member function]
3341 cls.add_method('ToInteger',
3342 'int64_t',
3343 [param('ns3::Time::Unit', 'timeUnit')],
3344 is_const=True)
3345 return
3346
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07003347def register_Ns3TopologyReader_methods(root_module, cls):
3348 ## topology-reader.h (module 'topology-read'): ns3::TopologyReader::TopologyReader() [constructor]
3349 cls.add_constructor([])
3350 ## topology-reader.h (module 'topology-read'): void ns3::TopologyReader::AddLink(ns3::TopologyReader::Link link) [member function]
3351 cls.add_method('AddLink',
3352 'void',
3353 [param('ns3::TopologyReader::Link', 'link')])
3354 ## topology-reader.h (module 'topology-read'): std::string ns3::TopologyReader::GetFileName() const [member function]
3355 cls.add_method('GetFileName',
3356 'std::string',
3357 [],
3358 is_const=True)
3359 ## topology-reader.h (module 'topology-read'): std::_List_const_iterator<ns3::TopologyReader::Link> ns3::TopologyReader::LinksBegin() const [member function]
3360 cls.add_method('LinksBegin',
3361 'std::_List_const_iterator< ns3::TopologyReader::Link >',
3362 [],
3363 is_const=True)
3364 ## topology-reader.h (module 'topology-read'): bool ns3::TopologyReader::LinksEmpty() const [member function]
3365 cls.add_method('LinksEmpty',
3366 'bool',
3367 [],
3368 is_const=True)
3369 ## topology-reader.h (module 'topology-read'): std::_List_const_iterator<ns3::TopologyReader::Link> ns3::TopologyReader::LinksEnd() const [member function]
3370 cls.add_method('LinksEnd',
3371 'std::_List_const_iterator< ns3::TopologyReader::Link >',
3372 [],
3373 is_const=True)
3374 ## topology-reader.h (module 'topology-read'): int ns3::TopologyReader::LinksSize() const [member function]
3375 cls.add_method('LinksSize',
3376 'int',
3377 [],
3378 is_const=True)
3379 ## topology-reader.h (module 'topology-read'): ns3::NodeContainer ns3::TopologyReader::Read() [member function]
3380 cls.add_method('Read',
3381 'ns3::NodeContainer',
3382 [],
3383 is_pure_virtual=True, is_virtual=True)
3384 ## topology-reader.h (module 'topology-read'): void ns3::TopologyReader::SetFileName(std::string const & fileName) [member function]
3385 cls.add_method('SetFileName',
3386 'void',
3387 [param('std::string const &', 'fileName')])
3388 return
3389
3390def register_Ns3TopologyReaderLink_methods(root_module, cls):
3391 ## topology-reader.h (module 'topology-read'): ns3::TopologyReader::Link::Link(ns3::TopologyReader::Link const & arg0) [copy constructor]
3392 cls.add_constructor([param('ns3::TopologyReader::Link const &', 'arg0')])
3393 ## topology-reader.h (module 'topology-read'): ns3::TopologyReader::Link::Link() [constructor]
3394 cls.add_constructor([])
3395 ## 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]
3396 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')])
3397 ## 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]
3398 cls.add_method('AttributesBegin',
3399 '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 > > > >',
3400 [])
3401 ## 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]
3402 cls.add_method('AttributesEnd',
3403 '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 > > > >',
3404 [])
3405 ## topology-reader.h (module 'topology-read'): std::string ns3::TopologyReader::Link::GetAttribute(std::string const & name) const [member function]
3406 cls.add_method('GetAttribute',
3407 'std::string',
3408 [param('std::string const &', 'name')],
3409 is_const=True)
3410 ## topology-reader.h (module 'topology-read'): bool ns3::TopologyReader::Link::GetAttributeFailSafe(std::string const & name, std::string & value) const [member function]
3411 cls.add_method('GetAttributeFailSafe',
3412 'bool',
3413 [param('std::string const &', 'name'), param('std::string &', 'value')],
3414 is_const=True)
3415 ## topology-reader.h (module 'topology-read'): ns3::Ptr<ns3::NetDevice> ns3::TopologyReader::Link::GetFromNetDevice() const [member function]
3416 cls.add_method('GetFromNetDevice',
3417 'ns3::Ptr< ns3::NetDevice >',
3418 [],
3419 is_const=True)
3420 ## topology-reader.h (module 'topology-read'): ns3::Ptr<ns3::Node> ns3::TopologyReader::Link::GetFromNode() const [member function]
3421 cls.add_method('GetFromNode',
3422 'ns3::Ptr< ns3::Node >',
3423 [],
3424 is_const=True)
3425 ## topology-reader.h (module 'topology-read'): std::string ns3::TopologyReader::Link::GetFromNodeName() const [member function]
3426 cls.add_method('GetFromNodeName',
3427 'std::string',
3428 [],
3429 is_const=True)
3430 ## topology-reader.h (module 'topology-read'): ns3::Ptr<ns3::NetDevice> ns3::TopologyReader::Link::GetToNetDevice() const [member function]
3431 cls.add_method('GetToNetDevice',
3432 'ns3::Ptr< ns3::NetDevice >',
3433 [],
3434 is_const=True)
3435 ## topology-reader.h (module 'topology-read'): ns3::Ptr<ns3::Node> ns3::TopologyReader::Link::GetToNode() const [member function]
3436 cls.add_method('GetToNode',
3437 'ns3::Ptr< ns3::Node >',
3438 [],
3439 is_const=True)
3440 ## topology-reader.h (module 'topology-read'): std::string ns3::TopologyReader::Link::GetToNodeName() const [member function]
3441 cls.add_method('GetToNodeName',
3442 'std::string',
3443 [],
3444 is_const=True)
3445 ## topology-reader.h (module 'topology-read'): void ns3::TopologyReader::Link::SetAttribute(std::string const & name, std::string const & value) [member function]
3446 cls.add_method('SetAttribute',
3447 'void',
3448 [param('std::string const &', 'name'), param('std::string const &', 'value')])
3449 ## topology-reader.h (module 'topology-read'): void ns3::TopologyReader::Link::SetNetDevices(ns3::Ptr<ns3::NetDevice> from, ns3::Ptr<ns3::NetDevice> to) [member function]
3450 cls.add_method('SetNetDevices',
3451 'void',
3452 [param('ns3::Ptr< ns3::NetDevice >', 'from'), param('ns3::Ptr< ns3::NetDevice >', 'to')])
3453 return
3454
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003455def register_Ns3TraceSourceAccessor_methods(root_module, cls):
3456 ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor]
3457 cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')])
3458 ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor]
3459 cls.add_constructor([])
3460 ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function]
3461 cls.add_method('Connect',
3462 'bool',
3463 [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')],
3464 is_pure_virtual=True, is_const=True, is_virtual=True)
3465 ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function]
3466 cls.add_method('ConnectWithoutContext',
3467 'bool',
3468 [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')],
3469 is_pure_virtual=True, is_const=True, is_virtual=True)
3470 ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function]
3471 cls.add_method('Disconnect',
3472 'bool',
3473 [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')],
3474 is_pure_virtual=True, is_const=True, is_virtual=True)
3475 ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function]
3476 cls.add_method('DisconnectWithoutContext',
3477 'bool',
3478 [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')],
3479 is_pure_virtual=True, is_const=True, is_virtual=True)
3480 return
3481
3482def register_Ns3Trailer_methods(root_module, cls):
3483 cls.add_output_stream_operator()
3484 ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor]
3485 cls.add_constructor([])
3486 ## trailer.h (module 'network'): ns3::Trailer::Trailer(ns3::Trailer const & arg0) [copy constructor]
3487 cls.add_constructor([param('ns3::Trailer const &', 'arg0')])
3488 ## trailer.h (module 'network'): uint32_t ns3::Trailer::Deserialize(ns3::Buffer::Iterator end) [member function]
3489 cls.add_method('Deserialize',
3490 'uint32_t',
3491 [param('ns3::Buffer::Iterator', 'end')],
3492 is_pure_virtual=True, is_virtual=True)
3493 ## trailer.h (module 'network'): uint32_t ns3::Trailer::GetSerializedSize() const [member function]
3494 cls.add_method('GetSerializedSize',
3495 'uint32_t',
3496 [],
3497 is_pure_virtual=True, is_const=True, is_virtual=True)
3498 ## trailer.h (module 'network'): static ns3::TypeId ns3::Trailer::GetTypeId() [member function]
3499 cls.add_method('GetTypeId',
3500 'ns3::TypeId',
3501 [],
3502 is_static=True)
3503 ## trailer.h (module 'network'): void ns3::Trailer::Print(std::ostream & os) const [member function]
3504 cls.add_method('Print',
3505 'void',
3506 [param('std::ostream &', 'os')],
3507 is_pure_virtual=True, is_const=True, is_virtual=True)
3508 ## trailer.h (module 'network'): void ns3::Trailer::Serialize(ns3::Buffer::Iterator start) const [member function]
3509 cls.add_method('Serialize',
3510 'void',
3511 [param('ns3::Buffer::Iterator', 'start')],
3512 is_pure_virtual=True, is_const=True, is_virtual=True)
3513 return
3514
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07003515def register_Ns3AnnotatedTopologyReader_methods(root_module, cls):
3516 ## annotated-topology-reader.h (module 'ndnSIM'): ns3::AnnotatedTopologyReader::AnnotatedTopologyReader(std::string const & path="", double scale=1.0e+0) [constructor]
3517 cls.add_constructor([param('std::string const &', 'path', default_value='""'), param('double', 'scale', default_value='1.0e+0')])
3518 ## annotated-topology-reader.h (module 'ndnSIM'): ns3::NodeContainer ns3::AnnotatedTopologyReader::Read() [member function]
3519 cls.add_method('Read',
3520 'ns3::NodeContainer',
3521 [],
3522 is_virtual=True)
3523 ## annotated-topology-reader.h (module 'ndnSIM'): ns3::NodeContainer ns3::AnnotatedTopologyReader::GetNodes() const [member function]
3524 cls.add_method('GetNodes',
3525 'ns3::NodeContainer',
3526 [],
Alexander Afanasyev858d5312013-07-10 18:50:18 -07003527 is_const=True, is_virtual=True)
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07003528 ## annotated-topology-reader.h (module 'ndnSIM'): std::list<ns3::TopologyReader::Link, std::allocator<ns3::TopologyReader::Link> > const & ns3::AnnotatedTopologyReader::GetLinks() const [member function]
3529 cls.add_method('GetLinks',
3530 'std::list< ns3::TopologyReader::Link > const &',
3531 [],
Alexander Afanasyev858d5312013-07-10 18:50:18 -07003532 is_const=True, is_virtual=True)
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07003533 ## annotated-topology-reader.h (module 'ndnSIM'): void ns3::AnnotatedTopologyReader::AssignIpv4Addresses(ns3::Ipv4Address base) [member function]
3534 cls.add_method('AssignIpv4Addresses',
3535 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07003536 [param('ns3::Ipv4Address', 'base')],
3537 is_virtual=True)
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07003538 ## annotated-topology-reader.h (module 'ndnSIM'): void ns3::AnnotatedTopologyReader::SetBoundingBox(double ulx, double uly, double lrx, double lry) [member function]
3539 cls.add_method('SetBoundingBox',
3540 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07003541 [param('double', 'ulx'), param('double', 'uly'), param('double', 'lrx'), param('double', 'lry')],
3542 is_virtual=True)
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07003543 ## annotated-topology-reader.h (module 'ndnSIM'): void ns3::AnnotatedTopologyReader::SetMobilityModel(std::string const & model) [member function]
3544 cls.add_method('SetMobilityModel',
3545 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07003546 [param('std::string const &', 'model')],
3547 is_virtual=True)
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07003548 ## annotated-topology-reader.h (module 'ndnSIM'): void ns3::AnnotatedTopologyReader::ApplyOspfMetric() [member function]
3549 cls.add_method('ApplyOspfMetric',
3550 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07003551 [],
3552 is_virtual=True)
3553 ## annotated-topology-reader.h (module 'ndnSIM'): void ns3::AnnotatedTopologyReader::SaveTopology(std::string const & file) [member function]
Alexander Afanasyev71029732012-11-19 23:50:52 -08003554 cls.add_method('SaveTopology',
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07003555 'void',
3556 [param('std::string const &', 'file')],
Alexander Afanasyev858d5312013-07-10 18:50:18 -07003557 is_virtual=True)
3558 ## annotated-topology-reader.h (module 'ndnSIM'): void ns3::AnnotatedTopologyReader::SaveGraphviz(std::string const & file) [member function]
3559 cls.add_method('SaveGraphviz',
3560 'void',
3561 [param('std::string const &', 'file')],
3562 is_virtual=True)
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07003563 ## annotated-topology-reader.h (module 'ndnSIM'): ns3::Ptr<ns3::Node> ns3::AnnotatedTopologyReader::CreateNode(std::string const name, uint32_t systemId) [member function]
3564 cls.add_method('CreateNode',
3565 'ns3::Ptr< ns3::Node >',
3566 [param('std::string const', 'name'), param('uint32_t', 'systemId')],
3567 visibility='protected')
3568 ## 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]
3569 cls.add_method('CreateNode',
3570 'ns3::Ptr< ns3::Node >',
3571 [param('std::string const', 'name'), param('double', 'posX'), param('double', 'posY'), param('uint32_t', 'systemId')],
3572 visibility='protected')
3573 ## annotated-topology-reader.h (module 'ndnSIM'): void ns3::AnnotatedTopologyReader::ApplySettings() [member function]
3574 cls.add_method('ApplySettings',
3575 'void',
3576 [],
3577 visibility='protected')
3578 return
3579
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003580def register_Ns3Application_methods(root_module, cls):
3581 ## application.h (module 'network'): ns3::Application::Application(ns3::Application const & arg0) [copy constructor]
3582 cls.add_constructor([param('ns3::Application const &', 'arg0')])
3583 ## application.h (module 'network'): ns3::Application::Application() [constructor]
3584 cls.add_constructor([])
3585 ## application.h (module 'network'): ns3::Ptr<ns3::Node> ns3::Application::GetNode() const [member function]
3586 cls.add_method('GetNode',
3587 'ns3::Ptr< ns3::Node >',
3588 [],
3589 is_const=True)
3590 ## application.h (module 'network'): static ns3::TypeId ns3::Application::GetTypeId() [member function]
3591 cls.add_method('GetTypeId',
3592 'ns3::TypeId',
3593 [],
3594 is_static=True)
3595 ## application.h (module 'network'): void ns3::Application::SetNode(ns3::Ptr<ns3::Node> node) [member function]
3596 cls.add_method('SetNode',
3597 'void',
3598 [param('ns3::Ptr< ns3::Node >', 'node')])
3599 ## application.h (module 'network'): void ns3::Application::SetStartTime(ns3::Time start) [member function]
3600 cls.add_method('SetStartTime',
3601 'void',
3602 [param('ns3::Time', 'start')])
3603 ## application.h (module 'network'): void ns3::Application::SetStopTime(ns3::Time stop) [member function]
3604 cls.add_method('SetStopTime',
3605 'void',
3606 [param('ns3::Time', 'stop')])
3607 ## application.h (module 'network'): void ns3::Application::DoDispose() [member function]
3608 cls.add_method('DoDispose',
3609 'void',
3610 [],
3611 visibility='protected', is_virtual=True)
Alexander Afanasyev5b8d61b2013-05-03 10:23:21 -07003612 ## application.h (module 'network'): void ns3::Application::DoInitialize() [member function]
3613 cls.add_method('DoInitialize',
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003614 'void',
3615 [],
3616 visibility='protected', is_virtual=True)
3617 ## application.h (module 'network'): void ns3::Application::StartApplication() [member function]
3618 cls.add_method('StartApplication',
3619 'void',
3620 [],
Alexander Afanasyev06d3a612012-04-17 22:25:40 -07003621 visibility='private', is_virtual=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003622 ## application.h (module 'network'): void ns3::Application::StopApplication() [member function]
3623 cls.add_method('StopApplication',
3624 'void',
3625 [],
Alexander Afanasyev06d3a612012-04-17 22:25:40 -07003626 visibility='private', is_virtual=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003627 return
3628
3629def register_Ns3AttributeAccessor_methods(root_module, cls):
3630 ## attribute.h (module 'core'): ns3::AttributeAccessor::AttributeAccessor(ns3::AttributeAccessor const & arg0) [copy constructor]
3631 cls.add_constructor([param('ns3::AttributeAccessor const &', 'arg0')])
3632 ## attribute.h (module 'core'): ns3::AttributeAccessor::AttributeAccessor() [constructor]
3633 cls.add_constructor([])
3634 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::Get(ns3::ObjectBase const * object, ns3::AttributeValue & attribute) const [member function]
3635 cls.add_method('Get',
3636 'bool',
3637 [param('ns3::ObjectBase const *', 'object'), param('ns3::AttributeValue &', 'attribute')],
3638 is_pure_virtual=True, is_const=True, is_virtual=True)
3639 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::HasGetter() const [member function]
3640 cls.add_method('HasGetter',
3641 'bool',
3642 [],
3643 is_pure_virtual=True, is_const=True, is_virtual=True)
3644 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::HasSetter() const [member function]
3645 cls.add_method('HasSetter',
3646 'bool',
3647 [],
3648 is_pure_virtual=True, is_const=True, is_virtual=True)
3649 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::Set(ns3::ObjectBase * object, ns3::AttributeValue const & value) const [member function]
3650 cls.add_method('Set',
3651 'bool',
3652 [param('ns3::ObjectBase *', 'object', transfer_ownership=False), param('ns3::AttributeValue const &', 'value')],
3653 is_pure_virtual=True, is_const=True, is_virtual=True)
3654 return
3655
3656def register_Ns3AttributeChecker_methods(root_module, cls):
3657 ## attribute.h (module 'core'): ns3::AttributeChecker::AttributeChecker(ns3::AttributeChecker const & arg0) [copy constructor]
3658 cls.add_constructor([param('ns3::AttributeChecker const &', 'arg0')])
3659 ## attribute.h (module 'core'): ns3::AttributeChecker::AttributeChecker() [constructor]
3660 cls.add_constructor([])
3661 ## attribute.h (module 'core'): bool ns3::AttributeChecker::Check(ns3::AttributeValue const & value) const [member function]
3662 cls.add_method('Check',
3663 'bool',
3664 [param('ns3::AttributeValue const &', 'value')],
3665 is_pure_virtual=True, is_const=True, is_virtual=True)
3666 ## attribute.h (module 'core'): bool ns3::AttributeChecker::Copy(ns3::AttributeValue const & source, ns3::AttributeValue & destination) const [member function]
3667 cls.add_method('Copy',
3668 'bool',
3669 [param('ns3::AttributeValue const &', 'source'), param('ns3::AttributeValue &', 'destination')],
3670 is_pure_virtual=True, is_const=True, is_virtual=True)
3671 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeChecker::Create() const [member function]
3672 cls.add_method('Create',
3673 'ns3::Ptr< ns3::AttributeValue >',
3674 [],
3675 is_pure_virtual=True, is_const=True, is_virtual=True)
3676 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function]
3677 cls.add_method('CreateValidValue',
3678 'ns3::Ptr< ns3::AttributeValue >',
3679 [param('ns3::AttributeValue const &', 'value')],
3680 is_const=True)
3681 ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function]
3682 cls.add_method('GetUnderlyingTypeInformation',
3683 'std::string',
3684 [],
3685 is_pure_virtual=True, is_const=True, is_virtual=True)
3686 ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetValueTypeName() const [member function]
3687 cls.add_method('GetValueTypeName',
3688 'std::string',
3689 [],
3690 is_pure_virtual=True, is_const=True, is_virtual=True)
3691 ## attribute.h (module 'core'): bool ns3::AttributeChecker::HasUnderlyingTypeInformation() const [member function]
3692 cls.add_method('HasUnderlyingTypeInformation',
3693 'bool',
3694 [],
3695 is_pure_virtual=True, is_const=True, is_virtual=True)
3696 return
3697
3698def register_Ns3AttributeValue_methods(root_module, cls):
3699 ## attribute.h (module 'core'): ns3::AttributeValue::AttributeValue(ns3::AttributeValue const & arg0) [copy constructor]
3700 cls.add_constructor([param('ns3::AttributeValue const &', 'arg0')])
3701 ## attribute.h (module 'core'): ns3::AttributeValue::AttributeValue() [constructor]
3702 cls.add_constructor([])
3703 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeValue::Copy() const [member function]
3704 cls.add_method('Copy',
3705 'ns3::Ptr< ns3::AttributeValue >',
3706 [],
3707 is_pure_virtual=True, is_const=True, is_virtual=True)
3708 ## attribute.h (module 'core'): bool ns3::AttributeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3709 cls.add_method('DeserializeFromString',
3710 'bool',
3711 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3712 is_pure_virtual=True, is_virtual=True)
3713 ## attribute.h (module 'core'): std::string ns3::AttributeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3714 cls.add_method('SerializeToString',
3715 'std::string',
3716 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3717 is_pure_virtual=True, is_const=True, is_virtual=True)
3718 return
3719
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07003720def register_Ns3BooleanChecker_methods(root_module, cls):
3721 ## boolean.h (module 'core'): ns3::BooleanChecker::BooleanChecker() [constructor]
3722 cls.add_constructor([])
3723 ## boolean.h (module 'core'): ns3::BooleanChecker::BooleanChecker(ns3::BooleanChecker const & arg0) [copy constructor]
3724 cls.add_constructor([param('ns3::BooleanChecker const &', 'arg0')])
3725 return
3726
3727def register_Ns3BooleanValue_methods(root_module, cls):
3728 cls.add_output_stream_operator()
3729 ## boolean.h (module 'core'): ns3::BooleanValue::BooleanValue(ns3::BooleanValue const & arg0) [copy constructor]
3730 cls.add_constructor([param('ns3::BooleanValue const &', 'arg0')])
3731 ## boolean.h (module 'core'): ns3::BooleanValue::BooleanValue() [constructor]
3732 cls.add_constructor([])
3733 ## boolean.h (module 'core'): ns3::BooleanValue::BooleanValue(bool value) [constructor]
3734 cls.add_constructor([param('bool', 'value')])
3735 ## boolean.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::BooleanValue::Copy() const [member function]
3736 cls.add_method('Copy',
3737 'ns3::Ptr< ns3::AttributeValue >',
3738 [],
3739 is_const=True, is_virtual=True)
3740 ## boolean.h (module 'core'): bool ns3::BooleanValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3741 cls.add_method('DeserializeFromString',
3742 'bool',
3743 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3744 is_virtual=True)
3745 ## boolean.h (module 'core'): bool ns3::BooleanValue::Get() const [member function]
3746 cls.add_method('Get',
3747 'bool',
3748 [],
3749 is_const=True)
3750 ## boolean.h (module 'core'): std::string ns3::BooleanValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3751 cls.add_method('SerializeToString',
3752 'std::string',
3753 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3754 is_const=True, is_virtual=True)
3755 ## boolean.h (module 'core'): void ns3::BooleanValue::Set(bool value) [member function]
3756 cls.add_method('Set',
3757 'void',
3758 [param('bool', 'value')])
3759 return
3760
Alexander Afanasyeve4795ae2013-07-11 20:01:31 -07003761def register_Ns3CallbackBasedApp_methods(root_module, cls):
3762 ## callback-based-app.h (module 'ndnSIM'): ns3::CallbackBasedApp::CallbackBasedApp(ns3::CallbackBasedApp const & arg0) [copy constructor]
3763 cls.add_constructor([param('ns3::CallbackBasedApp const &', 'arg0')])
3764 ## callback-based-app.h (module 'ndnSIM'): ns3::CallbackBasedApp::CallbackBasedApp() [constructor]
3765 cls.add_constructor([])
3766 ## callback-based-app.h (module 'ndnSIM'): static ns3::TypeId ns3::CallbackBasedApp::GetTypeId() [member function]
3767 cls.add_method('GetTypeId',
3768 'ns3::TypeId',
3769 [],
3770 is_static=True)
3771 ## callback-based-app.h (module 'ndnSIM'): void ns3::CallbackBasedApp::SetOnStartCallback(ns3::Callback<void, ns3::Ptr<ns3::Application>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> onStart) [member function]
3772 cls.add_method('SetOnStartCallback',
3773 'void',
3774 [param('ns3::Callback< void, ns3::Ptr< ns3::Application >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'onStart')])
3775 ## callback-based-app.h (module 'ndnSIM'): void ns3::CallbackBasedApp::SetOnStopCallback(ns3::Callback<void, ns3::Ptr<ns3::Application>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> onStart) [member function]
3776 cls.add_method('SetOnStopCallback',
3777 'void',
3778 [param('ns3::Callback< void, ns3::Ptr< ns3::Application >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'onStart')])
3779 ## callback-based-app.h (module 'ndnSIM'): void ns3::CallbackBasedApp::StartApplication() [member function]
3780 cls.add_method('StartApplication',
3781 'void',
3782 [],
3783 visibility='protected', is_virtual=True)
3784 ## callback-based-app.h (module 'ndnSIM'): void ns3::CallbackBasedApp::StopApplication() [member function]
3785 cls.add_method('StopApplication',
3786 'void',
3787 [],
3788 visibility='protected', is_virtual=True)
3789 return
3790
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003791def register_Ns3CallbackChecker_methods(root_module, cls):
3792 ## callback.h (module 'core'): ns3::CallbackChecker::CallbackChecker() [constructor]
3793 cls.add_constructor([])
3794 ## callback.h (module 'core'): ns3::CallbackChecker::CallbackChecker(ns3::CallbackChecker const & arg0) [copy constructor]
3795 cls.add_constructor([param('ns3::CallbackChecker const &', 'arg0')])
3796 return
3797
3798def register_Ns3CallbackImplBase_methods(root_module, cls):
3799 ## callback.h (module 'core'): ns3::CallbackImplBase::CallbackImplBase() [constructor]
3800 cls.add_constructor([])
3801 ## callback.h (module 'core'): ns3::CallbackImplBase::CallbackImplBase(ns3::CallbackImplBase const & arg0) [copy constructor]
3802 cls.add_constructor([param('ns3::CallbackImplBase const &', 'arg0')])
3803 ## callback.h (module 'core'): bool ns3::CallbackImplBase::IsEqual(ns3::Ptr<ns3::CallbackImplBase const> other) const [member function]
3804 cls.add_method('IsEqual',
3805 'bool',
3806 [param('ns3::Ptr< ns3::CallbackImplBase const >', 'other')],
3807 is_pure_virtual=True, is_const=True, is_virtual=True)
3808 return
3809
3810def register_Ns3CallbackValue_methods(root_module, cls):
3811 ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue(ns3::CallbackValue const & arg0) [copy constructor]
3812 cls.add_constructor([param('ns3::CallbackValue const &', 'arg0')])
3813 ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue() [constructor]
3814 cls.add_constructor([])
3815 ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue(ns3::CallbackBase const & base) [constructor]
3816 cls.add_constructor([param('ns3::CallbackBase const &', 'base')])
3817 ## callback.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::CallbackValue::Copy() const [member function]
3818 cls.add_method('Copy',
3819 'ns3::Ptr< ns3::AttributeValue >',
3820 [],
3821 is_const=True, is_virtual=True)
3822 ## callback.h (module 'core'): bool ns3::CallbackValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3823 cls.add_method('DeserializeFromString',
3824 'bool',
3825 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3826 is_virtual=True)
3827 ## callback.h (module 'core'): std::string ns3::CallbackValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3828 cls.add_method('SerializeToString',
3829 'std::string',
3830 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3831 is_const=True, is_virtual=True)
3832 ## callback.h (module 'core'): void ns3::CallbackValue::Set(ns3::CallbackBase base) [member function]
3833 cls.add_method('Set',
3834 'void',
3835 [param('ns3::CallbackBase', 'base')])
3836 return
3837
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07003838def register_Ns3DoubleValue_methods(root_module, cls):
3839 ## double.h (module 'core'): ns3::DoubleValue::DoubleValue() [constructor]
3840 cls.add_constructor([])
3841 ## double.h (module 'core'): ns3::DoubleValue::DoubleValue(ns3::DoubleValue const & arg0) [copy constructor]
3842 cls.add_constructor([param('ns3::DoubleValue const &', 'arg0')])
3843 ## double.h (module 'core'): ns3::DoubleValue::DoubleValue(double const & value) [constructor]
3844 cls.add_constructor([param('double const &', 'value')])
3845 ## double.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::DoubleValue::Copy() const [member function]
3846 cls.add_method('Copy',
3847 'ns3::Ptr< ns3::AttributeValue >',
3848 [],
3849 is_const=True, is_virtual=True)
3850 ## double.h (module 'core'): bool ns3::DoubleValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3851 cls.add_method('DeserializeFromString',
3852 'bool',
3853 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3854 is_virtual=True)
3855 ## double.h (module 'core'): double ns3::DoubleValue::Get() const [member function]
3856 cls.add_method('Get',
3857 'double',
3858 [],
3859 is_const=True)
3860 ## double.h (module 'core'): std::string ns3::DoubleValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3861 cls.add_method('SerializeToString',
3862 'std::string',
3863 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3864 is_const=True, is_virtual=True)
3865 ## double.h (module 'core'): void ns3::DoubleValue::Set(double const & value) [member function]
3866 cls.add_method('Set',
3867 'void',
3868 [param('double const &', 'value')])
3869 return
3870
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003871def register_Ns3EmptyAttributeValue_methods(root_module, cls):
3872 ## attribute.h (module 'core'): ns3::EmptyAttributeValue::EmptyAttributeValue(ns3::EmptyAttributeValue const & arg0) [copy constructor]
3873 cls.add_constructor([param('ns3::EmptyAttributeValue const &', 'arg0')])
3874 ## attribute.h (module 'core'): ns3::EmptyAttributeValue::EmptyAttributeValue() [constructor]
3875 cls.add_constructor([])
3876 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::EmptyAttributeValue::Copy() const [member function]
3877 cls.add_method('Copy',
3878 'ns3::Ptr< ns3::AttributeValue >',
3879 [],
3880 is_const=True, visibility='private', is_virtual=True)
3881 ## attribute.h (module 'core'): bool ns3::EmptyAttributeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3882 cls.add_method('DeserializeFromString',
3883 'bool',
3884 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3885 visibility='private', is_virtual=True)
3886 ## attribute.h (module 'core'): std::string ns3::EmptyAttributeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3887 cls.add_method('SerializeToString',
3888 'std::string',
3889 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3890 is_const=True, visibility='private', is_virtual=True)
3891 return
3892
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07003893def register_Ns3EnumChecker_methods(root_module, cls):
3894 ## enum.h (module 'core'): ns3::EnumChecker::EnumChecker(ns3::EnumChecker const & arg0) [copy constructor]
3895 cls.add_constructor([param('ns3::EnumChecker const &', 'arg0')])
3896 ## enum.h (module 'core'): ns3::EnumChecker::EnumChecker() [constructor]
3897 cls.add_constructor([])
3898 ## enum.h (module 'core'): void ns3::EnumChecker::Add(int v, std::string name) [member function]
3899 cls.add_method('Add',
3900 'void',
3901 [param('int', 'v'), param('std::string', 'name')])
3902 ## enum.h (module 'core'): void ns3::EnumChecker::AddDefault(int v, std::string name) [member function]
3903 cls.add_method('AddDefault',
3904 'void',
3905 [param('int', 'v'), param('std::string', 'name')])
3906 ## enum.h (module 'core'): bool ns3::EnumChecker::Check(ns3::AttributeValue const & value) const [member function]
3907 cls.add_method('Check',
3908 'bool',
3909 [param('ns3::AttributeValue const &', 'value')],
3910 is_const=True, is_virtual=True)
3911 ## enum.h (module 'core'): bool ns3::EnumChecker::Copy(ns3::AttributeValue const & src, ns3::AttributeValue & dst) const [member function]
3912 cls.add_method('Copy',
3913 'bool',
3914 [param('ns3::AttributeValue const &', 'src'), param('ns3::AttributeValue &', 'dst')],
3915 is_const=True, is_virtual=True)
3916 ## enum.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::EnumChecker::Create() const [member function]
3917 cls.add_method('Create',
3918 'ns3::Ptr< ns3::AttributeValue >',
3919 [],
3920 is_const=True, is_virtual=True)
3921 ## enum.h (module 'core'): std::string ns3::EnumChecker::GetUnderlyingTypeInformation() const [member function]
3922 cls.add_method('GetUnderlyingTypeInformation',
3923 'std::string',
3924 [],
3925 is_const=True, is_virtual=True)
3926 ## enum.h (module 'core'): std::string ns3::EnumChecker::GetValueTypeName() const [member function]
3927 cls.add_method('GetValueTypeName',
3928 'std::string',
3929 [],
3930 is_const=True, is_virtual=True)
3931 ## enum.h (module 'core'): bool ns3::EnumChecker::HasUnderlyingTypeInformation() const [member function]
3932 cls.add_method('HasUnderlyingTypeInformation',
3933 'bool',
3934 [],
3935 is_const=True, is_virtual=True)
3936 return
3937
3938def register_Ns3EnumValue_methods(root_module, cls):
3939 ## enum.h (module 'core'): ns3::EnumValue::EnumValue(ns3::EnumValue const & arg0) [copy constructor]
3940 cls.add_constructor([param('ns3::EnumValue const &', 'arg0')])
3941 ## enum.h (module 'core'): ns3::EnumValue::EnumValue() [constructor]
3942 cls.add_constructor([])
3943 ## enum.h (module 'core'): ns3::EnumValue::EnumValue(int v) [constructor]
3944 cls.add_constructor([param('int', 'v')])
3945 ## enum.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::EnumValue::Copy() const [member function]
3946 cls.add_method('Copy',
3947 'ns3::Ptr< ns3::AttributeValue >',
3948 [],
3949 is_const=True, is_virtual=True)
3950 ## enum.h (module 'core'): bool ns3::EnumValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3951 cls.add_method('DeserializeFromString',
3952 'bool',
3953 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3954 is_virtual=True)
3955 ## enum.h (module 'core'): int ns3::EnumValue::Get() const [member function]
3956 cls.add_method('Get',
3957 'int',
3958 [],
3959 is_const=True)
3960 ## enum.h (module 'core'): std::string ns3::EnumValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3961 cls.add_method('SerializeToString',
3962 'std::string',
3963 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3964 is_const=True, is_virtual=True)
3965 ## enum.h (module 'core'): void ns3::EnumValue::Set(int v) [member function]
3966 cls.add_method('Set',
3967 'void',
3968 [param('int', 'v')])
3969 return
3970
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003971def register_Ns3EventImpl_methods(root_module, cls):
3972 ## event-impl.h (module 'core'): ns3::EventImpl::EventImpl(ns3::EventImpl const & arg0) [copy constructor]
3973 cls.add_constructor([param('ns3::EventImpl const &', 'arg0')])
3974 ## event-impl.h (module 'core'): ns3::EventImpl::EventImpl() [constructor]
3975 cls.add_constructor([])
3976 ## event-impl.h (module 'core'): void ns3::EventImpl::Cancel() [member function]
3977 cls.add_method('Cancel',
3978 'void',
3979 [])
3980 ## event-impl.h (module 'core'): void ns3::EventImpl::Invoke() [member function]
3981 cls.add_method('Invoke',
3982 'void',
3983 [])
3984 ## event-impl.h (module 'core'): bool ns3::EventImpl::IsCancelled() [member function]
3985 cls.add_method('IsCancelled',
3986 'bool',
3987 [])
3988 ## event-impl.h (module 'core'): void ns3::EventImpl::Notify() [member function]
3989 cls.add_method('Notify',
3990 'void',
3991 [],
3992 is_pure_virtual=True, visibility='protected', is_virtual=True)
3993 return
3994
3995def register_Ns3IntegerValue_methods(root_module, cls):
3996 ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue() [constructor]
3997 cls.add_constructor([])
3998 ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue(ns3::IntegerValue const & arg0) [copy constructor]
3999 cls.add_constructor([param('ns3::IntegerValue const &', 'arg0')])
4000 ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue(int64_t const & value) [constructor]
4001 cls.add_constructor([param('int64_t const &', 'value')])
4002 ## integer.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::IntegerValue::Copy() const [member function]
4003 cls.add_method('Copy',
4004 'ns3::Ptr< ns3::AttributeValue >',
4005 [],
4006 is_const=True, is_virtual=True)
4007 ## integer.h (module 'core'): bool ns3::IntegerValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4008 cls.add_method('DeserializeFromString',
4009 'bool',
4010 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4011 is_virtual=True)
4012 ## integer.h (module 'core'): int64_t ns3::IntegerValue::Get() const [member function]
4013 cls.add_method('Get',
4014 'int64_t',
4015 [],
4016 is_const=True)
4017 ## integer.h (module 'core'): std::string ns3::IntegerValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4018 cls.add_method('SerializeToString',
4019 'std::string',
4020 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4021 is_const=True, is_virtual=True)
4022 ## integer.h (module 'core'): void ns3::IntegerValue::Set(int64_t const & value) [member function]
4023 cls.add_method('Set',
4024 'void',
4025 [param('int64_t const &', 'value')])
4026 return
4027
4028def register_Ns3Ipv4AddressChecker_methods(root_module, cls):
4029 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker::Ipv4AddressChecker() [constructor]
4030 cls.add_constructor([])
4031 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker::Ipv4AddressChecker(ns3::Ipv4AddressChecker const & arg0) [copy constructor]
4032 cls.add_constructor([param('ns3::Ipv4AddressChecker const &', 'arg0')])
4033 return
4034
4035def register_Ns3Ipv4AddressValue_methods(root_module, cls):
4036 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue::Ipv4AddressValue() [constructor]
4037 cls.add_constructor([])
4038 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue::Ipv4AddressValue(ns3::Ipv4AddressValue const & arg0) [copy constructor]
4039 cls.add_constructor([param('ns3::Ipv4AddressValue const &', 'arg0')])
4040 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue::Ipv4AddressValue(ns3::Ipv4Address const & value) [constructor]
4041 cls.add_constructor([param('ns3::Ipv4Address const &', 'value')])
4042 ## ipv4-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv4AddressValue::Copy() const [member function]
4043 cls.add_method('Copy',
4044 'ns3::Ptr< ns3::AttributeValue >',
4045 [],
4046 is_const=True, is_virtual=True)
4047 ## ipv4-address.h (module 'network'): bool ns3::Ipv4AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4048 cls.add_method('DeserializeFromString',
4049 'bool',
4050 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4051 is_virtual=True)
4052 ## ipv4-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv4AddressValue::Get() const [member function]
4053 cls.add_method('Get',
4054 'ns3::Ipv4Address',
4055 [],
4056 is_const=True)
4057 ## ipv4-address.h (module 'network'): std::string ns3::Ipv4AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4058 cls.add_method('SerializeToString',
4059 'std::string',
4060 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4061 is_const=True, is_virtual=True)
4062 ## ipv4-address.h (module 'network'): void ns3::Ipv4AddressValue::Set(ns3::Ipv4Address const & value) [member function]
4063 cls.add_method('Set',
4064 'void',
4065 [param('ns3::Ipv4Address const &', 'value')])
4066 return
4067
4068def register_Ns3Ipv4MaskChecker_methods(root_module, cls):
4069 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker::Ipv4MaskChecker() [constructor]
4070 cls.add_constructor([])
4071 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker::Ipv4MaskChecker(ns3::Ipv4MaskChecker const & arg0) [copy constructor]
4072 cls.add_constructor([param('ns3::Ipv4MaskChecker const &', 'arg0')])
4073 return
4074
4075def register_Ns3Ipv4MaskValue_methods(root_module, cls):
4076 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue::Ipv4MaskValue() [constructor]
4077 cls.add_constructor([])
4078 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue::Ipv4MaskValue(ns3::Ipv4MaskValue const & arg0) [copy constructor]
4079 cls.add_constructor([param('ns3::Ipv4MaskValue const &', 'arg0')])
4080 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue::Ipv4MaskValue(ns3::Ipv4Mask const & value) [constructor]
4081 cls.add_constructor([param('ns3::Ipv4Mask const &', 'value')])
4082 ## ipv4-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv4MaskValue::Copy() const [member function]
4083 cls.add_method('Copy',
4084 'ns3::Ptr< ns3::AttributeValue >',
4085 [],
4086 is_const=True, is_virtual=True)
4087 ## ipv4-address.h (module 'network'): bool ns3::Ipv4MaskValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4088 cls.add_method('DeserializeFromString',
4089 'bool',
4090 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4091 is_virtual=True)
4092 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask ns3::Ipv4MaskValue::Get() const [member function]
4093 cls.add_method('Get',
4094 'ns3::Ipv4Mask',
4095 [],
4096 is_const=True)
4097 ## ipv4-address.h (module 'network'): std::string ns3::Ipv4MaskValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4098 cls.add_method('SerializeToString',
4099 'std::string',
4100 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4101 is_const=True, is_virtual=True)
4102 ## ipv4-address.h (module 'network'): void ns3::Ipv4MaskValue::Set(ns3::Ipv4Mask const & value) [member function]
4103 cls.add_method('Set',
4104 'void',
4105 [param('ns3::Ipv4Mask const &', 'value')])
4106 return
4107
4108def register_Ns3Ipv6AddressChecker_methods(root_module, cls):
4109 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker::Ipv6AddressChecker() [constructor]
4110 cls.add_constructor([])
4111 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker::Ipv6AddressChecker(ns3::Ipv6AddressChecker const & arg0) [copy constructor]
4112 cls.add_constructor([param('ns3::Ipv6AddressChecker const &', 'arg0')])
4113 return
4114
4115def register_Ns3Ipv6AddressValue_methods(root_module, cls):
4116 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue::Ipv6AddressValue() [constructor]
4117 cls.add_constructor([])
4118 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue::Ipv6AddressValue(ns3::Ipv6AddressValue const & arg0) [copy constructor]
4119 cls.add_constructor([param('ns3::Ipv6AddressValue const &', 'arg0')])
4120 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue::Ipv6AddressValue(ns3::Ipv6Address const & value) [constructor]
4121 cls.add_constructor([param('ns3::Ipv6Address const &', 'value')])
4122 ## ipv6-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv6AddressValue::Copy() const [member function]
4123 cls.add_method('Copy',
4124 'ns3::Ptr< ns3::AttributeValue >',
4125 [],
4126 is_const=True, is_virtual=True)
4127 ## ipv6-address.h (module 'network'): bool ns3::Ipv6AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4128 cls.add_method('DeserializeFromString',
4129 'bool',
4130 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4131 is_virtual=True)
4132 ## ipv6-address.h (module 'network'): ns3::Ipv6Address ns3::Ipv6AddressValue::Get() const [member function]
4133 cls.add_method('Get',
4134 'ns3::Ipv6Address',
4135 [],
4136 is_const=True)
4137 ## ipv6-address.h (module 'network'): std::string ns3::Ipv6AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4138 cls.add_method('SerializeToString',
4139 'std::string',
4140 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4141 is_const=True, is_virtual=True)
4142 ## ipv6-address.h (module 'network'): void ns3::Ipv6AddressValue::Set(ns3::Ipv6Address const & value) [member function]
4143 cls.add_method('Set',
4144 'void',
4145 [param('ns3::Ipv6Address const &', 'value')])
4146 return
4147
4148def register_Ns3Ipv6PrefixChecker_methods(root_module, cls):
4149 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker::Ipv6PrefixChecker() [constructor]
4150 cls.add_constructor([])
4151 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker::Ipv6PrefixChecker(ns3::Ipv6PrefixChecker const & arg0) [copy constructor]
4152 cls.add_constructor([param('ns3::Ipv6PrefixChecker const &', 'arg0')])
4153 return
4154
4155def register_Ns3Ipv6PrefixValue_methods(root_module, cls):
4156 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue::Ipv6PrefixValue() [constructor]
4157 cls.add_constructor([])
4158 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue::Ipv6PrefixValue(ns3::Ipv6PrefixValue const & arg0) [copy constructor]
4159 cls.add_constructor([param('ns3::Ipv6PrefixValue const &', 'arg0')])
4160 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue::Ipv6PrefixValue(ns3::Ipv6Prefix const & value) [constructor]
4161 cls.add_constructor([param('ns3::Ipv6Prefix const &', 'value')])
4162 ## ipv6-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv6PrefixValue::Copy() const [member function]
4163 cls.add_method('Copy',
4164 'ns3::Ptr< ns3::AttributeValue >',
4165 [],
4166 is_const=True, is_virtual=True)
4167 ## ipv6-address.h (module 'network'): bool ns3::Ipv6PrefixValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4168 cls.add_method('DeserializeFromString',
4169 'bool',
4170 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4171 is_virtual=True)
4172 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix ns3::Ipv6PrefixValue::Get() const [member function]
4173 cls.add_method('Get',
4174 'ns3::Ipv6Prefix',
4175 [],
4176 is_const=True)
4177 ## ipv6-address.h (module 'network'): std::string ns3::Ipv6PrefixValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4178 cls.add_method('SerializeToString',
4179 'std::string',
4180 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4181 is_const=True, is_virtual=True)
4182 ## ipv6-address.h (module 'network'): void ns3::Ipv6PrefixValue::Set(ns3::Ipv6Prefix const & value) [member function]
4183 cls.add_method('Set',
4184 'void',
4185 [param('ns3::Ipv6Prefix const &', 'value')])
4186 return
4187
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004188def register_Ns3NetDevice_methods(root_module, cls):
4189 ## net-device.h (module 'network'): ns3::NetDevice::NetDevice() [constructor]
4190 cls.add_constructor([])
4191 ## net-device.h (module 'network'): ns3::NetDevice::NetDevice(ns3::NetDevice const & arg0) [copy constructor]
4192 cls.add_constructor([param('ns3::NetDevice const &', 'arg0')])
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08004193 ## 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 -08004194 cls.add_method('AddLinkChangeCallback',
4195 'void',
4196 [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')],
4197 is_pure_virtual=True, is_virtual=True)
4198 ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetAddress() const [member function]
4199 cls.add_method('GetAddress',
4200 'ns3::Address',
4201 [],
4202 is_pure_virtual=True, is_const=True, is_virtual=True)
4203 ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetBroadcast() const [member function]
4204 cls.add_method('GetBroadcast',
4205 'ns3::Address',
4206 [],
4207 is_pure_virtual=True, is_const=True, is_virtual=True)
4208 ## net-device.h (module 'network'): ns3::Ptr<ns3::Channel> ns3::NetDevice::GetChannel() const [member function]
4209 cls.add_method('GetChannel',
4210 'ns3::Ptr< ns3::Channel >',
4211 [],
4212 is_pure_virtual=True, is_const=True, is_virtual=True)
4213 ## net-device.h (module 'network'): uint32_t ns3::NetDevice::GetIfIndex() const [member function]
4214 cls.add_method('GetIfIndex',
4215 'uint32_t',
4216 [],
4217 is_pure_virtual=True, is_const=True, is_virtual=True)
4218 ## net-device.h (module 'network'): uint16_t ns3::NetDevice::GetMtu() const [member function]
4219 cls.add_method('GetMtu',
4220 'uint16_t',
4221 [],
4222 is_pure_virtual=True, is_const=True, is_virtual=True)
4223 ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetMulticast(ns3::Ipv4Address multicastGroup) const [member function]
4224 cls.add_method('GetMulticast',
4225 'ns3::Address',
4226 [param('ns3::Ipv4Address', 'multicastGroup')],
4227 is_pure_virtual=True, is_const=True, is_virtual=True)
4228 ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetMulticast(ns3::Ipv6Address addr) const [member function]
4229 cls.add_method('GetMulticast',
4230 'ns3::Address',
4231 [param('ns3::Ipv6Address', 'addr')],
4232 is_pure_virtual=True, is_const=True, is_virtual=True)
4233 ## net-device.h (module 'network'): ns3::Ptr<ns3::Node> ns3::NetDevice::GetNode() const [member function]
4234 cls.add_method('GetNode',
4235 'ns3::Ptr< ns3::Node >',
4236 [],
4237 is_pure_virtual=True, is_const=True, is_virtual=True)
4238 ## net-device.h (module 'network'): static ns3::TypeId ns3::NetDevice::GetTypeId() [member function]
4239 cls.add_method('GetTypeId',
4240 'ns3::TypeId',
4241 [],
4242 is_static=True)
4243 ## net-device.h (module 'network'): bool ns3::NetDevice::IsBridge() const [member function]
4244 cls.add_method('IsBridge',
4245 'bool',
4246 [],
4247 is_pure_virtual=True, is_const=True, is_virtual=True)
4248 ## net-device.h (module 'network'): bool ns3::NetDevice::IsBroadcast() const [member function]
4249 cls.add_method('IsBroadcast',
4250 'bool',
4251 [],
4252 is_pure_virtual=True, is_const=True, is_virtual=True)
4253 ## net-device.h (module 'network'): bool ns3::NetDevice::IsLinkUp() const [member function]
4254 cls.add_method('IsLinkUp',
4255 'bool',
4256 [],
4257 is_pure_virtual=True, is_const=True, is_virtual=True)
4258 ## net-device.h (module 'network'): bool ns3::NetDevice::IsMulticast() const [member function]
4259 cls.add_method('IsMulticast',
4260 'bool',
4261 [],
4262 is_pure_virtual=True, is_const=True, is_virtual=True)
4263 ## net-device.h (module 'network'): bool ns3::NetDevice::IsPointToPoint() const [member function]
4264 cls.add_method('IsPointToPoint',
4265 'bool',
4266 [],
4267 is_pure_virtual=True, is_const=True, is_virtual=True)
4268 ## net-device.h (module 'network'): bool ns3::NetDevice::NeedsArp() const [member function]
4269 cls.add_method('NeedsArp',
4270 'bool',
4271 [],
4272 is_pure_virtual=True, is_const=True, is_virtual=True)
4273 ## net-device.h (module 'network'): bool ns3::NetDevice::Send(ns3::Ptr<ns3::Packet> packet, ns3::Address const & dest, uint16_t protocolNumber) [member function]
4274 cls.add_method('Send',
4275 'bool',
4276 [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')],
4277 is_pure_virtual=True, is_virtual=True)
4278 ## 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]
4279 cls.add_method('SendFrom',
4280 'bool',
4281 [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')],
4282 is_pure_virtual=True, is_virtual=True)
4283 ## net-device.h (module 'network'): void ns3::NetDevice::SetAddress(ns3::Address address) [member function]
4284 cls.add_method('SetAddress',
4285 'void',
4286 [param('ns3::Address', 'address')],
4287 is_pure_virtual=True, is_virtual=True)
4288 ## net-device.h (module 'network'): void ns3::NetDevice::SetIfIndex(uint32_t const index) [member function]
4289 cls.add_method('SetIfIndex',
4290 'void',
4291 [param('uint32_t const', 'index')],
4292 is_pure_virtual=True, is_virtual=True)
4293 ## net-device.h (module 'network'): bool ns3::NetDevice::SetMtu(uint16_t const mtu) [member function]
4294 cls.add_method('SetMtu',
4295 'bool',
4296 [param('uint16_t const', 'mtu')],
4297 is_pure_virtual=True, is_virtual=True)
4298 ## net-device.h (module 'network'): void ns3::NetDevice::SetNode(ns3::Ptr<ns3::Node> node) [member function]
4299 cls.add_method('SetNode',
4300 'void',
4301 [param('ns3::Ptr< ns3::Node >', 'node')],
4302 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08004303 ## 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 -08004304 cls.add_method('SetPromiscReceiveCallback',
4305 'void',
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08004306 [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 -08004307 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08004308 ## 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 -08004309 cls.add_method('SetReceiveCallback',
4310 'void',
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08004311 [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 -08004312 is_pure_virtual=True, is_virtual=True)
4313 ## net-device.h (module 'network'): bool ns3::NetDevice::SupportsSendFrom() const [member function]
4314 cls.add_method('SupportsSendFrom',
4315 'bool',
4316 [],
4317 is_pure_virtual=True, is_const=True, is_virtual=True)
4318 return
4319
4320def register_Ns3NixVector_methods(root_module, cls):
4321 cls.add_output_stream_operator()
4322 ## nix-vector.h (module 'network'): ns3::NixVector::NixVector() [constructor]
4323 cls.add_constructor([])
4324 ## nix-vector.h (module 'network'): ns3::NixVector::NixVector(ns3::NixVector const & o) [copy constructor]
4325 cls.add_constructor([param('ns3::NixVector const &', 'o')])
4326 ## nix-vector.h (module 'network'): void ns3::NixVector::AddNeighborIndex(uint32_t newBits, uint32_t numberOfBits) [member function]
4327 cls.add_method('AddNeighborIndex',
4328 'void',
4329 [param('uint32_t', 'newBits'), param('uint32_t', 'numberOfBits')])
4330 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::BitCount(uint32_t numberOfNeighbors) const [member function]
4331 cls.add_method('BitCount',
4332 'uint32_t',
4333 [param('uint32_t', 'numberOfNeighbors')],
4334 is_const=True)
4335 ## nix-vector.h (module 'network'): ns3::Ptr<ns3::NixVector> ns3::NixVector::Copy() const [member function]
4336 cls.add_method('Copy',
4337 'ns3::Ptr< ns3::NixVector >',
4338 [],
4339 is_const=True)
4340 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::Deserialize(uint32_t const * buffer, uint32_t size) [member function]
4341 cls.add_method('Deserialize',
4342 'uint32_t',
4343 [param('uint32_t const *', 'buffer'), param('uint32_t', 'size')])
4344 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::ExtractNeighborIndex(uint32_t numberOfBits) [member function]
4345 cls.add_method('ExtractNeighborIndex',
4346 'uint32_t',
4347 [param('uint32_t', 'numberOfBits')])
4348 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::GetRemainingBits() [member function]
4349 cls.add_method('GetRemainingBits',
4350 'uint32_t',
4351 [])
4352 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::GetSerializedSize() const [member function]
4353 cls.add_method('GetSerializedSize',
4354 'uint32_t',
4355 [],
4356 is_const=True)
4357 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::Serialize(uint32_t * buffer, uint32_t maxSize) const [member function]
4358 cls.add_method('Serialize',
4359 'uint32_t',
4360 [param('uint32_t *', 'buffer'), param('uint32_t', 'maxSize')],
4361 is_const=True)
4362 return
4363
4364def register_Ns3Node_methods(root_module, cls):
4365 ## node.h (module 'network'): ns3::Node::Node(ns3::Node const & arg0) [copy constructor]
4366 cls.add_constructor([param('ns3::Node const &', 'arg0')])
4367 ## node.h (module 'network'): ns3::Node::Node() [constructor]
4368 cls.add_constructor([])
4369 ## node.h (module 'network'): ns3::Node::Node(uint32_t systemId) [constructor]
4370 cls.add_constructor([param('uint32_t', 'systemId')])
4371 ## node.h (module 'network'): uint32_t ns3::Node::AddApplication(ns3::Ptr<ns3::Application> application) [member function]
4372 cls.add_method('AddApplication',
4373 'uint32_t',
4374 [param('ns3::Ptr< ns3::Application >', 'application')])
4375 ## node.h (module 'network'): uint32_t ns3::Node::AddDevice(ns3::Ptr<ns3::NetDevice> device) [member function]
4376 cls.add_method('AddDevice',
4377 'uint32_t',
4378 [param('ns3::Ptr< ns3::NetDevice >', 'device')])
4379 ## node.h (module 'network'): static bool ns3::Node::ChecksumEnabled() [member function]
4380 cls.add_method('ChecksumEnabled',
4381 'bool',
4382 [],
4383 is_static=True)
4384 ## node.h (module 'network'): ns3::Ptr<ns3::Application> ns3::Node::GetApplication(uint32_t index) const [member function]
4385 cls.add_method('GetApplication',
4386 'ns3::Ptr< ns3::Application >',
4387 [param('uint32_t', 'index')],
4388 is_const=True)
4389 ## node.h (module 'network'): ns3::Ptr<ns3::NetDevice> ns3::Node::GetDevice(uint32_t index) const [member function]
4390 cls.add_method('GetDevice',
4391 'ns3::Ptr< ns3::NetDevice >',
4392 [param('uint32_t', 'index')],
4393 is_const=True)
4394 ## node.h (module 'network'): uint32_t ns3::Node::GetId() const [member function]
4395 cls.add_method('GetId',
4396 'uint32_t',
4397 [],
4398 is_const=True)
4399 ## node.h (module 'network'): uint32_t ns3::Node::GetNApplications() const [member function]
4400 cls.add_method('GetNApplications',
4401 'uint32_t',
4402 [],
4403 is_const=True)
4404 ## node.h (module 'network'): uint32_t ns3::Node::GetNDevices() const [member function]
4405 cls.add_method('GetNDevices',
4406 'uint32_t',
4407 [],
4408 is_const=True)
4409 ## node.h (module 'network'): uint32_t ns3::Node::GetSystemId() const [member function]
4410 cls.add_method('GetSystemId',
4411 'uint32_t',
4412 [],
4413 is_const=True)
4414 ## node.h (module 'network'): static ns3::TypeId ns3::Node::GetTypeId() [member function]
4415 cls.add_method('GetTypeId',
4416 'ns3::TypeId',
4417 [],
4418 is_static=True)
4419 ## 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]
4420 cls.add_method('RegisterDeviceAdditionListener',
4421 'void',
4422 [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')])
4423 ## 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]
4424 cls.add_method('RegisterProtocolHandler',
4425 'void',
4426 [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')])
4427 ## 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]
4428 cls.add_method('UnregisterDeviceAdditionListener',
4429 'void',
4430 [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')])
4431 ## 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]
4432 cls.add_method('UnregisterProtocolHandler',
4433 'void',
4434 [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')])
4435 ## node.h (module 'network'): void ns3::Node::DoDispose() [member function]
4436 cls.add_method('DoDispose',
4437 'void',
4438 [],
4439 visibility='protected', is_virtual=True)
Alexander Afanasyev5b8d61b2013-05-03 10:23:21 -07004440 ## node.h (module 'network'): void ns3::Node::DoInitialize() [member function]
4441 cls.add_method('DoInitialize',
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004442 'void',
4443 [],
4444 visibility='protected', is_virtual=True)
4445 return
4446
4447def register_Ns3ObjectFactoryChecker_methods(root_module, cls):
4448 ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker::ObjectFactoryChecker() [constructor]
4449 cls.add_constructor([])
4450 ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker::ObjectFactoryChecker(ns3::ObjectFactoryChecker const & arg0) [copy constructor]
4451 cls.add_constructor([param('ns3::ObjectFactoryChecker const &', 'arg0')])
4452 return
4453
4454def register_Ns3ObjectFactoryValue_methods(root_module, cls):
4455 ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue() [constructor]
4456 cls.add_constructor([])
4457 ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue(ns3::ObjectFactoryValue const & arg0) [copy constructor]
4458 cls.add_constructor([param('ns3::ObjectFactoryValue const &', 'arg0')])
4459 ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue(ns3::ObjectFactory const & value) [constructor]
4460 cls.add_constructor([param('ns3::ObjectFactory const &', 'value')])
4461 ## object-factory.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::ObjectFactoryValue::Copy() const [member function]
4462 cls.add_method('Copy',
4463 'ns3::Ptr< ns3::AttributeValue >',
4464 [],
4465 is_const=True, is_virtual=True)
4466 ## object-factory.h (module 'core'): bool ns3::ObjectFactoryValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4467 cls.add_method('DeserializeFromString',
4468 'bool',
4469 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4470 is_virtual=True)
4471 ## object-factory.h (module 'core'): ns3::ObjectFactory ns3::ObjectFactoryValue::Get() const [member function]
4472 cls.add_method('Get',
4473 'ns3::ObjectFactory',
4474 [],
4475 is_const=True)
4476 ## object-factory.h (module 'core'): std::string ns3::ObjectFactoryValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4477 cls.add_method('SerializeToString',
4478 'std::string',
4479 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4480 is_const=True, is_virtual=True)
4481 ## object-factory.h (module 'core'): void ns3::ObjectFactoryValue::Set(ns3::ObjectFactory const & value) [member function]
4482 cls.add_method('Set',
4483 'void',
4484 [param('ns3::ObjectFactory const &', 'value')])
4485 return
4486
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004487def register_Ns3Packet_methods(root_module, cls):
4488 cls.add_output_stream_operator()
4489 ## packet.h (module 'network'): ns3::Packet::Packet() [constructor]
4490 cls.add_constructor([])
4491 ## packet.h (module 'network'): ns3::Packet::Packet(ns3::Packet const & o) [copy constructor]
4492 cls.add_constructor([param('ns3::Packet const &', 'o')])
4493 ## packet.h (module 'network'): ns3::Packet::Packet(uint32_t size) [constructor]
4494 cls.add_constructor([param('uint32_t', 'size')])
4495 ## packet.h (module 'network'): ns3::Packet::Packet(uint8_t const * buffer, uint32_t size, bool magic) [constructor]
4496 cls.add_constructor([param('uint8_t const *', 'buffer'), param('uint32_t', 'size'), param('bool', 'magic')])
4497 ## packet.h (module 'network'): ns3::Packet::Packet(uint8_t const * buffer, uint32_t size) [constructor]
4498 cls.add_constructor([param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
Alexander Afanasyev858d5312013-07-10 18:50:18 -07004499 ## packet.h (module 'network'): void ns3::Packet::AddAtEnd(ns3::Ptr<ns3::Packet const> packet) [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004500 cls.add_method('AddAtEnd',
4501 'void',
4502 [param('ns3::Ptr< ns3::Packet const >', 'packet')])
4503 ## packet.h (module 'network'): void ns3::Packet::AddByteTag(ns3::Tag const & tag) const [member function]
4504 cls.add_method('AddByteTag',
4505 'void',
4506 [param('ns3::Tag const &', 'tag')],
4507 is_const=True)
4508 ## packet.h (module 'network'): void ns3::Packet::AddHeader(ns3::Header const & header) [member function]
4509 cls.add_method('AddHeader',
4510 'void',
4511 [param('ns3::Header const &', 'header')])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004512 ## packet.h (module 'network'): void ns3::Packet::AddPacketTag(ns3::Tag const & tag) const [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004513 cls.add_method('AddPacketTag',
4514 'void',
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004515 [param('ns3::Tag const &', 'tag')],
4516 is_const=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004517 ## packet.h (module 'network'): void ns3::Packet::AddPaddingAtEnd(uint32_t size) [member function]
4518 cls.add_method('AddPaddingAtEnd',
4519 'void',
4520 [param('uint32_t', 'size')])
4521 ## packet.h (module 'network'): void ns3::Packet::AddTrailer(ns3::Trailer const & trailer) [member function]
4522 cls.add_method('AddTrailer',
4523 'void',
4524 [param('ns3::Trailer const &', 'trailer')])
4525 ## packet.h (module 'network'): ns3::PacketMetadata::ItemIterator ns3::Packet::BeginItem() const [member function]
4526 cls.add_method('BeginItem',
4527 'ns3::PacketMetadata::ItemIterator',
4528 [],
4529 is_const=True)
4530 ## packet.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Packet::Copy() const [member function]
4531 cls.add_method('Copy',
4532 'ns3::Ptr< ns3::Packet >',
4533 [],
4534 is_const=True)
4535 ## packet.h (module 'network'): uint32_t ns3::Packet::CopyData(uint8_t * buffer, uint32_t size) const [member function]
4536 cls.add_method('CopyData',
4537 'uint32_t',
4538 [param('uint8_t *', 'buffer'), param('uint32_t', 'size')],
4539 is_const=True)
4540 ## packet.h (module 'network'): void ns3::Packet::CopyData(std::ostream * os, uint32_t size) const [member function]
4541 cls.add_method('CopyData',
4542 'void',
4543 [param('std::ostream *', 'os'), param('uint32_t', 'size')],
4544 is_const=True)
4545 ## packet.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Packet::CreateFragment(uint32_t start, uint32_t length) const [member function]
4546 cls.add_method('CreateFragment',
4547 'ns3::Ptr< ns3::Packet >',
4548 [param('uint32_t', 'start'), param('uint32_t', 'length')],
4549 is_const=True)
4550 ## packet.h (module 'network'): static void ns3::Packet::EnableChecking() [member function]
4551 cls.add_method('EnableChecking',
4552 'void',
4553 [],
4554 is_static=True)
4555 ## packet.h (module 'network'): static void ns3::Packet::EnablePrinting() [member function]
4556 cls.add_method('EnablePrinting',
4557 'void',
4558 [],
4559 is_static=True)
4560 ## packet.h (module 'network'): bool ns3::Packet::FindFirstMatchingByteTag(ns3::Tag & tag) const [member function]
4561 cls.add_method('FindFirstMatchingByteTag',
4562 'bool',
4563 [param('ns3::Tag &', 'tag')],
4564 is_const=True)
4565 ## packet.h (module 'network'): ns3::ByteTagIterator ns3::Packet::GetByteTagIterator() const [member function]
4566 cls.add_method('GetByteTagIterator',
4567 'ns3::ByteTagIterator',
4568 [],
4569 is_const=True)
4570 ## packet.h (module 'network'): ns3::Ptr<ns3::NixVector> ns3::Packet::GetNixVector() const [member function]
4571 cls.add_method('GetNixVector',
4572 'ns3::Ptr< ns3::NixVector >',
4573 [],
4574 is_const=True)
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004575 ## packet.h (module 'network'): ns3::PacketTagIterator ns3::Packet::GetPacketTagIterator() const [member function]
4576 cls.add_method('GetPacketTagIterator',
4577 'ns3::PacketTagIterator',
4578 [],
4579 is_const=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004580 ## packet.h (module 'network'): uint32_t ns3::Packet::GetSerializedSize() const [member function]
4581 cls.add_method('GetSerializedSize',
4582 'uint32_t',
4583 [],
4584 is_const=True)
4585 ## packet.h (module 'network'): uint32_t ns3::Packet::GetSize() const [member function]
4586 cls.add_method('GetSize',
4587 'uint32_t',
4588 [],
4589 is_const=True)
4590 ## packet.h (module 'network'): uint64_t ns3::Packet::GetUid() const [member function]
4591 cls.add_method('GetUid',
4592 'uint64_t',
4593 [],
4594 is_const=True)
4595 ## packet.h (module 'network'): uint8_t const * ns3::Packet::PeekData() const [member function]
4596 cls.add_method('PeekData',
4597 'uint8_t const *',
4598 [],
4599 deprecated=True, is_const=True)
4600 ## packet.h (module 'network'): uint32_t ns3::Packet::PeekHeader(ns3::Header & header) const [member function]
4601 cls.add_method('PeekHeader',
4602 'uint32_t',
4603 [param('ns3::Header &', 'header')],
4604 is_const=True)
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004605 ## packet.h (module 'network'): bool ns3::Packet::PeekPacketTag(ns3::Tag & tag) const [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004606 cls.add_method('PeekPacketTag',
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004607 'bool',
4608 [param('ns3::Tag &', 'tag')],
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004609 is_const=True)
4610 ## packet.h (module 'network'): uint32_t ns3::Packet::PeekTrailer(ns3::Trailer & trailer) [member function]
4611 cls.add_method('PeekTrailer',
4612 'uint32_t',
4613 [param('ns3::Trailer &', 'trailer')])
4614 ## packet.h (module 'network'): void ns3::Packet::Print(std::ostream & os) const [member function]
4615 cls.add_method('Print',
4616 'void',
4617 [param('std::ostream &', 'os')],
4618 is_const=True)
4619 ## packet.h (module 'network'): void ns3::Packet::PrintByteTags(std::ostream & os) const [member function]
4620 cls.add_method('PrintByteTags',
4621 'void',
4622 [param('std::ostream &', 'os')],
4623 is_const=True)
4624 ## packet.h (module 'network'): void ns3::Packet::PrintPacketTags(std::ostream & os) const [member function]
4625 cls.add_method('PrintPacketTags',
4626 'void',
4627 [param('std::ostream &', 'os')],
4628 is_const=True)
4629 ## packet.h (module 'network'): void ns3::Packet::RemoveAllByteTags() [member function]
4630 cls.add_method('RemoveAllByteTags',
4631 'void',
4632 [])
4633 ## packet.h (module 'network'): void ns3::Packet::RemoveAllPacketTags() [member function]
4634 cls.add_method('RemoveAllPacketTags',
4635 'void',
4636 [])
4637 ## packet.h (module 'network'): void ns3::Packet::RemoveAtEnd(uint32_t size) [member function]
4638 cls.add_method('RemoveAtEnd',
4639 'void',
4640 [param('uint32_t', 'size')])
4641 ## packet.h (module 'network'): void ns3::Packet::RemoveAtStart(uint32_t size) [member function]
4642 cls.add_method('RemoveAtStart',
4643 'void',
4644 [param('uint32_t', 'size')])
4645 ## packet.h (module 'network'): uint32_t ns3::Packet::RemoveHeader(ns3::Header & header) [member function]
4646 cls.add_method('RemoveHeader',
4647 'uint32_t',
4648 [param('ns3::Header &', 'header')])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004649 ## packet.h (module 'network'): bool ns3::Packet::RemovePacketTag(ns3::Tag & tag) [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004650 cls.add_method('RemovePacketTag',
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004651 'bool',
4652 [param('ns3::Tag &', 'tag')])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004653 ## packet.h (module 'network'): uint32_t ns3::Packet::RemoveTrailer(ns3::Trailer & trailer) [member function]
4654 cls.add_method('RemoveTrailer',
4655 'uint32_t',
4656 [param('ns3::Trailer &', 'trailer')])
4657 ## packet.h (module 'network'): uint32_t ns3::Packet::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
4658 cls.add_method('Serialize',
4659 'uint32_t',
4660 [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')],
4661 is_const=True)
4662 ## packet.h (module 'network'): void ns3::Packet::SetNixVector(ns3::Ptr<ns3::NixVector> arg0) [member function]
4663 cls.add_method('SetNixVector',
4664 'void',
4665 [param('ns3::Ptr< ns3::NixVector >', 'arg0')])
4666 return
4667
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07004668def register_Ns3RandomVariableChecker_methods(root_module, cls):
4669 ## random-variable.h (module 'core'): ns3::RandomVariableChecker::RandomVariableChecker() [constructor]
4670 cls.add_constructor([])
4671 ## random-variable.h (module 'core'): ns3::RandomVariableChecker::RandomVariableChecker(ns3::RandomVariableChecker const & arg0) [copy constructor]
4672 cls.add_constructor([param('ns3::RandomVariableChecker const &', 'arg0')])
4673 return
4674
4675def register_Ns3RandomVariableValue_methods(root_module, cls):
4676 ## random-variable.h (module 'core'): ns3::RandomVariableValue::RandomVariableValue() [constructor]
4677 cls.add_constructor([])
4678 ## random-variable.h (module 'core'): ns3::RandomVariableValue::RandomVariableValue(ns3::RandomVariableValue const & arg0) [copy constructor]
4679 cls.add_constructor([param('ns3::RandomVariableValue const &', 'arg0')])
4680 ## random-variable.h (module 'core'): ns3::RandomVariableValue::RandomVariableValue(ns3::RandomVariable const & value) [constructor]
4681 cls.add_constructor([param('ns3::RandomVariable const &', 'value')])
4682 ## random-variable.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::RandomVariableValue::Copy() const [member function]
4683 cls.add_method('Copy',
4684 'ns3::Ptr< ns3::AttributeValue >',
4685 [],
4686 is_const=True, is_virtual=True)
4687 ## random-variable.h (module 'core'): bool ns3::RandomVariableValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4688 cls.add_method('DeserializeFromString',
4689 'bool',
4690 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4691 is_virtual=True)
4692 ## random-variable.h (module 'core'): ns3::RandomVariable ns3::RandomVariableValue::Get() const [member function]
4693 cls.add_method('Get',
4694 'ns3::RandomVariable',
4695 [],
4696 is_const=True)
4697 ## random-variable.h (module 'core'): std::string ns3::RandomVariableValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4698 cls.add_method('SerializeToString',
4699 'std::string',
4700 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4701 is_const=True, is_virtual=True)
4702 ## random-variable.h (module 'core'): void ns3::RandomVariableValue::Set(ns3::RandomVariable const & value) [member function]
4703 cls.add_method('Set',
4704 'void',
4705 [param('ns3::RandomVariable const &', 'value')])
4706 return
4707
4708def register_Ns3RocketfuelWeightsReader_methods(root_module, cls):
4709 ## rocketfuel-weights-reader.h (module 'ndnSIM'): ns3::RocketfuelWeightsReader::RocketfuelWeightsReader(std::string const & path="", double scale=1.0e+0) [constructor]
4710 cls.add_constructor([param('std::string const &', 'path', default_value='""'), param('double', 'scale', default_value='1.0e+0')])
4711 ## rocketfuel-weights-reader.h (module 'ndnSIM'): void ns3::RocketfuelWeightsReader::SetFileType(uint8_t inputType) [member function]
4712 cls.add_method('SetFileType',
4713 'void',
4714 [param('uint8_t', 'inputType')])
4715 ## rocketfuel-weights-reader.h (module 'ndnSIM'): ns3::NodeContainer ns3::RocketfuelWeightsReader::Read() [member function]
4716 cls.add_method('Read',
4717 'ns3::NodeContainer',
4718 [],
4719 is_virtual=True)
4720 ## rocketfuel-weights-reader.h (module 'ndnSIM'): void ns3::RocketfuelWeightsReader::Commit() [member function]
4721 cls.add_method('Commit',
4722 'void',
4723 [])
Alexander Afanasyev858d5312013-07-10 18:50:18 -07004724 ## rocketfuel-weights-reader.h (module 'ndnSIM'): void ns3::RocketfuelWeightsReader::SetDefaultBandwidth(std::string const & bw) [member function]
4725 cls.add_method('SetDefaultBandwidth',
4726 'void',
4727 [param('std::string const &', 'bw')])
4728 ## rocketfuel-weights-reader.h (module 'ndnSIM'): std::string ns3::RocketfuelWeightsReader::GetDefaultBandwidth() const [member function]
4729 cls.add_method('GetDefaultBandwidth',
4730 'std::string',
4731 [],
4732 is_const=True)
4733 ## rocketfuel-weights-reader.h (module 'ndnSIM'): void ns3::RocketfuelWeightsReader::SetDefaultQueue(std::string const & queue) [member function]
4734 cls.add_method('SetDefaultQueue',
4735 'void',
4736 [param('std::string const &', 'queue')])
4737 ## rocketfuel-weights-reader.h (module 'ndnSIM'): std::string ns3::RocketfuelWeightsReader::GetDefaultQueue() const [member function]
4738 cls.add_method('GetDefaultQueue',
4739 'std::string',
4740 [],
4741 is_const=True)
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07004742 return
4743
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004744def register_Ns3TimeChecker_methods(root_module, cls):
4745 ## nstime.h (module 'core'): ns3::TimeChecker::TimeChecker() [constructor]
4746 cls.add_constructor([])
4747 ## nstime.h (module 'core'): ns3::TimeChecker::TimeChecker(ns3::TimeChecker const & arg0) [copy constructor]
4748 cls.add_constructor([param('ns3::TimeChecker const &', 'arg0')])
4749 return
4750
4751def register_Ns3TimeValue_methods(root_module, cls):
4752 ## nstime.h (module 'core'): ns3::TimeValue::TimeValue() [constructor]
4753 cls.add_constructor([])
4754 ## nstime.h (module 'core'): ns3::TimeValue::TimeValue(ns3::TimeValue const & arg0) [copy constructor]
4755 cls.add_constructor([param('ns3::TimeValue const &', 'arg0')])
4756 ## nstime.h (module 'core'): ns3::TimeValue::TimeValue(ns3::Time const & value) [constructor]
4757 cls.add_constructor([param('ns3::Time const &', 'value')])
4758 ## nstime.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::TimeValue::Copy() const [member function]
4759 cls.add_method('Copy',
4760 'ns3::Ptr< ns3::AttributeValue >',
4761 [],
4762 is_const=True, is_virtual=True)
4763 ## nstime.h (module 'core'): bool ns3::TimeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4764 cls.add_method('DeserializeFromString',
4765 'bool',
4766 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4767 is_virtual=True)
4768 ## nstime.h (module 'core'): ns3::Time ns3::TimeValue::Get() const [member function]
4769 cls.add_method('Get',
4770 'ns3::Time',
4771 [],
4772 is_const=True)
4773 ## nstime.h (module 'core'): std::string ns3::TimeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4774 cls.add_method('SerializeToString',
4775 'std::string',
4776 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4777 is_const=True, is_virtual=True)
4778 ## nstime.h (module 'core'): void ns3::TimeValue::Set(ns3::Time const & value) [member function]
4779 cls.add_method('Set',
4780 'void',
4781 [param('ns3::Time const &', 'value')])
4782 return
4783
4784def register_Ns3TypeIdChecker_methods(root_module, cls):
4785 ## type-id.h (module 'core'): ns3::TypeIdChecker::TypeIdChecker() [constructor]
4786 cls.add_constructor([])
4787 ## type-id.h (module 'core'): ns3::TypeIdChecker::TypeIdChecker(ns3::TypeIdChecker const & arg0) [copy constructor]
4788 cls.add_constructor([param('ns3::TypeIdChecker const &', 'arg0')])
4789 return
4790
4791def register_Ns3TypeIdValue_methods(root_module, cls):
4792 ## type-id.h (module 'core'): ns3::TypeIdValue::TypeIdValue() [constructor]
4793 cls.add_constructor([])
4794 ## type-id.h (module 'core'): ns3::TypeIdValue::TypeIdValue(ns3::TypeIdValue const & arg0) [copy constructor]
4795 cls.add_constructor([param('ns3::TypeIdValue const &', 'arg0')])
4796 ## type-id.h (module 'core'): ns3::TypeIdValue::TypeIdValue(ns3::TypeId const & value) [constructor]
4797 cls.add_constructor([param('ns3::TypeId const &', 'value')])
4798 ## type-id.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::TypeIdValue::Copy() const [member function]
4799 cls.add_method('Copy',
4800 'ns3::Ptr< ns3::AttributeValue >',
4801 [],
4802 is_const=True, is_virtual=True)
4803 ## type-id.h (module 'core'): bool ns3::TypeIdValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4804 cls.add_method('DeserializeFromString',
4805 'bool',
4806 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4807 is_virtual=True)
4808 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeIdValue::Get() const [member function]
4809 cls.add_method('Get',
4810 'ns3::TypeId',
4811 [],
4812 is_const=True)
4813 ## type-id.h (module 'core'): std::string ns3::TypeIdValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4814 cls.add_method('SerializeToString',
4815 'std::string',
4816 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4817 is_const=True, is_virtual=True)
4818 ## type-id.h (module 'core'): void ns3::TypeIdValue::Set(ns3::TypeId const & value) [member function]
4819 cls.add_method('Set',
4820 'void',
4821 [param('ns3::TypeId const &', 'value')])
4822 return
4823
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07004824def register_Ns3UintegerValue_methods(root_module, cls):
4825 ## uinteger.h (module 'core'): ns3::UintegerValue::UintegerValue() [constructor]
4826 cls.add_constructor([])
4827 ## uinteger.h (module 'core'): ns3::UintegerValue::UintegerValue(ns3::UintegerValue const & arg0) [copy constructor]
4828 cls.add_constructor([param('ns3::UintegerValue const &', 'arg0')])
4829 ## uinteger.h (module 'core'): ns3::UintegerValue::UintegerValue(uint64_t const & value) [constructor]
4830 cls.add_constructor([param('uint64_t const &', 'value')])
4831 ## uinteger.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::UintegerValue::Copy() const [member function]
4832 cls.add_method('Copy',
4833 'ns3::Ptr< ns3::AttributeValue >',
4834 [],
4835 is_const=True, is_virtual=True)
4836 ## uinteger.h (module 'core'): bool ns3::UintegerValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4837 cls.add_method('DeserializeFromString',
4838 'bool',
4839 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4840 is_virtual=True)
4841 ## uinteger.h (module 'core'): uint64_t ns3::UintegerValue::Get() const [member function]
4842 cls.add_method('Get',
4843 'uint64_t',
4844 [],
4845 is_const=True)
4846 ## uinteger.h (module 'core'): std::string ns3::UintegerValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4847 cls.add_method('SerializeToString',
4848 'std::string',
4849 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4850 is_const=True, is_virtual=True)
4851 ## uinteger.h (module 'core'): void ns3::UintegerValue::Set(uint64_t const & value) [member function]
4852 cls.add_method('Set',
4853 'void',
4854 [param('uint64_t const &', 'value')])
4855 return
4856
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004857def register_Ns3AddressChecker_methods(root_module, cls):
4858 ## address.h (module 'network'): ns3::AddressChecker::AddressChecker() [constructor]
4859 cls.add_constructor([])
4860 ## address.h (module 'network'): ns3::AddressChecker::AddressChecker(ns3::AddressChecker const & arg0) [copy constructor]
4861 cls.add_constructor([param('ns3::AddressChecker const &', 'arg0')])
4862 return
4863
4864def register_Ns3AddressValue_methods(root_module, cls):
4865 ## address.h (module 'network'): ns3::AddressValue::AddressValue() [constructor]
4866 cls.add_constructor([])
4867 ## address.h (module 'network'): ns3::AddressValue::AddressValue(ns3::AddressValue const & arg0) [copy constructor]
4868 cls.add_constructor([param('ns3::AddressValue const &', 'arg0')])
4869 ## address.h (module 'network'): ns3::AddressValue::AddressValue(ns3::Address const & value) [constructor]
4870 cls.add_constructor([param('ns3::Address const &', 'value')])
4871 ## address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::AddressValue::Copy() const [member function]
4872 cls.add_method('Copy',
4873 'ns3::Ptr< ns3::AttributeValue >',
4874 [],
4875 is_const=True, is_virtual=True)
4876 ## address.h (module 'network'): bool ns3::AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4877 cls.add_method('DeserializeFromString',
4878 'bool',
4879 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4880 is_virtual=True)
4881 ## address.h (module 'network'): ns3::Address ns3::AddressValue::Get() const [member function]
4882 cls.add_method('Get',
4883 'ns3::Address',
4884 [],
4885 is_const=True)
4886 ## address.h (module 'network'): std::string ns3::AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4887 cls.add_method('SerializeToString',
4888 'std::string',
4889 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4890 is_const=True, is_virtual=True)
4891 ## address.h (module 'network'): void ns3::AddressValue::Set(ns3::Address const & value) [member function]
4892 cls.add_method('Set',
4893 'void',
4894 [param('ns3::Address const &', 'value')])
4895 return
4896
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004897def register_Ns3NdnApp_methods(root_module, cls):
4898 ## ndn-app.h (module 'ndnSIM'): ns3::ndn::App::App(ns3::ndn::App const & arg0) [copy constructor]
4899 cls.add_constructor([param('ns3::ndn::App const &', 'arg0')])
4900 ## ndn-app.h (module 'ndnSIM'): ns3::ndn::App::App() [constructor]
4901 cls.add_constructor([])
Alexander Afanasyev32c07562013-02-01 12:58:43 -08004902 ## ndn-app.h (module 'ndnSIM'): uint32_t ns3::ndn::App::GetId() const [member function]
4903 cls.add_method('GetId',
4904 'uint32_t',
4905 [],
4906 is_const=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004907 ## ndn-app.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::App::GetTypeId() [member function]
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07004908 cls.add_method('GetTypeId',
4909 'ns3::TypeId',
4910 [],
4911 is_static=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07004912 ## ndn-app.h (module 'ndnSIM'): void ns3::ndn::App::OnContentObject(ns3::Ptr<ns3::ndn::ContentObject const> contentObject) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004913 cls.add_method('OnContentObject',
4914 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07004915 [param('ns3::Ptr< ns3::ndn::ContentObject const >', 'contentObject')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004916 is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07004917 ## ndn-app.h (module 'ndnSIM'): void ns3::ndn::App::OnInterest(ns3::Ptr<ns3::ndn::Interest const> interest) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004918 cls.add_method('OnInterest',
4919 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07004920 [param('ns3::Ptr< ns3::ndn::Interest const >', 'interest')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004921 is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07004922 ## ndn-app.h (module 'ndnSIM'): void ns3::ndn::App::OnNack(ns3::Ptr<ns3::ndn::Interest const> interest) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004923 cls.add_method('OnNack',
4924 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07004925 [param('ns3::Ptr< ns3::ndn::Interest const >', 'interest')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004926 is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004927 ## ndn-app.h (module 'ndnSIM'): void ns3::ndn::App::DoDispose() [member function]
4928 cls.add_method('DoDispose',
4929 'void',
4930 [],
4931 visibility='protected', is_virtual=True)
4932 ## ndn-app.h (module 'ndnSIM'): void ns3::ndn::App::StartApplication() [member function]
4933 cls.add_method('StartApplication',
4934 'void',
4935 [],
4936 visibility='protected', is_virtual=True)
4937 ## ndn-app.h (module 'ndnSIM'): void ns3::ndn::App::StopApplication() [member function]
4938 cls.add_method('StopApplication',
4939 'void',
4940 [],
4941 visibility='protected', is_virtual=True)
4942 return
4943
4944def register_Ns3NdnAppHelper_methods(root_module, cls):
4945 ## ndn-app-helper.h (module 'ndnSIM'): ns3::ndn::AppHelper::AppHelper(ns3::ndn::AppHelper const & arg0) [copy constructor]
4946 cls.add_constructor([param('ns3::ndn::AppHelper const &', 'arg0')])
4947 ## ndn-app-helper.h (module 'ndnSIM'): ns3::ndn::AppHelper::AppHelper(std::string const & prefix) [constructor]
4948 cls.add_constructor([param('std::string const &', 'prefix')])
4949 ## ndn-app-helper.h (module 'ndnSIM'): ns3::ApplicationContainer ns3::ndn::AppHelper::Install(ns3::NodeContainer c) [member function]
4950 cls.add_method('Install',
4951 'ns3::ApplicationContainer',
4952 [param('ns3::NodeContainer', 'c')])
4953 ## ndn-app-helper.h (module 'ndnSIM'): ns3::ApplicationContainer ns3::ndn::AppHelper::Install(ns3::Ptr<ns3::Node> node) [member function]
4954 cls.add_method('Install',
4955 'ns3::ApplicationContainer',
4956 [param('ns3::Ptr< ns3::Node >', 'node')])
4957 ## ndn-app-helper.h (module 'ndnSIM'): ns3::ApplicationContainer ns3::ndn::AppHelper::Install(std::string nodeName) [member function]
4958 cls.add_method('Install',
4959 'ns3::ApplicationContainer',
4960 [param('std::string', 'nodeName')])
4961 ## ndn-app-helper.h (module 'ndnSIM'): void ns3::ndn::AppHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function]
4962 cls.add_method('SetAttribute',
4963 'void',
4964 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
4965 ## ndn-app-helper.h (module 'ndnSIM'): void ns3::ndn::AppHelper::SetPrefix(std::string const & prefix) [member function]
4966 cls.add_method('SetPrefix',
4967 'void',
4968 [param('std::string const &', 'prefix')])
4969 return
4970
Alexander Afanasyev76b11572013-07-16 21:49:50 -07004971def register_Ns3NdnBlob_methods(root_module, cls):
4972 cls.add_binary_comparison_operator('<=')
4973 cls.add_binary_comparison_operator('==')
4974 cls.add_binary_comparison_operator('>=')
4975 cls.add_binary_comparison_operator('<')
4976 cls.add_binary_comparison_operator('>')
4977 ## blob.h (module 'ndnSIM'): ns3::ndn::Blob::Blob(ns3::ndn::Blob const & arg0) [copy constructor]
4978 cls.add_constructor([param('ns3::ndn::Blob const &', 'arg0')])
4979 ## blob.h (module 'ndnSIM'): ns3::ndn::Blob::Blob() [constructor]
4980 cls.add_constructor([])
4981 ## blob.h (module 'ndnSIM'): ns3::ndn::Blob::Blob(std::string const & data) [constructor]
4982 cls.add_constructor([param('std::string const &', 'data')])
4983 ## blob.h (module 'ndnSIM'): ns3::ndn::Blob::Blob(void const * buf, size_t length) [constructor]
4984 cls.add_constructor([param('void const *', 'buf'), param('size_t', 'length')])
4985 ## blob.h (module 'ndnSIM'): __gnu_cxx::__normal_iterator<char*, std::vector<char, std::allocator<char> > > ns3::ndn::Blob::begin() [member function]
4986 cls.add_method('begin',
4987 '__gnu_cxx::__normal_iterator< char *, std::vector< char > >',
4988 [])
4989 ## blob.h (module 'ndnSIM'): __gnu_cxx::__normal_iterator<char const*, std::vector<char, std::allocator<char> > > ns3::ndn::Blob::begin() const [member function]
4990 cls.add_method('begin',
4991 '__gnu_cxx::__normal_iterator< char const *, std::vector< char > >',
4992 [],
4993 is_const=True)
4994 ## blob.h (module 'ndnSIM'): char * ns3::ndn::Blob::buf() [member function]
4995 cls.add_method('buf',
4996 'char *',
4997 [])
4998 ## blob.h (module 'ndnSIM'): char const * ns3::ndn::Blob::buf() const [member function]
4999 cls.add_method('buf',
5000 'char const *',
5001 [],
5002 is_const=True)
5003 ## blob.h (module 'ndnSIM'): void ns3::ndn::Blob::clear() [member function]
5004 cls.add_method('clear',
5005 'void',
5006 [])
5007 ## blob.h (module 'ndnSIM'): bool ns3::ndn::Blob::empty() const [member function]
5008 cls.add_method('empty',
5009 'bool',
5010 [],
5011 is_const=True)
5012 ## blob.h (module 'ndnSIM'): __gnu_cxx::__normal_iterator<char*, std::vector<char, std::allocator<char> > > ns3::ndn::Blob::end() [member function]
5013 cls.add_method('end',
5014 '__gnu_cxx::__normal_iterator< char *, std::vector< char > >',
5015 [])
5016 ## blob.h (module 'ndnSIM'): __gnu_cxx::__normal_iterator<char const*, std::vector<char, std::allocator<char> > > ns3::ndn::Blob::end() const [member function]
5017 cls.add_method('end',
5018 '__gnu_cxx::__normal_iterator< char const *, std::vector< char > >',
5019 [],
5020 is_const=True)
5021 ## blob.h (module 'ndnSIM'): char ns3::ndn::Blob::getItem(size_t pos) const [member function]
5022 cls.add_method('getItem',
5023 'char',
5024 [param('size_t', 'pos')],
5025 is_const=True)
5026 ## blob.h (module 'ndnSIM'): void ns3::ndn::Blob::push_back(char val) [member function]
5027 cls.add_method('push_back',
5028 'void',
5029 [param('char', 'val')])
5030 ## blob.h (module 'ndnSIM'): size_t ns3::ndn::Blob::size() const [member function]
5031 cls.add_method('size',
5032 'size_t',
5033 [],
5034 is_const=True)
5035 ## blob.h (module 'ndnSIM'): void ns3::ndn::Blob::swap(ns3::ndn::Blob & x) [member function]
5036 cls.add_method('swap',
5037 'void',
5038 [param('ns3::ndn::Blob &', 'x')])
5039 return
5040
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005041def register_Ns3NdnContentObject_methods(root_module, cls):
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005042 ## ndn-content-object.h (module 'ndnSIM'): ns3::ndn::ContentObject::ContentObject(ns3::Ptr<ns3::Packet> payload=ns3::Create( )) [constructor]
5043 cls.add_constructor([param('ns3::Ptr< ns3::Packet >', 'payload', default_value='ns3::Create( )')])
5044 ## ndn-content-object.h (module 'ndnSIM'): ns3::ndn::ContentObject::ContentObject(ns3::ndn::ContentObject const & other) [copy constructor]
5045 cls.add_constructor([param('ns3::ndn::ContentObject const &', 'other')])
5046 ## ndn-content-object.h (module 'ndnSIM'): void ns3::ndn::ContentObject::SetName(ns3::Ptr<ns3::ndn::Name> name) [member function]
5047 cls.add_method('SetName',
5048 'void',
5049 [param('ns3::Ptr< ns3::ndn::Name >', 'name')])
5050 ## ndn-content-object.h (module 'ndnSIM'): void ns3::ndn::ContentObject::SetName(ns3::ndn::Name const & name) [member function]
5051 cls.add_method('SetName',
5052 'void',
5053 [param('ns3::ndn::Name const &', 'name')])
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005054 ## ndn-content-object.h (module 'ndnSIM'): ns3::ndn::Name const & ns3::ndn::ContentObject::GetName() const [member function]
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005055 cls.add_method('GetName',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005056 'ns3::ndn::Name const &',
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005057 [],
5058 is_const=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005059 ## 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 -08005060 cls.add_method('GetNamePtr',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005061 'ns3::Ptr< ns3::ndn::Name const >',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005062 [],
5063 is_const=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005064 ## ndn-content-object.h (module 'ndnSIM'): void ns3::ndn::ContentObject::SetTimestamp(ns3::Time const & timestamp) [member function]
5065 cls.add_method('SetTimestamp',
5066 'void',
5067 [param('ns3::Time const &', 'timestamp')])
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005068 ## ndn-content-object.h (module 'ndnSIM'): ns3::Time ns3::ndn::ContentObject::GetTimestamp() const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005069 cls.add_method('GetTimestamp',
5070 'ns3::Time',
5071 [],
5072 is_const=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005073 ## ndn-content-object.h (module 'ndnSIM'): void ns3::ndn::ContentObject::SetFreshness(ns3::Time const & freshness) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005074 cls.add_method('SetFreshness',
5075 'void',
5076 [param('ns3::Time const &', 'freshness')])
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005077 ## ndn-content-object.h (module 'ndnSIM'): ns3::Time ns3::ndn::ContentObject::GetFreshness() const [member function]
5078 cls.add_method('GetFreshness',
5079 'ns3::Time',
5080 [],
5081 is_const=True)
Alexander Afanasyev298c8442013-04-14 15:18:45 -07005082 ## ndn-content-object.h (module 'ndnSIM'): void ns3::ndn::ContentObject::SetSignature(uint32_t signature) [member function]
5083 cls.add_method('SetSignature',
5084 'void',
5085 [param('uint32_t', 'signature')])
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005086 ## ndn-content-object.h (module 'ndnSIM'): uint32_t ns3::ndn::ContentObject::GetSignature() const [member function]
5087 cls.add_method('GetSignature',
5088 'uint32_t',
5089 [],
5090 is_const=True)
Alexander Afanasyeva6cc9102013-07-15 18:44:24 -07005091 ## ndn-content-object.h (module 'ndnSIM'): void ns3::ndn::ContentObject::SetKeyLocator(ns3::Ptr<ns3::ndn::Name> keyLocator) [member function]
5092 cls.add_method('SetKeyLocator',
5093 'void',
5094 [param('ns3::Ptr< ns3::ndn::Name >', 'keyLocator')])
5095 ## ndn-content-object.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::Name const> ns3::ndn::ContentObject::GetKeyLocator() const [member function]
5096 cls.add_method('GetKeyLocator',
5097 'ns3::Ptr< ns3::ndn::Name const >',
5098 [],
5099 is_const=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005100 ## ndn-content-object.h (module 'ndnSIM'): void ns3::ndn::ContentObject::SetPayload(ns3::Ptr<ns3::Packet> payload) [member function]
5101 cls.add_method('SetPayload',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005102 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005103 [param('ns3::Ptr< ns3::Packet >', 'payload')])
5104 ## ndn-content-object.h (module 'ndnSIM'): ns3::Ptr<ns3::Packet const> ns3::ndn::ContentObject::GetPayload() const [member function]
5105 cls.add_method('GetPayload',
5106 'ns3::Ptr< ns3::Packet const >',
5107 [],
5108 is_const=True)
5109 ## ndn-content-object.h (module 'ndnSIM'): ns3::Ptr<ns3::Packet const> ns3::ndn::ContentObject::GetWire() const [member function]
5110 cls.add_method('GetWire',
5111 'ns3::Ptr< ns3::Packet const >',
5112 [],
5113 is_const=True)
5114 ## ndn-content-object.h (module 'ndnSIM'): void ns3::ndn::ContentObject::SetWire(ns3::Ptr<ns3::Packet const> packet) const [member function]
5115 cls.add_method('SetWire',
5116 'void',
5117 [param('ns3::Ptr< ns3::Packet const >', 'packet')],
5118 is_const=True)
5119 ## ndn-content-object.h (module 'ndnSIM'): void ns3::ndn::ContentObject::Print(std::ostream & os) const [member function]
5120 cls.add_method('Print',
5121 'void',
5122 [param('std::ostream &', 'os')],
5123 is_const=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005124 return
5125
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005126def register_Ns3NdnContentObjectException_methods(root_module, cls):
5127 ## ndn-content-object.h (module 'ndnSIM'): ns3::ndn::ContentObjectException::ContentObjectException() [constructor]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005128 cls.add_constructor([])
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005129 ## ndn-content-object.h (module 'ndnSIM'): ns3::ndn::ContentObjectException::ContentObjectException(ns3::ndn::ContentObjectException const & arg0) [copy constructor]
5130 cls.add_constructor([param('ns3::ndn::ContentObjectException const &', 'arg0')])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005131 return
5132
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005133def register_Ns3NdnContentStore_methods(root_module, cls):
5134 cls.add_output_stream_operator()
5135 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::ContentStore::ContentStore() [constructor]
5136 cls.add_constructor([])
5137 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::ContentStore::ContentStore(ns3::ndn::ContentStore const & arg0) [copy constructor]
5138 cls.add_constructor([param('ns3::ndn::ContentStore const &', 'arg0')])
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005139 ## ndn-content-store.h (module 'ndnSIM'): bool ns3::ndn::ContentStore::Add(ns3::Ptr<ns3::ndn::ContentObject const> data) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005140 cls.add_method('Add',
5141 'bool',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005142 [param('ns3::Ptr< ns3::ndn::ContentObject const >', 'data')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005143 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07005144 ## ndn-content-store.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::cs::Entry> ns3::ndn::ContentStore::Begin() [member function]
5145 cls.add_method('Begin',
5146 'ns3::Ptr< ns3::ndn::cs::Entry >',
5147 [],
5148 is_pure_virtual=True, is_virtual=True)
5149 ## ndn-content-store.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::cs::Entry> ns3::ndn::ContentStore::End() [member function]
5150 cls.add_method('End',
5151 'ns3::Ptr< ns3::ndn::cs::Entry >',
5152 [],
5153 is_pure_virtual=True, is_virtual=True)
5154 ## ndn-content-store.h (module 'ndnSIM'): static ns3::Ptr<ns3::ndn::ContentStore> ns3::ndn::ContentStore::GetContentStore(ns3::Ptr<ns3::Object> node) [member function]
5155 cls.add_method('GetContentStore',
5156 'ns3::Ptr< ns3::ndn::ContentStore >',
5157 [param('ns3::Ptr< ns3::Object >', 'node')],
5158 is_static=True)
5159 ## ndn-content-store.h (module 'ndnSIM'): uint32_t ns3::ndn::ContentStore::GetSize() const [member function]
5160 cls.add_method('GetSize',
5161 'uint32_t',
5162 [],
5163 is_pure_virtual=True, is_const=True, is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005164 ## ndn-content-store.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::ContentStore::GetTypeId() [member function]
5165 cls.add_method('GetTypeId',
5166 'ns3::TypeId',
5167 [],
5168 is_static=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005169 ## ndn-content-store.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::ContentObject> ns3::ndn::ContentStore::Lookup(ns3::Ptr<ns3::ndn::Interest const> interest) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005170 cls.add_method('Lookup',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005171 'ns3::Ptr< ns3::ndn::ContentObject >',
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005172 [param('ns3::Ptr< ns3::ndn::Interest const >', 'interest')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005173 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07005174 ## 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]
5175 cls.add_method('Next',
5176 'ns3::Ptr< ns3::ndn::cs::Entry >',
5177 [param('ns3::Ptr< ns3::ndn::cs::Entry >', 'arg0')],
5178 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005179 ## ndn-content-store.h (module 'ndnSIM'): void ns3::ndn::ContentStore::Print(std::ostream & os) const [member function]
5180 cls.add_method('Print',
5181 'void',
5182 [param('std::ostream &', 'os')],
5183 is_pure_virtual=True, is_const=True, is_virtual=True)
5184 return
5185
Alexander Afanasyev76b11572013-07-16 21:49:50 -07005186def register_Ns3NdnExclude_methods(root_module, cls):
5187 cls.add_output_stream_operator()
5188 ## exclude.h (module 'ndnSIM'): ns3::ndn::Exclude::Exclude(ns3::ndn::Exclude const & arg0) [copy constructor]
5189 cls.add_constructor([param('ns3::ndn::Exclude const &', 'arg0')])
5190 ## exclude.h (module 'ndnSIM'): ns3::ndn::Exclude::Exclude() [constructor]
5191 cls.add_constructor([])
5192 ## exclude.h (module 'ndnSIM'): void ns3::ndn::Exclude::appendExclude(ns3::ndn::name::Component const & name, bool any) [member function]
5193 cls.add_method('appendExclude',
5194 'void',
5195 [param('ns3::ndn::name::Component const &', 'name'), param('bool', 'any')])
5196 ## exclude.h (module 'ndnSIM'): std::_Rb_tree_const_iterator<std::pair<ns3::ndn::name::Component const, bool> > ns3::ndn::Exclude::begin() const [member function]
5197 cls.add_method('begin',
5198 'std::_Rb_tree_const_iterator< std::pair< ns3::ndn::name::Component const, bool > >',
5199 [],
5200 is_const=True)
5201 ## exclude.h (module 'ndnSIM'): std::_Rb_tree_const_iterator<std::pair<ns3::ndn::name::Component const, bool> > ns3::ndn::Exclude::end() const [member function]
5202 cls.add_method('end',
5203 'std::_Rb_tree_const_iterator< std::pair< ns3::ndn::name::Component const, bool > >',
5204 [],
5205 is_const=True)
5206 ## exclude.h (module 'ndnSIM'): ns3::ndn::Exclude & ns3::ndn::Exclude::excludeAfter(ns3::ndn::name::Component const & from) [member function]
5207 cls.add_method('excludeAfter',
5208 'ns3::ndn::Exclude &',
5209 [param('ns3::ndn::name::Component const &', 'from')])
5210 ## exclude.h (module 'ndnSIM'): ns3::ndn::Exclude & ns3::ndn::Exclude::excludeBefore(ns3::ndn::name::Component const & to) [member function]
5211 cls.add_method('excludeBefore',
5212 'ns3::ndn::Exclude &',
5213 [param('ns3::ndn::name::Component const &', 'to')])
5214 ## exclude.h (module 'ndnSIM'): ns3::ndn::Exclude & ns3::ndn::Exclude::excludeOne(ns3::ndn::name::Component const & comp) [member function]
5215 cls.add_method('excludeOne',
5216 'ns3::ndn::Exclude &',
5217 [param('ns3::ndn::name::Component const &', 'comp')])
5218 ## exclude.h (module 'ndnSIM'): ns3::ndn::Exclude & ns3::ndn::Exclude::excludeRange(ns3::ndn::name::Component const & from, ns3::ndn::name::Component const & to) [member function]
5219 cls.add_method('excludeRange',
5220 'ns3::ndn::Exclude &',
5221 [param('ns3::ndn::name::Component const &', 'from'), param('ns3::ndn::name::Component const &', 'to')])
5222 ## exclude.h (module 'ndnSIM'): bool ns3::ndn::Exclude::isExcluded(ns3::ndn::name::Component const & comp) const [member function]
5223 cls.add_method('isExcluded',
5224 'bool',
5225 [param('ns3::ndn::name::Component const &', 'comp')],
5226 is_const=True)
5227 ## exclude.h (module 'ndnSIM'): std::reverse_iterator<std::_Rb_tree_const_iterator<std::pair<ns3::ndn::name::Component const, bool> > > ns3::ndn::Exclude::rbegin() const [member function]
5228 cls.add_method('rbegin',
5229 'std::reverse_iterator< std::_Rb_tree_const_iterator< std::pair< ns3::ndn::name::Component const, bool > > >',
5230 [],
5231 is_const=True)
5232 ## exclude.h (module 'ndnSIM'): std::reverse_iterator<std::_Rb_tree_const_iterator<std::pair<ns3::ndn::name::Component const, bool> > > ns3::ndn::Exclude::rend() const [member function]
5233 cls.add_method('rend',
5234 'std::reverse_iterator< std::_Rb_tree_const_iterator< std::pair< ns3::ndn::name::Component const, bool > > >',
5235 [],
5236 is_const=True)
5237 ## exclude.h (module 'ndnSIM'): size_t ns3::ndn::Exclude::size() const [member function]
5238 cls.add_method('size',
5239 'size_t',
5240 [],
5241 is_const=True)
5242 return
5243
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005244def register_Ns3NdnFace_methods(root_module, cls):
5245 cls.add_output_stream_operator()
5246 cls.add_binary_comparison_operator('!=')
5247 cls.add_binary_comparison_operator('<')
5248 cls.add_binary_comparison_operator('==')
5249 ## ndn-face.h (module 'ndnSIM'): ns3::ndn::Face::Face(ns3::Ptr<ns3::Node> node) [constructor]
5250 cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node')])
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005251 ## ndn-face.h (module 'ndnSIM'): uint32_t ns3::ndn::Face::GetFlags() const [member function]
5252 cls.add_method('GetFlags',
5253 'uint32_t',
5254 [],
5255 is_const=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005256 ## ndn-face.h (module 'ndnSIM'): uint32_t ns3::ndn::Face::GetId() const [member function]
5257 cls.add_method('GetId',
5258 'uint32_t',
5259 [],
5260 is_const=True)
5261 ## ndn-face.h (module 'ndnSIM'): uint16_t ns3::ndn::Face::GetMetric() const [member function]
5262 cls.add_method('GetMetric',
5263 'uint16_t',
5264 [],
5265 is_const=True, is_virtual=True)
5266 ## ndn-face.h (module 'ndnSIM'): ns3::Ptr<ns3::Node> ns3::ndn::Face::GetNode() const [member function]
5267 cls.add_method('GetNode',
5268 'ns3::Ptr< ns3::Node >',
5269 [],
5270 is_const=True)
5271 ## ndn-face.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::Face::GetTypeId() [member function]
5272 cls.add_method('GetTypeId',
5273 'ns3::TypeId',
5274 [],
5275 is_static=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005276 ## ndn-face.h (module 'ndnSIM'): bool ns3::ndn::Face::IsUp() const [member function]
5277 cls.add_method('IsUp',
5278 'bool',
5279 [],
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005280 is_const=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005281 ## ndn-face.h (module 'ndnSIM'): std::ostream & ns3::ndn::Face::Print(std::ostream & os) const [member function]
Alexander Afanasyev3073da82012-06-19 14:57:43 -07005282 cls.add_method('Print',
5283 'std::ostream &',
5284 [param('std::ostream &', 'os')],
5285 is_const=True, is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005286 ## ndn-face.h (module 'ndnSIM'): bool ns3::ndn::Face::ReceiveData(ns3::Ptr<ns3::ndn::ContentObject> data) [member function]
5287 cls.add_method('ReceiveData',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005288 'bool',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005289 [param('ns3::Ptr< ns3::ndn::ContentObject >', 'data')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005290 is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005291 ## ndn-face.h (module 'ndnSIM'): bool ns3::ndn::Face::ReceiveInterest(ns3::Ptr<ns3::ndn::Interest> interest) [member function]
5292 cls.add_method('ReceiveInterest',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005293 'bool',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005294 [param('ns3::Ptr< ns3::ndn::Interest >', 'interest')],
5295 is_virtual=True)
5296 ## ndn-face.h (module 'ndnSIM'): void ns3::ndn::Face::RegisterProtocolHandlers(ns3::Callback<void, ns3::Ptr<ns3::ndn::Face>, ns3::Ptr<ns3::ndn::Interest>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> const & interestHandler, ns3::Callback<void, ns3::Ptr<ns3::ndn::Face>, ns3::Ptr<ns3::ndn::ContentObject>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> const & dataHandler) [member function]
5297 cls.add_method('RegisterProtocolHandlers',
5298 'void',
5299 [param('ns3::Callback< void, ns3::Ptr< ns3::ndn::Face >, ns3::Ptr< ns3::ndn::Interest >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty > const &', 'interestHandler'), param('ns3::Callback< void, ns3::Ptr< ns3::ndn::Face >, ns3::Ptr< ns3::ndn::ContentObject >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty > const &', 'dataHandler')],
5300 is_virtual=True)
5301 ## ndn-face.h (module 'ndnSIM'): bool ns3::ndn::Face::SendData(ns3::Ptr<ns3::ndn::ContentObject const> data) [member function]
5302 cls.add_method('SendData',
5303 'bool',
5304 [param('ns3::Ptr< ns3::ndn::ContentObject const >', 'data')],
5305 is_virtual=True)
5306 ## ndn-face.h (module 'ndnSIM'): bool ns3::ndn::Face::SendInterest(ns3::Ptr<ns3::ndn::Interest const> interest) [member function]
5307 cls.add_method('SendInterest',
5308 'bool',
5309 [param('ns3::Ptr< ns3::ndn::Interest const >', 'interest')],
5310 is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005311 ## ndn-face.h (module 'ndnSIM'): void ns3::ndn::Face::SetId(uint32_t id) [member function]
5312 cls.add_method('SetId',
5313 'void',
5314 [param('uint32_t', 'id')])
5315 ## ndn-face.h (module 'ndnSIM'): void ns3::ndn::Face::SetMetric(uint16_t metric) [member function]
5316 cls.add_method('SetMetric',
5317 'void',
5318 [param('uint16_t', 'metric')],
5319 is_virtual=True)
5320 ## ndn-face.h (module 'ndnSIM'): void ns3::ndn::Face::SetUp(bool up=true) [member function]
5321 cls.add_method('SetUp',
5322 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005323 [param('bool', 'up', default_value='true')])
5324 ## ndn-face.h (module 'ndnSIM'): void ns3::ndn::Face::UnRegisterProtocolHandlers() [member function]
5325 cls.add_method('UnRegisterProtocolHandlers',
5326 'void',
5327 [],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005328 is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005329 ## ndn-face.h (module 'ndnSIM'): bool ns3::ndn::Face::Receive(ns3::Ptr<ns3::Packet const> p) [member function]
5330 cls.add_method('Receive',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005331 'bool',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005332 [param('ns3::Ptr< ns3::Packet const >', 'p')],
5333 visibility='protected', is_virtual=True)
5334 ## ndn-face.h (module 'ndnSIM'): bool ns3::ndn::Face::Send(ns3::Ptr<ns3::Packet> packet) [member function]
5335 cls.add_method('Send',
5336 'bool',
5337 [param('ns3::Ptr< ns3::Packet >', 'packet')],
5338 visibility='protected', is_virtual=True)
5339 ## ndn-face.h (module 'ndnSIM'): void ns3::ndn::Face::SetFlags(uint32_t flags) [member function]
5340 cls.add_method('SetFlags',
5341 'void',
5342 [param('uint32_t', 'flags')],
5343 visibility='protected')
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005344 return
5345
5346def register_Ns3NdnFaceContainer_methods(root_module, cls):
5347 ## ndn-face-container.h (module 'ndnSIM'): ns3::ndn::FaceContainer::FaceContainer() [constructor]
5348 cls.add_constructor([])
5349 ## ndn-face-container.h (module 'ndnSIM'): ns3::ndn::FaceContainer::FaceContainer(ns3::ndn::FaceContainer const & other) [copy constructor]
5350 cls.add_constructor([param('ns3::ndn::FaceContainer const &', 'other')])
5351 ## ndn-face-container.h (module 'ndnSIM'): void ns3::ndn::FaceContainer::Add(ns3::Ptr<ns3::ndn::Face> const & face) [member function]
5352 cls.add_method('Add',
5353 'void',
5354 [param('ns3::Ptr< ns3::ndn::Face > const &', 'face')])
5355 ## ndn-face-container.h (module 'ndnSIM'): void ns3::ndn::FaceContainer::AddAll(ns3::Ptr<ns3::ndn::FaceContainer> other) [member function]
5356 cls.add_method('AddAll',
5357 'void',
5358 [param('ns3::Ptr< ns3::ndn::FaceContainer >', 'other')])
5359 ## ndn-face-container.h (module 'ndnSIM'): void ns3::ndn::FaceContainer::AddAll(ns3::ndn::FaceContainer const & other) [member function]
5360 cls.add_method('AddAll',
5361 'void',
5362 [param('ns3::ndn::FaceContainer const &', 'other')])
5363 ## 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]
5364 cls.add_method('Begin',
5365 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::ndn::Face > const, std::vector< ns3::Ptr< ns3::ndn::Face > > >',
5366 [],
5367 is_const=True)
5368 ## 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]
5369 cls.add_method('End',
5370 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::ndn::Face > const, std::vector< ns3::Ptr< ns3::ndn::Face > > >',
5371 [],
5372 is_const=True)
5373 ## 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]
5374 cls.add_method('Get',
5375 'ns3::Ptr< ns3::ndn::Face >',
5376 [param('__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::ndn::Face > const, std::vector< ns3::Ptr< ns3::ndn::Face > > >', 'i')],
5377 is_const=True)
5378 ## ndn-face-container.h (module 'ndnSIM'): uint32_t ns3::ndn::FaceContainer::GetN() const [member function]
5379 cls.add_method('GetN',
5380 'uint32_t',
5381 [],
5382 is_const=True)
5383 return
5384
5385def register_Ns3NdnFib_methods(root_module, cls):
5386 cls.add_output_stream_operator()
5387 ## ndn-fib.h (module 'ndnSIM'): ns3::ndn::Fib::Fib() [constructor]
5388 cls.add_constructor([])
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005389 ## 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 -07005390 cls.add_method('Add',
5391 'ns3::Ptr< ns3::ndn::fib::Entry >',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005392 [param('ns3::ndn::Name const &', 'prefix'), param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('int32_t', 'metric')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005393 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005394 ## 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 -07005395 cls.add_method('Add',
5396 'ns3::Ptr< ns3::ndn::fib::Entry >',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005397 [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 -07005398 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005399 ## 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 -07005400 cls.add_method('Begin',
5401 'ns3::Ptr< ns3::ndn::fib::Entry const >',
5402 [],
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005403 is_pure_virtual=True, is_const=True, is_virtual=True)
5404 ## ndn-fib.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::fib::Entry> ns3::ndn::Fib::Begin() [member function]
5405 cls.add_method('Begin',
5406 'ns3::Ptr< ns3::ndn::fib::Entry >',
5407 [],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005408 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005409 ## 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 -07005410 cls.add_method('End',
5411 'ns3::Ptr< ns3::ndn::fib::Entry const >',
5412 [],
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005413 is_pure_virtual=True, is_const=True, is_virtual=True)
5414 ## ndn-fib.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::fib::Entry> ns3::ndn::Fib::End() [member function]
5415 cls.add_method('End',
5416 'ns3::Ptr< ns3::ndn::fib::Entry >',
5417 [],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005418 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyeve5a8b5a2013-03-15 15:15:26 -07005419 ## ndn-fib.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::fib::Entry> ns3::ndn::Fib::Find(ns3::ndn::Name const & prefix) [member function]
5420 cls.add_method('Find',
5421 'ns3::Ptr< ns3::ndn::fib::Entry >',
5422 [param('ns3::ndn::Name const &', 'prefix')],
5423 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005424 ## ndn-fib.h (module 'ndnSIM'): static ns3::Ptr<ns3::ndn::Fib> ns3::ndn::Fib::GetFib(ns3::Ptr<ns3::Object> node) [member function]
5425 cls.add_method('GetFib',
5426 'ns3::Ptr< ns3::ndn::Fib >',
5427 [param('ns3::Ptr< ns3::Object >', 'node')],
5428 is_static=True)
5429 ## ndn-fib.h (module 'ndnSIM'): uint32_t ns3::ndn::Fib::GetSize() const [member function]
5430 cls.add_method('GetSize',
5431 'uint32_t',
5432 [],
5433 is_pure_virtual=True, is_const=True, is_virtual=True)
5434 ## ndn-fib.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::Fib::GetTypeId() [member function]
5435 cls.add_method('GetTypeId',
5436 'ns3::TypeId',
5437 [],
5438 is_static=True)
5439 ## ndn-fib.h (module 'ndnSIM'): void ns3::ndn::Fib::InvalidateAll() [member function]
5440 cls.add_method('InvalidateAll',
5441 'void',
5442 [],
5443 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005444 ## 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 -07005445 cls.add_method('LongestPrefixMatch',
5446 'ns3::Ptr< ns3::ndn::fib::Entry >',
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005447 [param('ns3::ndn::Interest const &', 'interest')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005448 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005449 ## 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 -07005450 cls.add_method('Next',
5451 'ns3::Ptr< ns3::ndn::fib::Entry const >',
5452 [param('ns3::Ptr< ns3::ndn::fib::Entry const >', 'arg0')],
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005453 is_pure_virtual=True, is_const=True, is_virtual=True)
5454 ## ndn-fib.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::fib::Entry> ns3::ndn::Fib::Next(ns3::Ptr<ns3::ndn::fib::Entry> arg0) [member function]
5455 cls.add_method('Next',
5456 'ns3::Ptr< ns3::ndn::fib::Entry >',
5457 [param('ns3::Ptr< ns3::ndn::fib::Entry >', 'arg0')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005458 is_pure_virtual=True, is_virtual=True)
5459 ## ndn-fib.h (module 'ndnSIM'): void ns3::ndn::Fib::Print(std::ostream & os) const [member function]
5460 cls.add_method('Print',
5461 'void',
5462 [param('std::ostream &', 'os')],
5463 is_pure_virtual=True, is_const=True, is_virtual=True)
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005464 ## 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 -07005465 cls.add_method('Remove',
5466 'void',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005467 [param('ns3::Ptr< ns3::ndn::Name const > const &', 'prefix')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005468 is_pure_virtual=True, is_virtual=True)
5469 ## ndn-fib.h (module 'ndnSIM'): void ns3::ndn::Fib::RemoveFromAll(ns3::Ptr<ns3::ndn::Face> face) [member function]
5470 cls.add_method('RemoveFromAll',
5471 'void',
5472 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
5473 is_pure_virtual=True, is_virtual=True)
5474 return
5475
5476def register_Ns3NdnForwardingStrategy_methods(root_module, cls):
5477 ## ndn-forwarding-strategy.h (module 'ndnSIM'): ns3::ndn::ForwardingStrategy::ForwardingStrategy(ns3::ndn::ForwardingStrategy const & arg0) [copy constructor]
5478 cls.add_constructor([param('ns3::ndn::ForwardingStrategy const &', 'arg0')])
5479 ## ndn-forwarding-strategy.h (module 'ndnSIM'): ns3::ndn::ForwardingStrategy::ForwardingStrategy() [constructor]
5480 cls.add_constructor([])
Alexander Afanasyevf5c07742012-10-31 13:13:05 -07005481 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::AddFace(ns3::Ptr<ns3::ndn::Face> face) [member function]
5482 cls.add_method('AddFace',
5483 'void',
5484 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
5485 is_virtual=True)
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005486 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DidAddFibEntry(ns3::Ptr<ns3::ndn::fib::Entry> fibEntry) [member function]
5487 cls.add_method('DidAddFibEntry',
5488 'void',
5489 [param('ns3::Ptr< ns3::ndn::fib::Entry >', 'fibEntry')],
5490 is_virtual=True)
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005491 ## ndn-forwarding-strategy.h (module 'ndnSIM'): static std::string ns3::ndn::ForwardingStrategy::GetLogName() [member function]
5492 cls.add_method('GetLogName',
5493 'std::string',
5494 [],
5495 is_static=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005496 ## ndn-forwarding-strategy.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::ForwardingStrategy::GetTypeId() [member function]
5497 cls.add_method('GetTypeId',
5498 'ns3::TypeId',
5499 [],
5500 is_static=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005501 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::OnData(ns3::Ptr<ns3::ndn::Face> face, ns3::Ptr<ns3::ndn::ContentObject> data) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005502 cls.add_method('OnData',
5503 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005504 [param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('ns3::Ptr< ns3::ndn::ContentObject >', 'data')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005505 is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005506 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::OnInterest(ns3::Ptr<ns3::ndn::Face> face, ns3::Ptr<ns3::ndn::Interest> interest) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005507 cls.add_method('OnInterest',
5508 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005509 [param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('ns3::Ptr< ns3::ndn::Interest >', 'interest')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005510 is_virtual=True)
5511 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::RemoveFace(ns3::Ptr<ns3::ndn::Face> face) [member function]
5512 cls.add_method('RemoveFace',
5513 'void',
5514 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
5515 is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005516 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::WillEraseTimedOutPendingInterest(ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
5517 cls.add_method('WillEraseTimedOutPendingInterest',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005518 'void',
5519 [param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
5520 is_virtual=True)
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005521 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::WillRemoveFibEntry(ns3::Ptr<ns3::ndn::fib::Entry> fibEntry) [member function]
5522 cls.add_method('WillRemoveFibEntry',
5523 'void',
5524 [param('ns3::Ptr< ns3::ndn::fib::Entry >', 'fibEntry')],
5525 is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005526 ## 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> interest, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08005527 cls.add_method('CanSendOutInterest',
5528 'bool',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005529 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::Face >', 'outFace'), param('ns3::Ptr< ns3::ndn::Interest const >', 'interest'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08005530 visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005531 ## ndn-forwarding-strategy.h (module 'ndnSIM'): bool ns3::ndn::ForwardingStrategy::DetectRetransmittedInterest(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::Interest const> interest, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005532 cls.add_method('DetectRetransmittedInterest',
5533 'bool',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005534 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::Interest const >', 'interest'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005535 visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005536 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DidCreatePitEntry(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::Interest const> interest, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005537 cls.add_method('DidCreatePitEntry',
5538 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005539 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::Interest const >', 'interest'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005540 visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005541 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DidExhaustForwardingOptions(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::Interest const> interest, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005542 cls.add_method('DidExhaustForwardingOptions',
5543 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005544 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::Interest const >', 'interest'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005545 visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005546 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DidForwardSimilarInterest(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::Interest const> interest, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07005547 cls.add_method('DidForwardSimilarInterest',
5548 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005549 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::Interest const >', 'interest'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07005550 visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005551 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DidReceiveDuplicateInterest(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::Interest const> interest, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005552 cls.add_method('DidReceiveDuplicateInterest',
5553 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005554 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::Interest const >', 'interest'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005555 visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005556 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DidReceiveSolicitedData(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::ContentObject const> data, bool didCreateCacheEntry) [member function]
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005557 cls.add_method('DidReceiveSolicitedData',
5558 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005559 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::ContentObject const >', 'data'), param('bool', 'didCreateCacheEntry')],
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005560 visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005561 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DidReceiveUnsolicitedData(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::ContentObject const> data, bool didCreateCacheEntry) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005562 cls.add_method('DidReceiveUnsolicitedData',
5563 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005564 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::ContentObject const >', 'data'), param('bool', 'didCreateCacheEntry')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005565 visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005566 ## 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> data, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005567 cls.add_method('DidSendOutData',
5568 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005569 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::Face >', 'outFace'), param('ns3::Ptr< ns3::ndn::ContentObject const >', 'data'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005570 visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005571 ## 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> interest, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005572 cls.add_method('DidSendOutInterest',
5573 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005574 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::Face >', 'outFace'), param('ns3::Ptr< ns3::ndn::Interest const >', 'interest'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005575 visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005576 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DidSuppressSimilarInterest(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::Interest const> interest, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07005577 cls.add_method('DidSuppressSimilarInterest',
5578 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005579 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::Interest const >', 'interest'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07005580 visibility='protected', is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005581 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DoDispose() [member function]
5582 cls.add_method('DoDispose',
5583 'void',
5584 [],
5585 visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005586 ## ndn-forwarding-strategy.h (module 'ndnSIM'): bool ns3::ndn::ForwardingStrategy::DoPropagateInterest(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::Interest const> interest, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005587 cls.add_method('DoPropagateInterest',
5588 'bool',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005589 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::Interest const >', 'interest'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005590 is_pure_virtual=True, visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005591 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::FailedToCreatePitEntry(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::Interest const> interest) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005592 cls.add_method('FailedToCreatePitEntry',
5593 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005594 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::Interest const >', 'interest')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005595 visibility='protected', is_virtual=True)
5596 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::NotifyNewAggregate() [member function]
5597 cls.add_method('NotifyNewAggregate',
5598 'void',
5599 [],
5600 visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005601 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::PropagateInterest(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::Interest const> interest, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005602 cls.add_method('PropagateInterest',
5603 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005604 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::Interest const >', 'interest'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005605 visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005606 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::SatisfyPendingInterest(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::ContentObject const> data, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005607 cls.add_method('SatisfyPendingInterest',
5608 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005609 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::ContentObject const >', 'data'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005610 visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005611 ## ndn-forwarding-strategy.h (module 'ndnSIM'): bool ns3::ndn::ForwardingStrategy::ShouldSuppressIncomingInterest(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::Interest const> interest, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005612 cls.add_method('ShouldSuppressIncomingInterest',
5613 'bool',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005614 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::Interest const >', 'interest'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005615 visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005616 ## 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> interest, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005617 cls.add_method('TrySendOutInterest',
5618 'bool',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005619 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::Face >', 'outFace'), param('ns3::Ptr< ns3::ndn::Interest const >', 'interest'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005620 visibility='protected', is_virtual=True)
5621 ## 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 -07005622 cls.add_method('WillSatisfyPendingInterest',
5623 'void',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005624 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005625 visibility='protected', is_virtual=True)
5626 return
5627
5628def register_Ns3NdnGlobalRoutingHelper_methods(root_module, cls):
5629 ## ndn-global-routing-helper.h (module 'ndnSIM'): ns3::ndn::GlobalRoutingHelper::GlobalRoutingHelper() [constructor]
5630 cls.add_constructor([])
5631 ## ndn-global-routing-helper.h (module 'ndnSIM'): ns3::ndn::GlobalRoutingHelper::GlobalRoutingHelper(ns3::ndn::GlobalRoutingHelper const & arg0) [copy constructor]
5632 cls.add_constructor([param('ns3::ndn::GlobalRoutingHelper const &', 'arg0')])
5633 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::AddOrigin(std::string const & prefix, ns3::Ptr<ns3::Node> node) [member function]
5634 cls.add_method('AddOrigin',
5635 'void',
5636 [param('std::string const &', 'prefix'), param('ns3::Ptr< ns3::Node >', 'node')])
5637 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::AddOrigin(std::string const & prefix, std::string const & nodeName) [member function]
5638 cls.add_method('AddOrigin',
5639 'void',
5640 [param('std::string const &', 'prefix'), param('std::string const &', 'nodeName')])
5641 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::AddOrigins(std::string const & prefix, ns3::NodeContainer const & nodes) [member function]
5642 cls.add_method('AddOrigins',
5643 'void',
5644 [param('std::string const &', 'prefix'), param('ns3::NodeContainer const &', 'nodes')])
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005645 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::AddOriginsForAll() [member function]
5646 cls.add_method('AddOriginsForAll',
5647 'void',
5648 [])
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -07005649 ## ndn-global-routing-helper.h (module 'ndnSIM'): static void ns3::ndn::GlobalRoutingHelper::CalculateAllPossibleRoutes() [member function]
5650 cls.add_method('CalculateAllPossibleRoutes',
5651 'void',
5652 [],
5653 is_static=True)
5654 ## ndn-global-routing-helper.h (module 'ndnSIM'): static void ns3::ndn::GlobalRoutingHelper::CalculateRoutes() [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005655 cls.add_method('CalculateRoutes',
5656 'void',
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -07005657 [],
5658 is_static=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005659 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::Install(ns3::Ptr<ns3::Node> node) [member function]
5660 cls.add_method('Install',
5661 'void',
5662 [param('ns3::Ptr< ns3::Node >', 'node')])
5663 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::Install(ns3::NodeContainer const & nodes) [member function]
5664 cls.add_method('Install',
5665 'void',
5666 [param('ns3::NodeContainer const &', 'nodes')])
5667 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::InstallAll() [member function]
5668 cls.add_method('InstallAll',
5669 'void',
5670 [])
5671 return
5672
5673def register_Ns3NdnHeaderHelper_methods(root_module, cls):
5674 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::HeaderHelper::HeaderHelper() [constructor]
5675 cls.add_constructor([])
5676 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::HeaderHelper::HeaderHelper(ns3::ndn::HeaderHelper const & arg0) [copy constructor]
5677 cls.add_constructor([param('ns3::ndn::HeaderHelper const &', 'arg0')])
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005678 ## ndn-header-helper.h (module 'ndnSIM'): static ns3::ndn::HeaderHelper::Type ns3::ndn::HeaderHelper::GetNdnHeaderType(ns3::Ptr<ns3::Packet const> packet) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005679 cls.add_method('GetNdnHeaderType',
5680 'ns3::ndn::HeaderHelper::Type',
5681 [param('ns3::Ptr< ns3::Packet const >', 'packet')],
5682 is_static=True)
5683 return
5684
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005685def register_Ns3NdnInterest_methods(root_module, cls):
Alexander Afanasyev76b11572013-07-16 21:49:50 -07005686 cls.add_output_stream_operator()
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005687 ## ndn-interest.h (module 'ndnSIM'): ns3::ndn::Interest::Interest(ns3::Ptr<ns3::Packet> payload=ns3::Create( )) [constructor]
5688 cls.add_constructor([param('ns3::Ptr< ns3::Packet >', 'payload', default_value='ns3::Create( )')])
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005689 ## ndn-interest.h (module 'ndnSIM'): ns3::ndn::Interest::Interest(ns3::ndn::Interest const & interest) [copy constructor]
5690 cls.add_constructor([param('ns3::ndn::Interest const &', 'interest')])
Alexander Afanasyev76b11572013-07-16 21:49:50 -07005691 ## ndn-interest.h (module 'ndnSIM'): ns3::Time ns3::ndn::Interest::GetInterestLifetime() const [member function]
5692 cls.add_method('GetInterestLifetime',
5693 'ns3::Time',
5694 [],
5695 is_const=True)
5696 ## ndn-interest.h (module 'ndnSIM'): uint8_t ns3::ndn::Interest::GetNack() const [member function]
5697 cls.add_method('GetNack',
5698 'uint8_t',
5699 [],
5700 is_const=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005701 ## ndn-interest.h (module 'ndnSIM'): ns3::ndn::Name const & ns3::ndn::Interest::GetName() const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005702 cls.add_method('GetName',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005703 'ns3::ndn::Name const &',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005704 [],
5705 is_const=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005706 ## 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 -07005707 cls.add_method('GetNamePtr',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005708 'ns3::Ptr< ns3::ndn::Name const >',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005709 [],
5710 is_const=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005711 ## ndn-interest.h (module 'ndnSIM'): uint32_t ns3::ndn::Interest::GetNonce() const [member function]
5712 cls.add_method('GetNonce',
5713 'uint32_t',
5714 [],
5715 is_const=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005716 ## ndn-interest.h (module 'ndnSIM'): ns3::Ptr<ns3::Packet const> ns3::ndn::Interest::GetPayload() const [member function]
5717 cls.add_method('GetPayload',
5718 'ns3::Ptr< ns3::Packet const >',
5719 [],
5720 is_const=True)
Alexander Afanasyev76b11572013-07-16 21:49:50 -07005721 ## ndn-interest.h (module 'ndnSIM'): int8_t ns3::ndn::Interest::GetScope() const [member function]
5722 cls.add_method('GetScope',
5723 'int8_t',
5724 [],
5725 is_const=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005726 ## ndn-interest.h (module 'ndnSIM'): ns3::Ptr<ns3::Packet const> ns3::ndn::Interest::GetWire() const [member function]
5727 cls.add_method('GetWire',
5728 'ns3::Ptr< ns3::Packet const >',
5729 [],
5730 is_const=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005731 ## ndn-interest.h (module 'ndnSIM'): void ns3::ndn::Interest::Print(std::ostream & os) const [member function]
5732 cls.add_method('Print',
5733 'void',
5734 [param('std::ostream &', 'os')],
5735 is_const=True)
Alexander Afanasyev76b11572013-07-16 21:49:50 -07005736 ## ndn-interest.h (module 'ndnSIM'): void ns3::ndn::Interest::SetInterestLifetime(ns3::Time time) [member function]
5737 cls.add_method('SetInterestLifetime',
5738 'void',
5739 [param('ns3::Time', 'time')])
5740 ## ndn-interest.h (module 'ndnSIM'): void ns3::ndn::Interest::SetNack(uint8_t nackType) [member function]
5741 cls.add_method('SetNack',
5742 'void',
5743 [param('uint8_t', 'nackType')])
5744 ## ndn-interest.h (module 'ndnSIM'): void ns3::ndn::Interest::SetName(ns3::Ptr<ns3::ndn::Name> name) [member function]
5745 cls.add_method('SetName',
5746 'void',
5747 [param('ns3::Ptr< ns3::ndn::Name >', 'name')])
5748 ## ndn-interest.h (module 'ndnSIM'): void ns3::ndn::Interest::SetName(ns3::ndn::Name const & name) [member function]
5749 cls.add_method('SetName',
5750 'void',
5751 [param('ns3::ndn::Name const &', 'name')])
5752 ## ndn-interest.h (module 'ndnSIM'): void ns3::ndn::Interest::SetNonce(uint32_t nonce) [member function]
5753 cls.add_method('SetNonce',
5754 'void',
5755 [param('uint32_t', 'nonce')])
5756 ## ndn-interest.h (module 'ndnSIM'): void ns3::ndn::Interest::SetPayload(ns3::Ptr<ns3::Packet> payload) [member function]
5757 cls.add_method('SetPayload',
5758 'void',
5759 [param('ns3::Ptr< ns3::Packet >', 'payload')])
5760 ## ndn-interest.h (module 'ndnSIM'): void ns3::ndn::Interest::SetScope(int8_t scope) [member function]
5761 cls.add_method('SetScope',
5762 'void',
5763 [param('int8_t', 'scope')])
5764 ## ndn-interest.h (module 'ndnSIM'): void ns3::ndn::Interest::SetWire(ns3::Ptr<ns3::Packet const> packet) const [member function]
5765 cls.add_method('SetWire',
5766 'void',
5767 [param('ns3::Ptr< ns3::Packet const >', 'packet')],
5768 is_const=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005769 return
5770
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005771def register_Ns3NdnInterestException_methods(root_module, cls):
5772 ## ndn-interest.h (module 'ndnSIM'): ns3::ndn::InterestException::InterestException() [constructor]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005773 cls.add_constructor([])
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005774 ## ndn-interest.h (module 'ndnSIM'): ns3::ndn::InterestException::InterestException(ns3::ndn::InterestException const & arg0) [copy constructor]
5775 cls.add_constructor([param('ns3::ndn::InterestException const &', 'arg0')])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005776 return
5777
5778def register_Ns3NdnL3Protocol_methods(root_module, cls):
5779 ## ndn-l3-protocol.h (module 'ndnSIM'): ns3::ndn::L3Protocol::ETHERNET_FRAME_TYPE [variable]
5780 cls.add_static_attribute('ETHERNET_FRAME_TYPE', 'uint16_t const', is_const=True)
5781 ## ndn-l3-protocol.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::L3Protocol::GetTypeId() [member function]
5782 cls.add_method('GetTypeId',
5783 'ns3::TypeId',
5784 [],
5785 is_static=True)
5786 ## ndn-l3-protocol.h (module 'ndnSIM'): ns3::ndn::L3Protocol::L3Protocol() [constructor]
5787 cls.add_constructor([])
5788 ## ndn-l3-protocol.h (module 'ndnSIM'): uint32_t ns3::ndn::L3Protocol::AddFace(ns3::Ptr<ns3::ndn::Face> const & face) [member function]
5789 cls.add_method('AddFace',
5790 'uint32_t',
5791 [param('ns3::Ptr< ns3::ndn::Face > const &', 'face')],
5792 is_virtual=True)
5793 ## ndn-l3-protocol.h (module 'ndnSIM'): uint32_t ns3::ndn::L3Protocol::GetNFaces() const [member function]
5794 cls.add_method('GetNFaces',
5795 'uint32_t',
5796 [],
5797 is_const=True, is_virtual=True)
5798 ## ndn-l3-protocol.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::Face> ns3::ndn::L3Protocol::GetFace(uint32_t face) const [member function]
5799 cls.add_method('GetFace',
5800 'ns3::Ptr< ns3::ndn::Face >',
5801 [param('uint32_t', 'face')],
5802 is_const=True, is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005803 ## ndn-l3-protocol.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::Face> ns3::ndn::L3Protocol::GetFaceById(uint32_t face) const [member function]
5804 cls.add_method('GetFaceById',
5805 'ns3::Ptr< ns3::ndn::Face >',
5806 [param('uint32_t', 'face')],
5807 is_const=True, is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005808 ## ndn-l3-protocol.h (module 'ndnSIM'): void ns3::ndn::L3Protocol::RemoveFace(ns3::Ptr<ns3::ndn::Face> face) [member function]
5809 cls.add_method('RemoveFace',
5810 'void',
5811 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
5812 is_virtual=True)
5813 ## ndn-l3-protocol.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::Face> ns3::ndn::L3Protocol::GetFaceByNetDevice(ns3::Ptr<ns3::NetDevice> netDevice) const [member function]
5814 cls.add_method('GetFaceByNetDevice',
5815 'ns3::Ptr< ns3::ndn::Face >',
5816 [param('ns3::Ptr< ns3::NetDevice >', 'netDevice')],
5817 is_const=True, is_virtual=True)
5818 ## ndn-l3-protocol.h (module 'ndnSIM'): void ns3::ndn::L3Protocol::DoDispose() [member function]
5819 cls.add_method('DoDispose',
5820 'void',
5821 [],
5822 visibility='protected', is_virtual=True)
5823 ## ndn-l3-protocol.h (module 'ndnSIM'): void ns3::ndn::L3Protocol::NotifyNewAggregate() [member function]
5824 cls.add_method('NotifyNewAggregate',
5825 'void',
5826 [],
5827 visibility='protected', is_virtual=True)
5828 return
5829
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005830def register_Ns3NdnLimits_methods(root_module, cls):
5831 ## ndn-limits.h (module 'ndnSIM'): ns3::ndn::Limits::Limits(ns3::ndn::Limits const & arg0) [copy constructor]
5832 cls.add_constructor([param('ns3::ndn::Limits const &', 'arg0')])
5833 ## ndn-limits.h (module 'ndnSIM'): ns3::ndn::Limits::Limits() [constructor]
5834 cls.add_constructor([])
Alexander Afanasyev7e4235a2012-10-31 16:58:44 -07005835 ## ndn-limits.h (module 'ndnSIM'): void ns3::ndn::Limits::BorrowLimit() [member function]
5836 cls.add_method('BorrowLimit',
5837 'void',
5838 [],
5839 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevf5c07742012-10-31 13:13:05 -07005840 ## ndn-limits.h (module 'ndnSIM'): double ns3::ndn::Limits::GetCurrentLimit() const [member function]
5841 cls.add_method('GetCurrentLimit',
5842 'double',
5843 [],
Alexander Afanasyev7e4235a2012-10-31 16:58:44 -07005844 is_pure_virtual=True, is_const=True, is_virtual=True)
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08005845 ## ndn-limits.h (module 'ndnSIM'): double ns3::ndn::Limits::GetCurrentLimitRate() const [member function]
5846 cls.add_method('GetCurrentLimitRate',
5847 'double',
5848 [],
5849 is_pure_virtual=True, is_const=True, is_virtual=True)
5850 ## ndn-limits.h (module 'ndnSIM'): double ns3::ndn::Limits::GetLinkDelay() const [member function]
5851 cls.add_method('GetLinkDelay',
5852 'double',
5853 [],
5854 is_const=True, is_virtual=True)
Alexander Afanasyev7e4235a2012-10-31 16:58:44 -07005855 ## ndn-limits.h (module 'ndnSIM'): double ns3::ndn::Limits::GetMaxDelay() const [member function]
5856 cls.add_method('GetMaxDelay',
5857 'double',
5858 [],
5859 is_const=True, is_virtual=True)
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08005860 ## ndn-limits.h (module 'ndnSIM'): double ns3::ndn::Limits::GetMaxLimit() const [member function]
5861 cls.add_method('GetMaxLimit',
5862 'double',
5863 [],
5864 is_pure_virtual=True, is_const=True, is_virtual=True)
Alexander Afanasyev7e4235a2012-10-31 16:58:44 -07005865 ## ndn-limits.h (module 'ndnSIM'): double ns3::ndn::Limits::GetMaxRate() const [member function]
5866 cls.add_method('GetMaxRate',
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07005867 'double',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005868 [],
Alexander Afanasyevf5c07742012-10-31 13:13:05 -07005869 is_const=True, is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005870 ## ndn-limits.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::Limits::GetTypeId() [member function]
5871 cls.add_method('GetTypeId',
5872 'ns3::TypeId',
5873 [],
5874 is_static=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005875 ## ndn-limits.h (module 'ndnSIM'): bool ns3::ndn::Limits::IsBelowLimit() [member function]
5876 cls.add_method('IsBelowLimit',
5877 'bool',
Alexander Afanasyevf5c07742012-10-31 13:13:05 -07005878 [],
5879 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005880 ## ndn-limits.h (module 'ndnSIM'): bool ns3::ndn::Limits::IsEnabled() const [member function]
5881 cls.add_method('IsEnabled',
5882 'bool',
5883 [],
Alexander Afanasyevf5c07742012-10-31 13:13:05 -07005884 is_const=True, is_virtual=True)
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08005885 ## 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]
5886 cls.add_method('RegisterAvailableSlotCallback',
5887 'void',
5888 [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 -07005889 ## ndn-limits.h (module 'ndnSIM'): void ns3::ndn::Limits::ReturnLimit() [member function]
5890 cls.add_method('ReturnLimit',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005891 'void',
Alexander Afanasyev7e4235a2012-10-31 16:58:44 -07005892 [],
5893 is_pure_virtual=True, is_virtual=True)
5894 ## ndn-limits.h (module 'ndnSIM'): void ns3::ndn::Limits::SetLimits(double rate, double delay) [member function]
5895 cls.add_method('SetLimits',
5896 'void',
5897 [param('double', 'rate'), param('double', 'delay')],
Alexander Afanasyevf5c07742012-10-31 13:13:05 -07005898 is_virtual=True)
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08005899 ## ndn-limits.h (module 'ndnSIM'): void ns3::ndn::Limits::SetLinkDelay(double delay) [member function]
5900 cls.add_method('SetLinkDelay',
5901 'void',
5902 [param('double', 'delay')],
5903 is_virtual=True)
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07005904 ## ndn-limits.h (module 'ndnSIM'): void ns3::ndn::Limits::UpdateCurrentLimit(double limit) [member function]
5905 cls.add_method('UpdateCurrentLimit',
5906 'void',
Alexander Afanasyev7e4235a2012-10-31 16:58:44 -07005907 [param('double', 'limit')],
5908 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08005909 ## ndn-limits.h (module 'ndnSIM'): void ns3::ndn::Limits::FireAvailableSlotCallback() [member function]
5910 cls.add_method('FireAvailableSlotCallback',
5911 'void',
5912 [],
5913 visibility='protected')
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005914 return
5915
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005916def register_Ns3NdnName_methods(root_module, cls):
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005917 cls.add_output_stream_operator()
Alexander Afanasyev76b11572013-07-16 21:49:50 -07005918 cls.add_binary_comparison_operator('!=')
5919 cls.add_binary_numeric_operator('+', root_module['ns3::ndn::Name'], root_module['ns3::ndn::Name'], param('ns3::ndn::Name const &', 'right'))
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005920 cls.add_binary_comparison_operator('<')
Alexander Afanasyev76b11572013-07-16 21:49:50 -07005921 cls.add_binary_comparison_operator('<=')
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005922 cls.add_binary_comparison_operator('==')
Alexander Afanasyev76b11572013-07-16 21:49:50 -07005923 cls.add_binary_comparison_operator('>')
5924 cls.add_binary_comparison_operator('>=')
5925 ## name.h (module 'ndnSIM'): ns3::ndn::Name::Name() [constructor]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005926 cls.add_constructor([])
Alexander Afanasyev76b11572013-07-16 21:49:50 -07005927 ## name.h (module 'ndnSIM'): ns3::ndn::Name::Name(ns3::ndn::Name const & other) [copy constructor]
5928 cls.add_constructor([param('ns3::ndn::Name const &', 'other')])
5929 ## name.h (module 'ndnSIM'): ns3::ndn::Name::Name(std::string const & url) [constructor]
5930 cls.add_constructor([param('std::string const &', 'url')])
5931 ## name.h (module 'ndnSIM'): ns3::ndn::Name::Name(__gnu_cxx::__normal_iterator<ns3::ndn::name::Component const*, std::vector<ns3::ndn::name::Component, std::allocator<ns3::ndn::name::Component> > > begin, __gnu_cxx::__normal_iterator<ns3::ndn::name::Component const*, std::vector<ns3::ndn::name::Component, std::allocator<ns3::ndn::name::Component> > > end) [constructor]
5932 cls.add_constructor([param('__gnu_cxx::__normal_iterator< ns3::ndn::name::Component const *, std::vector< ns3::ndn::name::Component > >', 'begin'), param('__gnu_cxx::__normal_iterator< ns3::ndn::name::Component const *, std::vector< ns3::ndn::name::Component > >', 'end')])
5933 ## name.h (module 'ndnSIM'): ns3::ndn::Name & ns3::ndn::Name::append(ns3::ndn::name::Component const & comp) [member function]
5934 cls.add_method('append',
Alexander Afanasyeva4e74282013-07-11 15:23:20 -07005935 'ns3::ndn::Name &',
Alexander Afanasyev76b11572013-07-16 21:49:50 -07005936 [param('ns3::ndn::name::Component const &', 'comp')])
5937 ## name.h (module 'ndnSIM'): ns3::ndn::Name & ns3::ndn::Name::append(__gnu_cxx::__normal_iterator<ns3::ndn::name::Component const*, std::vector<ns3::ndn::name::Component, std::allocator<ns3::ndn::name::Component> > > begin, __gnu_cxx::__normal_iterator<ns3::ndn::name::Component const*, std::vector<ns3::ndn::name::Component, std::allocator<ns3::ndn::name::Component> > > end) [member function]
5938 cls.add_method('append',
5939 'ns3::ndn::Name &',
5940 [param('__gnu_cxx::__normal_iterator< ns3::ndn::name::Component const *, std::vector< ns3::ndn::name::Component > >', 'begin'), param('__gnu_cxx::__normal_iterator< ns3::ndn::name::Component const *, std::vector< ns3::ndn::name::Component > >', 'end')],
5941 template_parameters=['__gnu_cxx::__normal_iterator<ns3::ndn::name::Component const*, std::vector<ns3::ndn::name::Component, std::allocator<ns3::ndn::name::Component> > >'])
5942 ## name.h (module 'ndnSIM'): ns3::ndn::Name & ns3::ndn::Name::append(ns3::ndn::Name const & comp) [member function]
5943 cls.add_method('append',
5944 'ns3::ndn::Name &',
5945 [param('ns3::ndn::Name const &', 'comp')])
5946 ## name.h (module 'ndnSIM'): ns3::ndn::Name & ns3::ndn::Name::append(std::string const & compStr) [member function]
5947 cls.add_method('append',
5948 'ns3::ndn::Name &',
5949 [param('std::string const &', 'compStr')])
5950 ## name.h (module 'ndnSIM'): ns3::ndn::Name & ns3::ndn::Name::append(void const * buf, size_t size) [member function]
5951 cls.add_method('append',
5952 'ns3::ndn::Name &',
5953 [param('void const *', 'buf'), param('size_t', 'size')])
5954 ## name.h (module 'ndnSIM'): ns3::ndn::Name & ns3::ndn::Name::appendBlkId(uint64_t blkid) [member function]
5955 cls.add_method('appendBlkId',
5956 'ns3::ndn::Name &',
5957 [param('uint64_t', 'blkid')])
5958 ## name.h (module 'ndnSIM'): ns3::ndn::Name & ns3::ndn::Name::appendBySwap(ns3::ndn::name::Component & comp) [member function]
5959 cls.add_method('appendBySwap',
5960 'ns3::ndn::Name &',
5961 [param('ns3::ndn::name::Component &', 'comp')])
5962 ## name.h (module 'ndnSIM'): ns3::ndn::Name & ns3::ndn::Name::appendControlNum(uint64_t control) [member function]
5963 cls.add_method('appendControlNum',
5964 'ns3::ndn::Name &',
5965 [param('uint64_t', 'control')])
5966 ## name.h (module 'ndnSIM'): ns3::ndn::Name & ns3::ndn::Name::appendNumber(uint64_t number) [member function]
5967 cls.add_method('appendNumber',
5968 'ns3::ndn::Name &',
5969 [param('uint64_t', 'number')])
5970 ## name.h (module 'ndnSIM'): ns3::ndn::Name & ns3::ndn::Name::appendNumberWithMarker(uint64_t number, unsigned char marker) [member function]
5971 cls.add_method('appendNumberWithMarker',
5972 'ns3::ndn::Name &',
5973 [param('uint64_t', 'number'), param('unsigned char', 'marker')])
5974 ## name.h (module 'ndnSIM'): ns3::ndn::Name & ns3::ndn::Name::appendSeqNum(uint64_t seqno) [member function]
5975 cls.add_method('appendSeqNum',
5976 'ns3::ndn::Name &',
5977 [param('uint64_t', 'seqno')])
5978 ## name.h (module 'ndnSIM'): ns3::ndn::Name & ns3::ndn::Name::appendVersion(uint64_t version=ns3::ndn::Name::nversion) [member function]
5979 cls.add_method('appendVersion',
5980 'ns3::ndn::Name &',
5981 [param('uint64_t', 'version', default_value='ns3::ndn::Name::nversion')])
5982 ## name.h (module 'ndnSIM'): __gnu_cxx::__normal_iterator<ns3::ndn::name::Component const*, std::vector<ns3::ndn::name::Component, std::allocator<ns3::ndn::name::Component> > > ns3::ndn::Name::begin() const [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005983 cls.add_method('begin',
Alexander Afanasyev76b11572013-07-16 21:49:50 -07005984 '__gnu_cxx::__normal_iterator< ns3::ndn::name::Component const *, std::vector< ns3::ndn::name::Component > >',
5985 [],
5986 is_const=True)
5987 ## name.h (module 'ndnSIM'): __gnu_cxx::__normal_iterator<ns3::ndn::name::Component*, std::vector<ns3::ndn::name::Component, std::allocator<ns3::ndn::name::Component> > > ns3::ndn::Name::begin() [member function]
5988 cls.add_method('begin',
5989 '__gnu_cxx::__normal_iterator< ns3::ndn::name::Component *, std::vector< ns3::ndn::name::Component > >',
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005990 [])
Alexander Afanasyev76b11572013-07-16 21:49:50 -07005991 ## name.h (module 'ndnSIM'): int ns3::ndn::Name::compare(ns3::ndn::Name const & name) const [member function]
5992 cls.add_method('compare',
5993 'int',
5994 [param('ns3::ndn::Name const &', 'name')],
5995 is_const=True)
5996 ## name.h (module 'ndnSIM'): __gnu_cxx::__normal_iterator<ns3::ndn::name::Component const*, std::vector<ns3::ndn::name::Component, std::allocator<ns3::ndn::name::Component> > > ns3::ndn::Name::end() const [member function]
5997 cls.add_method('end',
5998 '__gnu_cxx::__normal_iterator< ns3::ndn::name::Component const *, std::vector< ns3::ndn::name::Component > >',
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005999 [],
6000 is_const=True)
Alexander Afanasyev76b11572013-07-16 21:49:50 -07006001 ## name.h (module 'ndnSIM'): __gnu_cxx::__normal_iterator<ns3::ndn::name::Component*, std::vector<ns3::ndn::name::Component, std::allocator<ns3::ndn::name::Component> > > ns3::ndn::Name::end() [member function]
6002 cls.add_method('end',
6003 '__gnu_cxx::__normal_iterator< ns3::ndn::name::Component *, std::vector< ns3::ndn::name::Component > >',
6004 [])
6005 ## name.h (module 'ndnSIM'): ns3::ndn::name::Component const & ns3::ndn::Name::get(int index) const [member function]
6006 cls.add_method('get',
6007 'ns3::ndn::name::Component const &',
6008 [param('int', 'index')],
6009 is_const=True)
6010 ## name.h (module 'ndnSIM'): ns3::ndn::name::Component & ns3::ndn::Name::get(int index) [member function]
6011 cls.add_method('get',
6012 'ns3::ndn::name::Component &',
6013 [param('int', 'index')])
6014 ## name.h (module 'ndnSIM'): ns3::ndn::Name ns3::ndn::Name::getPostfix(size_t len, size_t skip=0) const [member function]
6015 cls.add_method('getPostfix',
Alexander Afanasyev32c07562013-02-01 12:58:43 -08006016 'ns3::ndn::Name',
Alexander Afanasyev76b11572013-07-16 21:49:50 -07006017 [param('size_t', 'len'), param('size_t', 'skip', default_value='0')],
Alexander Afanasyev32c07562013-02-01 12:58:43 -08006018 is_const=True)
Alexander Afanasyev76b11572013-07-16 21:49:50 -07006019 ## name.h (module 'ndnSIM'): ns3::ndn::Name ns3::ndn::Name::getPrefix(size_t len, size_t skip=0) const [member function]
6020 cls.add_method('getPrefix',
6021 'ns3::ndn::Name',
6022 [param('size_t', 'len'), param('size_t', 'skip', default_value='0')],
6023 is_const=True)
6024 ## name.h (module 'ndnSIM'): ns3::ndn::Name ns3::ndn::Name::getSubName(size_t pos=0, size_t len=ns3::ndn::Name::npos) const [member function]
6025 cls.add_method('getSubName',
6026 'ns3::ndn::Name',
6027 [param('size_t', 'pos', default_value='0'), param('size_t', 'len', default_value='ns3::ndn::Name::npos')],
6028 is_const=True)
6029 ## name.h (module 'ndnSIM'): std::reverse_iterator<__gnu_cxx::__normal_iterator<ns3::ndn::name::Component const*, std::vector<ns3::ndn::name::Component, std::allocator<ns3::ndn::name::Component> > > > ns3::ndn::Name::rbegin() const [member function]
6030 cls.add_method('rbegin',
6031 'std::reverse_iterator< __gnu_cxx::__normal_iterator< ns3::ndn::name::Component const *, std::vector< ns3::ndn::name::Component > > >',
Alexander Afanasyev32c07562013-02-01 12:58:43 -08006032 [],
6033 is_const=True)
Alexander Afanasyev76b11572013-07-16 21:49:50 -07006034 ## name.h (module 'ndnSIM'): std::reverse_iterator<__gnu_cxx::__normal_iterator<ns3::ndn::name::Component*, std::vector<ns3::ndn::name::Component, std::allocator<ns3::ndn::name::Component> > > > ns3::ndn::Name::rbegin() [member function]
6035 cls.add_method('rbegin',
6036 'std::reverse_iterator< __gnu_cxx::__normal_iterator< ns3::ndn::name::Component *, std::vector< ns3::ndn::name::Component > > >',
6037 [])
6038 ## name.h (module 'ndnSIM'): std::reverse_iterator<__gnu_cxx::__normal_iterator<ns3::ndn::name::Component const*, std::vector<ns3::ndn::name::Component, std::allocator<ns3::ndn::name::Component> > > > ns3::ndn::Name::rend() const [member function]
6039 cls.add_method('rend',
6040 'std::reverse_iterator< __gnu_cxx::__normal_iterator< ns3::ndn::name::Component const *, std::vector< ns3::ndn::name::Component > > >',
6041 [],
6042 is_const=True)
6043 ## name.h (module 'ndnSIM'): std::reverse_iterator<__gnu_cxx::__normal_iterator<ns3::ndn::name::Component*, std::vector<ns3::ndn::name::Component, std::allocator<ns3::ndn::name::Component> > > > ns3::ndn::Name::rend() [member function]
6044 cls.add_method('rend',
6045 'std::reverse_iterator< __gnu_cxx::__normal_iterator< ns3::ndn::name::Component *, std::vector< ns3::ndn::name::Component > > >',
6046 [])
6047 ## name.h (module 'ndnSIM'): size_t ns3::ndn::Name::size() const [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08006048 cls.add_method('size',
6049 'size_t',
6050 [],
6051 is_const=True)
Alexander Afanasyev76b11572013-07-16 21:49:50 -07006052 ## name.h (module 'ndnSIM'): std::string ns3::ndn::Name::toUri() const [member function]
6053 cls.add_method('toUri',
6054 'std::string',
6055 [],
6056 is_const=True)
6057 ## name.h (module 'ndnSIM'): void ns3::ndn::Name::toUri(std::ostream & os) const [member function]
6058 cls.add_method('toUri',
6059 'void',
6060 [param('std::ostream &', 'os')],
6061 is_const=True)
6062 ## name.h (module 'ndnSIM'): ns3::ndn::Name::npos [variable]
6063 cls.add_static_attribute('npos', 'size_t const', is_const=True)
6064 ## name.h (module 'ndnSIM'): ns3::ndn::Name::nversion [variable]
6065 cls.add_static_attribute('nversion', 'uint64_t const', is_const=True)
Alexander Afanasyev32c07562013-02-01 12:58:43 -08006066 return
6067
6068def register_Ns3NdnNameChecker_methods(root_module, cls):
Alexander Afanasyev76b11572013-07-16 21:49:50 -07006069 ## name.h (module 'ndnSIM'): ns3::ndn::NameChecker::NameChecker() [constructor]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08006070 cls.add_constructor([])
Alexander Afanasyev76b11572013-07-16 21:49:50 -07006071 ## name.h (module 'ndnSIM'): ns3::ndn::NameChecker::NameChecker(ns3::ndn::NameChecker const & arg0) [copy constructor]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08006072 cls.add_constructor([param('ns3::ndn::NameChecker const &', 'arg0')])
6073 return
6074
Alexander Afanasyev32c07562013-02-01 12:58:43 -08006075def register_Ns3NdnNameValue_methods(root_module, cls):
Alexander Afanasyev76b11572013-07-16 21:49:50 -07006076 ## name.h (module 'ndnSIM'): ns3::ndn::NameValue::NameValue() [constructor]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08006077 cls.add_constructor([])
Alexander Afanasyev76b11572013-07-16 21:49:50 -07006078 ## name.h (module 'ndnSIM'): ns3::ndn::NameValue::NameValue(ns3::ndn::NameValue const & arg0) [copy constructor]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08006079 cls.add_constructor([param('ns3::ndn::NameValue const &', 'arg0')])
Alexander Afanasyev76b11572013-07-16 21:49:50 -07006080 ## name.h (module 'ndnSIM'): ns3::ndn::NameValue::NameValue(ns3::ndn::Name const & value) [constructor]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08006081 cls.add_constructor([param('ns3::ndn::Name const &', 'value')])
Alexander Afanasyev76b11572013-07-16 21:49:50 -07006082 ## name.h (module 'ndnSIM'): ns3::Ptr<ns3::AttributeValue> ns3::ndn::NameValue::Copy() const [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08006083 cls.add_method('Copy',
6084 'ns3::Ptr< ns3::AttributeValue >',
6085 [],
6086 is_const=True, is_virtual=True)
Alexander Afanasyev76b11572013-07-16 21:49:50 -07006087 ## 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 -08006088 cls.add_method('DeserializeFromString',
6089 'bool',
6090 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
6091 is_virtual=True)
Alexander Afanasyev76b11572013-07-16 21:49:50 -07006092 ## name.h (module 'ndnSIM'): ns3::ndn::Name ns3::ndn::NameValue::Get() const [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08006093 cls.add_method('Get',
6094 'ns3::ndn::Name',
6095 [],
6096 is_const=True)
Alexander Afanasyev76b11572013-07-16 21:49:50 -07006097 ## 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 -08006098 cls.add_method('SerializeToString',
6099 'std::string',
6100 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
6101 is_const=True, is_virtual=True)
Alexander Afanasyev76b11572013-07-16 21:49:50 -07006102 ## name.h (module 'ndnSIM'): void ns3::ndn::NameValue::Set(ns3::ndn::Name const & value) [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08006103 cls.add_method('Set',
6104 'void',
6105 [param('ns3::ndn::Name const &', 'value')])
6106 return
6107
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006108def register_Ns3NdnNetDeviceFace_methods(root_module, cls):
6109 ## ndn-net-device-face.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::NetDeviceFace::GetTypeId() [member function]
6110 cls.add_method('GetTypeId',
6111 'ns3::TypeId',
6112 [],
6113 is_static=True)
6114 ## ndn-net-device-face.h (module 'ndnSIM'): ns3::ndn::NetDeviceFace::NetDeviceFace(ns3::Ptr<ns3::Node> node, ns3::Ptr<ns3::NetDevice> const & netDevice) [constructor]
6115 cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::Ptr< ns3::NetDevice > const &', 'netDevice')])
Alexander Afanasyev858d5312013-07-10 18:50:18 -07006116 ## ndn-net-device-face.h (module 'ndnSIM'): void ns3::ndn::NetDeviceFace::RegisterProtocolHandlers(ns3::Callback<void, ns3::Ptr<ns3::ndn::Face>, ns3::Ptr<ns3::ndn::Interest>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> const & interestHandler, ns3::Callback<void, ns3::Ptr<ns3::ndn::Face>, ns3::Ptr<ns3::ndn::ContentObject>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> const & dataHandler) [member function]
6117 cls.add_method('RegisterProtocolHandlers',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006118 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07006119 [param('ns3::Callback< void, ns3::Ptr< ns3::ndn::Face >, ns3::Ptr< ns3::ndn::Interest >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty > const &', 'interestHandler'), param('ns3::Callback< void, ns3::Ptr< ns3::ndn::Face >, ns3::Ptr< ns3::ndn::ContentObject >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty > const &', 'dataHandler')],
6120 is_virtual=True)
6121 ## ndn-net-device-face.h (module 'ndnSIM'): void ns3::ndn::NetDeviceFace::UnRegisterProtocolHandlers() [member function]
6122 cls.add_method('UnRegisterProtocolHandlers',
6123 'void',
6124 [],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006125 is_virtual=True)
6126 ## ndn-net-device-face.h (module 'ndnSIM'): std::ostream & ns3::ndn::NetDeviceFace::Print(std::ostream & os) const [member function]
6127 cls.add_method('Print',
6128 'std::ostream &',
6129 [param('std::ostream &', 'os')],
6130 is_const=True, is_virtual=True)
6131 ## ndn-net-device-face.h (module 'ndnSIM'): ns3::Ptr<ns3::NetDevice> ns3::ndn::NetDeviceFace::GetNetDevice() const [member function]
6132 cls.add_method('GetNetDevice',
6133 'ns3::Ptr< ns3::NetDevice >',
6134 [],
6135 is_const=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07006136 ## ndn-net-device-face.h (module 'ndnSIM'): bool ns3::ndn::NetDeviceFace::Send(ns3::Ptr<ns3::Packet> p) [member function]
6137 cls.add_method('Send',
Alexander Afanasyev1c0248b2012-07-24 15:59:50 -07006138 'bool',
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07006139 [param('ns3::Ptr< ns3::Packet >', 'p')],
6140 visibility='protected', is_virtual=True)
6141 return
6142
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006143def register_Ns3NdnPit_methods(root_module, cls):
6144 cls.add_output_stream_operator()
6145 ## ndn-pit.h (module 'ndnSIM'): ns3::ndn::Pit::Pit(ns3::ndn::Pit const & arg0) [copy constructor]
6146 cls.add_constructor([param('ns3::ndn::Pit const &', 'arg0')])
6147 ## ndn-pit.h (module 'ndnSIM'): ns3::ndn::Pit::Pit() [constructor]
6148 cls.add_constructor([])
6149 ## ndn-pit.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::pit::Entry> ns3::ndn::Pit::Begin() [member function]
6150 cls.add_method('Begin',
6151 'ns3::Ptr< ns3::ndn::pit::Entry >',
6152 [],
6153 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07006154 ## 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 -07006155 cls.add_method('Create',
6156 'ns3::Ptr< ns3::ndn::pit::Entry >',
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07006157 [param('ns3::Ptr< ns3::ndn::Interest const >', 'header')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006158 is_pure_virtual=True, is_virtual=True)
6159 ## ndn-pit.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::pit::Entry> ns3::ndn::Pit::End() [member function]
6160 cls.add_method('End',
6161 'ns3::Ptr< ns3::ndn::pit::Entry >',
6162 [],
6163 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyeve5a8b5a2013-03-15 15:15:26 -07006164 ## ndn-pit.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::pit::Entry> ns3::ndn::Pit::Find(ns3::ndn::Name const & prefix) [member function]
6165 cls.add_method('Find',
6166 'ns3::Ptr< ns3::ndn::pit::Entry >',
6167 [param('ns3::ndn::Name const &', 'prefix')],
6168 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyev5b8d61b2013-05-03 10:23:21 -07006169 ## ndn-pit.h (module 'ndnSIM'): ns3::Time const & ns3::ndn::Pit::GetMaxPitEntryLifetime() const [member function]
6170 cls.add_method('GetMaxPitEntryLifetime',
6171 'ns3::Time const &',
6172 [],
6173 is_const=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006174 ## ndn-pit.h (module 'ndnSIM'): static ns3::Ptr<ns3::ndn::Pit> ns3::ndn::Pit::GetPit(ns3::Ptr<ns3::Object> node) [member function]
6175 cls.add_method('GetPit',
6176 'ns3::Ptr< ns3::ndn::Pit >',
6177 [param('ns3::Ptr< ns3::Object >', 'node')],
6178 is_static=True)
6179 ## ndn-pit.h (module 'ndnSIM'): uint32_t ns3::ndn::Pit::GetSize() const [member function]
6180 cls.add_method('GetSize',
6181 'uint32_t',
6182 [],
6183 is_pure_virtual=True, is_const=True, is_virtual=True)
6184 ## ndn-pit.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::Pit::GetTypeId() [member function]
6185 cls.add_method('GetTypeId',
6186 'ns3::TypeId',
6187 [],
6188 is_static=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07006189 ## 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 -07006190 cls.add_method('Lookup',
6191 'ns3::Ptr< ns3::ndn::pit::Entry >',
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07006192 [param('ns3::ndn::ContentObject const &', 'header')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006193 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07006194 ## 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 -07006195 cls.add_method('Lookup',
6196 'ns3::Ptr< ns3::ndn::pit::Entry >',
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07006197 [param('ns3::ndn::Interest const &', 'header')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006198 is_pure_virtual=True, is_virtual=True)
6199 ## ndn-pit.h (module 'ndnSIM'): void ns3::ndn::Pit::MarkErased(ns3::Ptr<ns3::ndn::pit::Entry> entry) [member function]
6200 cls.add_method('MarkErased',
6201 'void',
6202 [param('ns3::Ptr< ns3::ndn::pit::Entry >', 'entry')],
6203 is_pure_virtual=True, is_virtual=True)
6204 ## ndn-pit.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::pit::Entry> ns3::ndn::Pit::Next(ns3::Ptr<ns3::ndn::pit::Entry> arg0) [member function]
6205 cls.add_method('Next',
6206 'ns3::Ptr< ns3::ndn::pit::Entry >',
6207 [param('ns3::Ptr< ns3::ndn::pit::Entry >', 'arg0')],
6208 is_pure_virtual=True, is_virtual=True)
6209 ## ndn-pit.h (module 'ndnSIM'): void ns3::ndn::Pit::Print(std::ostream & os) const [member function]
6210 cls.add_method('Print',
6211 'void',
6212 [param('std::ostream &', 'os')],
6213 is_pure_virtual=True, is_const=True, is_virtual=True)
Alexander Afanasyev5b8d61b2013-05-03 10:23:21 -07006214 ## ndn-pit.h (module 'ndnSIM'): void ns3::ndn::Pit::SetMaxPitEntryLifetime(ns3::Time const & maxLifetime) [member function]
6215 cls.add_method('SetMaxPitEntryLifetime',
6216 'void',
6217 [param('ns3::Time const &', 'maxLifetime')])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006218 return
6219
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -07006220def register_Ns3NdnRttEstimator_methods(root_module, cls):
6221 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::ndn::RttEstimator::RttEstimator() [constructor]
6222 cls.add_constructor([])
6223 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::ndn::RttEstimator::RttEstimator(ns3::ndn::RttEstimator const & arg0) [copy constructor]
6224 cls.add_constructor([param('ns3::ndn::RttEstimator const &', 'arg0')])
6225 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::Time ns3::ndn::RttEstimator::AckSeq(ns3::SequenceNumber32 ackSeq) [member function]
6226 cls.add_method('AckSeq',
6227 'ns3::Time',
6228 [param('ns3::SequenceNumber32', 'ackSeq')],
6229 is_virtual=True)
6230 ## ndn-rtt-estimator.h (module 'ndnSIM'): void ns3::ndn::RttEstimator::ClearSent() [member function]
6231 cls.add_method('ClearSent',
6232 'void',
6233 [],
6234 is_virtual=True)
6235 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::RttEstimator> ns3::ndn::RttEstimator::Copy() const [member function]
6236 cls.add_method('Copy',
6237 'ns3::Ptr< ns3::ndn::RttEstimator >',
6238 [],
6239 is_pure_virtual=True, is_const=True, is_virtual=True)
6240 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::Time ns3::ndn::RttEstimator::GetCurrentEstimate() const [member function]
6241 cls.add_method('GetCurrentEstimate',
6242 'ns3::Time',
6243 [],
6244 is_const=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07006245 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::TypeId ns3::ndn::RttEstimator::GetInstanceTypeId() const [member function]
6246 cls.add_method('GetInstanceTypeId',
6247 'ns3::TypeId',
6248 [],
6249 is_const=True, is_virtual=True)
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -07006250 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::Time ns3::ndn::RttEstimator::GetMaxRto() const [member function]
6251 cls.add_method('GetMaxRto',
6252 'ns3::Time',
6253 [],
6254 is_const=True)
6255 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::Time ns3::ndn::RttEstimator::GetMinRto() const [member function]
6256 cls.add_method('GetMinRto',
6257 'ns3::Time',
6258 [],
6259 is_const=True)
6260 ## ndn-rtt-estimator.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::RttEstimator::GetTypeId() [member function]
6261 cls.add_method('GetTypeId',
6262 'ns3::TypeId',
6263 [],
6264 is_static=True)
6265 ## ndn-rtt-estimator.h (module 'ndnSIM'): void ns3::ndn::RttEstimator::IncreaseMultiplier() [member function]
6266 cls.add_method('IncreaseMultiplier',
6267 'void',
6268 [],
6269 is_virtual=True)
6270 ## ndn-rtt-estimator.h (module 'ndnSIM'): void ns3::ndn::RttEstimator::Measurement(ns3::Time t) [member function]
6271 cls.add_method('Measurement',
6272 'void',
6273 [param('ns3::Time', 't')],
6274 is_pure_virtual=True, is_virtual=True)
6275 ## ndn-rtt-estimator.h (module 'ndnSIM'): void ns3::ndn::RttEstimator::Reset() [member function]
6276 cls.add_method('Reset',
6277 'void',
6278 [],
6279 is_virtual=True)
6280 ## ndn-rtt-estimator.h (module 'ndnSIM'): void ns3::ndn::RttEstimator::ResetMultiplier() [member function]
6281 cls.add_method('ResetMultiplier',
6282 'void',
6283 [],
6284 is_virtual=True)
6285 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::Time ns3::ndn::RttEstimator::RetransmitTimeout() [member function]
6286 cls.add_method('RetransmitTimeout',
6287 'ns3::Time',
6288 [],
6289 is_pure_virtual=True, is_virtual=True)
6290 ## ndn-rtt-estimator.h (module 'ndnSIM'): void ns3::ndn::RttEstimator::SentSeq(ns3::SequenceNumber32 seq, uint32_t size) [member function]
6291 cls.add_method('SentSeq',
6292 'void',
6293 [param('ns3::SequenceNumber32', 'seq'), param('uint32_t', 'size')],
6294 is_virtual=True)
6295 ## ndn-rtt-estimator.h (module 'ndnSIM'): void ns3::ndn::RttEstimator::SetCurrentEstimate(ns3::Time estimate) [member function]
6296 cls.add_method('SetCurrentEstimate',
6297 'void',
6298 [param('ns3::Time', 'estimate')])
6299 ## ndn-rtt-estimator.h (module 'ndnSIM'): void ns3::ndn::RttEstimator::SetMaxRto(ns3::Time maxRto) [member function]
6300 cls.add_method('SetMaxRto',
6301 'void',
6302 [param('ns3::Time', 'maxRto')])
6303 ## ndn-rtt-estimator.h (module 'ndnSIM'): void ns3::ndn::RttEstimator::SetMinRto(ns3::Time minRto) [member function]
6304 cls.add_method('SetMinRto',
6305 'void',
6306 [param('ns3::Time', 'minRto')])
6307 return
6308
6309def register_Ns3NdnRttHistory_methods(root_module, cls):
6310 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::ndn::RttHistory::RttHistory(ns3::SequenceNumber32 s, uint32_t c, ns3::Time t) [constructor]
6311 cls.add_constructor([param('ns3::SequenceNumber32', 's'), param('uint32_t', 'c'), param('ns3::Time', 't')])
6312 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::ndn::RttHistory::RttHistory(ns3::ndn::RttHistory const & h) [copy constructor]
6313 cls.add_constructor([param('ns3::ndn::RttHistory const &', 'h')])
6314 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::ndn::RttHistory::count [variable]
6315 cls.add_instance_attribute('count', 'uint32_t', is_const=False)
6316 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::ndn::RttHistory::retx [variable]
6317 cls.add_instance_attribute('retx', 'bool', is_const=False)
6318 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::ndn::RttHistory::seq [variable]
6319 cls.add_instance_attribute('seq', 'ns3::SequenceNumber32', is_const=False)
6320 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::ndn::RttHistory::time [variable]
6321 cls.add_instance_attribute('time', 'ns3::Time', is_const=False)
6322 return
6323
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006324def register_Ns3NdnStackHelper_methods(root_module, cls):
6325 ## ndn-stack-helper.h (module 'ndnSIM'): ns3::ndn::StackHelper::StackHelper() [constructor]
6326 cls.add_constructor([])
6327 ## 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]
6328 cls.add_method('SetStackAttributes',
6329 'void',
6330 [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='""')])
6331 ## 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]
6332 cls.add_method('SetForwardingStrategy',
6333 'void',
6334 [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='""')])
6335 ## 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]
6336 cls.add_method('SetContentStore',
6337 'void',
6338 [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='""')])
6339 ## 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]
6340 cls.add_method('SetPit',
6341 'void',
6342 [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='""')])
6343 ## 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]
6344 cls.add_method('SetFib',
6345 'void',
6346 [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 -08006347 ## 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 -08006348 cls.add_method('AddNetDeviceFaceCreateCallback',
6349 'void',
Alexander Afanasyevc17e4bd2013-02-17 14:31:56 -08006350 [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 Afanasyev858d5312013-07-10 18:50:18 -07006351 ## ndn-stack-helper.h (module 'ndnSIM'): void ns3::ndn::StackHelper::UpdateNetDeviceFaceCreateCallback(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]
6352 cls.add_method('UpdateNetDeviceFaceCreateCallback',
6353 'void',
6354 [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')])
6355 ## ndn-stack-helper.h (module 'ndnSIM'): void ns3::ndn::StackHelper::RemoveNetDeviceFaceCreateCallback(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]
6356 cls.add_method('RemoveNetDeviceFaceCreateCallback',
6357 'void',
6358 [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 -07006359 ## 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]
6360 cls.add_method('EnableLimits',
6361 'void',
6362 [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 -08006363 ## 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 -07006364 cls.add_method('Install',
6365 'ns3::Ptr< ns3::ndn::FaceContainer >',
Alexander Afanasyev67f4a4a2012-11-24 17:18:17 -08006366 [param('std::string const &', 'nodeName')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006367 is_const=True)
6368 ## ndn-stack-helper.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::FaceContainer> ns3::ndn::StackHelper::Install(ns3::Ptr<ns3::Node> node) const [member function]
6369 cls.add_method('Install',
6370 'ns3::Ptr< ns3::ndn::FaceContainer >',
6371 [param('ns3::Ptr< ns3::Node >', 'node')],
6372 is_const=True)
Alexander Afanasyev67f4a4a2012-11-24 17:18:17 -08006373 ## 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 -07006374 cls.add_method('Install',
6375 'ns3::Ptr< ns3::ndn::FaceContainer >',
Alexander Afanasyev67f4a4a2012-11-24 17:18:17 -08006376 [param('ns3::NodeContainer const &', 'c')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006377 is_const=True)
6378 ## ndn-stack-helper.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::FaceContainer> ns3::ndn::StackHelper::InstallAll() const [member function]
6379 cls.add_method('InstallAll',
6380 'ns3::Ptr< ns3::ndn::FaceContainer >',
6381 [],
6382 is_const=True)
Alexander Afanasyev67f4a4a2012-11-24 17:18:17 -08006383 ## 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 -07006384 cls.add_method('AddRoute',
6385 'void',
Alexander Afanasyev67f4a4a2012-11-24 17:18:17 -08006386 [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 -07006387 is_static=True)
Alexander Afanasyev67f4a4a2012-11-24 17:18:17 -08006388 ## 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 -07006389 cls.add_method('AddRoute',
6390 'void',
Alexander Afanasyev67f4a4a2012-11-24 17:18:17 -08006391 [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 -07006392 is_static=True)
Alexander Afanasyev67f4a4a2012-11-24 17:18:17 -08006393 ## 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 -07006394 cls.add_method('AddRoute',
6395 'void',
Alexander Afanasyev67f4a4a2012-11-24 17:18:17 -08006396 [param('ns3::Ptr< ns3::Node >', 'node'), param('std::string const &', 'prefix'), param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('int32_t', 'metric')],
6397 is_static=True)
6398 ## 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]
6399 cls.add_method('AddRoute',
6400 'void',
6401 [param('ns3::Ptr< ns3::Node >', 'node'), param('std::string const &', 'prefix'), param('ns3::Ptr< ns3::Node >', 'otherNode'), param('int32_t', 'metric')],
6402 is_static=True)
6403 ## 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]
6404 cls.add_method('AddRoute',
6405 'void',
6406 [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 -07006407 is_static=True)
6408 ## ndn-stack-helper.h (module 'ndnSIM'): void ns3::ndn::StackHelper::SetDefaultRoutes(bool needSet) [member function]
6409 cls.add_method('SetDefaultRoutes',
6410 'void',
6411 [param('bool', 'needSet')])
6412 return
6413
6414def register_Ns3NdnUnknownHeaderException_methods(root_module, cls):
6415 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::UnknownHeaderException::UnknownHeaderException() [constructor]
6416 cls.add_constructor([])
6417 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::UnknownHeaderException::UnknownHeaderException(ns3::ndn::UnknownHeaderException const & arg0) [copy constructor]
6418 cls.add_constructor([param('ns3::ndn::UnknownHeaderException const &', 'arg0')])
6419 return
6420
Alexander Afanasyev76b11572013-07-16 21:49:50 -07006421def register_Ns3NdnWire_methods(root_module, cls):
6422 ## ndn-wire.h (module 'ndnSIM'): ns3::ndn::Wire::Wire() [constructor]
6423 cls.add_constructor([])
6424 ## ndn-wire.h (module 'ndnSIM'): ns3::ndn::Wire::Wire(ns3::ndn::Wire const & arg0) [copy constructor]
6425 cls.add_constructor([param('ns3::ndn::Wire const &', 'arg0')])
6426 ## ndn-wire.h (module 'ndnSIM'): static ns3::Ptr<ns3::Packet> ns3::ndn::Wire::FromData(ns3::Ptr<ns3::ndn::ContentObject const> data, int8_t wireFormat=::int8_t(::ns3::ndn::Wire::WIRE_FORMAT_DEFAULT)) [member function]
6427 cls.add_method('FromData',
6428 'ns3::Ptr< ns3::Packet >',
6429 [param('ns3::Ptr< ns3::ndn::ContentObject const >', 'data'), param('int8_t', 'wireFormat', default_value='::int8_t(::ns3::ndn::Wire::WIRE_FORMAT_DEFAULT)')],
6430 is_static=True)
6431 ## ndn-wire.h (module 'ndnSIM'): static std::string ns3::ndn::Wire::FromDataStr(ns3::Ptr<ns3::ndn::ContentObject const> data, int8_t wireFormat=::int8_t(::ns3::ndn::Wire::WIRE_FORMAT_DEFAULT)) [member function]
6432 cls.add_method('FromDataStr',
6433 'std::string',
6434 [param('ns3::Ptr< ns3::ndn::ContentObject const >', 'data'), param('int8_t', 'wireFormat', default_value='::int8_t(::ns3::ndn::Wire::WIRE_FORMAT_DEFAULT)')],
6435 is_static=True)
6436 ## ndn-wire.h (module 'ndnSIM'): static ns3::Ptr<ns3::Packet> ns3::ndn::Wire::FromInterest(ns3::Ptr<ns3::ndn::Interest const> interest, int8_t wireFormat=::int8_t(::ns3::ndn::Wire::WIRE_FORMAT_DEFAULT)) [member function]
6437 cls.add_method('FromInterest',
6438 'ns3::Ptr< ns3::Packet >',
6439 [param('ns3::Ptr< ns3::ndn::Interest const >', 'interest'), param('int8_t', 'wireFormat', default_value='::int8_t(::ns3::ndn::Wire::WIRE_FORMAT_DEFAULT)')],
6440 is_static=True)
6441 ## ndn-wire.h (module 'ndnSIM'): static std::string ns3::ndn::Wire::FromInterestStr(ns3::Ptr<ns3::ndn::Interest const> interest, int8_t wireFormat=::int8_t(::ns3::ndn::Wire::WIRE_FORMAT_DEFAULT)) [member function]
6442 cls.add_method('FromInterestStr',
6443 'std::string',
6444 [param('ns3::Ptr< ns3::ndn::Interest const >', 'interest'), param('int8_t', 'wireFormat', default_value='::int8_t(::ns3::ndn::Wire::WIRE_FORMAT_DEFAULT)')],
6445 is_static=True)
6446 ## ndn-wire.h (module 'ndnSIM'): static std::string ns3::ndn::Wire::FromName(ns3::Ptr<ns3::ndn::Name const> name, int8_t wireFormat=::int8_t(::ns3::ndn::Wire::WIRE_FORMAT_DEFAULT)) [member function]
6447 cls.add_method('FromName',
6448 'std::string',
6449 [param('ns3::Ptr< ns3::ndn::Name const >', 'name'), param('int8_t', 'wireFormat', default_value='::int8_t(::ns3::ndn::Wire::WIRE_FORMAT_DEFAULT)')],
6450 is_static=True)
6451 ## ndn-wire.h (module 'ndnSIM'): static ns3::Ptr<ns3::ndn::ContentObject> ns3::ndn::Wire::ToData(ns3::Ptr<ns3::Packet> packet, int8_t type=::int8_t(::ns3::ndn::Wire::WIRE_FORMAT_AUTODETECT)) [member function]
6452 cls.add_method('ToData',
6453 'ns3::Ptr< ns3::ndn::ContentObject >',
6454 [param('ns3::Ptr< ns3::Packet >', 'packet'), param('int8_t', 'type', default_value='::int8_t(::ns3::ndn::Wire::WIRE_FORMAT_AUTODETECT)')],
6455 is_static=True)
6456 ## ndn-wire.h (module 'ndnSIM'): static ns3::Ptr<ns3::ndn::ContentObject> ns3::ndn::Wire::ToDataStr(std::string const & wire, int8_t type=::int8_t(::ns3::ndn::Wire::WIRE_FORMAT_AUTODETECT)) [member function]
6457 cls.add_method('ToDataStr',
6458 'ns3::Ptr< ns3::ndn::ContentObject >',
6459 [param('std::string const &', 'wire'), param('int8_t', 'type', default_value='::int8_t(::ns3::ndn::Wire::WIRE_FORMAT_AUTODETECT)')],
6460 is_static=True)
6461 ## ndn-wire.h (module 'ndnSIM'): static ns3::Ptr<ns3::ndn::Interest> ns3::ndn::Wire::ToInterest(ns3::Ptr<ns3::Packet> packet, int8_t type=::int8_t(::ns3::ndn::Wire::WIRE_FORMAT_AUTODETECT)) [member function]
6462 cls.add_method('ToInterest',
6463 'ns3::Ptr< ns3::ndn::Interest >',
6464 [param('ns3::Ptr< ns3::Packet >', 'packet'), param('int8_t', 'type', default_value='::int8_t(::ns3::ndn::Wire::WIRE_FORMAT_AUTODETECT)')],
6465 is_static=True)
6466 ## ndn-wire.h (module 'ndnSIM'): static ns3::Ptr<ns3::ndn::Interest> ns3::ndn::Wire::ToInterestStr(std::string const & wire, int8_t type=::int8_t(::ns3::ndn::Wire::WIRE_FORMAT_AUTODETECT)) [member function]
6467 cls.add_method('ToInterestStr',
6468 'ns3::Ptr< ns3::ndn::Interest >',
6469 [param('std::string const &', 'wire'), param('int8_t', 'type', default_value='::int8_t(::ns3::ndn::Wire::WIRE_FORMAT_AUTODETECT)')],
6470 is_static=True)
6471 ## ndn-wire.h (module 'ndnSIM'): static ns3::Ptr<ns3::ndn::Name> ns3::ndn::Wire::ToName(std::string const & wire, int8_t wireFormat=::int8_t(::ns3::ndn::Wire::WIRE_FORMAT_DEFAULT)) [member function]
6472 cls.add_method('ToName',
6473 'ns3::Ptr< ns3::ndn::Name >',
6474 [param('std::string const &', 'wire'), param('int8_t', 'wireFormat', default_value='::int8_t(::ns3::ndn::Wire::WIRE_FORMAT_DEFAULT)')],
6475 is_static=True)
6476 return
6477
Alexander Afanasyeva4e74282013-07-11 15:23:20 -07006478def register_Ns3NdnApiFace_methods(root_module, cls):
6479 ## ndn-api-face.h (module 'ndnSIM'): ns3::ndn::ApiFace::ApiFace(ns3::Ptr<ns3::Node> node) [constructor]
6480 cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node')])
6481 ## ndn-api-face.h (module 'ndnSIM'): void ns3::ndn::ApiFace::Shutdown() [member function]
6482 cls.add_method('Shutdown',
6483 'void',
Alexander Afanasyeve4795ae2013-07-11 20:01:31 -07006484 [],
6485 is_virtual=True)
6486 ## ndn-api-face.h (module 'ndnSIM'): void ns3::ndn::ApiFace::ExpressInterest(ns3::Ptr<ns3::ndn::Interest> interest, ns3::Callback<void, ns3::Ptr<ns3::ndn::Interest const>, ns3::Ptr<ns3::ndn::ContentObject const>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> onData, ns3::Callback<void, ns3::Ptr<ns3::ndn::Interest const>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> onTimeout) [member function]
Alexander Afanasyeva4e74282013-07-11 15:23:20 -07006487 cls.add_method('ExpressInterest',
6488 'void',
6489 [param('ns3::Ptr< ns3::ndn::Interest >', 'interest'), param('ns3::Callback< void, ns3::Ptr< ns3::ndn::Interest const >, ns3::Ptr< ns3::ndn::ContentObject const >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'onData'), param('ns3::Callback< void, ns3::Ptr< ns3::ndn::Interest const >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'onTimeout')])
Alexander Afanasyeve4795ae2013-07-11 20:01:31 -07006490 ## ndn-api-face.h (module 'ndnSIM'): void ns3::ndn::ApiFace::SetInterestFilter(ns3::Ptr<ns3::ndn::Name const> prefix, ns3::Callback<void, ns3::Ptr<ns3::ndn::Name const>, ns3::Ptr<ns3::ndn::Interest const>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> onInterest) [member function]
Alexander Afanasyeva4e74282013-07-11 15:23:20 -07006491 cls.add_method('SetInterestFilter',
6492 'void',
6493 [param('ns3::Ptr< ns3::ndn::Name const >', 'prefix'), param('ns3::Callback< void, ns3::Ptr< ns3::ndn::Name const >, ns3::Ptr< ns3::ndn::Interest const >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'onInterest')])
6494 ## ndn-api-face.h (module 'ndnSIM'): void ns3::ndn::ApiFace::ClearInterestFilter(ns3::Ptr<ns3::ndn::Name const> prefix) [member function]
6495 cls.add_method('ClearInterestFilter',
6496 'void',
6497 [param('ns3::Ptr< ns3::ndn::Name const >', 'prefix')])
6498 ## ndn-api-face.h (module 'ndnSIM'): void ns3::ndn::ApiFace::Put(ns3::Ptr<ns3::ndn::ContentObject> data) [member function]
6499 cls.add_method('Put',
6500 'void',
6501 [param('ns3::Ptr< ns3::ndn::ContentObject >', 'data')])
6502 ## ndn-api-face.h (module 'ndnSIM'): bool ns3::ndn::ApiFace::SendInterest(ns3::Ptr<ns3::ndn::Interest const> interest) [member function]
6503 cls.add_method('SendInterest',
6504 'bool',
6505 [param('ns3::Ptr< ns3::ndn::Interest const >', 'interest')],
6506 is_virtual=True)
6507 ## ndn-api-face.h (module 'ndnSIM'): bool ns3::ndn::ApiFace::SendData(ns3::Ptr<ns3::ndn::ContentObject const> data) [member function]
6508 cls.add_method('SendData',
6509 'bool',
6510 [param('ns3::Ptr< ns3::ndn::ContentObject const >', 'data')],
6511 is_virtual=True)
6512 ## ndn-api-face.h (module 'ndnSIM'): std::ostream & ns3::ndn::ApiFace::Print(std::ostream & os) const [member function]
6513 cls.add_method('Print',
6514 'std::ostream &',
6515 [param('std::ostream &', 'os')],
6516 is_const=True, is_virtual=True)
6517 return
6518
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006519def register_Ns3NdnAppFace_methods(root_module, cls):
6520 ## ndn-app-face.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::AppFace::GetTypeId() [member function]
6521 cls.add_method('GetTypeId',
6522 'ns3::TypeId',
6523 [],
6524 is_static=True)
6525 ## ndn-app-face.h (module 'ndnSIM'): ns3::ndn::AppFace::AppFace(ns3::Ptr<ns3::ndn::App> app) [constructor]
6526 cls.add_constructor([param('ns3::Ptr< ns3::ndn::App >', 'app')])
Alexander Afanasyev858d5312013-07-10 18:50:18 -07006527 ## ndn-app-face.h (module 'ndnSIM'): bool ns3::ndn::AppFace::SendInterest(ns3::Ptr<ns3::ndn::Interest const> interest) [member function]
6528 cls.add_method('SendInterest',
6529 'bool',
6530 [param('ns3::Ptr< ns3::ndn::Interest const >', 'interest')],
6531 is_virtual=True)
6532 ## ndn-app-face.h (module 'ndnSIM'): bool ns3::ndn::AppFace::SendData(ns3::Ptr<ns3::ndn::ContentObject const> data) [member function]
6533 cls.add_method('SendData',
6534 'bool',
6535 [param('ns3::Ptr< ns3::ndn::ContentObject const >', 'data')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006536 is_virtual=True)
6537 ## ndn-app-face.h (module 'ndnSIM'): std::ostream & ns3::ndn::AppFace::Print(std::ostream & os) const [member function]
6538 cls.add_method('Print',
6539 'std::ostream &',
6540 [param('std::ostream &', 'os')],
6541 is_const=True, is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006542 return
6543
6544def register_Ns3NdnCsEntry_methods(root_module, cls):
6545 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::cs::Entry::Entry(ns3::ndn::cs::Entry const & arg0) [copy constructor]
6546 cls.add_constructor([param('ns3::ndn::cs::Entry const &', 'arg0')])
Alexander Afanasyev858d5312013-07-10 18:50:18 -07006547 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::cs::Entry::Entry(ns3::Ptr<ns3::ndn::ContentStore> cs, ns3::Ptr<ns3::ndn::ContentObject const> data) [constructor]
6548 cls.add_constructor([param('ns3::Ptr< ns3::ndn::ContentStore >', 'cs'), param('ns3::Ptr< ns3::ndn::ContentObject const >', 'data')])
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -07006549 ## ndn-content-store.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::ContentStore> ns3::ndn::cs::Entry::GetContentStore() [member function]
6550 cls.add_method('GetContentStore',
6551 'ns3::Ptr< ns3::ndn::ContentStore >',
6552 [])
Alexander Afanasyev858d5312013-07-10 18:50:18 -07006553 ## ndn-content-store.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::ContentObject const> ns3::ndn::cs::Entry::GetData() const [member function]
6554 cls.add_method('GetData',
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07006555 'ns3::Ptr< ns3::ndn::ContentObject const >',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006556 [],
6557 is_const=True)
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07006558 ## 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 -07006559 cls.add_method('GetName',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07006560 'ns3::ndn::Name const &',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006561 [],
6562 is_const=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006563 return
6564
6565def register_Ns3NdnFibEntry_methods(root_module, cls):
6566 cls.add_output_stream_operator()
6567 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::Entry(ns3::ndn::fib::Entry const & arg0) [copy constructor]
6568 cls.add_constructor([param('ns3::ndn::fib::Entry const &', 'arg0')])
Alexander Afanasyev5b8d61b2013-05-03 10:23:21 -07006569 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::Entry(ns3::Ptr<ns3::ndn::Fib> fib, ns3::Ptr<ns3::ndn::Name const> const & prefix) [constructor]
6570 cls.add_constructor([param('ns3::Ptr< ns3::ndn::Fib >', 'fib'), param('ns3::Ptr< ns3::ndn::Name const > const &', 'prefix')])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006571 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::Entry::AddOrUpdateRoutingMetric(ns3::Ptr<ns3::ndn::Face> face, int32_t metric) [member function]
6572 cls.add_method('AddOrUpdateRoutingMetric',
6573 'void',
6574 [param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('int32_t', 'metric')])
6575 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric const & ns3::ndn::fib::Entry::FindBestCandidate(uint32_t skip=0) const [member function]
6576 cls.add_method('FindBestCandidate',
6577 'ns3::ndn::fib::FaceMetric const &',
6578 [param('uint32_t', 'skip', default_value='0')],
6579 is_const=True)
Alexander Afanasyev5b8d61b2013-05-03 10:23:21 -07006580 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::Fib> ns3::ndn::fib::Entry::GetFib() [member function]
6581 cls.add_method('GetFib',
6582 'ns3::Ptr< ns3::ndn::Fib >',
6583 [])
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07006584 ## 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 -07006585 cls.add_method('GetPrefix',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07006586 'ns3::ndn::Name const &',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006587 [],
6588 is_const=True)
6589 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::Entry::Invalidate() [member function]
6590 cls.add_method('Invalidate',
6591 'void',
6592 [])
6593 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::Entry::RemoveFace(ns3::Ptr<ns3::ndn::Face> const & face) [member function]
6594 cls.add_method('RemoveFace',
6595 'void',
6596 [param('ns3::Ptr< ns3::ndn::Face > const &', 'face')])
Alexander Afanasyev32c07562013-02-01 12:58:43 -08006597 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::Entry::SetRealDelayToProducer(ns3::Ptr<ns3::ndn::Face> face, ns3::Time delay) [member function]
6598 cls.add_method('SetRealDelayToProducer',
6599 'void',
6600 [param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('ns3::Time', 'delay')])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006601 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::Entry::UpdateFaceRtt(ns3::Ptr<ns3::ndn::Face> face, ns3::Time const & sample) [member function]
6602 cls.add_method('UpdateFaceRtt',
6603 'void',
6604 [param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('ns3::Time const &', 'sample')])
6605 ## 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]
6606 cls.add_method('UpdateStatus',
6607 'void',
6608 [param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('ns3::ndn::fib::FaceMetric::Status', 'status')])
6609 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::m_faces [variable]
Alexander Afanasyev06dba7c2013-02-21 11:36:26 -08006610 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 Afanasyev5b8d61b2013-05-03 10:23:21 -07006611 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::m_fib [variable]
6612 cls.add_instance_attribute('m_fib', 'ns3::Ptr< ns3::ndn::Fib >', is_const=False)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006613 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::m_needsProbing [variable]
6614 cls.add_instance_attribute('m_needsProbing', 'bool', is_const=False)
6615 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::m_prefix [variable]
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07006616 cls.add_instance_attribute('m_prefix', 'ns3::Ptr< ns3::ndn::Name const >', is_const=False)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006617 return
6618
6619def register_Ns3NdnFibEntryNoFaces_methods(root_module, cls):
6620 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::NoFaces::NoFaces() [constructor]
6621 cls.add_constructor([])
6622 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::NoFaces::NoFaces(ns3::ndn::fib::Entry::NoFaces const & arg0) [copy constructor]
6623 cls.add_constructor([param('ns3::ndn::fib::Entry::NoFaces const &', 'arg0')])
6624 return
6625
6626def register_Ns3NdnFibFaceMetric_methods(root_module, cls):
6627 cls.add_output_stream_operator()
6628 cls.add_binary_comparison_operator('<')
6629 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric::FaceMetric(ns3::ndn::fib::FaceMetric const & arg0) [copy constructor]
6630 cls.add_constructor([param('ns3::ndn::fib::FaceMetric const &', 'arg0')])
6631 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric::FaceMetric(ns3::Ptr<ns3::ndn::Face> face, int32_t cost) [constructor]
6632 cls.add_constructor([param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('int32_t', 'cost')])
6633 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::Face> ns3::ndn::fib::FaceMetric::GetFace() const [member function]
6634 cls.add_method('GetFace',
6635 'ns3::Ptr< ns3::ndn::Face >',
6636 [],
6637 is_const=True)
Alexander Afanasyev06dba7c2013-02-21 11:36:26 -08006638 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::Time ns3::ndn::fib::FaceMetric::GetRealDelay() const [member function]
6639 cls.add_method('GetRealDelay',
6640 'ns3::Time',
6641 [],
6642 is_const=True)
6643 ## ndn-fib-entry.h (module 'ndnSIM'): int32_t ns3::ndn::fib::FaceMetric::GetRoutingCost() const [member function]
6644 cls.add_method('GetRoutingCost',
6645 'int32_t',
6646 [],
6647 is_const=True)
6648 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric::Status ns3::ndn::fib::FaceMetric::GetStatus() const [member function]
6649 cls.add_method('GetStatus',
6650 'ns3::ndn::fib::FaceMetric::Status',
6651 [],
6652 is_const=True)
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -07006653 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status> & ns3::ndn::fib::FaceMetric::GetStatusTrace() [member function]
6654 cls.add_method('GetStatusTrace',
6655 'ns3::TracedValue< ns3::ndn::fib::FaceMetric::Status > &',
6656 [])
Alexander Afanasyev06dba7c2013-02-21 11:36:26 -08006657 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::FaceMetric::SetRealDelay(ns3::Time realDelay) [member function]
6658 cls.add_method('SetRealDelay',
6659 'void',
6660 [param('ns3::Time', 'realDelay')])
6661 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::FaceMetric::SetRoutingCost(int32_t routingCost) [member function]
6662 cls.add_method('SetRoutingCost',
6663 'void',
6664 [param('int32_t', 'routingCost')])
6665 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::FaceMetric::SetStatus(ns3::ndn::fib::FaceMetric::Status status) [member function]
6666 cls.add_method('SetStatus',
6667 'void',
6668 [param('ns3::ndn::fib::FaceMetric::Status', 'status')])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006669 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::FaceMetric::UpdateRtt(ns3::Time const & rttSample) [member function]
6670 cls.add_method('UpdateRtt',
6671 'void',
6672 [param('ns3::Time const &', 'rttSample')])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006673 return
6674
6675def register_Ns3NdnFibFaceMetricContainer_methods(root_module, cls):
6676 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetricContainer::FaceMetricContainer() [constructor]
6677 cls.add_constructor([])
6678 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetricContainer::FaceMetricContainer(ns3::ndn::fib::FaceMetricContainer const & arg0) [copy constructor]
6679 cls.add_constructor([param('ns3::ndn::fib::FaceMetricContainer const &', 'arg0')])
6680 return
6681
6682def register_Ns3NdnFibI_face_methods(root_module, cls):
6683 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_face::i_face() [constructor]
6684 cls.add_constructor([])
6685 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_face::i_face(ns3::ndn::fib::i_face const & arg0) [copy constructor]
6686 cls.add_constructor([param('ns3::ndn::fib::i_face const &', 'arg0')])
6687 return
6688
6689def register_Ns3NdnFibI_metric_methods(root_module, cls):
6690 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_metric::i_metric() [constructor]
6691 cls.add_constructor([])
6692 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_metric::i_metric(ns3::ndn::fib::i_metric const & arg0) [copy constructor]
6693 cls.add_constructor([param('ns3::ndn::fib::i_metric const &', 'arg0')])
6694 return
6695
6696def register_Ns3NdnFibI_nth_methods(root_module, cls):
6697 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_nth::i_nth() [constructor]
6698 cls.add_constructor([])
6699 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_nth::i_nth(ns3::ndn::fib::i_nth const & arg0) [copy constructor]
6700 cls.add_constructor([param('ns3::ndn::fib::i_nth const &', 'arg0')])
6701 return
6702
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006703def register_Ns3NdnFwTag_methods(root_module, cls):
6704 ## ndn-fw-tag.h (module 'ndnSIM'): ns3::ndn::fw::Tag::Tag() [constructor]
6705 cls.add_constructor([])
6706 ## ndn-fw-tag.h (module 'ndnSIM'): ns3::ndn::fw::Tag::Tag(ns3::ndn::fw::Tag const & arg0) [copy constructor]
6707 cls.add_constructor([param('ns3::ndn::fw::Tag const &', 'arg0')])
6708 return
6709
Alexander Afanasyev76b11572013-07-16 21:49:50 -07006710def register_Ns3NdnNameComponent_methods(root_module, cls):
6711 cls.add_output_stream_operator()
6712 cls.add_binary_comparison_operator('<')
6713 cls.add_binary_comparison_operator('<=')
6714 cls.add_binary_comparison_operator('>')
6715 cls.add_binary_comparison_operator('>=')
6716 ## name-component.h (module 'ndnSIM'): ns3::ndn::name::Component::Component(ns3::ndn::name::Component const & arg0) [copy constructor]
6717 cls.add_constructor([param('ns3::ndn::name::Component const &', 'arg0')])
6718 ## name-component.h (module 'ndnSIM'): ns3::ndn::name::Component::Component() [constructor]
6719 cls.add_constructor([])
6720 ## name-component.h (module 'ndnSIM'): ns3::ndn::name::Component::Component(std::string const & uri) [constructor]
6721 cls.add_constructor([param('std::string const &', 'uri')])
6722 ## name-component.h (module 'ndnSIM'): ns3::ndn::name::Component::Component(__gnu_cxx::__normal_iterator<char const*, std::string> begin, __gnu_cxx::__normal_iterator<char const*, std::string> end) [constructor]
6723 cls.add_constructor([param('__gnu_cxx::__normal_iterator< char const *, std::string >', 'begin'), param('__gnu_cxx::__normal_iterator< char const *, std::string >', 'end')])
6724 ## name-component.h (module 'ndnSIM'): ns3::ndn::name::Component::Component(void const * buf, size_t length) [constructor]
6725 cls.add_constructor([param('void const *', 'buf'), param('size_t', 'length')])
6726 ## name-component.h (module 'ndnSIM'): int ns3::ndn::name::Component::compare(ns3::ndn::name::Component const & other) const [member function]
6727 cls.add_method('compare',
6728 'int',
6729 [param('ns3::ndn::name::Component const &', 'other')],
6730 is_const=True)
6731 ## name-component.h (module 'ndnSIM'): ns3::ndn::name::Component & ns3::ndn::name::Component::fromNumber(uint64_t number) [member function]
6732 cls.add_method('fromNumber',
6733 'ns3::ndn::name::Component &',
6734 [param('uint64_t', 'number')])
6735 ## name-component.h (module 'ndnSIM'): ns3::ndn::name::Component & ns3::ndn::name::Component::fromNumberWithMarker(uint64_t number, unsigned char marker) [member function]
6736 cls.add_method('fromNumberWithMarker',
6737 'ns3::ndn::name::Component &',
6738 [param('uint64_t', 'number'), param('unsigned char', 'marker')])
6739 ## name-component.h (module 'ndnSIM'): ns3::ndn::name::Component & ns3::ndn::name::Component::fromUri(std::string const & uri) [member function]
6740 cls.add_method('fromUri',
6741 'ns3::ndn::name::Component &',
6742 [param('std::string const &', 'uri')])
6743 ## name-component.h (module 'ndnSIM'): ns3::ndn::name::Component & ns3::ndn::name::Component::fromUri(__gnu_cxx::__normal_iterator<char const*, std::string> begin, __gnu_cxx::__normal_iterator<char const*, std::string> end) [member function]
6744 cls.add_method('fromUri',
6745 'ns3::ndn::name::Component &',
6746 [param('__gnu_cxx::__normal_iterator< char const *, std::string >', 'begin'), param('__gnu_cxx::__normal_iterator< char const *, std::string >', 'end')])
6747 ## name-component.h (module 'ndnSIM'): uint64_t ns3::ndn::name::Component::toBlkId() const [member function]
6748 cls.add_method('toBlkId',
6749 'uint64_t',
6750 [],
6751 is_const=True)
6752 ## name-component.h (module 'ndnSIM'): std::string ns3::ndn::name::Component::toBlob() const [member function]
6753 cls.add_method('toBlob',
6754 'std::string',
6755 [],
6756 is_const=True)
6757 ## name-component.h (module 'ndnSIM'): void ns3::ndn::name::Component::toBlob(std::ostream & os) const [member function]
6758 cls.add_method('toBlob',
6759 'void',
6760 [param('std::ostream &', 'os')],
6761 is_const=True)
6762 ## name-component.h (module 'ndnSIM'): uint64_t ns3::ndn::name::Component::toControlNum() const [member function]
6763 cls.add_method('toControlNum',
6764 'uint64_t',
6765 [],
6766 is_const=True)
6767 ## name-component.h (module 'ndnSIM'): uint64_t ns3::ndn::name::Component::toNumber() const [member function]
6768 cls.add_method('toNumber',
6769 'uint64_t',
6770 [],
6771 is_const=True)
6772 ## name-component.h (module 'ndnSIM'): uint64_t ns3::ndn::name::Component::toNumberWithMarker(unsigned char marker) const [member function]
6773 cls.add_method('toNumberWithMarker',
6774 'uint64_t',
6775 [param('unsigned char', 'marker')],
6776 is_const=True)
6777 ## name-component.h (module 'ndnSIM'): uint64_t ns3::ndn::name::Component::toSeqNum() const [member function]
6778 cls.add_method('toSeqNum',
6779 'uint64_t',
6780 [],
6781 is_const=True)
6782 ## name-component.h (module 'ndnSIM'): std::string ns3::ndn::name::Component::toUri() const [member function]
6783 cls.add_method('toUri',
6784 'std::string',
6785 [],
6786 is_const=True)
6787 ## name-component.h (module 'ndnSIM'): void ns3::ndn::name::Component::toUri(std::ostream & os) const [member function]
6788 cls.add_method('toUri',
6789 'void',
6790 [param('std::ostream &', 'os')],
6791 is_const=True)
6792 ## name-component.h (module 'ndnSIM'): uint64_t ns3::ndn::name::Component::toVersion() const [member function]
6793 cls.add_method('toVersion',
6794 'uint64_t',
6795 [],
6796 is_const=True)
6797 return
6798
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006799def register_Ns3NdnPitEntry_methods(root_module, cls):
6800 cls.add_output_stream_operator()
6801 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::Entry::Entry(ns3::ndn::pit::Entry const & arg0) [copy constructor]
6802 cls.add_constructor([param('ns3::ndn::pit::Entry const &', 'arg0')])
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07006803 ## 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]
6804 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 -07006805 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::AddFwTag(boost::shared_ptr<ns3::ndn::fw::Tag> tag) [member function]
6806 cls.add_method('AddFwTag',
6807 'void',
6808 [param('boost::shared_ptr< ns3::ndn::fw::Tag >', 'tag')])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006809 ## 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]
6810 cls.add_method('AddIncoming',
6811 'std::_Rb_tree_const_iterator< ns3::ndn::pit::IncomingFace >',
6812 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
6813 is_virtual=True)
Alexander Afanasyevc202fd92012-09-03 21:46:00 -07006814 ## 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 -07006815 cls.add_method('AddOutgoing',
Alexander Afanasyevc202fd92012-09-03 21:46:00 -07006816 'std::_Rb_tree_const_iterator< ns3::ndn::pit::OutgoingFace >',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006817 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
6818 is_virtual=True)
6819 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::AddSeenNonce(uint32_t nonce) [member function]
6820 cls.add_method('AddSeenNonce',
6821 'void',
6822 [param('uint32_t', 'nonce')],
6823 is_virtual=True)
6824 ## ndn-pit-entry.h (module 'ndnSIM'): bool ns3::ndn::pit::Entry::AreAllOutgoingInVain() const [member function]
6825 cls.add_method('AreAllOutgoingInVain',
6826 'bool',
6827 [],
6828 is_const=True)
6829 ## ndn-pit-entry.h (module 'ndnSIM'): bool ns3::ndn::pit::Entry::AreTherePromisingOutgoingFacesExcept(ns3::Ptr<ns3::ndn::Face> face) const [member function]
6830 cls.add_method('AreTherePromisingOutgoingFacesExcept',
6831 'bool',
6832 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
6833 is_const=True)
6834 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::ClearIncoming() [member function]
6835 cls.add_method('ClearIncoming',
6836 'void',
6837 [],
6838 is_virtual=True)
6839 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::ClearOutgoing() [member function]
6840 cls.add_method('ClearOutgoing',
6841 'void',
6842 [],
6843 is_virtual=True)
6844 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::Time const & ns3::ndn::pit::Entry::GetExpireTime() const [member function]
6845 cls.add_method('GetExpireTime',
6846 'ns3::Time const &',
6847 [],
6848 is_const=True)
6849 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::fib::Entry> ns3::ndn::pit::Entry::GetFibEntry() [member function]
6850 cls.add_method('GetFibEntry',
6851 'ns3::Ptr< ns3::ndn::fib::Entry >',
6852 [])
6853 ## 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]
6854 cls.add_method('GetIncoming',
6855 'std::set< ns3::ndn::pit::IncomingFace > const &',
6856 [],
6857 is_const=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07006858 ## 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 -07006859 cls.add_method('GetInterest',
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07006860 'ns3::Ptr< ns3::ndn::Interest const >',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006861 [],
6862 is_const=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006863 ## ndn-pit-entry.h (module 'ndnSIM'): uint32_t ns3::ndn::pit::Entry::GetMaxRetxCount() const [member function]
6864 cls.add_method('GetMaxRetxCount',
6865 'uint32_t',
6866 [],
6867 is_const=True)
Alexander Afanasyevc202fd92012-09-03 21:46:00 -07006868 ## 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 -07006869 cls.add_method('GetOutgoing',
Alexander Afanasyevc202fd92012-09-03 21:46:00 -07006870 'std::set< ns3::ndn::pit::OutgoingFace > const &',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006871 [],
6872 is_const=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006873 ## ndn-pit-entry.h (module 'ndnSIM'): uint32_t ns3::ndn::pit::Entry::GetOutgoingCount() const [member function]
6874 cls.add_method('GetOutgoingCount',
6875 'uint32_t',
6876 [],
6877 is_const=True)
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07006878 ## 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 -07006879 cls.add_method('GetPrefix',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07006880 'ns3::ndn::Name const &',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006881 [],
6882 is_const=True)
6883 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::IncreaseAllowedRetxCount() [member function]
6884 cls.add_method('IncreaseAllowedRetxCount',
6885 'void',
6886 [],
6887 is_virtual=True)
6888 ## ndn-pit-entry.h (module 'ndnSIM'): bool ns3::ndn::pit::Entry::IsNonceSeen(uint32_t nonce) const [member function]
6889 cls.add_method('IsNonceSeen',
6890 'bool',
6891 [param('uint32_t', 'nonce')],
6892 is_const=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006893 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::OffsetLifetime(ns3::Time const & offsetTime) [member function]
6894 cls.add_method('OffsetLifetime',
6895 'void',
6896 [param('ns3::Time const &', 'offsetTime')],
6897 is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006898 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::RemoveAllReferencesToFace(ns3::Ptr<ns3::ndn::Face> face) [member function]
6899 cls.add_method('RemoveAllReferencesToFace',
6900 'void',
6901 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
6902 is_virtual=True)
6903 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::RemoveIncoming(ns3::Ptr<ns3::ndn::Face> face) [member function]
6904 cls.add_method('RemoveIncoming',
6905 'void',
6906 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
6907 is_virtual=True)
6908 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::SetWaitingInVain(ns3::Ptr<ns3::ndn::Face> face) [member function]
6909 cls.add_method('SetWaitingInVain',
6910 'void',
6911 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
6912 is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006913 ## 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 -07006914 cls.add_method('UpdateLifetime',
6915 'void',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006916 [param('ns3::Time const &', 'lifetime')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006917 is_virtual=True)
6918 return
6919
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08006920def register_Ns3NdnPitEntryIsNotEmpty_methods(root_module, cls):
6921 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::EntryIsNotEmpty::EntryIsNotEmpty() [constructor]
6922 cls.add_constructor([])
6923 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::EntryIsNotEmpty::EntryIsNotEmpty(ns3::ndn::pit::EntryIsNotEmpty const & arg0) [copy constructor]
6924 cls.add_constructor([param('ns3::ndn::pit::EntryIsNotEmpty const &', 'arg0')])
6925 ## ndn-pit-entry.h (module 'ndnSIM'): bool ns3::ndn::pit::EntryIsNotEmpty::operator()(ns3::Ptr<ns3::ndn::pit::Entry> entry) [member operator]
6926 cls.add_method('operator()',
6927 'bool',
6928 [param('ns3::Ptr< ns3::ndn::pit::Entry >', 'entry')],
6929 custom_name='__call__')
6930 return
6931
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006932def register_Ns3NdnPitIncomingFace_methods(root_module, cls):
6933 cls.add_binary_comparison_operator('==')
6934 cls.add_binary_comparison_operator('<')
6935 ## ndn-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::ndn::pit::IncomingFace::IncomingFace(ns3::ndn::pit::IncomingFace const & arg0) [copy constructor]
6936 cls.add_constructor([param('ns3::ndn::pit::IncomingFace const &', 'arg0')])
6937 ## ndn-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::ndn::pit::IncomingFace::IncomingFace(ns3::Ptr<ns3::ndn::Face> face) [constructor]
6938 cls.add_constructor([param('ns3::Ptr< ns3::ndn::Face >', 'face')])
6939 ## ndn-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::ndn::pit::IncomingFace::IncomingFace() [constructor]
6940 cls.add_constructor([])
6941 ## ndn-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::ndn::pit::IncomingFace::m_arrivalTime [variable]
6942 cls.add_instance_attribute('m_arrivalTime', 'ns3::Time', is_const=False)
6943 ## ndn-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::ndn::pit::IncomingFace::m_face [variable]
6944 cls.add_instance_attribute('m_face', 'ns3::Ptr< ns3::ndn::Face >', is_const=False)
6945 return
6946
6947def register_Ns3NdnPitOutgoingFace_methods(root_module, cls):
6948 cls.add_binary_comparison_operator('==')
6949 cls.add_binary_comparison_operator('<')
6950 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::OutgoingFace(ns3::ndn::pit::OutgoingFace const & arg0) [copy constructor]
6951 cls.add_constructor([param('ns3::ndn::pit::OutgoingFace const &', 'arg0')])
6952 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::OutgoingFace(ns3::Ptr<ns3::ndn::Face> face) [constructor]
6953 cls.add_constructor([param('ns3::Ptr< ns3::ndn::Face >', 'face')])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07006954 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::OutgoingFace() [constructor]
6955 cls.add_constructor([])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006956 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): void ns3::ndn::pit::OutgoingFace::UpdateOnRetransmit() [member function]
6957 cls.add_method('UpdateOnRetransmit',
6958 'void',
6959 [])
6960 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::m_face [variable]
6961 cls.add_instance_attribute('m_face', 'ns3::Ptr< ns3::ndn::Face >', is_const=False)
6962 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::m_retxCount [variable]
6963 cls.add_instance_attribute('m_retxCount', 'uint32_t', is_const=False)
6964 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::m_sendTime [variable]
6965 cls.add_instance_attribute('m_sendTime', 'ns3::Time', is_const=False)
6966 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::m_waitingInVain [variable]
6967 cls.add_instance_attribute('m_waitingInVain', 'bool', is_const=False)
6968 return
6969
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006970def register_Ns3NdnPitI_face_methods(root_module, cls):
6971 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::i_face::i_face() [constructor]
6972 cls.add_constructor([])
6973 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::i_face::i_face(ns3::ndn::pit::i_face const & arg0) [copy constructor]
6974 cls.add_constructor([param('ns3::ndn::pit::i_face const &', 'arg0')])
6975 return
6976
6977def register_Ns3NdnPitI_retx_methods(root_module, cls):
6978 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::i_retx::i_retx() [constructor]
6979 cls.add_constructor([])
6980 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::i_retx::i_retx(ns3::ndn::pit::i_retx const & arg0) [copy constructor]
6981 cls.add_constructor([param('ns3::ndn::pit::i_retx const &', 'arg0')])
6982 return
6983
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08006984def register_functions(root_module):
6985 module = root_module
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08006986 register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module)
6987 register_functions_ns3_internal(module.get_submodule('internal'), root_module)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006988 register_functions_ns3_ndn(module.get_submodule('ndn'), root_module)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08006989 return
6990
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08006991def register_functions_ns3_FatalImpl(module, root_module):
6992 return
6993
6994def register_functions_ns3_internal(module, root_module):
6995 return
6996
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006997def register_functions_ns3_ndn(module, root_module):
Alexander Afanasyev76b11572013-07-16 21:49:50 -07006998 ## ndn-wire.h (module 'ndnSIM'): ns3::Ptr<ns3::Packet> ns3::ndn::BufferToPacket(std::string const & buffer) [free function]
6999 module.add_function('BufferToPacket',
7000 'ns3::Ptr< ns3::Packet >',
7001 [param('std::string const &', 'buffer')])
7002 ## name.h (module 'ndnSIM'): extern ns3::Ptr<ns3::AttributeChecker const> ns3::ndn::MakeNameChecker() [free function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08007003 module.add_function('MakeNameChecker',
7004 'ns3::Ptr< ns3::AttributeChecker const >',
7005 [])
Alexander Afanasyev76b11572013-07-16 21:49:50 -07007006 ## ndn-wire.h (module 'ndnSIM'): std::string ns3::ndn::PacketToBuffer(ns3::Ptr<ns3::Packet const> pkt) [free function]
7007 module.add_function('PacketToBuffer',
7008 'std::string',
7009 [param('ns3::Ptr< ns3::Packet const >', 'pkt')])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07007010 register_functions_ns3_ndn_cs(module.get_submodule('cs'), root_module)
7011 register_functions_ns3_ndn_fib(module.get_submodule('fib'), root_module)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07007012 register_functions_ns3_ndn_fw(module.get_submodule('fw'), root_module)
Alexander Afanasyev76b11572013-07-16 21:49:50 -07007013 register_functions_ns3_ndn_name(module.get_submodule('name'), root_module)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07007014 register_functions_ns3_ndn_pit(module.get_submodule('pit'), root_module)
Alexander Afanasyev76b11572013-07-16 21:49:50 -07007015 register_functions_ns3_ndn_time(module.get_submodule('time'), root_module)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07007016 return
7017
7018def register_functions_ns3_ndn_cs(module, root_module):
7019 return
7020
7021def register_functions_ns3_ndn_fib(module, root_module):
7022 return
7023
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07007024def register_functions_ns3_ndn_fw(module, root_module):
7025 return
7026
Alexander Afanasyev76b11572013-07-16 21:49:50 -07007027def register_functions_ns3_ndn_name(module, root_module):
7028 return
7029
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07007030def register_functions_ns3_ndn_pit(module, root_module):
7031 return
7032
Alexander Afanasyev76b11572013-07-16 21:49:50 -07007033def register_functions_ns3_ndn_time(module, root_module):
7034 ## ndn-common.h (module 'ndnSIM'): ns3::Time ns3::ndn::time::NowUnixTimestamp() [free function]
7035 module.add_function('NowUnixTimestamp',
7036 'ns3::Time',
7037 [])
Alexander Afanasyeva6cc9102013-07-15 18:44:24 -07007038 return
7039
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08007040def main():
7041 out = FileCodeSink(sys.stdout)
7042 root_module = module_init()
7043 register_types(root_module)
7044 register_methods(root_module)
7045 register_functions(root_module)
7046 root_module.generate(out)
7047
7048if __name__ == '__main__':
7049 main()
7050