blob: 8d51fd877bd5532a26917801df5cb8f7f967a348 [file] [log] [blame]
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001from 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 Afanasyev381dea02011-11-03 08:33:26 -070018 return root_module
19
20def register_types(module):
21 root_module = module.get_root()
22
Alexander Afanasyev381dea02011-11-03 08:33:26 -070023 ## 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 Afanasyev381dea02011-11-03 08:33:26 -070029 ## 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 Afanasyev381dea02011-11-03 08:33:26 -070049 ## 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 Afanasyev381dea02011-11-03 08:33:26 -070065 ## 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 Afanasyev381dea02011-11-03 08:33:26 -070097 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter> [class]
98 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter'], parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyevad5acce2012-05-31 12:43:08 -070099 ## tag.h (module 'network'): ns3::Tag [class]
100 module.add_class('Tag', import_from_module='ns.network', parent=root_module['ns3::ObjectBase'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700101 ## tag-buffer.h (module 'network'): ns3::TagBuffer [class]
102 module.add_class('TagBuffer', import_from_module='ns.network')
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -0700103 ## traced-value.h (module 'core'): ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status> [class]
104 module.add_class('TracedValue', template_parameters=['ns3::ndn::fib::FaceMetric::Status'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700105 ## random-variable.h (module 'core'): ns3::TriangularVariable [class]
106 module.add_class('TriangularVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700107 ## type-id.h (module 'core'): ns3::TypeId [class]
108 module.add_class('TypeId', import_from_module='ns.core')
109 ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration]
110 module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core')
111 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct]
112 module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId'])
113 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct]
114 module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700115 ## random-variable.h (module 'core'): ns3::UniformVariable [class]
116 module.add_class('UniformVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700117 ## random-variable.h (module 'core'): ns3::WeibullVariable [class]
118 module.add_class('WeibullVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
119 ## random-variable.h (module 'core'): ns3::ZetaVariable [class]
120 module.add_class('ZetaVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
121 ## random-variable.h (module 'core'): ns3::ZipfVariable [class]
122 module.add_class('ZipfVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700123 ## empty.h (module 'core'): ns3::empty [class]
124 module.add_class('empty', import_from_module='ns.core')
125 ## int64x64-double.h (module 'core'): ns3::int64x64_t [class]
126 module.add_class('int64x64_t', import_from_module='ns.core')
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700127 ## chunk.h (module 'network'): ns3::Chunk [class]
Alexander Afanasyev4756b892012-04-18 14:48:43 -0700128 module.add_class('Chunk', import_from_module='ns.network', parent=root_module['ns3::ObjectBase'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700129 ## random-variable.h (module 'core'): ns3::ConstantVariable [class]
130 module.add_class('ConstantVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
131 ## random-variable.h (module 'core'): ns3::DeterministicVariable [class]
132 module.add_class('DeterministicVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
133 ## random-variable.h (module 'core'): ns3::EmpiricalVariable [class]
134 module.add_class('EmpiricalVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
135 ## random-variable.h (module 'core'): ns3::ErlangVariable [class]
136 module.add_class('ErlangVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
137 ## random-variable.h (module 'core'): ns3::ExponentialVariable [class]
138 module.add_class('ExponentialVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
139 ## random-variable.h (module 'core'): ns3::GammaVariable [class]
140 module.add_class('GammaVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700141 ## header.h (module 'network'): ns3::Header [class]
142 module.add_class('Header', import_from_module='ns.network', parent=root_module['ns3::Chunk'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700143 ## random-variable.h (module 'core'): ns3::IntEmpiricalVariable [class]
144 module.add_class('IntEmpiricalVariable', import_from_module='ns.core', parent=root_module['ns3::EmpiricalVariable'])
145 ## random-variable.h (module 'core'): ns3::LogNormalVariable [class]
146 module.add_class('LogNormalVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
147 ## random-variable.h (module 'core'): ns3::NormalVariable [class]
148 module.add_class('NormalVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700149 ## object.h (module 'core'): ns3::Object [class]
150 module.add_class('Object', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >'])
151 ## object.h (module 'core'): ns3::Object::AggregateIterator [class]
152 module.add_class('AggregateIterator', import_from_module='ns.core', outer_class=root_module['ns3::Object'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700153 ## random-variable.h (module 'core'): ns3::ParetoVariable [class]
154 module.add_class('ParetoVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700155 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> > [class]
156 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::AttributeAccessor', 'ns3::empty', 'ns3::DefaultDeleter<ns3::AttributeAccessor>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
157 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> > [class]
158 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::AttributeChecker', 'ns3::empty', 'ns3::DefaultDeleter<ns3::AttributeChecker>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
159 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> > [class]
160 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::AttributeValue', 'ns3::empty', 'ns3::DefaultDeleter<ns3::AttributeValue>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
161 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> > [class]
162 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::CallbackImplBase', 'ns3::empty', 'ns3::DefaultDeleter<ns3::CallbackImplBase>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700163 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> > [class]
164 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::EventImpl', 'ns3::empty', 'ns3::DefaultDeleter<ns3::EventImpl>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
165 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> > [class]
166 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::NixVector', 'ns3::empty', 'ns3::DefaultDeleter<ns3::NixVector>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700167 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> > [class]
168 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Packet', 'ns3::empty', 'ns3::DefaultDeleter<ns3::Packet>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700169 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter<ns3::TopologyReader> > [class]
170 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::TopologyReader', 'ns3::empty', 'ns3::DefaultDeleter<ns3::TopologyReader>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700171 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> > [class]
172 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::TraceSourceAccessor', 'ns3::empty', 'ns3::DefaultDeleter<ns3::TraceSourceAccessor>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyev858d5312013-07-10 18:50:18 -0700173 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::ContentObject, ns3::empty, ns3::DefaultDeleter<ns3::ndn::ContentObject> > [class]
174 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 -0700175 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::FaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::ndn::FaceContainer> > [class]
176 module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::ndn::FaceContainer', 'ns3::empty', 'ns3::DefaultDeleter<ns3::ndn::FaceContainer>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyev858d5312013-07-10 18:50:18 -0700177 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::Interest, ns3::empty, ns3::DefaultDeleter<ns3::ndn::Interest> > [class]
178 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::ndn::Interest', 'ns3::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 -0800179 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::Name, ns3::empty, ns3::DefaultDeleter<ns3::ndn::Name> > [class]
180 module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::ndn::Name', 'ns3::empty', 'ns3::DefaultDeleter<ns3::ndn::Name>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700181 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::cs::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::cs::Entry> > [class]
182 module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::ndn::cs::Entry', 'ns3::empty', 'ns3::DefaultDeleter<ns3::ndn::cs::Entry>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700183 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::pit::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::pit::Entry> > [class]
184 module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::ndn::pit::Entry', 'ns3::empty', 'ns3::DefaultDeleter<ns3::ndn::pit::Entry>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700185 ## nstime.h (module 'core'): ns3::Time [class]
186 module.add_class('Time', import_from_module='ns.core')
187 ## nstime.h (module 'core'): ns3::Time::Unit [enumeration]
188 module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core')
189 ## nstime.h (module 'core'): ns3::Time [class]
190 root_module['ns3::Time'].implicitly_converts_to(root_module['ns3::int64x64_t'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700191 ## topology-reader.h (module 'topology-read'): ns3::TopologyReader [class]
192 module.add_class('TopologyReader', import_from_module='ns.topology_read', parent=root_module['ns3::SimpleRefCount< ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter<ns3::TopologyReader> >'])
193 ## topology-reader.h (module 'topology-read'): ns3::TopologyReader::Link [class]
194 module.add_class('Link', import_from_module='ns.topology_read', outer_class=root_module['ns3::TopologyReader'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700195 ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor [class]
196 module.add_class('TraceSourceAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
197 ## trailer.h (module 'network'): ns3::Trailer [class]
198 module.add_class('Trailer', import_from_module='ns.network', parent=root_module['ns3::Chunk'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700199 ## annotated-topology-reader.h (module 'ndnSIM'): ns3::AnnotatedTopologyReader [class]
200 module.add_class('AnnotatedTopologyReader', parent=root_module['ns3::TopologyReader'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700201 ## application.h (module 'network'): ns3::Application [class]
202 module.add_class('Application', import_from_module='ns.network', parent=root_module['ns3::Object'])
203 ## attribute.h (module 'core'): ns3::AttributeAccessor [class]
204 module.add_class('AttributeAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >'])
205 ## attribute.h (module 'core'): ns3::AttributeChecker [class]
206 module.add_class('AttributeChecker', allow_subclassing=False, automatic_type_narrowing=True, import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >'])
207 ## attribute.h (module 'core'): ns3::AttributeValue [class]
208 module.add_class('AttributeValue', allow_subclassing=False, automatic_type_narrowing=True, import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700209 ## boolean.h (module 'core'): ns3::BooleanChecker [class]
210 module.add_class('BooleanChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
211 ## boolean.h (module 'core'): ns3::BooleanValue [class]
212 module.add_class('BooleanValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700213 ## callback.h (module 'core'): ns3::CallbackChecker [class]
214 module.add_class('CallbackChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
215 ## callback.h (module 'core'): ns3::CallbackImplBase [class]
216 module.add_class('CallbackImplBase', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >'])
217 ## callback.h (module 'core'): ns3::CallbackValue [class]
218 module.add_class('CallbackValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700219 ## double.h (module 'core'): ns3::DoubleValue [class]
220 module.add_class('DoubleValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700221 ## attribute.h (module 'core'): ns3::EmptyAttributeValue [class]
222 module.add_class('EmptyAttributeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700223 ## enum.h (module 'core'): ns3::EnumChecker [class]
224 module.add_class('EnumChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
225 ## enum.h (module 'core'): ns3::EnumValue [class]
226 module.add_class('EnumValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700227 ## event-impl.h (module 'core'): ns3::EventImpl [class]
228 module.add_class('EventImpl', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >'])
229 ## integer.h (module 'core'): ns3::IntegerValue [class]
230 module.add_class('IntegerValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
231 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker [class]
232 module.add_class('Ipv4AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
233 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue [class]
234 module.add_class('Ipv4AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
235 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker [class]
236 module.add_class('Ipv4MaskChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
237 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue [class]
238 module.add_class('Ipv4MaskValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
239 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker [class]
240 module.add_class('Ipv6AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
241 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue [class]
242 module.add_class('Ipv6AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
243 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker [class]
244 module.add_class('Ipv6PrefixChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
245 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue [class]
246 module.add_class('Ipv6PrefixValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700247 ## net-device.h (module 'network'): ns3::NetDevice [class]
248 module.add_class('NetDevice', import_from_module='ns.network', parent=root_module['ns3::Object'])
249 ## net-device.h (module 'network'): ns3::NetDevice::PacketType [enumeration]
250 module.add_enum('PacketType', ['PACKET_HOST', 'NS3_PACKET_HOST', 'PACKET_BROADCAST', 'NS3_PACKET_BROADCAST', 'PACKET_MULTICAST', 'NS3_PACKET_MULTICAST', 'PACKET_OTHERHOST', 'NS3_PACKET_OTHERHOST'], outer_class=root_module['ns3::NetDevice'], import_from_module='ns.network')
251 ## nix-vector.h (module 'network'): ns3::NixVector [class]
252 module.add_class('NixVector', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >'])
253 ## node.h (module 'network'): ns3::Node [class]
254 module.add_class('Node', import_from_module='ns.network', parent=root_module['ns3::Object'])
255 ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker [class]
256 module.add_class('ObjectFactoryChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
257 ## object-factory.h (module 'core'): ns3::ObjectFactoryValue [class]
258 module.add_class('ObjectFactoryValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700259 ## packet.h (module 'network'): ns3::Packet [class]
260 module.add_class('Packet', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700261 ## random-variable.h (module 'core'): ns3::RandomVariableChecker [class]
262 module.add_class('RandomVariableChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
263 ## random-variable.h (module 'core'): ns3::RandomVariableValue [class]
264 module.add_class('RandomVariableValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
265 ## rocketfuel-weights-reader.h (module 'ndnSIM'): ns3::RocketfuelWeightsReader [class]
266 module.add_class('RocketfuelWeightsReader', parent=root_module['ns3::AnnotatedTopologyReader'])
267 ## rocketfuel-weights-reader.h (module 'ndnSIM'): ns3::RocketfuelWeightsReader [enumeration]
268 module.add_enum('', ['LINKS', 'WEIGHTS', 'LATENCIES', 'POSITIONS'], outer_class=root_module['ns3::RocketfuelWeightsReader'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700269 ## nstime.h (module 'core'): ns3::TimeChecker [class]
270 module.add_class('TimeChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
271 ## nstime.h (module 'core'): ns3::TimeValue [class]
272 module.add_class('TimeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
273 ## type-id.h (module 'core'): ns3::TypeIdChecker [class]
274 module.add_class('TypeIdChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
275 ## type-id.h (module 'core'): ns3::TypeIdValue [class]
276 module.add_class('TypeIdValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700277 ## uinteger.h (module 'core'): ns3::UintegerValue [class]
278 module.add_class('UintegerValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700279 ## address.h (module 'network'): ns3::AddressChecker [class]
280 module.add_class('AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
281 ## address.h (module 'network'): ns3::AddressValue [class]
282 module.add_class('AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700283 module.add_container('std::map< std::string, std::string >', ('std::string', 'std::string'), container_type='map')
284 module.add_container('std::list< ns3::TopologyReader::Link >', 'ns3::TopologyReader::Link', container_type='list')
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -0700285 typehandlers.add_type_alias('ns3::SequenceNumber< short unsigned int, short int >', 'ns3::SequenceNumber16')
286 typehandlers.add_type_alias('ns3::SequenceNumber< short unsigned int, short int >*', 'ns3::SequenceNumber16*')
287 typehandlers.add_type_alias('ns3::SequenceNumber< short unsigned int, short int >&', 'ns3::SequenceNumber16&')
288 typehandlers.add_type_alias('ns3::SequenceNumber< unsigned int, int >', 'ns3::SequenceNumber32')
289 typehandlers.add_type_alias('ns3::SequenceNumber< unsigned int, int >*', 'ns3::SequenceNumber32*')
290 typehandlers.add_type_alias('ns3::SequenceNumber< unsigned int, int >&', 'ns3::SequenceNumber32&')
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700291 typehandlers.add_type_alias('ns3::RngSeedManager', 'ns3::SeedManager')
292 typehandlers.add_type_alias('ns3::RngSeedManager*', 'ns3::SeedManager*')
293 typehandlers.add_type_alias('ns3::RngSeedManager&', 'ns3::SeedManager&')
294 module.add_typedef(root_module['ns3::RngSeedManager'], 'SeedManager')
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700295
296 ## Register a nested module for the namespace FatalImpl
297
298 nested_module = module.add_cpp_namespace('FatalImpl')
299 register_types_ns3_FatalImpl(nested_module)
300
301
302 ## Register a nested module for the namespace internal
303
304 nested_module = module.add_cpp_namespace('internal')
305 register_types_ns3_internal(nested_module)
306
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700307
308 ## Register a nested module for the namespace ndn
309
310 nested_module = module.add_cpp_namespace('ndn')
311 register_types_ns3_ndn(nested_module)
312
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700313
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700314def register_types_ns3_FatalImpl(module):
315 root_module = module.get_root()
316
317
318def register_types_ns3_internal(module):
319 root_module = module.get_root()
320
321
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700322def register_types_ns3_ndn(module):
323 root_module = module.get_root()
324
325 ## ndn-app.h (module 'ndnSIM'): ns3::ndn::App [class]
326 module.add_class('App', parent=root_module['ns3::Application'])
327 ## ndn-app-helper.h (module 'ndnSIM'): ns3::ndn::AppHelper [class]
328 module.add_class('AppHelper')
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -0700329 ## ndn-content-object.h (module 'ndnSIM'): ns3::ndn::ContentObject [class]
Alexander Afanasyev858d5312013-07-10 18:50:18 -0700330 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 -0700331 ## ndn-content-object.h (module 'ndnSIM'): ns3::ndn::ContentObjectException [class]
332 module.add_class('ContentObjectException')
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700333 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::ContentStore [class]
334 module.add_class('ContentStore', parent=root_module['ns3::Object'])
335 ## ndn-face.h (module 'ndnSIM'): ns3::ndn::Face [class]
336 module.add_class('Face', parent=root_module['ns3::Object'])
Alexander Afanasyev858d5312013-07-10 18:50:18 -0700337 ## ndn-face.h (module 'ndnSIM'): ns3::ndn::Face::Flags [enumeration]
338 module.add_enum('Flags', ['APPLICATION'], outer_class=root_module['ns3::ndn::Face'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700339 ## ndn-face-container.h (module 'ndnSIM'): ns3::ndn::FaceContainer [class]
340 module.add_class('FaceContainer', parent=root_module['ns3::SimpleRefCount< ns3::ndn::FaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::ndn::FaceContainer> >'])
341 ## ndn-fib.h (module 'ndnSIM'): ns3::ndn::Fib [class]
342 module.add_class('Fib', parent=root_module['ns3::Object'])
343 ## ndn-forwarding-strategy.h (module 'ndnSIM'): ns3::ndn::ForwardingStrategy [class]
344 module.add_class('ForwardingStrategy', parent=root_module['ns3::Object'])
345 ## ndn-global-routing-helper.h (module 'ndnSIM'): ns3::ndn::GlobalRoutingHelper [class]
346 module.add_class('GlobalRoutingHelper')
347 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::HeaderHelper [class]
348 module.add_class('HeaderHelper')
349 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::HeaderHelper::Type [enumeration]
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -0800350 module.add_enum('Type', ['INTEREST_CCNB', 'CONTENT_OBJECT_CCNB', 'INTEREST_NDNSIM', 'CONTENT_OBJECT_NDNSIM'], outer_class=root_module['ns3::ndn::HeaderHelper'])
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -0700351 ## ndn-interest.h (module 'ndnSIM'): ns3::ndn::Interest [class]
Alexander Afanasyev858d5312013-07-10 18:50:18 -0700352 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 -0700353 ## ndn-interest.h (module 'ndnSIM'): ns3::ndn::Interest [enumeration]
354 module.add_enum('', ['NORMAL_INTEREST', 'NACK_LOOP', 'NACK_CONGESTION', 'NACK_GIVEUP_PIT'], outer_class=root_module['ns3::ndn::Interest'])
355 ## ndn-interest.h (module 'ndnSIM'): ns3::ndn::InterestException [class]
356 module.add_class('InterestException')
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700357 ## ndn-l3-protocol.h (module 'ndnSIM'): ns3::ndn::L3Protocol [class]
358 module.add_class('L3Protocol', parent=root_module['ns3::Object'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700359 ## ndn-limits.h (module 'ndnSIM'): ns3::ndn::Limits [class]
360 module.add_class('Limits', parent=root_module['ns3::Object'])
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -0800361 ## ndn-name.h (module 'ndnSIM'): ns3::ndn::Name [class]
Alexander Afanasyev32c07562013-02-01 12:58:43 -0800362 module.add_class('Name', parent=root_module['ns3::SimpleRefCount< ns3::ndn::Name, ns3::empty, ns3::DefaultDeleter<ns3::ndn::Name> >'])
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -0800363 ## ndn-name.h (module 'ndnSIM'): ns3::ndn::NameChecker [class]
Alexander Afanasyev32c07562013-02-01 12:58:43 -0800364 module.add_class('NameChecker', parent=root_module['ns3::AttributeChecker'])
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -0800365 ## ndn-name.h (module 'ndnSIM'): ns3::ndn::NameValue [class]
Alexander Afanasyev32c07562013-02-01 12:58:43 -0800366 module.add_class('NameValue', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700367 ## ndn-net-device-face.h (module 'ndnSIM'): ns3::ndn::NetDeviceFace [class]
368 module.add_class('NetDeviceFace', parent=root_module['ns3::ndn::Face'])
369 ## ndn-pit.h (module 'ndnSIM'): ns3::ndn::Pit [class]
370 module.add_class('Pit', parent=root_module['ns3::Object'])
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -0700371 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::ndn::RttEstimator [class]
372 module.add_class('RttEstimator', parent=root_module['ns3::Object'])
373 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::ndn::RttHistory [class]
374 module.add_class('RttHistory')
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700375 ## ndn-stack-helper.h (module 'ndnSIM'): ns3::ndn::StackHelper [class]
376 module.add_class('StackHelper')
377 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::UnknownHeaderException [class]
378 module.add_class('UnknownHeaderException')
379 ## ndn-app-face.h (module 'ndnSIM'): ns3::ndn::AppFace [class]
380 module.add_class('AppFace', parent=root_module['ns3::ndn::Face'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700381 module.add_container('std::vector< ns3::Ptr< ns3::ndn::Face > >', 'ns3::Ptr< ns3::ndn::Face >', container_type='vector')
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700382 module.add_container('std::list< boost::reference_wrapper< std::string const > >', 'boost::reference_wrapper< std::basic_string< char, std::char_traits< char >, std::allocator< char > > const >', container_type='list')
383 module.add_container('std::list< std::string >', 'std::string', container_type='list')
Alexander Afanasyev298c8442013-04-14 15:18:45 -0700384 typehandlers.add_type_alias('ns3::ndn::ContentObject', 'ns3::ndn::ContentObjectHeader')
385 typehandlers.add_type_alias('ns3::ndn::ContentObject*', 'ns3::ndn::ContentObjectHeader*')
386 typehandlers.add_type_alias('ns3::ndn::ContentObject&', 'ns3::ndn::ContentObjectHeader&')
387 module.add_typedef(root_module['ns3::ndn::ContentObject'], 'ContentObjectHeader')
388 typehandlers.add_type_alias('ns3::ndn::Interest', 'ns3::ndn::InterestHeader')
389 typehandlers.add_type_alias('ns3::ndn::Interest*', 'ns3::ndn::InterestHeader*')
390 typehandlers.add_type_alias('ns3::ndn::Interest&', 'ns3::ndn::InterestHeader&')
391 module.add_typedef(root_module['ns3::ndn::Interest'], 'InterestHeader')
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -0700392 typehandlers.add_type_alias('std::deque< ns3::ndn::RttHistory, std::allocator< ns3::ndn::RttHistory > >', 'ns3::ndn::RttHistory_t')
393 typehandlers.add_type_alias('std::deque< ns3::ndn::RttHistory, std::allocator< ns3::ndn::RttHistory > >*', 'ns3::ndn::RttHistory_t*')
394 typehandlers.add_type_alias('std::deque< ns3::ndn::RttHistory, std::allocator< ns3::ndn::RttHistory > >&', 'ns3::ndn::RttHistory_t&')
Alexander Afanasyeve5a8b5a2013-03-15 15:15:26 -0700395 typehandlers.add_type_alias('ns3::ndn::Name', 'ns3::ndn::NameComponents')
396 typehandlers.add_type_alias('ns3::ndn::Name*', 'ns3::ndn::NameComponents*')
397 typehandlers.add_type_alias('ns3::ndn::Name&', 'ns3::ndn::NameComponents&')
398 module.add_typedef(root_module['ns3::ndn::Name'], 'NameComponents')
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700399
400 ## Register a nested module for the namespace cs
401
402 nested_module = module.add_cpp_namespace('cs')
403 register_types_ns3_ndn_cs(nested_module)
404
405
406 ## Register a nested module for the namespace fib
407
408 nested_module = module.add_cpp_namespace('fib')
409 register_types_ns3_ndn_fib(nested_module)
410
411
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700412 ## Register a nested module for the namespace fw
413
414 nested_module = module.add_cpp_namespace('fw')
415 register_types_ns3_ndn_fw(nested_module)
416
417
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700418 ## Register a nested module for the namespace pit
419
420 nested_module = module.add_cpp_namespace('pit')
421 register_types_ns3_ndn_pit(nested_module)
422
423
424def register_types_ns3_ndn_cs(module):
425 root_module = module.get_root()
426
427 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::cs::Entry [class]
428 module.add_class('Entry', parent=root_module['ns3::SimpleRefCount< ns3::ndn::cs::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::cs::Entry> >'])
429
430def register_types_ns3_ndn_fib(module):
431 root_module = module.get_root()
432
433 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry [class]
Alexander Afanasyevf5c07742012-10-31 13:13:05 -0700434 module.add_class('Entry', parent=root_module['ns3::Object'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700435 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::NoFaces [class]
436 module.add_class('NoFaces', outer_class=root_module['ns3::ndn::fib::Entry'])
437 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric [class]
438 module.add_class('FaceMetric')
439 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric::Status [enumeration]
440 module.add_enum('Status', ['NDN_FIB_GREEN', 'NDN_FIB_YELLOW', 'NDN_FIB_RED'], outer_class=root_module['ns3::ndn::fib::FaceMetric'])
441 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetricContainer [struct]
442 module.add_class('FaceMetricContainer')
443 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_face [class]
444 module.add_class('i_face')
445 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_metric [class]
446 module.add_class('i_metric')
447 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_nth [class]
448 module.add_class('i_nth')
449
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700450def register_types_ns3_ndn_fw(module):
451 root_module = module.get_root()
452
453 ## ndn-fw-tag.h (module 'ndnSIM'): ns3::ndn::fw::Tag [class]
454 module.add_class('Tag')
455
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700456def register_types_ns3_ndn_pit(module):
457 root_module = module.get_root()
458
459 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::Entry [class]
460 module.add_class('Entry', parent=root_module['ns3::SimpleRefCount< ns3::ndn::pit::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::pit::Entry> >'])
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -0800461 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::EntryIsNotEmpty [struct]
462 module.add_class('EntryIsNotEmpty')
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700463 ## ndn-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::ndn::pit::IncomingFace [struct]
464 module.add_class('IncomingFace')
465 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace [struct]
466 module.add_class('OutgoingFace')
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700467 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::i_face [class]
468 module.add_class('i_face')
469 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::i_retx [class]
470 module.add_class('i_retx')
471 module.add_container('std::set< ns3::ndn::pit::IncomingFace >', 'ns3::ndn::pit::IncomingFace', container_type='set')
Alexander Afanasyevc202fd92012-09-03 21:46:00 -0700472 module.add_container('std::set< ns3::ndn::pit::OutgoingFace >', 'ns3::ndn::pit::OutgoingFace', container_type='set')
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700473 module.add_container('std::set< unsigned int >', 'unsigned int', container_type='set')
474
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700475def register_methods(root_module):
476 register_Ns3Address_methods(root_module, root_module['ns3::Address'])
477 register_Ns3ApplicationContainer_methods(root_module, root_module['ns3::ApplicationContainer'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700478 register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList'])
479 register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item'])
480 register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer'])
481 register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator'])
482 register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator'])
483 register_Ns3ByteTagIteratorItem_methods(root_module, root_module['ns3::ByteTagIterator::Item'])
484 register_Ns3ByteTagList_methods(root_module, root_module['ns3::ByteTagList'])
485 register_Ns3ByteTagListIterator_methods(root_module, root_module['ns3::ByteTagList::Iterator'])
486 register_Ns3ByteTagListIteratorItem_methods(root_module, root_module['ns3::ByteTagList::Iterator::Item'])
487 register_Ns3CallbackBase_methods(root_module, root_module['ns3::CallbackBase'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700488 register_Ns3EventId_methods(root_module, root_module['ns3::EventId'])
489 register_Ns3Ipv4Address_methods(root_module, root_module['ns3::Ipv4Address'])
490 register_Ns3Ipv4Mask_methods(root_module, root_module['ns3::Ipv4Mask'])
491 register_Ns3Ipv6Address_methods(root_module, root_module['ns3::Ipv6Address'])
492 register_Ns3Ipv6Prefix_methods(root_module, root_module['ns3::Ipv6Prefix'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700493 register_Ns3NetDeviceContainer_methods(root_module, root_module['ns3::NetDeviceContainer'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700494 register_Ns3NodeContainer_methods(root_module, root_module['ns3::NodeContainer'])
495 register_Ns3ObjectBase_methods(root_module, root_module['ns3::ObjectBase'])
496 register_Ns3ObjectDeleter_methods(root_module, root_module['ns3::ObjectDeleter'])
497 register_Ns3ObjectFactory_methods(root_module, root_module['ns3::ObjectFactory'])
498 register_Ns3PacketMetadata_methods(root_module, root_module['ns3::PacketMetadata'])
499 register_Ns3PacketMetadataItem_methods(root_module, root_module['ns3::PacketMetadata::Item'])
500 register_Ns3PacketMetadataItemIterator_methods(root_module, root_module['ns3::PacketMetadata::ItemIterator'])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -0700501 register_Ns3PacketTagIterator_methods(root_module, root_module['ns3::PacketTagIterator'])
502 register_Ns3PacketTagIteratorItem_methods(root_module, root_module['ns3::PacketTagIterator::Item'])
503 register_Ns3PacketTagList_methods(root_module, root_module['ns3::PacketTagList'])
504 register_Ns3PacketTagListTagData_methods(root_module, root_module['ns3::PacketTagList::TagData'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700505 register_Ns3RandomVariable_methods(root_module, root_module['ns3::RandomVariable'])
506 register_Ns3RngSeedManager_methods(root_module, root_module['ns3::RngSeedManager'])
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -0700507 register_Ns3SequenceNumber32_methods(root_module, root_module['ns3::SequenceNumber32'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700508 register_Ns3SequentialVariable_methods(root_module, root_module['ns3::SequentialVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700509 register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >'])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -0700510 register_Ns3Tag_methods(root_module, root_module['ns3::Tag'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700511 register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer'])
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -0700512 register_Ns3TracedValue__Ns3NdnFibFaceMetricStatus_methods(root_module, root_module['ns3::TracedValue< ns3::ndn::fib::FaceMetric::Status >'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700513 register_Ns3TriangularVariable_methods(root_module, root_module['ns3::TriangularVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700514 register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId'])
515 register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation'])
516 register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700517 register_Ns3UniformVariable_methods(root_module, root_module['ns3::UniformVariable'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700518 register_Ns3WeibullVariable_methods(root_module, root_module['ns3::WeibullVariable'])
519 register_Ns3ZetaVariable_methods(root_module, root_module['ns3::ZetaVariable'])
520 register_Ns3ZipfVariable_methods(root_module, root_module['ns3::ZipfVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700521 register_Ns3Empty_methods(root_module, root_module['ns3::empty'])
522 register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700523 register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700524 register_Ns3ConstantVariable_methods(root_module, root_module['ns3::ConstantVariable'])
525 register_Ns3DeterministicVariable_methods(root_module, root_module['ns3::DeterministicVariable'])
526 register_Ns3EmpiricalVariable_methods(root_module, root_module['ns3::EmpiricalVariable'])
527 register_Ns3ErlangVariable_methods(root_module, root_module['ns3::ErlangVariable'])
528 register_Ns3ExponentialVariable_methods(root_module, root_module['ns3::ExponentialVariable'])
529 register_Ns3GammaVariable_methods(root_module, root_module['ns3::GammaVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700530 register_Ns3Header_methods(root_module, root_module['ns3::Header'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700531 register_Ns3IntEmpiricalVariable_methods(root_module, root_module['ns3::IntEmpiricalVariable'])
532 register_Ns3LogNormalVariable_methods(root_module, root_module['ns3::LogNormalVariable'])
533 register_Ns3NormalVariable_methods(root_module, root_module['ns3::NormalVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700534 register_Ns3Object_methods(root_module, root_module['ns3::Object'])
535 register_Ns3ObjectAggregateIterator_methods(root_module, root_module['ns3::Object::AggregateIterator'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700536 register_Ns3ParetoVariable_methods(root_module, root_module['ns3::ParetoVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700537 register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >'])
538 register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeChecker__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >'])
539 register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >'])
540 register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700541 register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >'])
542 register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700543 register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700544 register_Ns3SimpleRefCount__Ns3TopologyReader_Ns3Empty_Ns3DefaultDeleter__lt__ns3TopologyReader__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter<ns3::TopologyReader> >'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700545 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 -0700546 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 -0700547 register_Ns3SimpleRefCount__Ns3NdnFaceContainer_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnFaceContainer__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::ndn::FaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::ndn::FaceContainer> >'])
Alexander Afanasyev858d5312013-07-10 18:50:18 -0700548 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 -0800549 register_Ns3SimpleRefCount__Ns3NdnName_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnName__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::ndn::Name, ns3::empty, ns3::DefaultDeleter<ns3::ndn::Name> >'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700550 register_Ns3SimpleRefCount__Ns3NdnCsEntry_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnCsEntry__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::ndn::cs::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::cs::Entry> >'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700551 register_Ns3SimpleRefCount__Ns3NdnPitEntry_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnPitEntry__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::ndn::pit::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::pit::Entry> >'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700552 register_Ns3Time_methods(root_module, root_module['ns3::Time'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700553 register_Ns3TopologyReader_methods(root_module, root_module['ns3::TopologyReader'])
554 register_Ns3TopologyReaderLink_methods(root_module, root_module['ns3::TopologyReader::Link'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700555 register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor'])
556 register_Ns3Trailer_methods(root_module, root_module['ns3::Trailer'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700557 register_Ns3AnnotatedTopologyReader_methods(root_module, root_module['ns3::AnnotatedTopologyReader'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700558 register_Ns3Application_methods(root_module, root_module['ns3::Application'])
559 register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor'])
560 register_Ns3AttributeChecker_methods(root_module, root_module['ns3::AttributeChecker'])
561 register_Ns3AttributeValue_methods(root_module, root_module['ns3::AttributeValue'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700562 register_Ns3BooleanChecker_methods(root_module, root_module['ns3::BooleanChecker'])
563 register_Ns3BooleanValue_methods(root_module, root_module['ns3::BooleanValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700564 register_Ns3CallbackChecker_methods(root_module, root_module['ns3::CallbackChecker'])
565 register_Ns3CallbackImplBase_methods(root_module, root_module['ns3::CallbackImplBase'])
566 register_Ns3CallbackValue_methods(root_module, root_module['ns3::CallbackValue'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700567 register_Ns3DoubleValue_methods(root_module, root_module['ns3::DoubleValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700568 register_Ns3EmptyAttributeValue_methods(root_module, root_module['ns3::EmptyAttributeValue'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700569 register_Ns3EnumChecker_methods(root_module, root_module['ns3::EnumChecker'])
570 register_Ns3EnumValue_methods(root_module, root_module['ns3::EnumValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700571 register_Ns3EventImpl_methods(root_module, root_module['ns3::EventImpl'])
572 register_Ns3IntegerValue_methods(root_module, root_module['ns3::IntegerValue'])
573 register_Ns3Ipv4AddressChecker_methods(root_module, root_module['ns3::Ipv4AddressChecker'])
574 register_Ns3Ipv4AddressValue_methods(root_module, root_module['ns3::Ipv4AddressValue'])
575 register_Ns3Ipv4MaskChecker_methods(root_module, root_module['ns3::Ipv4MaskChecker'])
576 register_Ns3Ipv4MaskValue_methods(root_module, root_module['ns3::Ipv4MaskValue'])
577 register_Ns3Ipv6AddressChecker_methods(root_module, root_module['ns3::Ipv6AddressChecker'])
578 register_Ns3Ipv6AddressValue_methods(root_module, root_module['ns3::Ipv6AddressValue'])
579 register_Ns3Ipv6PrefixChecker_methods(root_module, root_module['ns3::Ipv6PrefixChecker'])
580 register_Ns3Ipv6PrefixValue_methods(root_module, root_module['ns3::Ipv6PrefixValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700581 register_Ns3NetDevice_methods(root_module, root_module['ns3::NetDevice'])
582 register_Ns3NixVector_methods(root_module, root_module['ns3::NixVector'])
583 register_Ns3Node_methods(root_module, root_module['ns3::Node'])
584 register_Ns3ObjectFactoryChecker_methods(root_module, root_module['ns3::ObjectFactoryChecker'])
585 register_Ns3ObjectFactoryValue_methods(root_module, root_module['ns3::ObjectFactoryValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700586 register_Ns3Packet_methods(root_module, root_module['ns3::Packet'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700587 register_Ns3RandomVariableChecker_methods(root_module, root_module['ns3::RandomVariableChecker'])
588 register_Ns3RandomVariableValue_methods(root_module, root_module['ns3::RandomVariableValue'])
589 register_Ns3RocketfuelWeightsReader_methods(root_module, root_module['ns3::RocketfuelWeightsReader'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700590 register_Ns3TimeChecker_methods(root_module, root_module['ns3::TimeChecker'])
591 register_Ns3TimeValue_methods(root_module, root_module['ns3::TimeValue'])
592 register_Ns3TypeIdChecker_methods(root_module, root_module['ns3::TypeIdChecker'])
593 register_Ns3TypeIdValue_methods(root_module, root_module['ns3::TypeIdValue'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700594 register_Ns3UintegerValue_methods(root_module, root_module['ns3::UintegerValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700595 register_Ns3AddressChecker_methods(root_module, root_module['ns3::AddressChecker'])
596 register_Ns3AddressValue_methods(root_module, root_module['ns3::AddressValue'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700597 register_Ns3NdnApp_methods(root_module, root_module['ns3::ndn::App'])
598 register_Ns3NdnAppHelper_methods(root_module, root_module['ns3::ndn::AppHelper'])
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -0700599 register_Ns3NdnContentObject_methods(root_module, root_module['ns3::ndn::ContentObject'])
600 register_Ns3NdnContentObjectException_methods(root_module, root_module['ns3::ndn::ContentObjectException'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700601 register_Ns3NdnContentStore_methods(root_module, root_module['ns3::ndn::ContentStore'])
602 register_Ns3NdnFace_methods(root_module, root_module['ns3::ndn::Face'])
603 register_Ns3NdnFaceContainer_methods(root_module, root_module['ns3::ndn::FaceContainer'])
604 register_Ns3NdnFib_methods(root_module, root_module['ns3::ndn::Fib'])
605 register_Ns3NdnForwardingStrategy_methods(root_module, root_module['ns3::ndn::ForwardingStrategy'])
606 register_Ns3NdnGlobalRoutingHelper_methods(root_module, root_module['ns3::ndn::GlobalRoutingHelper'])
607 register_Ns3NdnHeaderHelper_methods(root_module, root_module['ns3::ndn::HeaderHelper'])
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -0700608 register_Ns3NdnInterest_methods(root_module, root_module['ns3::ndn::Interest'])
609 register_Ns3NdnInterestException_methods(root_module, root_module['ns3::ndn::InterestException'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700610 register_Ns3NdnL3Protocol_methods(root_module, root_module['ns3::ndn::L3Protocol'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700611 register_Ns3NdnLimits_methods(root_module, root_module['ns3::ndn::Limits'])
Alexander Afanasyev32c07562013-02-01 12:58:43 -0800612 register_Ns3NdnName_methods(root_module, root_module['ns3::ndn::Name'])
613 register_Ns3NdnNameChecker_methods(root_module, root_module['ns3::ndn::NameChecker'])
Alexander Afanasyev32c07562013-02-01 12:58:43 -0800614 register_Ns3NdnNameValue_methods(root_module, root_module['ns3::ndn::NameValue'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700615 register_Ns3NdnNetDeviceFace_methods(root_module, root_module['ns3::ndn::NetDeviceFace'])
616 register_Ns3NdnPit_methods(root_module, root_module['ns3::ndn::Pit'])
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -0700617 register_Ns3NdnRttEstimator_methods(root_module, root_module['ns3::ndn::RttEstimator'])
618 register_Ns3NdnRttHistory_methods(root_module, root_module['ns3::ndn::RttHistory'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700619 register_Ns3NdnStackHelper_methods(root_module, root_module['ns3::ndn::StackHelper'])
620 register_Ns3NdnUnknownHeaderException_methods(root_module, root_module['ns3::ndn::UnknownHeaderException'])
621 register_Ns3NdnAppFace_methods(root_module, root_module['ns3::ndn::AppFace'])
622 register_Ns3NdnCsEntry_methods(root_module, root_module['ns3::ndn::cs::Entry'])
623 register_Ns3NdnFibEntry_methods(root_module, root_module['ns3::ndn::fib::Entry'])
624 register_Ns3NdnFibEntryNoFaces_methods(root_module, root_module['ns3::ndn::fib::Entry::NoFaces'])
625 register_Ns3NdnFibFaceMetric_methods(root_module, root_module['ns3::ndn::fib::FaceMetric'])
626 register_Ns3NdnFibFaceMetricContainer_methods(root_module, root_module['ns3::ndn::fib::FaceMetricContainer'])
627 register_Ns3NdnFibI_face_methods(root_module, root_module['ns3::ndn::fib::i_face'])
628 register_Ns3NdnFibI_metric_methods(root_module, root_module['ns3::ndn::fib::i_metric'])
629 register_Ns3NdnFibI_nth_methods(root_module, root_module['ns3::ndn::fib::i_nth'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700630 register_Ns3NdnFwTag_methods(root_module, root_module['ns3::ndn::fw::Tag'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700631 register_Ns3NdnPitEntry_methods(root_module, root_module['ns3::ndn::pit::Entry'])
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -0800632 register_Ns3NdnPitEntryIsNotEmpty_methods(root_module, root_module['ns3::ndn::pit::EntryIsNotEmpty'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700633 register_Ns3NdnPitIncomingFace_methods(root_module, root_module['ns3::ndn::pit::IncomingFace'])
634 register_Ns3NdnPitOutgoingFace_methods(root_module, root_module['ns3::ndn::pit::OutgoingFace'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700635 register_Ns3NdnPitI_face_methods(root_module, root_module['ns3::ndn::pit::i_face'])
636 register_Ns3NdnPitI_retx_methods(root_module, root_module['ns3::ndn::pit::i_retx'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700637 return
638
639def register_Ns3Address_methods(root_module, cls):
640 cls.add_binary_comparison_operator('!=')
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700641 cls.add_output_stream_operator()
Alexander Afanasyeva28ec562012-10-25 14:07:32 -0700642 cls.add_binary_comparison_operator('==')
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700643 cls.add_binary_comparison_operator('<')
644 ## address.h (module 'network'): ns3::Address::Address() [constructor]
645 cls.add_constructor([])
646 ## address.h (module 'network'): ns3::Address::Address(uint8_t type, uint8_t const * buffer, uint8_t len) [constructor]
647 cls.add_constructor([param('uint8_t', 'type'), param('uint8_t const *', 'buffer'), param('uint8_t', 'len')])
648 ## address.h (module 'network'): ns3::Address::Address(ns3::Address const & address) [copy constructor]
649 cls.add_constructor([param('ns3::Address const &', 'address')])
650 ## address.h (module 'network'): bool ns3::Address::CheckCompatible(uint8_t type, uint8_t len) const [member function]
651 cls.add_method('CheckCompatible',
652 'bool',
653 [param('uint8_t', 'type'), param('uint8_t', 'len')],
654 is_const=True)
655 ## address.h (module 'network'): uint32_t ns3::Address::CopyAllFrom(uint8_t const * buffer, uint8_t len) [member function]
656 cls.add_method('CopyAllFrom',
657 'uint32_t',
658 [param('uint8_t const *', 'buffer'), param('uint8_t', 'len')])
659 ## address.h (module 'network'): uint32_t ns3::Address::CopyAllTo(uint8_t * buffer, uint8_t len) const [member function]
660 cls.add_method('CopyAllTo',
661 'uint32_t',
662 [param('uint8_t *', 'buffer'), param('uint8_t', 'len')],
663 is_const=True)
664 ## address.h (module 'network'): uint32_t ns3::Address::CopyFrom(uint8_t const * buffer, uint8_t len) [member function]
665 cls.add_method('CopyFrom',
666 'uint32_t',
667 [param('uint8_t const *', 'buffer'), param('uint8_t', 'len')])
668 ## address.h (module 'network'): uint32_t ns3::Address::CopyTo(uint8_t * buffer) const [member function]
669 cls.add_method('CopyTo',
670 'uint32_t',
671 [param('uint8_t *', 'buffer')],
672 is_const=True)
673 ## address.h (module 'network'): void ns3::Address::Deserialize(ns3::TagBuffer buffer) [member function]
674 cls.add_method('Deserialize',
675 'void',
676 [param('ns3::TagBuffer', 'buffer')])
677 ## address.h (module 'network'): uint8_t ns3::Address::GetLength() const [member function]
678 cls.add_method('GetLength',
679 'uint8_t',
680 [],
681 is_const=True)
682 ## address.h (module 'network'): uint32_t ns3::Address::GetSerializedSize() const [member function]
683 cls.add_method('GetSerializedSize',
684 'uint32_t',
685 [],
686 is_const=True)
687 ## address.h (module 'network'): bool ns3::Address::IsInvalid() const [member function]
688 cls.add_method('IsInvalid',
689 'bool',
690 [],
691 is_const=True)
692 ## address.h (module 'network'): bool ns3::Address::IsMatchingType(uint8_t type) const [member function]
693 cls.add_method('IsMatchingType',
694 'bool',
695 [param('uint8_t', 'type')],
696 is_const=True)
697 ## address.h (module 'network'): static uint8_t ns3::Address::Register() [member function]
698 cls.add_method('Register',
699 'uint8_t',
700 [],
701 is_static=True)
702 ## address.h (module 'network'): void ns3::Address::Serialize(ns3::TagBuffer buffer) const [member function]
703 cls.add_method('Serialize',
704 'void',
705 [param('ns3::TagBuffer', 'buffer')],
706 is_const=True)
707 return
708
709def register_Ns3ApplicationContainer_methods(root_module, cls):
710 ## application-container.h (module 'network'): ns3::ApplicationContainer::ApplicationContainer(ns3::ApplicationContainer const & arg0) [copy constructor]
711 cls.add_constructor([param('ns3::ApplicationContainer const &', 'arg0')])
712 ## application-container.h (module 'network'): ns3::ApplicationContainer::ApplicationContainer() [constructor]
713 cls.add_constructor([])
714 ## application-container.h (module 'network'): ns3::ApplicationContainer::ApplicationContainer(ns3::Ptr<ns3::Application> application) [constructor]
715 cls.add_constructor([param('ns3::Ptr< ns3::Application >', 'application')])
716 ## application-container.h (module 'network'): ns3::ApplicationContainer::ApplicationContainer(std::string name) [constructor]
717 cls.add_constructor([param('std::string', 'name')])
718 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Add(ns3::ApplicationContainer other) [member function]
719 cls.add_method('Add',
720 'void',
721 [param('ns3::ApplicationContainer', 'other')])
722 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Add(ns3::Ptr<ns3::Application> application) [member function]
723 cls.add_method('Add',
724 'void',
725 [param('ns3::Ptr< ns3::Application >', 'application')])
726 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Add(std::string name) [member function]
727 cls.add_method('Add',
728 'void',
729 [param('std::string', 'name')])
730 ## 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]
731 cls.add_method('Begin',
732 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Application > const, std::vector< ns3::Ptr< ns3::Application > > >',
733 [],
734 is_const=True)
735 ## 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]
736 cls.add_method('End',
737 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Application > const, std::vector< ns3::Ptr< ns3::Application > > >',
738 [],
739 is_const=True)
740 ## application-container.h (module 'network'): ns3::Ptr<ns3::Application> ns3::ApplicationContainer::Get(uint32_t i) const [member function]
741 cls.add_method('Get',
742 'ns3::Ptr< ns3::Application >',
743 [param('uint32_t', 'i')],
744 is_const=True)
745 ## application-container.h (module 'network'): uint32_t ns3::ApplicationContainer::GetN() const [member function]
746 cls.add_method('GetN',
747 'uint32_t',
748 [],
749 is_const=True)
750 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Start(ns3::Time start) [member function]
751 cls.add_method('Start',
752 'void',
753 [param('ns3::Time', 'start')])
754 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Stop(ns3::Time stop) [member function]
755 cls.add_method('Stop',
756 'void',
757 [param('ns3::Time', 'stop')])
758 return
759
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700760def register_Ns3AttributeConstructionList_methods(root_module, cls):
761 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor]
762 cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')])
763 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor]
764 cls.add_constructor([])
765 ## 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]
766 cls.add_method('Add',
767 'void',
768 [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')])
769 ## attribute-construction-list.h (module 'core'): std::_List_const_iterator<ns3::AttributeConstructionList::Item> ns3::AttributeConstructionList::Begin() const [member function]
770 cls.add_method('Begin',
771 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >',
772 [],
773 is_const=True)
774 ## attribute-construction-list.h (module 'core'): std::_List_const_iterator<ns3::AttributeConstructionList::Item> ns3::AttributeConstructionList::End() const [member function]
775 cls.add_method('End',
776 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >',
777 [],
778 is_const=True)
779 ## attribute-construction-list.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeConstructionList::Find(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
780 cls.add_method('Find',
781 'ns3::Ptr< ns3::AttributeValue >',
782 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
783 is_const=True)
784 return
785
786def register_Ns3AttributeConstructionListItem_methods(root_module, cls):
787 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor]
788 cls.add_constructor([])
789 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor]
790 cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')])
791 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable]
792 cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False)
793 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable]
794 cls.add_instance_attribute('name', 'std::string', is_const=False)
795 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable]
796 cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False)
797 return
798
799def register_Ns3Buffer_methods(root_module, cls):
800 ## buffer.h (module 'network'): ns3::Buffer::Buffer() [constructor]
801 cls.add_constructor([])
802 ## buffer.h (module 'network'): ns3::Buffer::Buffer(uint32_t dataSize) [constructor]
803 cls.add_constructor([param('uint32_t', 'dataSize')])
804 ## buffer.h (module 'network'): ns3::Buffer::Buffer(uint32_t dataSize, bool initialize) [constructor]
805 cls.add_constructor([param('uint32_t', 'dataSize'), param('bool', 'initialize')])
806 ## buffer.h (module 'network'): ns3::Buffer::Buffer(ns3::Buffer const & o) [copy constructor]
807 cls.add_constructor([param('ns3::Buffer const &', 'o')])
808 ## buffer.h (module 'network'): bool ns3::Buffer::AddAtEnd(uint32_t end) [member function]
809 cls.add_method('AddAtEnd',
810 'bool',
811 [param('uint32_t', 'end')])
812 ## buffer.h (module 'network'): void ns3::Buffer::AddAtEnd(ns3::Buffer const & o) [member function]
813 cls.add_method('AddAtEnd',
814 'void',
815 [param('ns3::Buffer const &', 'o')])
816 ## buffer.h (module 'network'): bool ns3::Buffer::AddAtStart(uint32_t start) [member function]
817 cls.add_method('AddAtStart',
818 'bool',
819 [param('uint32_t', 'start')])
820 ## buffer.h (module 'network'): ns3::Buffer::Iterator ns3::Buffer::Begin() const [member function]
821 cls.add_method('Begin',
822 'ns3::Buffer::Iterator',
823 [],
824 is_const=True)
825 ## buffer.h (module 'network'): void ns3::Buffer::CopyData(std::ostream * os, uint32_t size) const [member function]
826 cls.add_method('CopyData',
827 'void',
828 [param('std::ostream *', 'os'), param('uint32_t', 'size')],
829 is_const=True)
830 ## buffer.h (module 'network'): uint32_t ns3::Buffer::CopyData(uint8_t * buffer, uint32_t size) const [member function]
831 cls.add_method('CopyData',
832 'uint32_t',
833 [param('uint8_t *', 'buffer'), param('uint32_t', 'size')],
834 is_const=True)
835 ## buffer.h (module 'network'): ns3::Buffer ns3::Buffer::CreateFragment(uint32_t start, uint32_t length) const [member function]
836 cls.add_method('CreateFragment',
837 'ns3::Buffer',
838 [param('uint32_t', 'start'), param('uint32_t', 'length')],
839 is_const=True)
840 ## buffer.h (module 'network'): ns3::Buffer ns3::Buffer::CreateFullCopy() const [member function]
841 cls.add_method('CreateFullCopy',
842 'ns3::Buffer',
843 [],
844 is_const=True)
845 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Deserialize(uint8_t const * buffer, uint32_t size) [member function]
846 cls.add_method('Deserialize',
847 'uint32_t',
848 [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
849 ## buffer.h (module 'network'): ns3::Buffer::Iterator ns3::Buffer::End() const [member function]
850 cls.add_method('End',
851 'ns3::Buffer::Iterator',
852 [],
853 is_const=True)
854 ## buffer.h (module 'network'): int32_t ns3::Buffer::GetCurrentEndOffset() const [member function]
855 cls.add_method('GetCurrentEndOffset',
856 'int32_t',
857 [],
858 is_const=True)
859 ## buffer.h (module 'network'): int32_t ns3::Buffer::GetCurrentStartOffset() const [member function]
860 cls.add_method('GetCurrentStartOffset',
861 'int32_t',
862 [],
863 is_const=True)
864 ## buffer.h (module 'network'): uint32_t ns3::Buffer::GetSerializedSize() const [member function]
865 cls.add_method('GetSerializedSize',
866 'uint32_t',
867 [],
868 is_const=True)
869 ## buffer.h (module 'network'): uint32_t ns3::Buffer::GetSize() const [member function]
870 cls.add_method('GetSize',
871 'uint32_t',
872 [],
873 is_const=True)
874 ## buffer.h (module 'network'): uint8_t const * ns3::Buffer::PeekData() const [member function]
875 cls.add_method('PeekData',
876 'uint8_t const *',
877 [],
878 is_const=True)
879 ## buffer.h (module 'network'): void ns3::Buffer::RemoveAtEnd(uint32_t end) [member function]
880 cls.add_method('RemoveAtEnd',
881 'void',
882 [param('uint32_t', 'end')])
883 ## buffer.h (module 'network'): void ns3::Buffer::RemoveAtStart(uint32_t start) [member function]
884 cls.add_method('RemoveAtStart',
885 'void',
886 [param('uint32_t', 'start')])
887 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
888 cls.add_method('Serialize',
889 'uint32_t',
890 [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')],
891 is_const=True)
892 return
893
894def register_Ns3BufferIterator_methods(root_module, cls):
895 ## buffer.h (module 'network'): ns3::Buffer::Iterator::Iterator(ns3::Buffer::Iterator const & arg0) [copy constructor]
896 cls.add_constructor([param('ns3::Buffer::Iterator const &', 'arg0')])
897 ## buffer.h (module 'network'): ns3::Buffer::Iterator::Iterator() [constructor]
898 cls.add_constructor([])
899 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::CalculateIpChecksum(uint16_t size) [member function]
900 cls.add_method('CalculateIpChecksum',
901 'uint16_t',
902 [param('uint16_t', 'size')])
903 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::CalculateIpChecksum(uint16_t size, uint32_t initialChecksum) [member function]
904 cls.add_method('CalculateIpChecksum',
905 'uint16_t',
906 [param('uint16_t', 'size'), param('uint32_t', 'initialChecksum')])
907 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::GetDistanceFrom(ns3::Buffer::Iterator const & o) const [member function]
908 cls.add_method('GetDistanceFrom',
909 'uint32_t',
910 [param('ns3::Buffer::Iterator const &', 'o')],
911 is_const=True)
912 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::GetSize() const [member function]
913 cls.add_method('GetSize',
914 'uint32_t',
915 [],
916 is_const=True)
917 ## buffer.h (module 'network'): bool ns3::Buffer::Iterator::IsEnd() const [member function]
918 cls.add_method('IsEnd',
919 'bool',
920 [],
921 is_const=True)
922 ## buffer.h (module 'network'): bool ns3::Buffer::Iterator::IsStart() const [member function]
923 cls.add_method('IsStart',
924 'bool',
925 [],
926 is_const=True)
927 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Next() [member function]
928 cls.add_method('Next',
929 'void',
930 [])
931 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Next(uint32_t delta) [member function]
932 cls.add_method('Next',
933 'void',
934 [param('uint32_t', 'delta')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -0700935 ## buffer.h (module 'network'): uint8_t ns3::Buffer::Iterator::PeekU8() [member function]
936 cls.add_method('PeekU8',
937 'uint8_t',
938 [])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700939 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Prev() [member function]
940 cls.add_method('Prev',
941 'void',
942 [])
943 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Prev(uint32_t delta) [member function]
944 cls.add_method('Prev',
945 'void',
946 [param('uint32_t', 'delta')])
947 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Read(uint8_t * buffer, uint32_t size) [member function]
948 cls.add_method('Read',
949 'void',
950 [param('uint8_t *', 'buffer'), param('uint32_t', 'size')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -0700951 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Read(ns3::Buffer::Iterator start, uint32_t size) [member function]
952 cls.add_method('Read',
953 'void',
954 [param('ns3::Buffer::Iterator', 'start'), param('uint32_t', 'size')])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700955 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadLsbtohU16() [member function]
956 cls.add_method('ReadLsbtohU16',
957 'uint16_t',
958 [])
959 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadLsbtohU32() [member function]
960 cls.add_method('ReadLsbtohU32',
961 'uint32_t',
962 [])
963 ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadLsbtohU64() [member function]
964 cls.add_method('ReadLsbtohU64',
965 'uint64_t',
966 [])
967 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadNtohU16() [member function]
968 cls.add_method('ReadNtohU16',
969 'uint16_t',
970 [])
971 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadNtohU32() [member function]
972 cls.add_method('ReadNtohU32',
973 'uint32_t',
974 [])
975 ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadNtohU64() [member function]
976 cls.add_method('ReadNtohU64',
977 'uint64_t',
978 [])
979 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadU16() [member function]
980 cls.add_method('ReadU16',
981 'uint16_t',
982 [])
983 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadU32() [member function]
984 cls.add_method('ReadU32',
985 'uint32_t',
986 [])
987 ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadU64() [member function]
988 cls.add_method('ReadU64',
989 'uint64_t',
990 [])
991 ## buffer.h (module 'network'): uint8_t ns3::Buffer::Iterator::ReadU8() [member function]
992 cls.add_method('ReadU8',
993 'uint8_t',
994 [])
995 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Write(uint8_t const * buffer, uint32_t size) [member function]
996 cls.add_method('Write',
997 'void',
998 [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
999 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Write(ns3::Buffer::Iterator start, ns3::Buffer::Iterator end) [member function]
1000 cls.add_method('Write',
1001 'void',
1002 [param('ns3::Buffer::Iterator', 'start'), param('ns3::Buffer::Iterator', 'end')])
1003 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU16(uint16_t data) [member function]
1004 cls.add_method('WriteHtolsbU16',
1005 'void',
1006 [param('uint16_t', 'data')])
1007 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU32(uint32_t data) [member function]
1008 cls.add_method('WriteHtolsbU32',
1009 'void',
1010 [param('uint32_t', 'data')])
1011 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU64(uint64_t data) [member function]
1012 cls.add_method('WriteHtolsbU64',
1013 'void',
1014 [param('uint64_t', 'data')])
1015 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU16(uint16_t data) [member function]
1016 cls.add_method('WriteHtonU16',
1017 'void',
1018 [param('uint16_t', 'data')])
1019 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU32(uint32_t data) [member function]
1020 cls.add_method('WriteHtonU32',
1021 'void',
1022 [param('uint32_t', 'data')])
1023 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU64(uint64_t data) [member function]
1024 cls.add_method('WriteHtonU64',
1025 'void',
1026 [param('uint64_t', 'data')])
1027 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU16(uint16_t data) [member function]
1028 cls.add_method('WriteU16',
1029 'void',
1030 [param('uint16_t', 'data')])
1031 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU32(uint32_t data) [member function]
1032 cls.add_method('WriteU32',
1033 'void',
1034 [param('uint32_t', 'data')])
1035 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU64(uint64_t data) [member function]
1036 cls.add_method('WriteU64',
1037 'void',
1038 [param('uint64_t', 'data')])
1039 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU8(uint8_t data) [member function]
1040 cls.add_method('WriteU8',
1041 'void',
1042 [param('uint8_t', 'data')])
1043 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU8(uint8_t data, uint32_t len) [member function]
1044 cls.add_method('WriteU8',
1045 'void',
1046 [param('uint8_t', 'data'), param('uint32_t', 'len')])
1047 return
1048
1049def register_Ns3ByteTagIterator_methods(root_module, cls):
1050 ## packet.h (module 'network'): ns3::ByteTagIterator::ByteTagIterator(ns3::ByteTagIterator const & arg0) [copy constructor]
1051 cls.add_constructor([param('ns3::ByteTagIterator const &', 'arg0')])
1052 ## packet.h (module 'network'): bool ns3::ByteTagIterator::HasNext() const [member function]
1053 cls.add_method('HasNext',
1054 'bool',
1055 [],
1056 is_const=True)
1057 ## packet.h (module 'network'): ns3::ByteTagIterator::Item ns3::ByteTagIterator::Next() [member function]
1058 cls.add_method('Next',
1059 'ns3::ByteTagIterator::Item',
1060 [])
1061 return
1062
1063def register_Ns3ByteTagIteratorItem_methods(root_module, cls):
1064 ## packet.h (module 'network'): ns3::ByteTagIterator::Item::Item(ns3::ByteTagIterator::Item const & arg0) [copy constructor]
1065 cls.add_constructor([param('ns3::ByteTagIterator::Item const &', 'arg0')])
1066 ## packet.h (module 'network'): uint32_t ns3::ByteTagIterator::Item::GetEnd() const [member function]
1067 cls.add_method('GetEnd',
1068 'uint32_t',
1069 [],
1070 is_const=True)
1071 ## packet.h (module 'network'): uint32_t ns3::ByteTagIterator::Item::GetStart() const [member function]
1072 cls.add_method('GetStart',
1073 'uint32_t',
1074 [],
1075 is_const=True)
1076 ## packet.h (module 'network'): void ns3::ByteTagIterator::Item::GetTag(ns3::Tag & tag) const [member function]
1077 cls.add_method('GetTag',
1078 'void',
1079 [param('ns3::Tag &', 'tag')],
1080 is_const=True)
1081 ## packet.h (module 'network'): ns3::TypeId ns3::ByteTagIterator::Item::GetTypeId() const [member function]
1082 cls.add_method('GetTypeId',
1083 'ns3::TypeId',
1084 [],
1085 is_const=True)
1086 return
1087
1088def register_Ns3ByteTagList_methods(root_module, cls):
1089 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::ByteTagList() [constructor]
1090 cls.add_constructor([])
1091 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::ByteTagList(ns3::ByteTagList const & o) [copy constructor]
1092 cls.add_constructor([param('ns3::ByteTagList const &', 'o')])
1093 ## 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]
1094 cls.add_method('Add',
1095 'ns3::TagBuffer',
1096 [param('ns3::TypeId', 'tid'), param('uint32_t', 'bufferSize'), param('int32_t', 'start'), param('int32_t', 'end')])
1097 ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::Add(ns3::ByteTagList const & o) [member function]
1098 cls.add_method('Add',
1099 'void',
1100 [param('ns3::ByteTagList const &', 'o')])
1101 ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::AddAtEnd(int32_t adjustment, int32_t appendOffset) [member function]
1102 cls.add_method('AddAtEnd',
1103 'void',
1104 [param('int32_t', 'adjustment'), param('int32_t', 'appendOffset')])
1105 ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::AddAtStart(int32_t adjustment, int32_t prependOffset) [member function]
1106 cls.add_method('AddAtStart',
1107 'void',
1108 [param('int32_t', 'adjustment'), param('int32_t', 'prependOffset')])
1109 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator ns3::ByteTagList::Begin(int32_t offsetStart, int32_t offsetEnd) const [member function]
1110 cls.add_method('Begin',
1111 'ns3::ByteTagList::Iterator',
1112 [param('int32_t', 'offsetStart'), param('int32_t', 'offsetEnd')],
1113 is_const=True)
1114 ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::RemoveAll() [member function]
1115 cls.add_method('RemoveAll',
1116 'void',
1117 [])
1118 return
1119
1120def register_Ns3ByteTagListIterator_methods(root_module, cls):
1121 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Iterator(ns3::ByteTagList::Iterator const & arg0) [copy constructor]
1122 cls.add_constructor([param('ns3::ByteTagList::Iterator const &', 'arg0')])
1123 ## byte-tag-list.h (module 'network'): uint32_t ns3::ByteTagList::Iterator::GetOffsetStart() const [member function]
1124 cls.add_method('GetOffsetStart',
1125 'uint32_t',
1126 [],
1127 is_const=True)
1128 ## byte-tag-list.h (module 'network'): bool ns3::ByteTagList::Iterator::HasNext() const [member function]
1129 cls.add_method('HasNext',
1130 'bool',
1131 [],
1132 is_const=True)
1133 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item ns3::ByteTagList::Iterator::Next() [member function]
1134 cls.add_method('Next',
1135 'ns3::ByteTagList::Iterator::Item',
1136 [])
1137 return
1138
1139def register_Ns3ByteTagListIteratorItem_methods(root_module, cls):
1140 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::Item(ns3::ByteTagList::Iterator::Item const & arg0) [copy constructor]
1141 cls.add_constructor([param('ns3::ByteTagList::Iterator::Item const &', 'arg0')])
1142 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::Item(ns3::TagBuffer buf) [constructor]
1143 cls.add_constructor([param('ns3::TagBuffer', 'buf')])
1144 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::buf [variable]
1145 cls.add_instance_attribute('buf', 'ns3::TagBuffer', is_const=False)
1146 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::end [variable]
1147 cls.add_instance_attribute('end', 'int32_t', is_const=False)
1148 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::size [variable]
1149 cls.add_instance_attribute('size', 'uint32_t', is_const=False)
1150 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::start [variable]
1151 cls.add_instance_attribute('start', 'int32_t', is_const=False)
1152 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::tid [variable]
1153 cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
1154 return
1155
1156def register_Ns3CallbackBase_methods(root_module, cls):
1157 ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase(ns3::CallbackBase const & arg0) [copy constructor]
1158 cls.add_constructor([param('ns3::CallbackBase const &', 'arg0')])
1159 ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase() [constructor]
1160 cls.add_constructor([])
1161 ## callback.h (module 'core'): ns3::Ptr<ns3::CallbackImplBase> ns3::CallbackBase::GetImpl() const [member function]
1162 cls.add_method('GetImpl',
1163 'ns3::Ptr< ns3::CallbackImplBase >',
1164 [],
1165 is_const=True)
1166 ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase(ns3::Ptr<ns3::CallbackImplBase> impl) [constructor]
1167 cls.add_constructor([param('ns3::Ptr< ns3::CallbackImplBase >', 'impl')],
1168 visibility='protected')
1169 ## callback.h (module 'core'): static std::string ns3::CallbackBase::Demangle(std::string const & mangled) [member function]
1170 cls.add_method('Demangle',
1171 'std::string',
1172 [param('std::string const &', 'mangled')],
1173 is_static=True, visibility='protected')
1174 return
1175
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001176def register_Ns3EventId_methods(root_module, cls):
1177 cls.add_binary_comparison_operator('!=')
1178 cls.add_binary_comparison_operator('==')
1179 ## event-id.h (module 'core'): ns3::EventId::EventId(ns3::EventId const & arg0) [copy constructor]
1180 cls.add_constructor([param('ns3::EventId const &', 'arg0')])
1181 ## event-id.h (module 'core'): ns3::EventId::EventId() [constructor]
1182 cls.add_constructor([])
1183 ## event-id.h (module 'core'): ns3::EventId::EventId(ns3::Ptr<ns3::EventImpl> const & impl, uint64_t ts, uint32_t context, uint32_t uid) [constructor]
1184 cls.add_constructor([param('ns3::Ptr< ns3::EventImpl > const &', 'impl'), param('uint64_t', 'ts'), param('uint32_t', 'context'), param('uint32_t', 'uid')])
1185 ## event-id.h (module 'core'): void ns3::EventId::Cancel() [member function]
1186 cls.add_method('Cancel',
1187 'void',
1188 [])
1189 ## event-id.h (module 'core'): uint32_t ns3::EventId::GetContext() const [member function]
1190 cls.add_method('GetContext',
1191 'uint32_t',
1192 [],
1193 is_const=True)
1194 ## event-id.h (module 'core'): uint64_t ns3::EventId::GetTs() const [member function]
1195 cls.add_method('GetTs',
1196 'uint64_t',
1197 [],
1198 is_const=True)
1199 ## event-id.h (module 'core'): uint32_t ns3::EventId::GetUid() const [member function]
1200 cls.add_method('GetUid',
1201 'uint32_t',
1202 [],
1203 is_const=True)
1204 ## event-id.h (module 'core'): bool ns3::EventId::IsExpired() const [member function]
1205 cls.add_method('IsExpired',
1206 'bool',
1207 [],
1208 is_const=True)
1209 ## event-id.h (module 'core'): bool ns3::EventId::IsRunning() const [member function]
1210 cls.add_method('IsRunning',
1211 'bool',
1212 [],
1213 is_const=True)
1214 ## event-id.h (module 'core'): ns3::EventImpl * ns3::EventId::PeekEventImpl() const [member function]
1215 cls.add_method('PeekEventImpl',
1216 'ns3::EventImpl *',
1217 [],
1218 is_const=True)
1219 return
1220
1221def register_Ns3Ipv4Address_methods(root_module, cls):
1222 cls.add_binary_comparison_operator('!=')
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07001223 cls.add_output_stream_operator()
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07001224 cls.add_binary_comparison_operator('==')
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001225 cls.add_binary_comparison_operator('<')
1226 ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(ns3::Ipv4Address const & arg0) [copy constructor]
1227 cls.add_constructor([param('ns3::Ipv4Address const &', 'arg0')])
1228 ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address() [constructor]
1229 cls.add_constructor([])
1230 ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(uint32_t address) [constructor]
1231 cls.add_constructor([param('uint32_t', 'address')])
1232 ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(char const * address) [constructor]
1233 cls.add_constructor([param('char const *', 'address')])
1234 ## ipv4-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv4Address::CombineMask(ns3::Ipv4Mask const & mask) const [member function]
1235 cls.add_method('CombineMask',
1236 'ns3::Ipv4Address',
1237 [param('ns3::Ipv4Mask const &', 'mask')],
1238 is_const=True)
1239 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::ConvertFrom(ns3::Address const & address) [member function]
1240 cls.add_method('ConvertFrom',
1241 'ns3::Ipv4Address',
1242 [param('ns3::Address const &', 'address')],
1243 is_static=True)
1244 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::Deserialize(uint8_t const * buf) [member function]
1245 cls.add_method('Deserialize',
1246 'ns3::Ipv4Address',
1247 [param('uint8_t const *', 'buf')],
1248 is_static=True)
Alexander Afanasyev4052f952012-06-08 17:57:59 -07001249 ## ipv4-address.h (module 'network'): uint32_t ns3::Ipv4Address::Get() const [member function]
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001250 cls.add_method('Get',
Alexander Afanasyev4052f952012-06-08 17:57:59 -07001251 'uint32_t',
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001252 [],
1253 is_const=True)
1254 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetAny() [member function]
1255 cls.add_method('GetAny',
1256 'ns3::Ipv4Address',
1257 [],
1258 is_static=True)
1259 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetBroadcast() [member function]
1260 cls.add_method('GetBroadcast',
1261 'ns3::Ipv4Address',
1262 [],
1263 is_static=True)
1264 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetLoopback() [member function]
1265 cls.add_method('GetLoopback',
1266 'ns3::Ipv4Address',
1267 [],
1268 is_static=True)
1269 ## ipv4-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv4Address::GetSubnetDirectedBroadcast(ns3::Ipv4Mask const & mask) const [member function]
1270 cls.add_method('GetSubnetDirectedBroadcast',
1271 'ns3::Ipv4Address',
1272 [param('ns3::Ipv4Mask const &', 'mask')],
1273 is_const=True)
1274 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetZero() [member function]
1275 cls.add_method('GetZero',
1276 'ns3::Ipv4Address',
1277 [],
1278 is_static=True)
1279 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsBroadcast() const [member function]
1280 cls.add_method('IsBroadcast',
1281 'bool',
1282 [],
1283 is_const=True)
1284 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsEqual(ns3::Ipv4Address const & other) const [member function]
1285 cls.add_method('IsEqual',
1286 'bool',
1287 [param('ns3::Ipv4Address const &', 'other')],
1288 is_const=True)
1289 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsLocalMulticast() const [member function]
1290 cls.add_method('IsLocalMulticast',
1291 'bool',
1292 [],
1293 is_const=True)
1294 ## ipv4-address.h (module 'network'): static bool ns3::Ipv4Address::IsMatchingType(ns3::Address const & address) [member function]
1295 cls.add_method('IsMatchingType',
1296 'bool',
1297 [param('ns3::Address const &', 'address')],
1298 is_static=True)
1299 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsMulticast() const [member function]
1300 cls.add_method('IsMulticast',
1301 'bool',
1302 [],
1303 is_const=True)
1304 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsSubnetDirectedBroadcast(ns3::Ipv4Mask const & mask) const [member function]
1305 cls.add_method('IsSubnetDirectedBroadcast',
1306 'bool',
1307 [param('ns3::Ipv4Mask const &', 'mask')],
1308 is_const=True)
1309 ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Print(std::ostream & os) const [member function]
1310 cls.add_method('Print',
1311 'void',
1312 [param('std::ostream &', 'os')],
1313 is_const=True)
1314 ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Serialize(uint8_t * buf) const [member function]
1315 cls.add_method('Serialize',
1316 'void',
1317 [param('uint8_t *', 'buf')],
1318 is_const=True)
1319 ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Set(uint32_t address) [member function]
1320 cls.add_method('Set',
1321 'void',
1322 [param('uint32_t', 'address')])
1323 ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Set(char const * address) [member function]
1324 cls.add_method('Set',
1325 'void',
1326 [param('char const *', 'address')])
1327 return
1328
1329def register_Ns3Ipv4Mask_methods(root_module, cls):
1330 cls.add_binary_comparison_operator('!=')
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07001331 cls.add_output_stream_operator()
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07001332 cls.add_binary_comparison_operator('==')
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001333 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask(ns3::Ipv4Mask const & arg0) [copy constructor]
1334 cls.add_constructor([param('ns3::Ipv4Mask const &', 'arg0')])
1335 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask() [constructor]
1336 cls.add_constructor([])
1337 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask(uint32_t mask) [constructor]
1338 cls.add_constructor([param('uint32_t', 'mask')])
1339 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask(char const * mask) [constructor]
1340 cls.add_constructor([param('char const *', 'mask')])
1341 ## ipv4-address.h (module 'network'): uint32_t ns3::Ipv4Mask::Get() const [member function]
1342 cls.add_method('Get',
1343 'uint32_t',
1344 [],
1345 is_const=True)
1346 ## ipv4-address.h (module 'network'): uint32_t ns3::Ipv4Mask::GetInverse() const [member function]
1347 cls.add_method('GetInverse',
1348 'uint32_t',
1349 [],
1350 is_const=True)
1351 ## ipv4-address.h (module 'network'): static ns3::Ipv4Mask ns3::Ipv4Mask::GetLoopback() [member function]
1352 cls.add_method('GetLoopback',
1353 'ns3::Ipv4Mask',
1354 [],
1355 is_static=True)
1356 ## ipv4-address.h (module 'network'): static ns3::Ipv4Mask ns3::Ipv4Mask::GetOnes() [member function]
1357 cls.add_method('GetOnes',
1358 'ns3::Ipv4Mask',
1359 [],
1360 is_static=True)
1361 ## ipv4-address.h (module 'network'): uint16_t ns3::Ipv4Mask::GetPrefixLength() const [member function]
1362 cls.add_method('GetPrefixLength',
1363 'uint16_t',
1364 [],
1365 is_const=True)
1366 ## ipv4-address.h (module 'network'): static ns3::Ipv4Mask ns3::Ipv4Mask::GetZero() [member function]
1367 cls.add_method('GetZero',
1368 'ns3::Ipv4Mask',
1369 [],
1370 is_static=True)
1371 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Mask::IsEqual(ns3::Ipv4Mask other) const [member function]
1372 cls.add_method('IsEqual',
1373 'bool',
1374 [param('ns3::Ipv4Mask', 'other')],
1375 is_const=True)
1376 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Mask::IsMatch(ns3::Ipv4Address a, ns3::Ipv4Address b) const [member function]
1377 cls.add_method('IsMatch',
1378 'bool',
1379 [param('ns3::Ipv4Address', 'a'), param('ns3::Ipv4Address', 'b')],
1380 is_const=True)
1381 ## ipv4-address.h (module 'network'): void ns3::Ipv4Mask::Print(std::ostream & os) const [member function]
1382 cls.add_method('Print',
1383 'void',
1384 [param('std::ostream &', 'os')],
1385 is_const=True)
1386 ## ipv4-address.h (module 'network'): void ns3::Ipv4Mask::Set(uint32_t mask) [member function]
1387 cls.add_method('Set',
1388 'void',
1389 [param('uint32_t', 'mask')])
1390 return
1391
1392def register_Ns3Ipv6Address_methods(root_module, cls):
1393 cls.add_binary_comparison_operator('!=')
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07001394 cls.add_output_stream_operator()
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07001395 cls.add_binary_comparison_operator('==')
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001396 cls.add_binary_comparison_operator('<')
1397 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address() [constructor]
1398 cls.add_constructor([])
1399 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(char const * address) [constructor]
1400 cls.add_constructor([param('char const *', 'address')])
1401 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(uint8_t * address) [constructor]
1402 cls.add_constructor([param('uint8_t *', 'address')])
1403 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(ns3::Ipv6Address const & addr) [copy constructor]
1404 cls.add_constructor([param('ns3::Ipv6Address const &', 'addr')])
1405 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(ns3::Ipv6Address const * addr) [constructor]
1406 cls.add_constructor([param('ns3::Ipv6Address const *', 'addr')])
1407 ## ipv6-address.h (module 'network'): ns3::Ipv6Address ns3::Ipv6Address::CombinePrefix(ns3::Ipv6Prefix const & prefix) [member function]
1408 cls.add_method('CombinePrefix',
1409 'ns3::Ipv6Address',
1410 [param('ns3::Ipv6Prefix const &', 'prefix')])
1411 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::ConvertFrom(ns3::Address const & address) [member function]
1412 cls.add_method('ConvertFrom',
1413 'ns3::Ipv6Address',
1414 [param('ns3::Address const &', 'address')],
1415 is_static=True)
1416 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::Deserialize(uint8_t const * buf) [member function]
1417 cls.add_method('Deserialize',
1418 'ns3::Ipv6Address',
1419 [param('uint8_t const *', 'buf')],
1420 is_static=True)
1421 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAllHostsMulticast() [member function]
1422 cls.add_method('GetAllHostsMulticast',
1423 'ns3::Ipv6Address',
1424 [],
1425 is_static=True)
1426 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAllNodesMulticast() [member function]
1427 cls.add_method('GetAllNodesMulticast',
1428 'ns3::Ipv6Address',
1429 [],
1430 is_static=True)
1431 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAllRoutersMulticast() [member function]
1432 cls.add_method('GetAllRoutersMulticast',
1433 'ns3::Ipv6Address',
1434 [],
1435 is_static=True)
1436 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAny() [member function]
1437 cls.add_method('GetAny',
1438 'ns3::Ipv6Address',
1439 [],
1440 is_static=True)
1441 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::GetBytes(uint8_t * buf) const [member function]
1442 cls.add_method('GetBytes',
1443 'void',
1444 [param('uint8_t *', 'buf')],
1445 is_const=True)
Alexander Afanasyev6f933532012-02-29 13:30:37 -08001446 ## ipv6-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv6Address::GetIpv4MappedAddress() const [member function]
1447 cls.add_method('GetIpv4MappedAddress',
1448 'ns3::Ipv4Address',
1449 [],
1450 is_const=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001451 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetLoopback() [member function]
1452 cls.add_method('GetLoopback',
1453 'ns3::Ipv6Address',
1454 [],
1455 is_static=True)
1456 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetOnes() [member function]
1457 cls.add_method('GetOnes',
1458 'ns3::Ipv6Address',
1459 [],
1460 is_static=True)
1461 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetZero() [member function]
1462 cls.add_method('GetZero',
1463 'ns3::Ipv6Address',
1464 [],
1465 is_static=True)
1466 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAllHostsMulticast() const [member function]
1467 cls.add_method('IsAllHostsMulticast',
1468 'bool',
1469 [],
1470 is_const=True)
1471 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAllNodesMulticast() const [member function]
1472 cls.add_method('IsAllNodesMulticast',
1473 'bool',
1474 [],
1475 is_const=True)
1476 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAllRoutersMulticast() const [member function]
1477 cls.add_method('IsAllRoutersMulticast',
1478 'bool',
1479 [],
1480 is_const=True)
1481 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAny() const [member function]
1482 cls.add_method('IsAny',
1483 'bool',
1484 [],
1485 is_const=True)
1486 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsEqual(ns3::Ipv6Address const & other) const [member function]
1487 cls.add_method('IsEqual',
1488 'bool',
1489 [param('ns3::Ipv6Address const &', 'other')],
1490 is_const=True)
Alexander Afanasyev6f933532012-02-29 13:30:37 -08001491 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsIpv4MappedAddress() [member function]
1492 cls.add_method('IsIpv4MappedAddress',
1493 'bool',
1494 [])
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001495 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsLinkLocal() const [member function]
1496 cls.add_method('IsLinkLocal',
1497 'bool',
1498 [],
1499 is_const=True)
Alexander Afanasyev6f933532012-02-29 13:30:37 -08001500 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsLinkLocalMulticast() const [member function]
1501 cls.add_method('IsLinkLocalMulticast',
1502 'bool',
1503 [],
1504 is_const=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001505 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsLocalhost() const [member function]
1506 cls.add_method('IsLocalhost',
1507 'bool',
1508 [],
1509 is_const=True)
1510 ## ipv6-address.h (module 'network'): static bool ns3::Ipv6Address::IsMatchingType(ns3::Address const & address) [member function]
1511 cls.add_method('IsMatchingType',
1512 'bool',
1513 [param('ns3::Address const &', 'address')],
1514 is_static=True)
1515 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsMulticast() const [member function]
1516 cls.add_method('IsMulticast',
1517 'bool',
1518 [],
1519 is_const=True)
1520 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsSolicitedMulticast() const [member function]
1521 cls.add_method('IsSolicitedMulticast',
1522 'bool',
1523 [],
1524 is_const=True)
1525 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredAddress(ns3::Mac48Address addr, ns3::Ipv6Address prefix) [member function]
1526 cls.add_method('MakeAutoconfiguredAddress',
1527 'ns3::Ipv6Address',
1528 [param('ns3::Mac48Address', 'addr'), param('ns3::Ipv6Address', 'prefix')],
1529 is_static=True)
1530 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredLinkLocalAddress(ns3::Mac48Address mac) [member function]
1531 cls.add_method('MakeAutoconfiguredLinkLocalAddress',
1532 'ns3::Ipv6Address',
1533 [param('ns3::Mac48Address', 'mac')],
1534 is_static=True)
Alexander Afanasyev6f933532012-02-29 13:30:37 -08001535 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeIpv4MappedAddress(ns3::Ipv4Address addr) [member function]
1536 cls.add_method('MakeIpv4MappedAddress',
1537 'ns3::Ipv6Address',
1538 [param('ns3::Ipv4Address', 'addr')],
1539 is_static=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001540 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeSolicitedAddress(ns3::Ipv6Address addr) [member function]
1541 cls.add_method('MakeSolicitedAddress',
1542 'ns3::Ipv6Address',
1543 [param('ns3::Ipv6Address', 'addr')],
1544 is_static=True)
1545 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Print(std::ostream & os) const [member function]
1546 cls.add_method('Print',
1547 'void',
1548 [param('std::ostream &', 'os')],
1549 is_const=True)
1550 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Serialize(uint8_t * buf) const [member function]
1551 cls.add_method('Serialize',
1552 'void',
1553 [param('uint8_t *', 'buf')],
1554 is_const=True)
1555 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Set(char const * address) [member function]
1556 cls.add_method('Set',
1557 'void',
1558 [param('char const *', 'address')])
1559 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Set(uint8_t * address) [member function]
1560 cls.add_method('Set',
1561 'void',
1562 [param('uint8_t *', 'address')])
1563 return
1564
1565def register_Ns3Ipv6Prefix_methods(root_module, cls):
1566 cls.add_binary_comparison_operator('!=')
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07001567 cls.add_output_stream_operator()
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07001568 cls.add_binary_comparison_operator('==')
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001569 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix() [constructor]
1570 cls.add_constructor([])
1571 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(uint8_t * prefix) [constructor]
1572 cls.add_constructor([param('uint8_t *', 'prefix')])
1573 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(char const * prefix) [constructor]
1574 cls.add_constructor([param('char const *', 'prefix')])
1575 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(uint8_t prefix) [constructor]
1576 cls.add_constructor([param('uint8_t', 'prefix')])
1577 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(ns3::Ipv6Prefix const & prefix) [copy constructor]
1578 cls.add_constructor([param('ns3::Ipv6Prefix const &', 'prefix')])
1579 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(ns3::Ipv6Prefix const * prefix) [constructor]
1580 cls.add_constructor([param('ns3::Ipv6Prefix const *', 'prefix')])
1581 ## ipv6-address.h (module 'network'): void ns3::Ipv6Prefix::GetBytes(uint8_t * buf) const [member function]
1582 cls.add_method('GetBytes',
1583 'void',
1584 [param('uint8_t *', 'buf')],
1585 is_const=True)
1586 ## ipv6-address.h (module 'network'): static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetLoopback() [member function]
1587 cls.add_method('GetLoopback',
1588 'ns3::Ipv6Prefix',
1589 [],
1590 is_static=True)
1591 ## ipv6-address.h (module 'network'): static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetOnes() [member function]
1592 cls.add_method('GetOnes',
1593 'ns3::Ipv6Prefix',
1594 [],
1595 is_static=True)
1596 ## ipv6-address.h (module 'network'): uint8_t ns3::Ipv6Prefix::GetPrefixLength() const [member function]
1597 cls.add_method('GetPrefixLength',
1598 'uint8_t',
1599 [],
1600 is_const=True)
1601 ## ipv6-address.h (module 'network'): static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetZero() [member function]
1602 cls.add_method('GetZero',
1603 'ns3::Ipv6Prefix',
1604 [],
1605 is_static=True)
1606 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Prefix::IsEqual(ns3::Ipv6Prefix const & other) const [member function]
1607 cls.add_method('IsEqual',
1608 'bool',
1609 [param('ns3::Ipv6Prefix const &', 'other')],
1610 is_const=True)
1611 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Prefix::IsMatch(ns3::Ipv6Address a, ns3::Ipv6Address b) const [member function]
1612 cls.add_method('IsMatch',
1613 'bool',
1614 [param('ns3::Ipv6Address', 'a'), param('ns3::Ipv6Address', 'b')],
1615 is_const=True)
1616 ## ipv6-address.h (module 'network'): void ns3::Ipv6Prefix::Print(std::ostream & os) const [member function]
1617 cls.add_method('Print',
1618 'void',
1619 [param('std::ostream &', 'os')],
1620 is_const=True)
1621 return
1622
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07001623def register_Ns3NetDeviceContainer_methods(root_module, cls):
1624 ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(ns3::NetDeviceContainer const & arg0) [copy constructor]
1625 cls.add_constructor([param('ns3::NetDeviceContainer const &', 'arg0')])
1626 ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer() [constructor]
1627 cls.add_constructor([])
1628 ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(ns3::Ptr<ns3::NetDevice> dev) [constructor]
1629 cls.add_constructor([param('ns3::Ptr< ns3::NetDevice >', 'dev')])
1630 ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(std::string devName) [constructor]
1631 cls.add_constructor([param('std::string', 'devName')])
1632 ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(ns3::NetDeviceContainer const & a, ns3::NetDeviceContainer const & b) [constructor]
1633 cls.add_constructor([param('ns3::NetDeviceContainer const &', 'a'), param('ns3::NetDeviceContainer const &', 'b')])
1634 ## net-device-container.h (module 'network'): void ns3::NetDeviceContainer::Add(ns3::NetDeviceContainer other) [member function]
1635 cls.add_method('Add',
1636 'void',
1637 [param('ns3::NetDeviceContainer', 'other')])
1638 ## net-device-container.h (module 'network'): void ns3::NetDeviceContainer::Add(ns3::Ptr<ns3::NetDevice> device) [member function]
1639 cls.add_method('Add',
1640 'void',
1641 [param('ns3::Ptr< ns3::NetDevice >', 'device')])
1642 ## net-device-container.h (module 'network'): void ns3::NetDeviceContainer::Add(std::string deviceName) [member function]
1643 cls.add_method('Add',
1644 'void',
1645 [param('std::string', 'deviceName')])
1646 ## 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]
1647 cls.add_method('Begin',
1648 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::NetDevice > const, std::vector< ns3::Ptr< ns3::NetDevice > > >',
1649 [],
1650 is_const=True)
1651 ## 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]
1652 cls.add_method('End',
1653 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::NetDevice > const, std::vector< ns3::Ptr< ns3::NetDevice > > >',
1654 [],
1655 is_const=True)
1656 ## net-device-container.h (module 'network'): ns3::Ptr<ns3::NetDevice> ns3::NetDeviceContainer::Get(uint32_t i) const [member function]
1657 cls.add_method('Get',
1658 'ns3::Ptr< ns3::NetDevice >',
1659 [param('uint32_t', 'i')],
1660 is_const=True)
1661 ## net-device-container.h (module 'network'): uint32_t ns3::NetDeviceContainer::GetN() const [member function]
1662 cls.add_method('GetN',
1663 'uint32_t',
1664 [],
1665 is_const=True)
1666 return
1667
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001668def register_Ns3NodeContainer_methods(root_module, cls):
1669 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & arg0) [copy constructor]
1670 cls.add_constructor([param('ns3::NodeContainer const &', 'arg0')])
1671 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer() [constructor]
1672 cls.add_constructor([])
1673 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::Ptr<ns3::Node> node) [constructor]
1674 cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node')])
1675 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(std::string nodeName) [constructor]
1676 cls.add_constructor([param('std::string', 'nodeName')])
1677 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b) [constructor]
1678 cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b')])
1679 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b, ns3::NodeContainer const & c) [constructor]
1680 cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b'), param('ns3::NodeContainer const &', 'c')])
1681 ## 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]
1682 cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b'), param('ns3::NodeContainer const &', 'c'), param('ns3::NodeContainer const &', 'd')])
1683 ## 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]
1684 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')])
1685 ## node-container.h (module 'network'): void ns3::NodeContainer::Add(ns3::NodeContainer other) [member function]
1686 cls.add_method('Add',
1687 'void',
1688 [param('ns3::NodeContainer', 'other')])
1689 ## node-container.h (module 'network'): void ns3::NodeContainer::Add(ns3::Ptr<ns3::Node> node) [member function]
1690 cls.add_method('Add',
1691 'void',
1692 [param('ns3::Ptr< ns3::Node >', 'node')])
1693 ## node-container.h (module 'network'): void ns3::NodeContainer::Add(std::string nodeName) [member function]
1694 cls.add_method('Add',
1695 'void',
1696 [param('std::string', 'nodeName')])
1697 ## 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]
1698 cls.add_method('Begin',
1699 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >',
1700 [],
1701 is_const=True)
1702 ## node-container.h (module 'network'): void ns3::NodeContainer::Create(uint32_t n) [member function]
1703 cls.add_method('Create',
1704 'void',
1705 [param('uint32_t', 'n')])
1706 ## node-container.h (module 'network'): void ns3::NodeContainer::Create(uint32_t n, uint32_t systemId) [member function]
1707 cls.add_method('Create',
1708 'void',
1709 [param('uint32_t', 'n'), param('uint32_t', 'systemId')])
1710 ## 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]
1711 cls.add_method('End',
1712 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >',
1713 [],
1714 is_const=True)
1715 ## node-container.h (module 'network'): ns3::Ptr<ns3::Node> ns3::NodeContainer::Get(uint32_t i) const [member function]
1716 cls.add_method('Get',
1717 'ns3::Ptr< ns3::Node >',
1718 [param('uint32_t', 'i')],
1719 is_const=True)
1720 ## node-container.h (module 'network'): static ns3::NodeContainer ns3::NodeContainer::GetGlobal() [member function]
1721 cls.add_method('GetGlobal',
1722 'ns3::NodeContainer',
1723 [],
1724 is_static=True)
1725 ## node-container.h (module 'network'): uint32_t ns3::NodeContainer::GetN() const [member function]
1726 cls.add_method('GetN',
1727 'uint32_t',
1728 [],
1729 is_const=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07001730 ## 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]
1731 cls.add_method('begin',
1732 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >',
1733 [],
1734 is_const=True)
1735 ## 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]
1736 cls.add_method('begin',
1737 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node >, std::vector< ns3::Ptr< ns3::Node > > >',
1738 [])
1739 ## 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]
1740 cls.add_method('end',
1741 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >',
1742 [],
1743 is_const=True)
1744 ## 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]
1745 cls.add_method('end',
1746 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node >, std::vector< ns3::Ptr< ns3::Node > > >',
1747 [])
1748 ## node-container.h (module 'network'): uint32_t ns3::NodeContainer::size() const [member function]
1749 cls.add_method('size',
1750 'uint32_t',
1751 [],
1752 is_const=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001753 return
1754
1755def register_Ns3ObjectBase_methods(root_module, cls):
1756 ## object-base.h (module 'core'): ns3::ObjectBase::ObjectBase() [constructor]
1757 cls.add_constructor([])
1758 ## object-base.h (module 'core'): ns3::ObjectBase::ObjectBase(ns3::ObjectBase const & arg0) [copy constructor]
1759 cls.add_constructor([param('ns3::ObjectBase const &', 'arg0')])
1760 ## object-base.h (module 'core'): void ns3::ObjectBase::GetAttribute(std::string name, ns3::AttributeValue & value) const [member function]
1761 cls.add_method('GetAttribute',
1762 'void',
1763 [param('std::string', 'name'), param('ns3::AttributeValue &', 'value')],
1764 is_const=True)
1765 ## object-base.h (module 'core'): bool ns3::ObjectBase::GetAttributeFailSafe(std::string name, ns3::AttributeValue & attribute) const [member function]
1766 cls.add_method('GetAttributeFailSafe',
1767 'bool',
1768 [param('std::string', 'name'), param('ns3::AttributeValue &', 'attribute')],
1769 is_const=True)
1770 ## object-base.h (module 'core'): ns3::TypeId ns3::ObjectBase::GetInstanceTypeId() const [member function]
1771 cls.add_method('GetInstanceTypeId',
1772 'ns3::TypeId',
1773 [],
1774 is_pure_virtual=True, is_const=True, is_virtual=True)
1775 ## object-base.h (module 'core'): static ns3::TypeId ns3::ObjectBase::GetTypeId() [member function]
1776 cls.add_method('GetTypeId',
1777 'ns3::TypeId',
1778 [],
1779 is_static=True)
1780 ## object-base.h (module 'core'): void ns3::ObjectBase::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function]
1781 cls.add_method('SetAttribute',
1782 'void',
1783 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
1784 ## object-base.h (module 'core'): bool ns3::ObjectBase::SetAttributeFailSafe(std::string name, ns3::AttributeValue const & value) [member function]
1785 cls.add_method('SetAttributeFailSafe',
1786 'bool',
1787 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
1788 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceConnect(std::string name, std::string context, ns3::CallbackBase const & cb) [member function]
1789 cls.add_method('TraceConnect',
1790 'bool',
1791 [param('std::string', 'name'), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')])
1792 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceConnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function]
1793 cls.add_method('TraceConnectWithoutContext',
1794 'bool',
1795 [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')])
1796 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceDisconnect(std::string name, std::string context, ns3::CallbackBase const & cb) [member function]
1797 cls.add_method('TraceDisconnect',
1798 'bool',
1799 [param('std::string', 'name'), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')])
1800 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceDisconnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function]
1801 cls.add_method('TraceDisconnectWithoutContext',
1802 'bool',
1803 [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')])
1804 ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function]
1805 cls.add_method('ConstructSelf',
1806 'void',
1807 [param('ns3::AttributeConstructionList const &', 'attributes')],
1808 visibility='protected')
1809 ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function]
1810 cls.add_method('NotifyConstructionCompleted',
1811 'void',
1812 [],
1813 visibility='protected', is_virtual=True)
1814 return
1815
1816def register_Ns3ObjectDeleter_methods(root_module, cls):
1817 ## object.h (module 'core'): ns3::ObjectDeleter::ObjectDeleter() [constructor]
1818 cls.add_constructor([])
1819 ## object.h (module 'core'): ns3::ObjectDeleter::ObjectDeleter(ns3::ObjectDeleter const & arg0) [copy constructor]
1820 cls.add_constructor([param('ns3::ObjectDeleter const &', 'arg0')])
1821 ## object.h (module 'core'): static void ns3::ObjectDeleter::Delete(ns3::Object * object) [member function]
1822 cls.add_method('Delete',
1823 'void',
1824 [param('ns3::Object *', 'object')],
1825 is_static=True)
1826 return
1827
1828def register_Ns3ObjectFactory_methods(root_module, cls):
1829 cls.add_output_stream_operator()
1830 ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(ns3::ObjectFactory const & arg0) [copy constructor]
1831 cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')])
1832 ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor]
1833 cls.add_constructor([])
1834 ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor]
1835 cls.add_constructor([param('std::string', 'typeId')])
1836 ## object-factory.h (module 'core'): ns3::Ptr<ns3::Object> ns3::ObjectFactory::Create() const [member function]
1837 cls.add_method('Create',
1838 'ns3::Ptr< ns3::Object >',
1839 [],
1840 is_const=True)
1841 ## object-factory.h (module 'core'): ns3::TypeId ns3::ObjectFactory::GetTypeId() const [member function]
1842 cls.add_method('GetTypeId',
1843 'ns3::TypeId',
1844 [],
1845 is_const=True)
1846 ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(std::string name, ns3::AttributeValue const & value) [member function]
1847 cls.add_method('Set',
1848 'void',
1849 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
1850 ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function]
1851 cls.add_method('SetTypeId',
1852 'void',
1853 [param('ns3::TypeId', 'tid')])
1854 ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(char const * tid) [member function]
1855 cls.add_method('SetTypeId',
1856 'void',
1857 [param('char const *', 'tid')])
1858 ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(std::string tid) [member function]
1859 cls.add_method('SetTypeId',
1860 'void',
1861 [param('std::string', 'tid')])
1862 return
1863
1864def register_Ns3PacketMetadata_methods(root_module, cls):
1865 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::PacketMetadata(uint64_t uid, uint32_t size) [constructor]
1866 cls.add_constructor([param('uint64_t', 'uid'), param('uint32_t', 'size')])
1867 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::PacketMetadata(ns3::PacketMetadata const & o) [copy constructor]
1868 cls.add_constructor([param('ns3::PacketMetadata const &', 'o')])
1869 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddAtEnd(ns3::PacketMetadata const & o) [member function]
1870 cls.add_method('AddAtEnd',
1871 'void',
1872 [param('ns3::PacketMetadata const &', 'o')])
1873 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddHeader(ns3::Header const & header, uint32_t size) [member function]
1874 cls.add_method('AddHeader',
1875 'void',
1876 [param('ns3::Header const &', 'header'), param('uint32_t', 'size')])
1877 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddPaddingAtEnd(uint32_t end) [member function]
1878 cls.add_method('AddPaddingAtEnd',
1879 'void',
1880 [param('uint32_t', 'end')])
1881 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddTrailer(ns3::Trailer const & trailer, uint32_t size) [member function]
1882 cls.add_method('AddTrailer',
1883 'void',
1884 [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')])
1885 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator ns3::PacketMetadata::BeginItem(ns3::Buffer buffer) const [member function]
1886 cls.add_method('BeginItem',
1887 'ns3::PacketMetadata::ItemIterator',
1888 [param('ns3::Buffer', 'buffer')],
1889 is_const=True)
1890 ## packet-metadata.h (module 'network'): ns3::PacketMetadata ns3::PacketMetadata::CreateFragment(uint32_t start, uint32_t end) const [member function]
1891 cls.add_method('CreateFragment',
1892 'ns3::PacketMetadata',
1893 [param('uint32_t', 'start'), param('uint32_t', 'end')],
1894 is_const=True)
1895 ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::Deserialize(uint8_t const * buffer, uint32_t size) [member function]
1896 cls.add_method('Deserialize',
1897 'uint32_t',
1898 [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
1899 ## packet-metadata.h (module 'network'): static void ns3::PacketMetadata::Enable() [member function]
1900 cls.add_method('Enable',
1901 'void',
1902 [],
1903 is_static=True)
1904 ## packet-metadata.h (module 'network'): static void ns3::PacketMetadata::EnableChecking() [member function]
1905 cls.add_method('EnableChecking',
1906 'void',
1907 [],
1908 is_static=True)
1909 ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::GetSerializedSize() const [member function]
1910 cls.add_method('GetSerializedSize',
1911 'uint32_t',
1912 [],
1913 is_const=True)
1914 ## packet-metadata.h (module 'network'): uint64_t ns3::PacketMetadata::GetUid() const [member function]
1915 cls.add_method('GetUid',
1916 'uint64_t',
1917 [],
1918 is_const=True)
1919 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveAtEnd(uint32_t end) [member function]
1920 cls.add_method('RemoveAtEnd',
1921 'void',
1922 [param('uint32_t', 'end')])
1923 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveAtStart(uint32_t start) [member function]
1924 cls.add_method('RemoveAtStart',
1925 'void',
1926 [param('uint32_t', 'start')])
1927 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveHeader(ns3::Header const & header, uint32_t size) [member function]
1928 cls.add_method('RemoveHeader',
1929 'void',
1930 [param('ns3::Header const &', 'header'), param('uint32_t', 'size')])
1931 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveTrailer(ns3::Trailer const & trailer, uint32_t size) [member function]
1932 cls.add_method('RemoveTrailer',
1933 'void',
1934 [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')])
1935 ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
1936 cls.add_method('Serialize',
1937 'uint32_t',
1938 [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')],
1939 is_const=True)
1940 return
1941
1942def register_Ns3PacketMetadataItem_methods(root_module, cls):
1943 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::Item() [constructor]
1944 cls.add_constructor([])
1945 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::Item(ns3::PacketMetadata::Item const & arg0) [copy constructor]
1946 cls.add_constructor([param('ns3::PacketMetadata::Item const &', 'arg0')])
1947 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::current [variable]
1948 cls.add_instance_attribute('current', 'ns3::Buffer::Iterator', is_const=False)
1949 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentSize [variable]
1950 cls.add_instance_attribute('currentSize', 'uint32_t', is_const=False)
1951 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentTrimedFromEnd [variable]
1952 cls.add_instance_attribute('currentTrimedFromEnd', 'uint32_t', is_const=False)
1953 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentTrimedFromStart [variable]
1954 cls.add_instance_attribute('currentTrimedFromStart', 'uint32_t', is_const=False)
1955 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::isFragment [variable]
1956 cls.add_instance_attribute('isFragment', 'bool', is_const=False)
1957 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::tid [variable]
1958 cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
1959 return
1960
1961def register_Ns3PacketMetadataItemIterator_methods(root_module, cls):
1962 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata::ItemIterator const & arg0) [copy constructor]
1963 cls.add_constructor([param('ns3::PacketMetadata::ItemIterator const &', 'arg0')])
1964 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata const * metadata, ns3::Buffer buffer) [constructor]
1965 cls.add_constructor([param('ns3::PacketMetadata const *', 'metadata'), param('ns3::Buffer', 'buffer')])
1966 ## packet-metadata.h (module 'network'): bool ns3::PacketMetadata::ItemIterator::HasNext() const [member function]
1967 cls.add_method('HasNext',
1968 'bool',
1969 [],
1970 is_const=True)
1971 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item ns3::PacketMetadata::ItemIterator::Next() [member function]
1972 cls.add_method('Next',
1973 'ns3::PacketMetadata::Item',
1974 [])
1975 return
1976
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001977def register_Ns3PacketTagIterator_methods(root_module, cls):
1978 ## packet.h (module 'network'): ns3::PacketTagIterator::PacketTagIterator(ns3::PacketTagIterator const & arg0) [copy constructor]
1979 cls.add_constructor([param('ns3::PacketTagIterator const &', 'arg0')])
1980 ## packet.h (module 'network'): bool ns3::PacketTagIterator::HasNext() const [member function]
1981 cls.add_method('HasNext',
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001982 'bool',
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001983 [],
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001984 is_const=True)
1985 ## packet.h (module 'network'): ns3::PacketTagIterator::Item ns3::PacketTagIterator::Next() [member function]
1986 cls.add_method('Next',
1987 'ns3::PacketTagIterator::Item',
1988 [])
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001989 return
1990
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001991def register_Ns3PacketTagIteratorItem_methods(root_module, cls):
1992 ## packet.h (module 'network'): ns3::PacketTagIterator::Item::Item(ns3::PacketTagIterator::Item const & arg0) [copy constructor]
1993 cls.add_constructor([param('ns3::PacketTagIterator::Item const &', 'arg0')])
1994 ## packet.h (module 'network'): void ns3::PacketTagIterator::Item::GetTag(ns3::Tag & tag) const [member function]
1995 cls.add_method('GetTag',
1996 'void',
1997 [param('ns3::Tag &', 'tag')],
1998 is_const=True)
1999 ## packet.h (module 'network'): ns3::TypeId ns3::PacketTagIterator::Item::GetTypeId() const [member function]
2000 cls.add_method('GetTypeId',
2001 'ns3::TypeId',
2002 [],
2003 is_const=True)
2004 return
2005
2006def register_Ns3PacketTagList_methods(root_module, cls):
2007 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::PacketTagList() [constructor]
2008 cls.add_constructor([])
2009 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::PacketTagList(ns3::PacketTagList const & o) [copy constructor]
2010 cls.add_constructor([param('ns3::PacketTagList const &', 'o')])
2011 ## packet-tag-list.h (module 'network'): void ns3::PacketTagList::Add(ns3::Tag const & tag) const [member function]
2012 cls.add_method('Add',
2013 'void',
2014 [param('ns3::Tag const &', 'tag')],
2015 is_const=True)
2016 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData const * ns3::PacketTagList::Head() const [member function]
2017 cls.add_method('Head',
2018 'ns3::PacketTagList::TagData const *',
2019 [],
2020 is_const=True)
2021 ## packet-tag-list.h (module 'network'): bool ns3::PacketTagList::Peek(ns3::Tag & tag) const [member function]
2022 cls.add_method('Peek',
2023 'bool',
2024 [param('ns3::Tag &', 'tag')],
2025 is_const=True)
2026 ## packet-tag-list.h (module 'network'): bool ns3::PacketTagList::Remove(ns3::Tag & tag) [member function]
2027 cls.add_method('Remove',
2028 'bool',
2029 [param('ns3::Tag &', 'tag')])
2030 ## packet-tag-list.h (module 'network'): void ns3::PacketTagList::RemoveAll() [member function]
2031 cls.add_method('RemoveAll',
2032 'void',
2033 [])
2034 return
2035
2036def register_Ns3PacketTagListTagData_methods(root_module, cls):
2037 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::TagData() [constructor]
2038 cls.add_constructor([])
2039 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::TagData(ns3::PacketTagList::TagData const & arg0) [copy constructor]
2040 cls.add_constructor([param('ns3::PacketTagList::TagData const &', 'arg0')])
2041 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::count [variable]
2042 cls.add_instance_attribute('count', 'uint32_t', is_const=False)
2043 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::data [variable]
2044 cls.add_instance_attribute('data', 'uint8_t [ 20 ]', is_const=False)
2045 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::next [variable]
2046 cls.add_instance_attribute('next', 'ns3::PacketTagList::TagData *', is_const=False)
2047 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::tid [variable]
2048 cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002049 return
2050
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002051def register_Ns3RandomVariable_methods(root_module, cls):
2052 cls.add_output_stream_operator()
2053 ## random-variable.h (module 'core'): ns3::RandomVariable::RandomVariable() [constructor]
2054 cls.add_constructor([])
2055 ## random-variable.h (module 'core'): ns3::RandomVariable::RandomVariable(ns3::RandomVariable const & o) [copy constructor]
2056 cls.add_constructor([param('ns3::RandomVariable const &', 'o')])
2057 ## random-variable.h (module 'core'): uint32_t ns3::RandomVariable::GetInteger() const [member function]
2058 cls.add_method('GetInteger',
2059 'uint32_t',
2060 [],
2061 is_const=True)
2062 ## random-variable.h (module 'core'): double ns3::RandomVariable::GetValue() const [member function]
2063 cls.add_method('GetValue',
2064 'double',
2065 [],
2066 is_const=True)
2067 return
2068
2069def register_Ns3RngSeedManager_methods(root_module, cls):
2070 ## rng-seed-manager.h (module 'core'): ns3::RngSeedManager::RngSeedManager() [constructor]
2071 cls.add_constructor([])
2072 ## rng-seed-manager.h (module 'core'): ns3::RngSeedManager::RngSeedManager(ns3::RngSeedManager const & arg0) [copy constructor]
2073 cls.add_constructor([param('ns3::RngSeedManager const &', 'arg0')])
2074 ## rng-seed-manager.h (module 'core'): static uint64_t ns3::RngSeedManager::GetNextStreamIndex() [member function]
2075 cls.add_method('GetNextStreamIndex',
2076 'uint64_t',
2077 [],
2078 is_static=True)
2079 ## rng-seed-manager.h (module 'core'): static uint64_t ns3::RngSeedManager::GetRun() [member function]
2080 cls.add_method('GetRun',
2081 'uint64_t',
2082 [],
2083 is_static=True)
2084 ## rng-seed-manager.h (module 'core'): static uint32_t ns3::RngSeedManager::GetSeed() [member function]
2085 cls.add_method('GetSeed',
2086 'uint32_t',
2087 [],
2088 is_static=True)
2089 ## rng-seed-manager.h (module 'core'): static void ns3::RngSeedManager::SetRun(uint64_t run) [member function]
2090 cls.add_method('SetRun',
2091 'void',
2092 [param('uint64_t', 'run')],
2093 is_static=True)
2094 ## rng-seed-manager.h (module 'core'): static void ns3::RngSeedManager::SetSeed(uint32_t seed) [member function]
2095 cls.add_method('SetSeed',
2096 'void',
2097 [param('uint32_t', 'seed')],
2098 is_static=True)
2099 return
2100
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -07002101def register_Ns3SequenceNumber32_methods(root_module, cls):
2102 cls.add_binary_comparison_operator('!=')
2103 cls.add_binary_numeric_operator('+', root_module['ns3::SequenceNumber32'], root_module['ns3::SequenceNumber32'], param('ns3::SequenceNumber< unsigned int, int > const &', 'right'))
2104 cls.add_binary_numeric_operator('+', root_module['ns3::SequenceNumber32'], root_module['ns3::SequenceNumber32'], param('int', 'right'))
2105 cls.add_inplace_numeric_operator('+=', param('int', 'right'))
2106 cls.add_binary_numeric_operator('-', root_module['ns3::SequenceNumber32'], root_module['ns3::SequenceNumber32'], param('int', 'right'))
2107 cls.add_inplace_numeric_operator('-=', param('int', 'right'))
2108 cls.add_binary_comparison_operator('<')
2109 cls.add_binary_comparison_operator('<=')
2110 cls.add_binary_comparison_operator('==')
2111 cls.add_binary_comparison_operator('>')
2112 cls.add_binary_comparison_operator('>=')
2113 ## sequence-number.h (module 'network'): ns3::SequenceNumber<unsigned int, int>::SequenceNumber() [constructor]
2114 cls.add_constructor([])
2115 ## sequence-number.h (module 'network'): ns3::SequenceNumber<unsigned int, int>::SequenceNumber(unsigned int value) [constructor]
2116 cls.add_constructor([param('unsigned int', 'value')])
2117 ## sequence-number.h (module 'network'): ns3::SequenceNumber<unsigned int, int>::SequenceNumber(ns3::SequenceNumber<unsigned int, int> const & value) [copy constructor]
2118 cls.add_constructor([param('ns3::SequenceNumber< unsigned int, int > const &', 'value')])
2119 ## sequence-number.h (module 'network'): unsigned int ns3::SequenceNumber<unsigned int, int>::GetValue() const [member function]
2120 cls.add_method('GetValue',
2121 'unsigned int',
2122 [],
2123 is_const=True)
2124 return
2125
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002126def register_Ns3SequentialVariable_methods(root_module, cls):
2127 ## random-variable.h (module 'core'): ns3::SequentialVariable::SequentialVariable(ns3::SequentialVariable const & arg0) [copy constructor]
2128 cls.add_constructor([param('ns3::SequentialVariable const &', 'arg0')])
2129 ## random-variable.h (module 'core'): ns3::SequentialVariable::SequentialVariable(double f, double l, double i=1, uint32_t c=1) [constructor]
2130 cls.add_constructor([param('double', 'f'), param('double', 'l'), param('double', 'i', default_value='1'), param('uint32_t', 'c', default_value='1')])
2131 ## random-variable.h (module 'core'): ns3::SequentialVariable::SequentialVariable(double f, double l, ns3::RandomVariable const & i, uint32_t c=1) [constructor]
2132 cls.add_constructor([param('double', 'f'), param('double', 'l'), param('ns3::RandomVariable const &', 'i'), param('uint32_t', 'c', default_value='1')])
2133 return
2134
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002135def register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, cls):
2136 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter>::SimpleRefCount() [constructor]
2137 cls.add_constructor([])
2138 ## 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]
2139 cls.add_constructor([param('ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter > const &', 'o')])
2140 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter>::Cleanup() [member function]
2141 cls.add_method('Cleanup',
2142 'void',
2143 [],
2144 is_static=True)
2145 return
2146
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002147def register_Ns3Tag_methods(root_module, cls):
2148 ## tag.h (module 'network'): ns3::Tag::Tag() [constructor]
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002149 cls.add_constructor([])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002150 ## tag.h (module 'network'): ns3::Tag::Tag(ns3::Tag const & arg0) [copy constructor]
2151 cls.add_constructor([param('ns3::Tag const &', 'arg0')])
2152 ## tag.h (module 'network'): void ns3::Tag::Deserialize(ns3::TagBuffer i) [member function]
2153 cls.add_method('Deserialize',
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002154 'void',
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002155 [param('ns3::TagBuffer', 'i')],
2156 is_pure_virtual=True, is_virtual=True)
2157 ## tag.h (module 'network'): uint32_t ns3::Tag::GetSerializedSize() const [member function]
2158 cls.add_method('GetSerializedSize',
2159 'uint32_t',
2160 [],
2161 is_pure_virtual=True, is_const=True, is_virtual=True)
2162 ## tag.h (module 'network'): static ns3::TypeId ns3::Tag::GetTypeId() [member function]
2163 cls.add_method('GetTypeId',
2164 'ns3::TypeId',
2165 [],
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002166 is_static=True)
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002167 ## tag.h (module 'network'): void ns3::Tag::Print(std::ostream & os) const [member function]
2168 cls.add_method('Print',
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002169 'void',
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002170 [param('std::ostream &', 'os')],
2171 is_pure_virtual=True, is_const=True, is_virtual=True)
2172 ## tag.h (module 'network'): void ns3::Tag::Serialize(ns3::TagBuffer i) const [member function]
2173 cls.add_method('Serialize',
2174 'void',
2175 [param('ns3::TagBuffer', 'i')],
2176 is_pure_virtual=True, is_const=True, is_virtual=True)
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002177 return
2178
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002179def register_Ns3TagBuffer_methods(root_module, cls):
2180 ## tag-buffer.h (module 'network'): ns3::TagBuffer::TagBuffer(ns3::TagBuffer const & arg0) [copy constructor]
2181 cls.add_constructor([param('ns3::TagBuffer const &', 'arg0')])
2182 ## tag-buffer.h (module 'network'): ns3::TagBuffer::TagBuffer(uint8_t * start, uint8_t * end) [constructor]
2183 cls.add_constructor([param('uint8_t *', 'start'), param('uint8_t *', 'end')])
2184 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::CopyFrom(ns3::TagBuffer o) [member function]
2185 cls.add_method('CopyFrom',
2186 'void',
2187 [param('ns3::TagBuffer', 'o')])
2188 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::Read(uint8_t * buffer, uint32_t size) [member function]
2189 cls.add_method('Read',
2190 'void',
2191 [param('uint8_t *', 'buffer'), param('uint32_t', 'size')])
2192 ## tag-buffer.h (module 'network'): double ns3::TagBuffer::ReadDouble() [member function]
2193 cls.add_method('ReadDouble',
2194 'double',
2195 [])
2196 ## tag-buffer.h (module 'network'): uint16_t ns3::TagBuffer::ReadU16() [member function]
2197 cls.add_method('ReadU16',
2198 'uint16_t',
2199 [])
2200 ## tag-buffer.h (module 'network'): uint32_t ns3::TagBuffer::ReadU32() [member function]
2201 cls.add_method('ReadU32',
2202 'uint32_t',
2203 [])
2204 ## tag-buffer.h (module 'network'): uint64_t ns3::TagBuffer::ReadU64() [member function]
2205 cls.add_method('ReadU64',
2206 'uint64_t',
2207 [])
2208 ## tag-buffer.h (module 'network'): uint8_t ns3::TagBuffer::ReadU8() [member function]
2209 cls.add_method('ReadU8',
2210 'uint8_t',
2211 [])
2212 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::TrimAtEnd(uint32_t trim) [member function]
2213 cls.add_method('TrimAtEnd',
2214 'void',
2215 [param('uint32_t', 'trim')])
2216 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::Write(uint8_t const * buffer, uint32_t size) [member function]
2217 cls.add_method('Write',
2218 'void',
2219 [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
2220 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteDouble(double v) [member function]
2221 cls.add_method('WriteDouble',
2222 'void',
2223 [param('double', 'v')])
2224 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU16(uint16_t data) [member function]
2225 cls.add_method('WriteU16',
2226 'void',
2227 [param('uint16_t', 'data')])
2228 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU32(uint32_t data) [member function]
2229 cls.add_method('WriteU32',
2230 'void',
2231 [param('uint32_t', 'data')])
2232 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU64(uint64_t v) [member function]
2233 cls.add_method('WriteU64',
2234 'void',
2235 [param('uint64_t', 'v')])
2236 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU8(uint8_t v) [member function]
2237 cls.add_method('WriteU8',
2238 'void',
2239 [param('uint8_t', 'v')])
2240 return
2241
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -07002242def register_Ns3TracedValue__Ns3NdnFibFaceMetricStatus_methods(root_module, cls):
2243 ## traced-value.h (module 'core'): ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status>::TracedValue() [constructor]
2244 cls.add_constructor([])
2245 ## traced-value.h (module 'core'): ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status>::TracedValue(ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status> const & o) [copy constructor]
2246 cls.add_constructor([param('ns3::TracedValue< ns3::ndn::fib::FaceMetric::Status > const &', 'o')])
2247 ## traced-value.h (module 'core'): ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status>::TracedValue(ns3::ndn::fib::FaceMetric::Status const & v) [constructor]
2248 cls.add_constructor([param('ns3::ndn::fib::FaceMetric::Status const &', 'v')])
2249 ## 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]
2250 cls.add_method('Connect',
2251 'void',
2252 [param('ns3::CallbackBase const &', 'cb'), param('std::string', 'path')])
2253 ## traced-value.h (module 'core'): void ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status>::ConnectWithoutContext(ns3::CallbackBase const & cb) [member function]
2254 cls.add_method('ConnectWithoutContext',
2255 'void',
2256 [param('ns3::CallbackBase const &', 'cb')])
2257 ## 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]
2258 cls.add_method('Disconnect',
2259 'void',
2260 [param('ns3::CallbackBase const &', 'cb'), param('std::string', 'path')])
2261 ## traced-value.h (module 'core'): void ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status>::DisconnectWithoutContext(ns3::CallbackBase const & cb) [member function]
2262 cls.add_method('DisconnectWithoutContext',
2263 'void',
2264 [param('ns3::CallbackBase const &', 'cb')])
2265 ## traced-value.h (module 'core'): ns3::ndn::fib::FaceMetric::Status ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status>::Get() const [member function]
2266 cls.add_method('Get',
2267 'ns3::ndn::fib::FaceMetric::Status',
2268 [],
2269 is_const=True)
2270 ## traced-value.h (module 'core'): void ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status>::Set(ns3::ndn::fib::FaceMetric::Status const & v) [member function]
2271 cls.add_method('Set',
2272 'void',
2273 [param('ns3::ndn::fib::FaceMetric::Status const &', 'v')])
2274 return
2275
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002276def register_Ns3TriangularVariable_methods(root_module, cls):
2277 ## random-variable.h (module 'core'): ns3::TriangularVariable::TriangularVariable(ns3::TriangularVariable const & arg0) [copy constructor]
2278 cls.add_constructor([param('ns3::TriangularVariable const &', 'arg0')])
2279 ## random-variable.h (module 'core'): ns3::TriangularVariable::TriangularVariable() [constructor]
2280 cls.add_constructor([])
2281 ## random-variable.h (module 'core'): ns3::TriangularVariable::TriangularVariable(double s, double l, double mean) [constructor]
2282 cls.add_constructor([param('double', 's'), param('double', 'l'), param('double', 'mean')])
2283 return
2284
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002285def register_Ns3TypeId_methods(root_module, cls):
2286 cls.add_binary_comparison_operator('!=')
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07002287 cls.add_output_stream_operator()
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07002288 cls.add_binary_comparison_operator('==')
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002289 cls.add_binary_comparison_operator('<')
2290 ## type-id.h (module 'core'): ns3::TypeId::TypeId(char const * name) [constructor]
2291 cls.add_constructor([param('char const *', 'name')])
2292 ## type-id.h (module 'core'): ns3::TypeId::TypeId() [constructor]
2293 cls.add_constructor([])
2294 ## type-id.h (module 'core'): ns3::TypeId::TypeId(ns3::TypeId const & o) [copy constructor]
2295 cls.add_constructor([param('ns3::TypeId const &', 'o')])
2296 ## 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]
2297 cls.add_method('AddAttribute',
2298 'ns3::TypeId',
2299 [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')])
2300 ## 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]
2301 cls.add_method('AddAttribute',
2302 'ns3::TypeId',
2303 [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')])
2304 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr<ns3::TraceSourceAccessor const> accessor) [member function]
2305 cls.add_method('AddTraceSource',
2306 'ns3::TypeId',
2307 [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')])
2308 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function]
2309 cls.add_method('GetAttribute',
2310 'ns3::TypeId::AttributeInformation',
2311 [param('uint32_t', 'i')],
2312 is_const=True)
2313 ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function]
2314 cls.add_method('GetAttributeFullName',
2315 'std::string',
2316 [param('uint32_t', 'i')],
2317 is_const=True)
2318 ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function]
2319 cls.add_method('GetAttributeN',
2320 'uint32_t',
2321 [],
2322 is_const=True)
2323 ## 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]
2324 cls.add_method('GetConstructor',
2325 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >',
2326 [],
2327 is_const=True)
2328 ## type-id.h (module 'core'): std::string ns3::TypeId::GetGroupName() const [member function]
2329 cls.add_method('GetGroupName',
2330 'std::string',
2331 [],
2332 is_const=True)
2333 ## type-id.h (module 'core'): std::string ns3::TypeId::GetName() const [member function]
2334 cls.add_method('GetName',
2335 'std::string',
2336 [],
2337 is_const=True)
2338 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::GetParent() const [member function]
2339 cls.add_method('GetParent',
2340 'ns3::TypeId',
2341 [],
2342 is_const=True)
2343 ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::GetRegistered(uint32_t i) [member function]
2344 cls.add_method('GetRegistered',
2345 'ns3::TypeId',
2346 [param('uint32_t', 'i')],
2347 is_static=True)
2348 ## type-id.h (module 'core'): static uint32_t ns3::TypeId::GetRegisteredN() [member function]
2349 cls.add_method('GetRegisteredN',
2350 'uint32_t',
2351 [],
2352 is_static=True)
2353 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function]
2354 cls.add_method('GetTraceSource',
2355 'ns3::TypeId::TraceSourceInformation',
2356 [param('uint32_t', 'i')],
2357 is_const=True)
2358 ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function]
2359 cls.add_method('GetTraceSourceN',
2360 'uint32_t',
2361 [],
2362 is_const=True)
2363 ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function]
2364 cls.add_method('GetUid',
2365 'uint16_t',
2366 [],
2367 is_const=True)
2368 ## type-id.h (module 'core'): bool ns3::TypeId::HasConstructor() const [member function]
2369 cls.add_method('HasConstructor',
2370 'bool',
2371 [],
2372 is_const=True)
2373 ## type-id.h (module 'core'): bool ns3::TypeId::HasParent() const [member function]
2374 cls.add_method('HasParent',
2375 'bool',
2376 [],
2377 is_const=True)
2378 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::HideFromDocumentation() [member function]
2379 cls.add_method('HideFromDocumentation',
2380 'ns3::TypeId',
2381 [])
2382 ## type-id.h (module 'core'): bool ns3::TypeId::IsChildOf(ns3::TypeId other) const [member function]
2383 cls.add_method('IsChildOf',
2384 'bool',
2385 [param('ns3::TypeId', 'other')],
2386 is_const=True)
2387 ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function]
2388 cls.add_method('LookupAttributeByName',
2389 'bool',
Alexander Afanasyev6f933532012-02-29 13:30:37 -08002390 [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info', transfer_ownership=False)],
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002391 is_const=True)
2392 ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function]
2393 cls.add_method('LookupByName',
2394 'ns3::TypeId',
2395 [param('std::string', 'name')],
2396 is_static=True)
2397 ## type-id.h (module 'core'): ns3::Ptr<ns3::TraceSourceAccessor const> ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function]
2398 cls.add_method('LookupTraceSourceByName',
2399 'ns3::Ptr< ns3::TraceSourceAccessor const >',
2400 [param('std::string', 'name')],
2401 is_const=True)
2402 ## type-id.h (module 'core'): bool ns3::TypeId::MustHideFromDocumentation() const [member function]
2403 cls.add_method('MustHideFromDocumentation',
2404 'bool',
2405 [],
2406 is_const=True)
2407 ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr<ns3::AttributeValue const> initialValue) [member function]
2408 cls.add_method('SetAttributeInitialValue',
2409 'bool',
2410 [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')])
2411 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function]
2412 cls.add_method('SetGroupName',
2413 'ns3::TypeId',
2414 [param('std::string', 'groupName')])
2415 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetParent(ns3::TypeId tid) [member function]
2416 cls.add_method('SetParent',
2417 'ns3::TypeId',
2418 [param('ns3::TypeId', 'tid')])
2419 ## type-id.h (module 'core'): void ns3::TypeId::SetUid(uint16_t tid) [member function]
2420 cls.add_method('SetUid',
2421 'void',
2422 [param('uint16_t', 'tid')])
2423 return
2424
2425def register_Ns3TypeIdAttributeInformation_methods(root_module, cls):
2426 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor]
2427 cls.add_constructor([])
2428 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor]
2429 cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')])
2430 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable]
2431 cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False)
2432 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable]
2433 cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False)
2434 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable]
2435 cls.add_instance_attribute('flags', 'uint32_t', is_const=False)
2436 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable]
2437 cls.add_instance_attribute('help', 'std::string', is_const=False)
2438 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable]
2439 cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False)
2440 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable]
2441 cls.add_instance_attribute('name', 'std::string', is_const=False)
2442 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable]
2443 cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False)
2444 return
2445
2446def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls):
2447 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor]
2448 cls.add_constructor([])
2449 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor]
2450 cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')])
2451 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable]
2452 cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False)
2453 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable]
2454 cls.add_instance_attribute('help', 'std::string', is_const=False)
2455 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable]
2456 cls.add_instance_attribute('name', 'std::string', is_const=False)
2457 return
2458
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002459def register_Ns3UniformVariable_methods(root_module, cls):
2460 ## random-variable.h (module 'core'): ns3::UniformVariable::UniformVariable(ns3::UniformVariable const & arg0) [copy constructor]
2461 cls.add_constructor([param('ns3::UniformVariable const &', 'arg0')])
2462 ## random-variable.h (module 'core'): ns3::UniformVariable::UniformVariable() [constructor]
2463 cls.add_constructor([])
2464 ## random-variable.h (module 'core'): ns3::UniformVariable::UniformVariable(double s, double l) [constructor]
2465 cls.add_constructor([param('double', 's'), param('double', 'l')])
2466 ## random-variable.h (module 'core'): uint32_t ns3::UniformVariable::GetInteger(uint32_t s, uint32_t l) [member function]
2467 cls.add_method('GetInteger',
2468 'uint32_t',
2469 [param('uint32_t', 's'), param('uint32_t', 'l')])
2470 ## random-variable.h (module 'core'): double ns3::UniformVariable::GetValue() const [member function]
2471 cls.add_method('GetValue',
2472 'double',
2473 [],
2474 is_const=True)
2475 ## random-variable.h (module 'core'): double ns3::UniformVariable::GetValue(double s, double l) [member function]
2476 cls.add_method('GetValue',
2477 'double',
2478 [param('double', 's'), param('double', 'l')])
2479 return
2480
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002481def register_Ns3WeibullVariable_methods(root_module, cls):
2482 ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(ns3::WeibullVariable const & arg0) [copy constructor]
2483 cls.add_constructor([param('ns3::WeibullVariable const &', 'arg0')])
2484 ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable() [constructor]
2485 cls.add_constructor([])
2486 ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(double m) [constructor]
2487 cls.add_constructor([param('double', 'm')])
2488 ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(double m, double s) [constructor]
2489 cls.add_constructor([param('double', 'm'), param('double', 's')])
2490 ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(double m, double s, double b) [constructor]
2491 cls.add_constructor([param('double', 'm'), param('double', 's'), param('double', 'b')])
2492 return
2493
2494def register_Ns3ZetaVariable_methods(root_module, cls):
2495 ## random-variable.h (module 'core'): ns3::ZetaVariable::ZetaVariable(ns3::ZetaVariable const & arg0) [copy constructor]
2496 cls.add_constructor([param('ns3::ZetaVariable const &', 'arg0')])
2497 ## random-variable.h (module 'core'): ns3::ZetaVariable::ZetaVariable(double alpha) [constructor]
2498 cls.add_constructor([param('double', 'alpha')])
2499 ## random-variable.h (module 'core'): ns3::ZetaVariable::ZetaVariable() [constructor]
2500 cls.add_constructor([])
2501 return
2502
2503def register_Ns3ZipfVariable_methods(root_module, cls):
2504 ## random-variable.h (module 'core'): ns3::ZipfVariable::ZipfVariable(ns3::ZipfVariable const & arg0) [copy constructor]
2505 cls.add_constructor([param('ns3::ZipfVariable const &', 'arg0')])
2506 ## random-variable.h (module 'core'): ns3::ZipfVariable::ZipfVariable(long int N, double alpha) [constructor]
2507 cls.add_constructor([param('long int', 'N'), param('double', 'alpha')])
2508 ## random-variable.h (module 'core'): ns3::ZipfVariable::ZipfVariable() [constructor]
2509 cls.add_constructor([])
2510 return
2511
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002512def register_Ns3Empty_methods(root_module, cls):
2513 ## empty.h (module 'core'): ns3::empty::empty() [constructor]
2514 cls.add_constructor([])
2515 ## empty.h (module 'core'): ns3::empty::empty(ns3::empty const & arg0) [copy constructor]
2516 cls.add_constructor([param('ns3::empty const &', 'arg0')])
2517 return
2518
2519def register_Ns3Int64x64_t_methods(root_module, cls):
2520 cls.add_binary_comparison_operator('!=')
2521 cls.add_inplace_numeric_operator('*=', param('ns3::int64x64_t const &', 'right'))
2522 cls.add_inplace_numeric_operator('+=', param('ns3::int64x64_t const &', 'right'))
2523 cls.add_inplace_numeric_operator('-=', param('ns3::int64x64_t const &', 'right'))
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07002524 cls.add_output_stream_operator()
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08002525 cls.add_binary_comparison_operator('<=')
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002526 cls.add_binary_comparison_operator('==')
2527 cls.add_binary_comparison_operator('>=')
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002528 cls.add_inplace_numeric_operator('/=', param('ns3::int64x64_t const &', 'right'))
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002529 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
2530 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
2531 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
2532 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
2533 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
2534 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
2535 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
2536 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
2537 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
2538 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
2539 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
2540 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
2541 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
2542 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
2543 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
2544 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
2545 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
2546 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
2547 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
2548 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
2549 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
2550 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
2551 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
2552 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
2553 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
2554 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
2555 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
2556 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
2557 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
2558 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
2559 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
2560 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
2561 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
2562 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
2563 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
2564 cls.add_unary_numeric_operator('-')
2565 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
2566 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
2567 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
2568 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
2569 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
2570 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
2571 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
2572 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
2573 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
2574 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
2575 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
2576 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
2577 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
2578 cls.add_binary_comparison_operator('<')
2579 cls.add_binary_comparison_operator('>')
2580 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t() [constructor]
2581 cls.add_constructor([])
2582 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(double v) [constructor]
2583 cls.add_constructor([param('double', 'v')])
2584 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(int v) [constructor]
2585 cls.add_constructor([param('int', 'v')])
2586 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long int v) [constructor]
2587 cls.add_constructor([param('long int', 'v')])
2588 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long long int v) [constructor]
2589 cls.add_constructor([param('long long int', 'v')])
2590 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(unsigned int v) [constructor]
2591 cls.add_constructor([param('unsigned int', 'v')])
2592 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long unsigned int v) [constructor]
2593 cls.add_constructor([param('long unsigned int', 'v')])
2594 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long long unsigned int v) [constructor]
2595 cls.add_constructor([param('long long unsigned int', 'v')])
2596 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(int64_t hi, uint64_t lo) [constructor]
2597 cls.add_constructor([param('int64_t', 'hi'), param('uint64_t', 'lo')])
2598 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(ns3::int64x64_t const & o) [copy constructor]
2599 cls.add_constructor([param('ns3::int64x64_t const &', 'o')])
2600 ## int64x64-double.h (module 'core'): double ns3::int64x64_t::GetDouble() const [member function]
2601 cls.add_method('GetDouble',
2602 'double',
2603 [],
2604 is_const=True)
2605 ## int64x64-double.h (module 'core'): int64_t ns3::int64x64_t::GetHigh() const [member function]
2606 cls.add_method('GetHigh',
2607 'int64_t',
2608 [],
2609 is_const=True)
2610 ## int64x64-double.h (module 'core'): uint64_t ns3::int64x64_t::GetLow() const [member function]
2611 cls.add_method('GetLow',
2612 'uint64_t',
2613 [],
2614 is_const=True)
2615 ## int64x64-double.h (module 'core'): static ns3::int64x64_t ns3::int64x64_t::Invert(uint64_t v) [member function]
2616 cls.add_method('Invert',
2617 'ns3::int64x64_t',
2618 [param('uint64_t', 'v')],
2619 is_static=True)
2620 ## int64x64-double.h (module 'core'): void ns3::int64x64_t::MulByInvert(ns3::int64x64_t const & o) [member function]
2621 cls.add_method('MulByInvert',
2622 'void',
2623 [param('ns3::int64x64_t const &', 'o')])
2624 return
2625
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002626def register_Ns3Chunk_methods(root_module, cls):
2627 ## chunk.h (module 'network'): ns3::Chunk::Chunk() [constructor]
2628 cls.add_constructor([])
2629 ## chunk.h (module 'network'): ns3::Chunk::Chunk(ns3::Chunk const & arg0) [copy constructor]
2630 cls.add_constructor([param('ns3::Chunk const &', 'arg0')])
2631 ## chunk.h (module 'network'): uint32_t ns3::Chunk::Deserialize(ns3::Buffer::Iterator start) [member function]
2632 cls.add_method('Deserialize',
2633 'uint32_t',
2634 [param('ns3::Buffer::Iterator', 'start')],
2635 is_pure_virtual=True, is_virtual=True)
2636 ## chunk.h (module 'network'): static ns3::TypeId ns3::Chunk::GetTypeId() [member function]
2637 cls.add_method('GetTypeId',
2638 'ns3::TypeId',
2639 [],
2640 is_static=True)
2641 ## chunk.h (module 'network'): void ns3::Chunk::Print(std::ostream & os) const [member function]
2642 cls.add_method('Print',
2643 'void',
2644 [param('std::ostream &', 'os')],
2645 is_pure_virtual=True, is_const=True, is_virtual=True)
2646 return
2647
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002648def register_Ns3ConstantVariable_methods(root_module, cls):
2649 ## random-variable.h (module 'core'): ns3::ConstantVariable::ConstantVariable(ns3::ConstantVariable const & arg0) [copy constructor]
2650 cls.add_constructor([param('ns3::ConstantVariable const &', 'arg0')])
2651 ## random-variable.h (module 'core'): ns3::ConstantVariable::ConstantVariable() [constructor]
2652 cls.add_constructor([])
2653 ## random-variable.h (module 'core'): ns3::ConstantVariable::ConstantVariable(double c) [constructor]
2654 cls.add_constructor([param('double', 'c')])
2655 ## random-variable.h (module 'core'): void ns3::ConstantVariable::SetConstant(double c) [member function]
2656 cls.add_method('SetConstant',
2657 'void',
2658 [param('double', 'c')])
2659 return
2660
2661def register_Ns3DeterministicVariable_methods(root_module, cls):
2662 ## random-variable.h (module 'core'): ns3::DeterministicVariable::DeterministicVariable(ns3::DeterministicVariable const & arg0) [copy constructor]
2663 cls.add_constructor([param('ns3::DeterministicVariable const &', 'arg0')])
2664 ## random-variable.h (module 'core'): ns3::DeterministicVariable::DeterministicVariable(double * d, uint32_t c) [constructor]
2665 cls.add_constructor([param('double *', 'd'), param('uint32_t', 'c')])
2666 return
2667
2668def register_Ns3EmpiricalVariable_methods(root_module, cls):
2669 ## random-variable.h (module 'core'): ns3::EmpiricalVariable::EmpiricalVariable(ns3::EmpiricalVariable const & arg0) [copy constructor]
2670 cls.add_constructor([param('ns3::EmpiricalVariable const &', 'arg0')])
2671 ## random-variable.h (module 'core'): ns3::EmpiricalVariable::EmpiricalVariable() [constructor]
2672 cls.add_constructor([])
2673 ## random-variable.h (module 'core'): void ns3::EmpiricalVariable::CDF(double v, double c) [member function]
2674 cls.add_method('CDF',
2675 'void',
2676 [param('double', 'v'), param('double', 'c')])
2677 return
2678
2679def register_Ns3ErlangVariable_methods(root_module, cls):
2680 ## random-variable.h (module 'core'): ns3::ErlangVariable::ErlangVariable(ns3::ErlangVariable const & arg0) [copy constructor]
2681 cls.add_constructor([param('ns3::ErlangVariable const &', 'arg0')])
2682 ## random-variable.h (module 'core'): ns3::ErlangVariable::ErlangVariable() [constructor]
2683 cls.add_constructor([])
2684 ## random-variable.h (module 'core'): ns3::ErlangVariable::ErlangVariable(unsigned int k, double lambda) [constructor]
2685 cls.add_constructor([param('unsigned int', 'k'), param('double', 'lambda')])
2686 ## random-variable.h (module 'core'): double ns3::ErlangVariable::GetValue() const [member function]
2687 cls.add_method('GetValue',
2688 'double',
2689 [],
2690 is_const=True)
2691 ## random-variable.h (module 'core'): double ns3::ErlangVariable::GetValue(unsigned int k, double lambda) const [member function]
2692 cls.add_method('GetValue',
2693 'double',
2694 [param('unsigned int', 'k'), param('double', 'lambda')],
2695 is_const=True)
2696 return
2697
2698def register_Ns3ExponentialVariable_methods(root_module, cls):
2699 ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable(ns3::ExponentialVariable const & arg0) [copy constructor]
2700 cls.add_constructor([param('ns3::ExponentialVariable const &', 'arg0')])
2701 ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable() [constructor]
2702 cls.add_constructor([])
2703 ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable(double m) [constructor]
2704 cls.add_constructor([param('double', 'm')])
2705 ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable(double m, double b) [constructor]
2706 cls.add_constructor([param('double', 'm'), param('double', 'b')])
2707 return
2708
2709def register_Ns3GammaVariable_methods(root_module, cls):
2710 ## random-variable.h (module 'core'): ns3::GammaVariable::GammaVariable(ns3::GammaVariable const & arg0) [copy constructor]
2711 cls.add_constructor([param('ns3::GammaVariable const &', 'arg0')])
2712 ## random-variable.h (module 'core'): ns3::GammaVariable::GammaVariable() [constructor]
2713 cls.add_constructor([])
2714 ## random-variable.h (module 'core'): ns3::GammaVariable::GammaVariable(double alpha, double beta) [constructor]
2715 cls.add_constructor([param('double', 'alpha'), param('double', 'beta')])
2716 ## random-variable.h (module 'core'): double ns3::GammaVariable::GetValue() const [member function]
2717 cls.add_method('GetValue',
2718 'double',
2719 [],
2720 is_const=True)
2721 ## random-variable.h (module 'core'): double ns3::GammaVariable::GetValue(double alpha, double beta) const [member function]
2722 cls.add_method('GetValue',
2723 'double',
2724 [param('double', 'alpha'), param('double', 'beta')],
2725 is_const=True)
2726 return
2727
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002728def register_Ns3Header_methods(root_module, cls):
2729 cls.add_output_stream_operator()
2730 ## header.h (module 'network'): ns3::Header::Header() [constructor]
2731 cls.add_constructor([])
2732 ## header.h (module 'network'): ns3::Header::Header(ns3::Header const & arg0) [copy constructor]
2733 cls.add_constructor([param('ns3::Header const &', 'arg0')])
2734 ## header.h (module 'network'): uint32_t ns3::Header::Deserialize(ns3::Buffer::Iterator start) [member function]
2735 cls.add_method('Deserialize',
2736 'uint32_t',
2737 [param('ns3::Buffer::Iterator', 'start')],
2738 is_pure_virtual=True, is_virtual=True)
2739 ## header.h (module 'network'): uint32_t ns3::Header::GetSerializedSize() const [member function]
2740 cls.add_method('GetSerializedSize',
2741 'uint32_t',
2742 [],
2743 is_pure_virtual=True, is_const=True, is_virtual=True)
2744 ## header.h (module 'network'): static ns3::TypeId ns3::Header::GetTypeId() [member function]
2745 cls.add_method('GetTypeId',
2746 'ns3::TypeId',
2747 [],
2748 is_static=True)
2749 ## header.h (module 'network'): void ns3::Header::Print(std::ostream & os) const [member function]
2750 cls.add_method('Print',
2751 'void',
2752 [param('std::ostream &', 'os')],
2753 is_pure_virtual=True, is_const=True, is_virtual=True)
2754 ## header.h (module 'network'): void ns3::Header::Serialize(ns3::Buffer::Iterator start) const [member function]
2755 cls.add_method('Serialize',
2756 'void',
2757 [param('ns3::Buffer::Iterator', 'start')],
2758 is_pure_virtual=True, is_const=True, is_virtual=True)
2759 return
2760
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002761def register_Ns3IntEmpiricalVariable_methods(root_module, cls):
2762 ## random-variable.h (module 'core'): ns3::IntEmpiricalVariable::IntEmpiricalVariable(ns3::IntEmpiricalVariable const & arg0) [copy constructor]
2763 cls.add_constructor([param('ns3::IntEmpiricalVariable const &', 'arg0')])
2764 ## random-variable.h (module 'core'): ns3::IntEmpiricalVariable::IntEmpiricalVariable() [constructor]
2765 cls.add_constructor([])
2766 return
2767
2768def register_Ns3LogNormalVariable_methods(root_module, cls):
2769 ## random-variable.h (module 'core'): ns3::LogNormalVariable::LogNormalVariable(ns3::LogNormalVariable const & arg0) [copy constructor]
2770 cls.add_constructor([param('ns3::LogNormalVariable const &', 'arg0')])
2771 ## random-variable.h (module 'core'): ns3::LogNormalVariable::LogNormalVariable(double mu, double sigma) [constructor]
2772 cls.add_constructor([param('double', 'mu'), param('double', 'sigma')])
2773 return
2774
2775def register_Ns3NormalVariable_methods(root_module, cls):
2776 ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable(ns3::NormalVariable const & arg0) [copy constructor]
2777 cls.add_constructor([param('ns3::NormalVariable const &', 'arg0')])
2778 ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable() [constructor]
2779 cls.add_constructor([])
2780 ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable(double m, double v) [constructor]
2781 cls.add_constructor([param('double', 'm'), param('double', 'v')])
2782 ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable(double m, double v, double b) [constructor]
2783 cls.add_constructor([param('double', 'm'), param('double', 'v'), param('double', 'b')])
2784 return
2785
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002786def register_Ns3Object_methods(root_module, cls):
2787 ## object.h (module 'core'): ns3::Object::Object() [constructor]
2788 cls.add_constructor([])
2789 ## object.h (module 'core'): void ns3::Object::AggregateObject(ns3::Ptr<ns3::Object> other) [member function]
2790 cls.add_method('AggregateObject',
2791 'void',
2792 [param('ns3::Ptr< ns3::Object >', 'other')])
2793 ## object.h (module 'core'): void ns3::Object::Dispose() [member function]
2794 cls.add_method('Dispose',
2795 'void',
2796 [])
2797 ## object.h (module 'core'): ns3::Object::AggregateIterator ns3::Object::GetAggregateIterator() const [member function]
2798 cls.add_method('GetAggregateIterator',
2799 'ns3::Object::AggregateIterator',
2800 [],
2801 is_const=True)
2802 ## object.h (module 'core'): ns3::TypeId ns3::Object::GetInstanceTypeId() const [member function]
2803 cls.add_method('GetInstanceTypeId',
2804 'ns3::TypeId',
2805 [],
2806 is_const=True, is_virtual=True)
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002807 ## object.h (module 'core'): ns3::Ptr<ns3::ndn::ContentStore> ns3::Object::GetObject() const [member function]
2808 cls.add_method('GetObject',
2809 'ns3::Ptr< ns3::ndn::ContentStore >',
2810 [],
2811 is_const=True, template_parameters=['ns3::ndn::ContentStore'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07002812 ## object.h (module 'core'): ns3::Ptr<ns3::ndn::Fib> ns3::Object::GetObject() const [member function]
Alexander Afanasyev1c0248b2012-07-24 15:59:50 -07002813 cls.add_method('GetObject',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07002814 'ns3::Ptr< ns3::ndn::Fib >',
Alexander Afanasyev1c0248b2012-07-24 15:59:50 -07002815 [],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07002816 is_const=True, template_parameters=['ns3::ndn::Fib'])
2817 ## object.h (module 'core'): ns3::Ptr<ns3::ndn::Pit> ns3::Object::GetObject() const [member function]
Alexander Afanasyev5feb38b2012-08-09 11:01:43 -07002818 cls.add_method('GetObject',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07002819 'ns3::Ptr< ns3::ndn::Pit >',
Alexander Afanasyev5feb38b2012-08-09 11:01:43 -07002820 [],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07002821 is_const=True, template_parameters=['ns3::ndn::Pit'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002822 ## object.h (module 'core'): static ns3::TypeId ns3::Object::GetTypeId() [member function]
2823 cls.add_method('GetTypeId',
2824 'ns3::TypeId',
2825 [],
2826 is_static=True)
Alexander Afanasyev5b8d61b2013-05-03 10:23:21 -07002827 ## object.h (module 'core'): void ns3::Object::Initialize() [member function]
2828 cls.add_method('Initialize',
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002829 'void',
2830 [])
2831 ## object.h (module 'core'): ns3::Object::Object(ns3::Object const & o) [copy constructor]
2832 cls.add_constructor([param('ns3::Object const &', 'o')],
2833 visibility='protected')
2834 ## object.h (module 'core'): void ns3::Object::DoDispose() [member function]
2835 cls.add_method('DoDispose',
2836 'void',
2837 [],
2838 visibility='protected', is_virtual=True)
Alexander Afanasyev5b8d61b2013-05-03 10:23:21 -07002839 ## object.h (module 'core'): void ns3::Object::DoInitialize() [member function]
2840 cls.add_method('DoInitialize',
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002841 'void',
2842 [],
2843 visibility='protected', is_virtual=True)
2844 ## object.h (module 'core'): void ns3::Object::NotifyNewAggregate() [member function]
2845 cls.add_method('NotifyNewAggregate',
2846 'void',
2847 [],
2848 visibility='protected', is_virtual=True)
2849 return
2850
2851def register_Ns3ObjectAggregateIterator_methods(root_module, cls):
2852 ## object.h (module 'core'): ns3::Object::AggregateIterator::AggregateIterator(ns3::Object::AggregateIterator const & arg0) [copy constructor]
2853 cls.add_constructor([param('ns3::Object::AggregateIterator const &', 'arg0')])
2854 ## object.h (module 'core'): ns3::Object::AggregateIterator::AggregateIterator() [constructor]
2855 cls.add_constructor([])
2856 ## object.h (module 'core'): bool ns3::Object::AggregateIterator::HasNext() const [member function]
2857 cls.add_method('HasNext',
2858 'bool',
2859 [],
2860 is_const=True)
2861 ## object.h (module 'core'): ns3::Ptr<ns3::Object const> ns3::Object::AggregateIterator::Next() [member function]
2862 cls.add_method('Next',
2863 'ns3::Ptr< ns3::Object const >',
2864 [])
2865 return
2866
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002867def register_Ns3ParetoVariable_methods(root_module, cls):
2868 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(ns3::ParetoVariable const & arg0) [copy constructor]
2869 cls.add_constructor([param('ns3::ParetoVariable const &', 'arg0')])
2870 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable() [constructor]
2871 cls.add_constructor([])
2872 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(double m) [constructor]
2873 cls.add_constructor([param('double', 'm')])
2874 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(double m, double s) [constructor]
2875 cls.add_constructor([param('double', 'm'), param('double', 's')])
2876 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(double m, double s, double b) [constructor]
2877 cls.add_constructor([param('double', 'm'), param('double', 's'), param('double', 'b')])
2878 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(std::pair<double,double> params) [constructor]
2879 cls.add_constructor([param('std::pair< double, double >', 'params')])
2880 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(std::pair<double,double> params, double b) [constructor]
2881 cls.add_constructor([param('std::pair< double, double >', 'params'), param('double', 'b')])
2882 return
2883
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002884def register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, cls):
2885 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >::SimpleRefCount() [constructor]
2886 cls.add_constructor([])
2887 ## 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]
2888 cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter< ns3::AttributeAccessor > > const &', 'o')])
2889 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >::Cleanup() [member function]
2890 cls.add_method('Cleanup',
2891 'void',
2892 [],
2893 is_static=True)
2894 return
2895
2896def register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeChecker__gt___methods(root_module, cls):
2897 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >::SimpleRefCount() [constructor]
2898 cls.add_constructor([])
2899 ## 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]
2900 cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter< ns3::AttributeChecker > > const &', 'o')])
2901 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >::Cleanup() [member function]
2902 cls.add_method('Cleanup',
2903 'void',
2904 [],
2905 is_static=True)
2906 return
2907
2908def register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, cls):
2909 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >::SimpleRefCount() [constructor]
2910 cls.add_constructor([])
2911 ## 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]
2912 cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter< ns3::AttributeValue > > const &', 'o')])
2913 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >::Cleanup() [member function]
2914 cls.add_method('Cleanup',
2915 'void',
2916 [],
2917 is_static=True)
2918 return
2919
2920def register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, cls):
2921 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >::SimpleRefCount() [constructor]
2922 cls.add_constructor([])
2923 ## 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]
2924 cls.add_constructor([param('ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter< ns3::CallbackImplBase > > const &', 'o')])
2925 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >::Cleanup() [member function]
2926 cls.add_method('Cleanup',
2927 'void',
2928 [],
2929 is_static=True)
2930 return
2931
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002932def register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, cls):
2933 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >::SimpleRefCount() [constructor]
2934 cls.add_constructor([])
2935 ## 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]
2936 cls.add_constructor([param('ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter< ns3::EventImpl > > const &', 'o')])
2937 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >::Cleanup() [member function]
2938 cls.add_method('Cleanup',
2939 'void',
2940 [],
2941 is_static=True)
2942 return
2943
2944def register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, cls):
2945 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >::SimpleRefCount() [constructor]
2946 cls.add_constructor([])
2947 ## 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]
2948 cls.add_constructor([param('ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter< ns3::NixVector > > const &', 'o')])
2949 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >::Cleanup() [member function]
2950 cls.add_method('Cleanup',
2951 'void',
2952 [],
2953 is_static=True)
2954 return
2955
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002956def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, cls):
2957 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >::SimpleRefCount() [constructor]
2958 cls.add_constructor([])
2959 ## 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]
2960 cls.add_constructor([param('ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter< ns3::Packet > > const &', 'o')])
2961 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >::Cleanup() [member function]
2962 cls.add_method('Cleanup',
2963 'void',
2964 [],
2965 is_static=True)
2966 return
2967
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002968def register_Ns3SimpleRefCount__Ns3TopologyReader_Ns3Empty_Ns3DefaultDeleter__lt__ns3TopologyReader__gt___methods(root_module, cls):
2969 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter<ns3::TopologyReader> >::SimpleRefCount() [constructor]
2970 cls.add_constructor([])
2971 ## 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]
2972 cls.add_constructor([param('ns3::SimpleRefCount< ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter< ns3::TopologyReader > > const &', 'o')])
2973 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter<ns3::TopologyReader> >::Cleanup() [member function]
2974 cls.add_method('Cleanup',
2975 'void',
2976 [],
2977 is_static=True)
2978 return
2979
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002980def register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, cls):
2981 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >::SimpleRefCount() [constructor]
2982 cls.add_constructor([])
2983 ## 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]
2984 cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > const &', 'o')])
2985 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >::Cleanup() [member function]
2986 cls.add_method('Cleanup',
2987 'void',
2988 [],
2989 is_static=True)
2990 return
2991
Alexander Afanasyev858d5312013-07-10 18:50:18 -07002992def register_Ns3SimpleRefCount__Ns3NdnContentObject_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnContentObject__gt___methods(root_module, cls):
2993 ## 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 -07002994 cls.add_constructor([])
Alexander Afanasyev858d5312013-07-10 18:50:18 -07002995 ## 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]
2996 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::ContentObject, ns3::empty, ns3::DefaultDeleter< ns3::ndn::ContentObject > > const &', 'o')])
2997 ## 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 -07002998 cls.add_method('Cleanup',
2999 'void',
3000 [],
3001 is_static=True)
3002 return
3003
3004def register_Ns3SimpleRefCount__Ns3NdnFaceContainer_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnFaceContainer__gt___methods(root_module, cls):
3005 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::FaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::ndn::FaceContainer> >::SimpleRefCount() [constructor]
3006 cls.add_constructor([])
3007 ## 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]
3008 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::FaceContainer, ns3::empty, ns3::DefaultDeleter< ns3::ndn::FaceContainer > > const &', 'o')])
3009 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::ndn::FaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::ndn::FaceContainer> >::Cleanup() [member function]
3010 cls.add_method('Cleanup',
3011 'void',
3012 [],
3013 is_static=True)
3014 return
3015
Alexander Afanasyev858d5312013-07-10 18:50:18 -07003016def register_Ns3SimpleRefCount__Ns3NdnInterest_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnInterest__gt___methods(root_module, cls):
3017 ## 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 -07003018 cls.add_constructor([])
Alexander Afanasyev858d5312013-07-10 18:50:18 -07003019 ## 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]
3020 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::Interest, ns3::empty, ns3::DefaultDeleter< ns3::ndn::Interest > > const &', 'o')])
3021 ## 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 -07003022 cls.add_method('Cleanup',
3023 'void',
3024 [],
3025 is_static=True)
3026 return
3027
Alexander Afanasyev32c07562013-02-01 12:58:43 -08003028def register_Ns3SimpleRefCount__Ns3NdnName_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnName__gt___methods(root_module, cls):
3029 ## 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 -07003030 cls.add_constructor([])
Alexander Afanasyev32c07562013-02-01 12:58:43 -08003031 ## 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]
3032 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::Name, ns3::empty, ns3::DefaultDeleter< ns3::ndn::Name > > const &', 'o')])
3033 ## 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 -07003034 cls.add_method('Cleanup',
3035 'void',
3036 [],
3037 is_static=True)
3038 return
3039
3040def register_Ns3SimpleRefCount__Ns3NdnCsEntry_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnCsEntry__gt___methods(root_module, cls):
3041 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::cs::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::cs::Entry> >::SimpleRefCount() [constructor]
3042 cls.add_constructor([])
3043 ## 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]
3044 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::cs::Entry, ns3::empty, ns3::DefaultDeleter< ns3::ndn::cs::Entry > > const &', 'o')])
3045 ## 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]
3046 cls.add_method('Cleanup',
3047 'void',
3048 [],
3049 is_static=True)
3050 return
3051
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07003052def register_Ns3SimpleRefCount__Ns3NdnPitEntry_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnPitEntry__gt___methods(root_module, cls):
3053 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::pit::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::pit::Entry> >::SimpleRefCount() [constructor]
3054 cls.add_constructor([])
3055 ## 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]
3056 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::pit::Entry, ns3::empty, ns3::DefaultDeleter< ns3::ndn::pit::Entry > > const &', 'o')])
3057 ## 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]
3058 cls.add_method('Cleanup',
3059 'void',
3060 [],
3061 is_static=True)
3062 return
3063
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003064def register_Ns3Time_methods(root_module, cls):
3065 cls.add_binary_comparison_operator('!=')
3066 cls.add_inplace_numeric_operator('+=', param('ns3::Time const &', 'right'))
3067 cls.add_inplace_numeric_operator('-=', param('ns3::Time const &', 'right'))
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07003068 cls.add_output_stream_operator()
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08003069 cls.add_binary_comparison_operator('<=')
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003070 cls.add_binary_comparison_operator('==')
3071 cls.add_binary_comparison_operator('>=')
3072 cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right'))
3073 cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right'))
3074 cls.add_binary_comparison_operator('<')
3075 cls.add_binary_comparison_operator('>')
3076 ## nstime.h (module 'core'): ns3::Time::Time() [constructor]
3077 cls.add_constructor([])
3078 ## nstime.h (module 'core'): ns3::Time::Time(ns3::Time const & o) [copy constructor]
3079 cls.add_constructor([param('ns3::Time const &', 'o')])
3080 ## nstime.h (module 'core'): ns3::Time::Time(double v) [constructor]
3081 cls.add_constructor([param('double', 'v')])
3082 ## nstime.h (module 'core'): ns3::Time::Time(int v) [constructor]
3083 cls.add_constructor([param('int', 'v')])
3084 ## nstime.h (module 'core'): ns3::Time::Time(long int v) [constructor]
3085 cls.add_constructor([param('long int', 'v')])
3086 ## nstime.h (module 'core'): ns3::Time::Time(long long int v) [constructor]
3087 cls.add_constructor([param('long long int', 'v')])
3088 ## nstime.h (module 'core'): ns3::Time::Time(unsigned int v) [constructor]
3089 cls.add_constructor([param('unsigned int', 'v')])
3090 ## nstime.h (module 'core'): ns3::Time::Time(long unsigned int v) [constructor]
3091 cls.add_constructor([param('long unsigned int', 'v')])
3092 ## nstime.h (module 'core'): ns3::Time::Time(long long unsigned int v) [constructor]
3093 cls.add_constructor([param('long long unsigned int', 'v')])
3094 ## nstime.h (module 'core'): ns3::Time::Time(std::string const & s) [constructor]
3095 cls.add_constructor([param('std::string const &', 's')])
3096 ## nstime.h (module 'core'): ns3::Time::Time(ns3::int64x64_t const & value) [constructor]
3097 cls.add_constructor([param('ns3::int64x64_t const &', 'value')])
3098 ## nstime.h (module 'core'): int ns3::Time::Compare(ns3::Time const & o) const [member function]
3099 cls.add_method('Compare',
3100 'int',
3101 [param('ns3::Time const &', 'o')],
3102 is_const=True)
3103 ## nstime.h (module 'core'): static ns3::Time ns3::Time::From(ns3::int64x64_t const & from, ns3::Time::Unit timeUnit) [member function]
3104 cls.add_method('From',
3105 'ns3::Time',
3106 [param('ns3::int64x64_t const &', 'from'), param('ns3::Time::Unit', 'timeUnit')],
3107 is_static=True)
3108 ## nstime.h (module 'core'): static ns3::Time ns3::Time::From(ns3::int64x64_t const & value) [member function]
3109 cls.add_method('From',
3110 'ns3::Time',
3111 [param('ns3::int64x64_t const &', 'value')],
3112 is_static=True)
3113 ## nstime.h (module 'core'): static ns3::Time ns3::Time::FromDouble(double value, ns3::Time::Unit timeUnit) [member function]
3114 cls.add_method('FromDouble',
3115 'ns3::Time',
3116 [param('double', 'value'), param('ns3::Time::Unit', 'timeUnit')],
3117 is_static=True)
3118 ## nstime.h (module 'core'): static ns3::Time ns3::Time::FromInteger(uint64_t value, ns3::Time::Unit timeUnit) [member function]
3119 cls.add_method('FromInteger',
3120 'ns3::Time',
3121 [param('uint64_t', 'value'), param('ns3::Time::Unit', 'timeUnit')],
3122 is_static=True)
3123 ## nstime.h (module 'core'): double ns3::Time::GetDouble() const [member function]
3124 cls.add_method('GetDouble',
3125 'double',
3126 [],
3127 is_const=True)
3128 ## nstime.h (module 'core'): int64_t ns3::Time::GetFemtoSeconds() const [member function]
3129 cls.add_method('GetFemtoSeconds',
3130 'int64_t',
3131 [],
3132 is_const=True)
3133 ## nstime.h (module 'core'): int64_t ns3::Time::GetInteger() const [member function]
3134 cls.add_method('GetInteger',
3135 'int64_t',
3136 [],
3137 is_const=True)
3138 ## nstime.h (module 'core'): int64_t ns3::Time::GetMicroSeconds() const [member function]
3139 cls.add_method('GetMicroSeconds',
3140 'int64_t',
3141 [],
3142 is_const=True)
3143 ## nstime.h (module 'core'): int64_t ns3::Time::GetMilliSeconds() const [member function]
3144 cls.add_method('GetMilliSeconds',
3145 'int64_t',
3146 [],
3147 is_const=True)
3148 ## nstime.h (module 'core'): int64_t ns3::Time::GetNanoSeconds() const [member function]
3149 cls.add_method('GetNanoSeconds',
3150 'int64_t',
3151 [],
3152 is_const=True)
3153 ## nstime.h (module 'core'): int64_t ns3::Time::GetPicoSeconds() const [member function]
3154 cls.add_method('GetPicoSeconds',
3155 'int64_t',
3156 [],
3157 is_const=True)
3158 ## nstime.h (module 'core'): static ns3::Time::Unit ns3::Time::GetResolution() [member function]
3159 cls.add_method('GetResolution',
3160 'ns3::Time::Unit',
3161 [],
3162 is_static=True)
3163 ## nstime.h (module 'core'): double ns3::Time::GetSeconds() const [member function]
3164 cls.add_method('GetSeconds',
3165 'double',
3166 [],
3167 is_const=True)
3168 ## nstime.h (module 'core'): int64_t ns3::Time::GetTimeStep() const [member function]
3169 cls.add_method('GetTimeStep',
3170 'int64_t',
3171 [],
3172 is_const=True)
3173 ## nstime.h (module 'core'): bool ns3::Time::IsNegative() const [member function]
3174 cls.add_method('IsNegative',
3175 'bool',
3176 [],
3177 is_const=True)
3178 ## nstime.h (module 'core'): bool ns3::Time::IsPositive() const [member function]
3179 cls.add_method('IsPositive',
3180 'bool',
3181 [],
3182 is_const=True)
3183 ## nstime.h (module 'core'): bool ns3::Time::IsStrictlyNegative() const [member function]
3184 cls.add_method('IsStrictlyNegative',
3185 'bool',
3186 [],
3187 is_const=True)
3188 ## nstime.h (module 'core'): bool ns3::Time::IsStrictlyPositive() const [member function]
3189 cls.add_method('IsStrictlyPositive',
3190 'bool',
3191 [],
3192 is_const=True)
3193 ## nstime.h (module 'core'): bool ns3::Time::IsZero() const [member function]
3194 cls.add_method('IsZero',
3195 'bool',
3196 [],
3197 is_const=True)
3198 ## nstime.h (module 'core'): static void ns3::Time::SetResolution(ns3::Time::Unit resolution) [member function]
3199 cls.add_method('SetResolution',
3200 'void',
3201 [param('ns3::Time::Unit', 'resolution')],
3202 is_static=True)
3203 ## nstime.h (module 'core'): ns3::int64x64_t ns3::Time::To(ns3::Time::Unit timeUnit) const [member function]
3204 cls.add_method('To',
3205 'ns3::int64x64_t',
3206 [param('ns3::Time::Unit', 'timeUnit')],
3207 is_const=True)
3208 ## nstime.h (module 'core'): double ns3::Time::ToDouble(ns3::Time::Unit timeUnit) const [member function]
3209 cls.add_method('ToDouble',
3210 'double',
3211 [param('ns3::Time::Unit', 'timeUnit')],
3212 is_const=True)
3213 ## nstime.h (module 'core'): int64_t ns3::Time::ToInteger(ns3::Time::Unit timeUnit) const [member function]
3214 cls.add_method('ToInteger',
3215 'int64_t',
3216 [param('ns3::Time::Unit', 'timeUnit')],
3217 is_const=True)
3218 return
3219
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07003220def register_Ns3TopologyReader_methods(root_module, cls):
3221 ## topology-reader.h (module 'topology-read'): ns3::TopologyReader::TopologyReader() [constructor]
3222 cls.add_constructor([])
3223 ## topology-reader.h (module 'topology-read'): void ns3::TopologyReader::AddLink(ns3::TopologyReader::Link link) [member function]
3224 cls.add_method('AddLink',
3225 'void',
3226 [param('ns3::TopologyReader::Link', 'link')])
3227 ## topology-reader.h (module 'topology-read'): std::string ns3::TopologyReader::GetFileName() const [member function]
3228 cls.add_method('GetFileName',
3229 'std::string',
3230 [],
3231 is_const=True)
3232 ## topology-reader.h (module 'topology-read'): std::_List_const_iterator<ns3::TopologyReader::Link> ns3::TopologyReader::LinksBegin() const [member function]
3233 cls.add_method('LinksBegin',
3234 'std::_List_const_iterator< ns3::TopologyReader::Link >',
3235 [],
3236 is_const=True)
3237 ## topology-reader.h (module 'topology-read'): bool ns3::TopologyReader::LinksEmpty() const [member function]
3238 cls.add_method('LinksEmpty',
3239 'bool',
3240 [],
3241 is_const=True)
3242 ## topology-reader.h (module 'topology-read'): std::_List_const_iterator<ns3::TopologyReader::Link> ns3::TopologyReader::LinksEnd() const [member function]
3243 cls.add_method('LinksEnd',
3244 'std::_List_const_iterator< ns3::TopologyReader::Link >',
3245 [],
3246 is_const=True)
3247 ## topology-reader.h (module 'topology-read'): int ns3::TopologyReader::LinksSize() const [member function]
3248 cls.add_method('LinksSize',
3249 'int',
3250 [],
3251 is_const=True)
3252 ## topology-reader.h (module 'topology-read'): ns3::NodeContainer ns3::TopologyReader::Read() [member function]
3253 cls.add_method('Read',
3254 'ns3::NodeContainer',
3255 [],
3256 is_pure_virtual=True, is_virtual=True)
3257 ## topology-reader.h (module 'topology-read'): void ns3::TopologyReader::SetFileName(std::string const & fileName) [member function]
3258 cls.add_method('SetFileName',
3259 'void',
3260 [param('std::string const &', 'fileName')])
3261 return
3262
3263def register_Ns3TopologyReaderLink_methods(root_module, cls):
3264 ## topology-reader.h (module 'topology-read'): ns3::TopologyReader::Link::Link(ns3::TopologyReader::Link const & arg0) [copy constructor]
3265 cls.add_constructor([param('ns3::TopologyReader::Link const &', 'arg0')])
3266 ## topology-reader.h (module 'topology-read'): ns3::TopologyReader::Link::Link() [constructor]
3267 cls.add_constructor([])
3268 ## 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]
3269 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')])
3270 ## 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]
3271 cls.add_method('AttributesBegin',
3272 '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 > > > >',
3273 [])
3274 ## 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]
3275 cls.add_method('AttributesEnd',
3276 '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 > > > >',
3277 [])
3278 ## topology-reader.h (module 'topology-read'): std::string ns3::TopologyReader::Link::GetAttribute(std::string const & name) const [member function]
3279 cls.add_method('GetAttribute',
3280 'std::string',
3281 [param('std::string const &', 'name')],
3282 is_const=True)
3283 ## topology-reader.h (module 'topology-read'): bool ns3::TopologyReader::Link::GetAttributeFailSafe(std::string const & name, std::string & value) const [member function]
3284 cls.add_method('GetAttributeFailSafe',
3285 'bool',
3286 [param('std::string const &', 'name'), param('std::string &', 'value')],
3287 is_const=True)
3288 ## topology-reader.h (module 'topology-read'): ns3::Ptr<ns3::NetDevice> ns3::TopologyReader::Link::GetFromNetDevice() const [member function]
3289 cls.add_method('GetFromNetDevice',
3290 'ns3::Ptr< ns3::NetDevice >',
3291 [],
3292 is_const=True)
3293 ## topology-reader.h (module 'topology-read'): ns3::Ptr<ns3::Node> ns3::TopologyReader::Link::GetFromNode() const [member function]
3294 cls.add_method('GetFromNode',
3295 'ns3::Ptr< ns3::Node >',
3296 [],
3297 is_const=True)
3298 ## topology-reader.h (module 'topology-read'): std::string ns3::TopologyReader::Link::GetFromNodeName() const [member function]
3299 cls.add_method('GetFromNodeName',
3300 'std::string',
3301 [],
3302 is_const=True)
3303 ## topology-reader.h (module 'topology-read'): ns3::Ptr<ns3::NetDevice> ns3::TopologyReader::Link::GetToNetDevice() const [member function]
3304 cls.add_method('GetToNetDevice',
3305 'ns3::Ptr< ns3::NetDevice >',
3306 [],
3307 is_const=True)
3308 ## topology-reader.h (module 'topology-read'): ns3::Ptr<ns3::Node> ns3::TopologyReader::Link::GetToNode() const [member function]
3309 cls.add_method('GetToNode',
3310 'ns3::Ptr< ns3::Node >',
3311 [],
3312 is_const=True)
3313 ## topology-reader.h (module 'topology-read'): std::string ns3::TopologyReader::Link::GetToNodeName() const [member function]
3314 cls.add_method('GetToNodeName',
3315 'std::string',
3316 [],
3317 is_const=True)
3318 ## topology-reader.h (module 'topology-read'): void ns3::TopologyReader::Link::SetAttribute(std::string const & name, std::string const & value) [member function]
3319 cls.add_method('SetAttribute',
3320 'void',
3321 [param('std::string const &', 'name'), param('std::string const &', 'value')])
3322 ## topology-reader.h (module 'topology-read'): void ns3::TopologyReader::Link::SetNetDevices(ns3::Ptr<ns3::NetDevice> from, ns3::Ptr<ns3::NetDevice> to) [member function]
3323 cls.add_method('SetNetDevices',
3324 'void',
3325 [param('ns3::Ptr< ns3::NetDevice >', 'from'), param('ns3::Ptr< ns3::NetDevice >', 'to')])
3326 return
3327
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003328def register_Ns3TraceSourceAccessor_methods(root_module, cls):
3329 ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor]
3330 cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')])
3331 ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor]
3332 cls.add_constructor([])
3333 ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function]
3334 cls.add_method('Connect',
3335 'bool',
3336 [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')],
3337 is_pure_virtual=True, is_const=True, is_virtual=True)
3338 ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function]
3339 cls.add_method('ConnectWithoutContext',
3340 'bool',
3341 [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')],
3342 is_pure_virtual=True, is_const=True, is_virtual=True)
3343 ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function]
3344 cls.add_method('Disconnect',
3345 'bool',
3346 [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')],
3347 is_pure_virtual=True, is_const=True, is_virtual=True)
3348 ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function]
3349 cls.add_method('DisconnectWithoutContext',
3350 'bool',
3351 [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')],
3352 is_pure_virtual=True, is_const=True, is_virtual=True)
3353 return
3354
3355def register_Ns3Trailer_methods(root_module, cls):
3356 cls.add_output_stream_operator()
3357 ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor]
3358 cls.add_constructor([])
3359 ## trailer.h (module 'network'): ns3::Trailer::Trailer(ns3::Trailer const & arg0) [copy constructor]
3360 cls.add_constructor([param('ns3::Trailer const &', 'arg0')])
3361 ## trailer.h (module 'network'): uint32_t ns3::Trailer::Deserialize(ns3::Buffer::Iterator end) [member function]
3362 cls.add_method('Deserialize',
3363 'uint32_t',
3364 [param('ns3::Buffer::Iterator', 'end')],
3365 is_pure_virtual=True, is_virtual=True)
3366 ## trailer.h (module 'network'): uint32_t ns3::Trailer::GetSerializedSize() const [member function]
3367 cls.add_method('GetSerializedSize',
3368 'uint32_t',
3369 [],
3370 is_pure_virtual=True, is_const=True, is_virtual=True)
3371 ## trailer.h (module 'network'): static ns3::TypeId ns3::Trailer::GetTypeId() [member function]
3372 cls.add_method('GetTypeId',
3373 'ns3::TypeId',
3374 [],
3375 is_static=True)
3376 ## trailer.h (module 'network'): void ns3::Trailer::Print(std::ostream & os) const [member function]
3377 cls.add_method('Print',
3378 'void',
3379 [param('std::ostream &', 'os')],
3380 is_pure_virtual=True, is_const=True, is_virtual=True)
3381 ## trailer.h (module 'network'): void ns3::Trailer::Serialize(ns3::Buffer::Iterator start) const [member function]
3382 cls.add_method('Serialize',
3383 'void',
3384 [param('ns3::Buffer::Iterator', 'start')],
3385 is_pure_virtual=True, is_const=True, is_virtual=True)
3386 return
3387
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07003388def register_Ns3AnnotatedTopologyReader_methods(root_module, cls):
3389 ## annotated-topology-reader.h (module 'ndnSIM'): ns3::AnnotatedTopologyReader::AnnotatedTopologyReader(std::string const & path="", double scale=1.0e+0) [constructor]
3390 cls.add_constructor([param('std::string const &', 'path', default_value='""'), param('double', 'scale', default_value='1.0e+0')])
3391 ## annotated-topology-reader.h (module 'ndnSIM'): ns3::NodeContainer ns3::AnnotatedTopologyReader::Read() [member function]
3392 cls.add_method('Read',
3393 'ns3::NodeContainer',
3394 [],
3395 is_virtual=True)
3396 ## annotated-topology-reader.h (module 'ndnSIM'): ns3::NodeContainer ns3::AnnotatedTopologyReader::GetNodes() const [member function]
3397 cls.add_method('GetNodes',
3398 'ns3::NodeContainer',
3399 [],
Alexander Afanasyev858d5312013-07-10 18:50:18 -07003400 is_const=True, is_virtual=True)
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07003401 ## annotated-topology-reader.h (module 'ndnSIM'): std::list<ns3::TopologyReader::Link, std::allocator<ns3::TopologyReader::Link> > const & ns3::AnnotatedTopologyReader::GetLinks() const [member function]
3402 cls.add_method('GetLinks',
3403 'std::list< ns3::TopologyReader::Link > const &',
3404 [],
Alexander Afanasyev858d5312013-07-10 18:50:18 -07003405 is_const=True, is_virtual=True)
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07003406 ## annotated-topology-reader.h (module 'ndnSIM'): void ns3::AnnotatedTopologyReader::AssignIpv4Addresses(ns3::Ipv4Address base) [member function]
3407 cls.add_method('AssignIpv4Addresses',
3408 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07003409 [param('ns3::Ipv4Address', 'base')],
3410 is_virtual=True)
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07003411 ## annotated-topology-reader.h (module 'ndnSIM'): void ns3::AnnotatedTopologyReader::SetBoundingBox(double ulx, double uly, double lrx, double lry) [member function]
3412 cls.add_method('SetBoundingBox',
3413 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07003414 [param('double', 'ulx'), param('double', 'uly'), param('double', 'lrx'), param('double', 'lry')],
3415 is_virtual=True)
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07003416 ## annotated-topology-reader.h (module 'ndnSIM'): void ns3::AnnotatedTopologyReader::SetMobilityModel(std::string const & model) [member function]
3417 cls.add_method('SetMobilityModel',
3418 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07003419 [param('std::string const &', 'model')],
3420 is_virtual=True)
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07003421 ## annotated-topology-reader.h (module 'ndnSIM'): void ns3::AnnotatedTopologyReader::ApplyOspfMetric() [member function]
3422 cls.add_method('ApplyOspfMetric',
3423 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07003424 [],
3425 is_virtual=True)
3426 ## annotated-topology-reader.h (module 'ndnSIM'): void ns3::AnnotatedTopologyReader::SaveTopology(std::string const & file) [member function]
Alexander Afanasyev71029732012-11-19 23:50:52 -08003427 cls.add_method('SaveTopology',
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07003428 'void',
3429 [param('std::string const &', 'file')],
Alexander Afanasyev858d5312013-07-10 18:50:18 -07003430 is_virtual=True)
3431 ## annotated-topology-reader.h (module 'ndnSIM'): void ns3::AnnotatedTopologyReader::SaveGraphviz(std::string const & file) [member function]
3432 cls.add_method('SaveGraphviz',
3433 'void',
3434 [param('std::string const &', 'file')],
3435 is_virtual=True)
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07003436 ## annotated-topology-reader.h (module 'ndnSIM'): ns3::Ptr<ns3::Node> ns3::AnnotatedTopologyReader::CreateNode(std::string const name, uint32_t systemId) [member function]
3437 cls.add_method('CreateNode',
3438 'ns3::Ptr< ns3::Node >',
3439 [param('std::string const', 'name'), param('uint32_t', 'systemId')],
3440 visibility='protected')
3441 ## 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]
3442 cls.add_method('CreateNode',
3443 'ns3::Ptr< ns3::Node >',
3444 [param('std::string const', 'name'), param('double', 'posX'), param('double', 'posY'), param('uint32_t', 'systemId')],
3445 visibility='protected')
3446 ## annotated-topology-reader.h (module 'ndnSIM'): void ns3::AnnotatedTopologyReader::ApplySettings() [member function]
3447 cls.add_method('ApplySettings',
3448 'void',
3449 [],
3450 visibility='protected')
3451 return
3452
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003453def register_Ns3Application_methods(root_module, cls):
3454 ## application.h (module 'network'): ns3::Application::Application(ns3::Application const & arg0) [copy constructor]
3455 cls.add_constructor([param('ns3::Application const &', 'arg0')])
3456 ## application.h (module 'network'): ns3::Application::Application() [constructor]
3457 cls.add_constructor([])
3458 ## application.h (module 'network'): ns3::Ptr<ns3::Node> ns3::Application::GetNode() const [member function]
3459 cls.add_method('GetNode',
3460 'ns3::Ptr< ns3::Node >',
3461 [],
3462 is_const=True)
3463 ## application.h (module 'network'): static ns3::TypeId ns3::Application::GetTypeId() [member function]
3464 cls.add_method('GetTypeId',
3465 'ns3::TypeId',
3466 [],
3467 is_static=True)
3468 ## application.h (module 'network'): void ns3::Application::SetNode(ns3::Ptr<ns3::Node> node) [member function]
3469 cls.add_method('SetNode',
3470 'void',
3471 [param('ns3::Ptr< ns3::Node >', 'node')])
3472 ## application.h (module 'network'): void ns3::Application::SetStartTime(ns3::Time start) [member function]
3473 cls.add_method('SetStartTime',
3474 'void',
3475 [param('ns3::Time', 'start')])
3476 ## application.h (module 'network'): void ns3::Application::SetStopTime(ns3::Time stop) [member function]
3477 cls.add_method('SetStopTime',
3478 'void',
3479 [param('ns3::Time', 'stop')])
3480 ## application.h (module 'network'): void ns3::Application::DoDispose() [member function]
3481 cls.add_method('DoDispose',
3482 'void',
3483 [],
3484 visibility='protected', is_virtual=True)
Alexander Afanasyev5b8d61b2013-05-03 10:23:21 -07003485 ## application.h (module 'network'): void ns3::Application::DoInitialize() [member function]
3486 cls.add_method('DoInitialize',
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003487 'void',
3488 [],
3489 visibility='protected', is_virtual=True)
3490 ## application.h (module 'network'): void ns3::Application::StartApplication() [member function]
3491 cls.add_method('StartApplication',
3492 'void',
3493 [],
Alexander Afanasyev4756b892012-04-18 14:48:43 -07003494 visibility='private', is_virtual=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003495 ## application.h (module 'network'): void ns3::Application::StopApplication() [member function]
3496 cls.add_method('StopApplication',
3497 'void',
3498 [],
Alexander Afanasyev4756b892012-04-18 14:48:43 -07003499 visibility='private', is_virtual=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003500 return
3501
3502def register_Ns3AttributeAccessor_methods(root_module, cls):
3503 ## attribute.h (module 'core'): ns3::AttributeAccessor::AttributeAccessor(ns3::AttributeAccessor const & arg0) [copy constructor]
3504 cls.add_constructor([param('ns3::AttributeAccessor const &', 'arg0')])
3505 ## attribute.h (module 'core'): ns3::AttributeAccessor::AttributeAccessor() [constructor]
3506 cls.add_constructor([])
3507 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::Get(ns3::ObjectBase const * object, ns3::AttributeValue & attribute) const [member function]
3508 cls.add_method('Get',
3509 'bool',
3510 [param('ns3::ObjectBase const *', 'object'), param('ns3::AttributeValue &', 'attribute')],
3511 is_pure_virtual=True, is_const=True, is_virtual=True)
3512 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::HasGetter() const [member function]
3513 cls.add_method('HasGetter',
3514 'bool',
3515 [],
3516 is_pure_virtual=True, is_const=True, is_virtual=True)
3517 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::HasSetter() const [member function]
3518 cls.add_method('HasSetter',
3519 'bool',
3520 [],
3521 is_pure_virtual=True, is_const=True, is_virtual=True)
3522 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::Set(ns3::ObjectBase * object, ns3::AttributeValue const & value) const [member function]
3523 cls.add_method('Set',
3524 'bool',
3525 [param('ns3::ObjectBase *', 'object', transfer_ownership=False), param('ns3::AttributeValue const &', 'value')],
3526 is_pure_virtual=True, is_const=True, is_virtual=True)
3527 return
3528
3529def register_Ns3AttributeChecker_methods(root_module, cls):
3530 ## attribute.h (module 'core'): ns3::AttributeChecker::AttributeChecker(ns3::AttributeChecker const & arg0) [copy constructor]
3531 cls.add_constructor([param('ns3::AttributeChecker const &', 'arg0')])
3532 ## attribute.h (module 'core'): ns3::AttributeChecker::AttributeChecker() [constructor]
3533 cls.add_constructor([])
3534 ## attribute.h (module 'core'): bool ns3::AttributeChecker::Check(ns3::AttributeValue const & value) const [member function]
3535 cls.add_method('Check',
3536 'bool',
3537 [param('ns3::AttributeValue const &', 'value')],
3538 is_pure_virtual=True, is_const=True, is_virtual=True)
3539 ## attribute.h (module 'core'): bool ns3::AttributeChecker::Copy(ns3::AttributeValue const & source, ns3::AttributeValue & destination) const [member function]
3540 cls.add_method('Copy',
3541 'bool',
3542 [param('ns3::AttributeValue const &', 'source'), param('ns3::AttributeValue &', 'destination')],
3543 is_pure_virtual=True, is_const=True, is_virtual=True)
3544 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeChecker::Create() const [member function]
3545 cls.add_method('Create',
3546 'ns3::Ptr< ns3::AttributeValue >',
3547 [],
3548 is_pure_virtual=True, is_const=True, is_virtual=True)
3549 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function]
3550 cls.add_method('CreateValidValue',
3551 'ns3::Ptr< ns3::AttributeValue >',
3552 [param('ns3::AttributeValue const &', 'value')],
3553 is_const=True)
3554 ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function]
3555 cls.add_method('GetUnderlyingTypeInformation',
3556 'std::string',
3557 [],
3558 is_pure_virtual=True, is_const=True, is_virtual=True)
3559 ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetValueTypeName() const [member function]
3560 cls.add_method('GetValueTypeName',
3561 'std::string',
3562 [],
3563 is_pure_virtual=True, is_const=True, is_virtual=True)
3564 ## attribute.h (module 'core'): bool ns3::AttributeChecker::HasUnderlyingTypeInformation() const [member function]
3565 cls.add_method('HasUnderlyingTypeInformation',
3566 'bool',
3567 [],
3568 is_pure_virtual=True, is_const=True, is_virtual=True)
3569 return
3570
3571def register_Ns3AttributeValue_methods(root_module, cls):
3572 ## attribute.h (module 'core'): ns3::AttributeValue::AttributeValue(ns3::AttributeValue const & arg0) [copy constructor]
3573 cls.add_constructor([param('ns3::AttributeValue const &', 'arg0')])
3574 ## attribute.h (module 'core'): ns3::AttributeValue::AttributeValue() [constructor]
3575 cls.add_constructor([])
3576 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeValue::Copy() const [member function]
3577 cls.add_method('Copy',
3578 'ns3::Ptr< ns3::AttributeValue >',
3579 [],
3580 is_pure_virtual=True, is_const=True, is_virtual=True)
3581 ## attribute.h (module 'core'): bool ns3::AttributeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3582 cls.add_method('DeserializeFromString',
3583 'bool',
3584 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3585 is_pure_virtual=True, is_virtual=True)
3586 ## attribute.h (module 'core'): std::string ns3::AttributeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3587 cls.add_method('SerializeToString',
3588 'std::string',
3589 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3590 is_pure_virtual=True, is_const=True, is_virtual=True)
3591 return
3592
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07003593def register_Ns3BooleanChecker_methods(root_module, cls):
3594 ## boolean.h (module 'core'): ns3::BooleanChecker::BooleanChecker() [constructor]
3595 cls.add_constructor([])
3596 ## boolean.h (module 'core'): ns3::BooleanChecker::BooleanChecker(ns3::BooleanChecker const & arg0) [copy constructor]
3597 cls.add_constructor([param('ns3::BooleanChecker const &', 'arg0')])
3598 return
3599
3600def register_Ns3BooleanValue_methods(root_module, cls):
3601 cls.add_output_stream_operator()
3602 ## boolean.h (module 'core'): ns3::BooleanValue::BooleanValue(ns3::BooleanValue const & arg0) [copy constructor]
3603 cls.add_constructor([param('ns3::BooleanValue const &', 'arg0')])
3604 ## boolean.h (module 'core'): ns3::BooleanValue::BooleanValue() [constructor]
3605 cls.add_constructor([])
3606 ## boolean.h (module 'core'): ns3::BooleanValue::BooleanValue(bool value) [constructor]
3607 cls.add_constructor([param('bool', 'value')])
3608 ## boolean.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::BooleanValue::Copy() const [member function]
3609 cls.add_method('Copy',
3610 'ns3::Ptr< ns3::AttributeValue >',
3611 [],
3612 is_const=True, is_virtual=True)
3613 ## boolean.h (module 'core'): bool ns3::BooleanValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3614 cls.add_method('DeserializeFromString',
3615 'bool',
3616 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3617 is_virtual=True)
3618 ## boolean.h (module 'core'): bool ns3::BooleanValue::Get() const [member function]
3619 cls.add_method('Get',
3620 'bool',
3621 [],
3622 is_const=True)
3623 ## boolean.h (module 'core'): std::string ns3::BooleanValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3624 cls.add_method('SerializeToString',
3625 'std::string',
3626 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3627 is_const=True, is_virtual=True)
3628 ## boolean.h (module 'core'): void ns3::BooleanValue::Set(bool value) [member function]
3629 cls.add_method('Set',
3630 'void',
3631 [param('bool', 'value')])
3632 return
3633
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003634def register_Ns3CallbackChecker_methods(root_module, cls):
3635 ## callback.h (module 'core'): ns3::CallbackChecker::CallbackChecker() [constructor]
3636 cls.add_constructor([])
3637 ## callback.h (module 'core'): ns3::CallbackChecker::CallbackChecker(ns3::CallbackChecker const & arg0) [copy constructor]
3638 cls.add_constructor([param('ns3::CallbackChecker const &', 'arg0')])
3639 return
3640
3641def register_Ns3CallbackImplBase_methods(root_module, cls):
3642 ## callback.h (module 'core'): ns3::CallbackImplBase::CallbackImplBase() [constructor]
3643 cls.add_constructor([])
3644 ## callback.h (module 'core'): ns3::CallbackImplBase::CallbackImplBase(ns3::CallbackImplBase const & arg0) [copy constructor]
3645 cls.add_constructor([param('ns3::CallbackImplBase const &', 'arg0')])
3646 ## callback.h (module 'core'): bool ns3::CallbackImplBase::IsEqual(ns3::Ptr<ns3::CallbackImplBase const> other) const [member function]
3647 cls.add_method('IsEqual',
3648 'bool',
3649 [param('ns3::Ptr< ns3::CallbackImplBase const >', 'other')],
3650 is_pure_virtual=True, is_const=True, is_virtual=True)
3651 return
3652
3653def register_Ns3CallbackValue_methods(root_module, cls):
3654 ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue(ns3::CallbackValue const & arg0) [copy constructor]
3655 cls.add_constructor([param('ns3::CallbackValue const &', 'arg0')])
3656 ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue() [constructor]
3657 cls.add_constructor([])
3658 ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue(ns3::CallbackBase const & base) [constructor]
3659 cls.add_constructor([param('ns3::CallbackBase const &', 'base')])
3660 ## callback.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::CallbackValue::Copy() const [member function]
3661 cls.add_method('Copy',
3662 'ns3::Ptr< ns3::AttributeValue >',
3663 [],
3664 is_const=True, is_virtual=True)
3665 ## callback.h (module 'core'): bool ns3::CallbackValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3666 cls.add_method('DeserializeFromString',
3667 'bool',
3668 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3669 is_virtual=True)
3670 ## callback.h (module 'core'): std::string ns3::CallbackValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3671 cls.add_method('SerializeToString',
3672 'std::string',
3673 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3674 is_const=True, is_virtual=True)
3675 ## callback.h (module 'core'): void ns3::CallbackValue::Set(ns3::CallbackBase base) [member function]
3676 cls.add_method('Set',
3677 'void',
3678 [param('ns3::CallbackBase', 'base')])
3679 return
3680
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07003681def register_Ns3DoubleValue_methods(root_module, cls):
3682 ## double.h (module 'core'): ns3::DoubleValue::DoubleValue() [constructor]
3683 cls.add_constructor([])
3684 ## double.h (module 'core'): ns3::DoubleValue::DoubleValue(ns3::DoubleValue const & arg0) [copy constructor]
3685 cls.add_constructor([param('ns3::DoubleValue const &', 'arg0')])
3686 ## double.h (module 'core'): ns3::DoubleValue::DoubleValue(double const & value) [constructor]
3687 cls.add_constructor([param('double const &', 'value')])
3688 ## double.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::DoubleValue::Copy() const [member function]
3689 cls.add_method('Copy',
3690 'ns3::Ptr< ns3::AttributeValue >',
3691 [],
3692 is_const=True, is_virtual=True)
3693 ## double.h (module 'core'): bool ns3::DoubleValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3694 cls.add_method('DeserializeFromString',
3695 'bool',
3696 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3697 is_virtual=True)
3698 ## double.h (module 'core'): double ns3::DoubleValue::Get() const [member function]
3699 cls.add_method('Get',
3700 'double',
3701 [],
3702 is_const=True)
3703 ## double.h (module 'core'): std::string ns3::DoubleValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3704 cls.add_method('SerializeToString',
3705 'std::string',
3706 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3707 is_const=True, is_virtual=True)
3708 ## double.h (module 'core'): void ns3::DoubleValue::Set(double const & value) [member function]
3709 cls.add_method('Set',
3710 'void',
3711 [param('double const &', 'value')])
3712 return
3713
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003714def register_Ns3EmptyAttributeValue_methods(root_module, cls):
3715 ## attribute.h (module 'core'): ns3::EmptyAttributeValue::EmptyAttributeValue(ns3::EmptyAttributeValue const & arg0) [copy constructor]
3716 cls.add_constructor([param('ns3::EmptyAttributeValue const &', 'arg0')])
3717 ## attribute.h (module 'core'): ns3::EmptyAttributeValue::EmptyAttributeValue() [constructor]
3718 cls.add_constructor([])
3719 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::EmptyAttributeValue::Copy() const [member function]
3720 cls.add_method('Copy',
3721 'ns3::Ptr< ns3::AttributeValue >',
3722 [],
3723 is_const=True, visibility='private', is_virtual=True)
3724 ## attribute.h (module 'core'): bool ns3::EmptyAttributeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3725 cls.add_method('DeserializeFromString',
3726 'bool',
3727 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3728 visibility='private', is_virtual=True)
3729 ## attribute.h (module 'core'): std::string ns3::EmptyAttributeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3730 cls.add_method('SerializeToString',
3731 'std::string',
3732 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3733 is_const=True, visibility='private', is_virtual=True)
3734 return
3735
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07003736def register_Ns3EnumChecker_methods(root_module, cls):
3737 ## enum.h (module 'core'): ns3::EnumChecker::EnumChecker(ns3::EnumChecker const & arg0) [copy constructor]
3738 cls.add_constructor([param('ns3::EnumChecker const &', 'arg0')])
3739 ## enum.h (module 'core'): ns3::EnumChecker::EnumChecker() [constructor]
3740 cls.add_constructor([])
3741 ## enum.h (module 'core'): void ns3::EnumChecker::Add(int v, std::string name) [member function]
3742 cls.add_method('Add',
3743 'void',
3744 [param('int', 'v'), param('std::string', 'name')])
3745 ## enum.h (module 'core'): void ns3::EnumChecker::AddDefault(int v, std::string name) [member function]
3746 cls.add_method('AddDefault',
3747 'void',
3748 [param('int', 'v'), param('std::string', 'name')])
3749 ## enum.h (module 'core'): bool ns3::EnumChecker::Check(ns3::AttributeValue const & value) const [member function]
3750 cls.add_method('Check',
3751 'bool',
3752 [param('ns3::AttributeValue const &', 'value')],
3753 is_const=True, is_virtual=True)
3754 ## enum.h (module 'core'): bool ns3::EnumChecker::Copy(ns3::AttributeValue const & src, ns3::AttributeValue & dst) const [member function]
3755 cls.add_method('Copy',
3756 'bool',
3757 [param('ns3::AttributeValue const &', 'src'), param('ns3::AttributeValue &', 'dst')],
3758 is_const=True, is_virtual=True)
3759 ## enum.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::EnumChecker::Create() const [member function]
3760 cls.add_method('Create',
3761 'ns3::Ptr< ns3::AttributeValue >',
3762 [],
3763 is_const=True, is_virtual=True)
3764 ## enum.h (module 'core'): std::string ns3::EnumChecker::GetUnderlyingTypeInformation() const [member function]
3765 cls.add_method('GetUnderlyingTypeInformation',
3766 'std::string',
3767 [],
3768 is_const=True, is_virtual=True)
3769 ## enum.h (module 'core'): std::string ns3::EnumChecker::GetValueTypeName() const [member function]
3770 cls.add_method('GetValueTypeName',
3771 'std::string',
3772 [],
3773 is_const=True, is_virtual=True)
3774 ## enum.h (module 'core'): bool ns3::EnumChecker::HasUnderlyingTypeInformation() const [member function]
3775 cls.add_method('HasUnderlyingTypeInformation',
3776 'bool',
3777 [],
3778 is_const=True, is_virtual=True)
3779 return
3780
3781def register_Ns3EnumValue_methods(root_module, cls):
3782 ## enum.h (module 'core'): ns3::EnumValue::EnumValue(ns3::EnumValue const & arg0) [copy constructor]
3783 cls.add_constructor([param('ns3::EnumValue const &', 'arg0')])
3784 ## enum.h (module 'core'): ns3::EnumValue::EnumValue() [constructor]
3785 cls.add_constructor([])
3786 ## enum.h (module 'core'): ns3::EnumValue::EnumValue(int v) [constructor]
3787 cls.add_constructor([param('int', 'v')])
3788 ## enum.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::EnumValue::Copy() const [member function]
3789 cls.add_method('Copy',
3790 'ns3::Ptr< ns3::AttributeValue >',
3791 [],
3792 is_const=True, is_virtual=True)
3793 ## enum.h (module 'core'): bool ns3::EnumValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3794 cls.add_method('DeserializeFromString',
3795 'bool',
3796 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3797 is_virtual=True)
3798 ## enum.h (module 'core'): int ns3::EnumValue::Get() const [member function]
3799 cls.add_method('Get',
3800 'int',
3801 [],
3802 is_const=True)
3803 ## enum.h (module 'core'): std::string ns3::EnumValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3804 cls.add_method('SerializeToString',
3805 'std::string',
3806 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3807 is_const=True, is_virtual=True)
3808 ## enum.h (module 'core'): void ns3::EnumValue::Set(int v) [member function]
3809 cls.add_method('Set',
3810 'void',
3811 [param('int', 'v')])
3812 return
3813
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003814def register_Ns3EventImpl_methods(root_module, cls):
3815 ## event-impl.h (module 'core'): ns3::EventImpl::EventImpl(ns3::EventImpl const & arg0) [copy constructor]
3816 cls.add_constructor([param('ns3::EventImpl const &', 'arg0')])
3817 ## event-impl.h (module 'core'): ns3::EventImpl::EventImpl() [constructor]
3818 cls.add_constructor([])
3819 ## event-impl.h (module 'core'): void ns3::EventImpl::Cancel() [member function]
3820 cls.add_method('Cancel',
3821 'void',
3822 [])
3823 ## event-impl.h (module 'core'): void ns3::EventImpl::Invoke() [member function]
3824 cls.add_method('Invoke',
3825 'void',
3826 [])
3827 ## event-impl.h (module 'core'): bool ns3::EventImpl::IsCancelled() [member function]
3828 cls.add_method('IsCancelled',
3829 'bool',
3830 [])
3831 ## event-impl.h (module 'core'): void ns3::EventImpl::Notify() [member function]
3832 cls.add_method('Notify',
3833 'void',
3834 [],
3835 is_pure_virtual=True, visibility='protected', is_virtual=True)
3836 return
3837
3838def register_Ns3IntegerValue_methods(root_module, cls):
3839 ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue() [constructor]
3840 cls.add_constructor([])
3841 ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue(ns3::IntegerValue const & arg0) [copy constructor]
3842 cls.add_constructor([param('ns3::IntegerValue const &', 'arg0')])
3843 ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue(int64_t const & value) [constructor]
3844 cls.add_constructor([param('int64_t const &', 'value')])
3845 ## integer.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::IntegerValue::Copy() const [member function]
3846 cls.add_method('Copy',
3847 'ns3::Ptr< ns3::AttributeValue >',
3848 [],
3849 is_const=True, is_virtual=True)
3850 ## integer.h (module 'core'): bool ns3::IntegerValue::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 ## integer.h (module 'core'): int64_t ns3::IntegerValue::Get() const [member function]
3856 cls.add_method('Get',
3857 'int64_t',
3858 [],
3859 is_const=True)
3860 ## integer.h (module 'core'): std::string ns3::IntegerValue::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 ## integer.h (module 'core'): void ns3::IntegerValue::Set(int64_t const & value) [member function]
3866 cls.add_method('Set',
3867 'void',
3868 [param('int64_t const &', 'value')])
3869 return
3870
3871def register_Ns3Ipv4AddressChecker_methods(root_module, cls):
3872 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker::Ipv4AddressChecker() [constructor]
3873 cls.add_constructor([])
3874 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker::Ipv4AddressChecker(ns3::Ipv4AddressChecker const & arg0) [copy constructor]
3875 cls.add_constructor([param('ns3::Ipv4AddressChecker const &', 'arg0')])
3876 return
3877
3878def register_Ns3Ipv4AddressValue_methods(root_module, cls):
3879 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue::Ipv4AddressValue() [constructor]
3880 cls.add_constructor([])
3881 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue::Ipv4AddressValue(ns3::Ipv4AddressValue const & arg0) [copy constructor]
3882 cls.add_constructor([param('ns3::Ipv4AddressValue const &', 'arg0')])
3883 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue::Ipv4AddressValue(ns3::Ipv4Address const & value) [constructor]
3884 cls.add_constructor([param('ns3::Ipv4Address const &', 'value')])
3885 ## ipv4-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv4AddressValue::Copy() const [member function]
3886 cls.add_method('Copy',
3887 'ns3::Ptr< ns3::AttributeValue >',
3888 [],
3889 is_const=True, is_virtual=True)
3890 ## ipv4-address.h (module 'network'): bool ns3::Ipv4AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3891 cls.add_method('DeserializeFromString',
3892 'bool',
3893 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3894 is_virtual=True)
3895 ## ipv4-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv4AddressValue::Get() const [member function]
3896 cls.add_method('Get',
3897 'ns3::Ipv4Address',
3898 [],
3899 is_const=True)
3900 ## ipv4-address.h (module 'network'): std::string ns3::Ipv4AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3901 cls.add_method('SerializeToString',
3902 'std::string',
3903 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3904 is_const=True, is_virtual=True)
3905 ## ipv4-address.h (module 'network'): void ns3::Ipv4AddressValue::Set(ns3::Ipv4Address const & value) [member function]
3906 cls.add_method('Set',
3907 'void',
3908 [param('ns3::Ipv4Address const &', 'value')])
3909 return
3910
3911def register_Ns3Ipv4MaskChecker_methods(root_module, cls):
3912 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker::Ipv4MaskChecker() [constructor]
3913 cls.add_constructor([])
3914 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker::Ipv4MaskChecker(ns3::Ipv4MaskChecker const & arg0) [copy constructor]
3915 cls.add_constructor([param('ns3::Ipv4MaskChecker const &', 'arg0')])
3916 return
3917
3918def register_Ns3Ipv4MaskValue_methods(root_module, cls):
3919 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue::Ipv4MaskValue() [constructor]
3920 cls.add_constructor([])
3921 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue::Ipv4MaskValue(ns3::Ipv4MaskValue const & arg0) [copy constructor]
3922 cls.add_constructor([param('ns3::Ipv4MaskValue const &', 'arg0')])
3923 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue::Ipv4MaskValue(ns3::Ipv4Mask const & value) [constructor]
3924 cls.add_constructor([param('ns3::Ipv4Mask const &', 'value')])
3925 ## ipv4-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv4MaskValue::Copy() const [member function]
3926 cls.add_method('Copy',
3927 'ns3::Ptr< ns3::AttributeValue >',
3928 [],
3929 is_const=True, is_virtual=True)
3930 ## ipv4-address.h (module 'network'): bool ns3::Ipv4MaskValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3931 cls.add_method('DeserializeFromString',
3932 'bool',
3933 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3934 is_virtual=True)
3935 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask ns3::Ipv4MaskValue::Get() const [member function]
3936 cls.add_method('Get',
3937 'ns3::Ipv4Mask',
3938 [],
3939 is_const=True)
3940 ## ipv4-address.h (module 'network'): std::string ns3::Ipv4MaskValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3941 cls.add_method('SerializeToString',
3942 'std::string',
3943 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3944 is_const=True, is_virtual=True)
3945 ## ipv4-address.h (module 'network'): void ns3::Ipv4MaskValue::Set(ns3::Ipv4Mask const & value) [member function]
3946 cls.add_method('Set',
3947 'void',
3948 [param('ns3::Ipv4Mask const &', 'value')])
3949 return
3950
3951def register_Ns3Ipv6AddressChecker_methods(root_module, cls):
3952 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker::Ipv6AddressChecker() [constructor]
3953 cls.add_constructor([])
3954 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker::Ipv6AddressChecker(ns3::Ipv6AddressChecker const & arg0) [copy constructor]
3955 cls.add_constructor([param('ns3::Ipv6AddressChecker const &', 'arg0')])
3956 return
3957
3958def register_Ns3Ipv6AddressValue_methods(root_module, cls):
3959 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue::Ipv6AddressValue() [constructor]
3960 cls.add_constructor([])
3961 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue::Ipv6AddressValue(ns3::Ipv6AddressValue const & arg0) [copy constructor]
3962 cls.add_constructor([param('ns3::Ipv6AddressValue const &', 'arg0')])
3963 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue::Ipv6AddressValue(ns3::Ipv6Address const & value) [constructor]
3964 cls.add_constructor([param('ns3::Ipv6Address const &', 'value')])
3965 ## ipv6-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv6AddressValue::Copy() const [member function]
3966 cls.add_method('Copy',
3967 'ns3::Ptr< ns3::AttributeValue >',
3968 [],
3969 is_const=True, is_virtual=True)
3970 ## ipv6-address.h (module 'network'): bool ns3::Ipv6AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3971 cls.add_method('DeserializeFromString',
3972 'bool',
3973 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3974 is_virtual=True)
3975 ## ipv6-address.h (module 'network'): ns3::Ipv6Address ns3::Ipv6AddressValue::Get() const [member function]
3976 cls.add_method('Get',
3977 'ns3::Ipv6Address',
3978 [],
3979 is_const=True)
3980 ## ipv6-address.h (module 'network'): std::string ns3::Ipv6AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3981 cls.add_method('SerializeToString',
3982 'std::string',
3983 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3984 is_const=True, is_virtual=True)
3985 ## ipv6-address.h (module 'network'): void ns3::Ipv6AddressValue::Set(ns3::Ipv6Address const & value) [member function]
3986 cls.add_method('Set',
3987 'void',
3988 [param('ns3::Ipv6Address const &', 'value')])
3989 return
3990
3991def register_Ns3Ipv6PrefixChecker_methods(root_module, cls):
3992 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker::Ipv6PrefixChecker() [constructor]
3993 cls.add_constructor([])
3994 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker::Ipv6PrefixChecker(ns3::Ipv6PrefixChecker const & arg0) [copy constructor]
3995 cls.add_constructor([param('ns3::Ipv6PrefixChecker const &', 'arg0')])
3996 return
3997
3998def register_Ns3Ipv6PrefixValue_methods(root_module, cls):
3999 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue::Ipv6PrefixValue() [constructor]
4000 cls.add_constructor([])
4001 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue::Ipv6PrefixValue(ns3::Ipv6PrefixValue const & arg0) [copy constructor]
4002 cls.add_constructor([param('ns3::Ipv6PrefixValue const &', 'arg0')])
4003 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue::Ipv6PrefixValue(ns3::Ipv6Prefix const & value) [constructor]
4004 cls.add_constructor([param('ns3::Ipv6Prefix const &', 'value')])
4005 ## ipv6-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv6PrefixValue::Copy() const [member function]
4006 cls.add_method('Copy',
4007 'ns3::Ptr< ns3::AttributeValue >',
4008 [],
4009 is_const=True, is_virtual=True)
4010 ## ipv6-address.h (module 'network'): bool ns3::Ipv6PrefixValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4011 cls.add_method('DeserializeFromString',
4012 'bool',
4013 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4014 is_virtual=True)
4015 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix ns3::Ipv6PrefixValue::Get() const [member function]
4016 cls.add_method('Get',
4017 'ns3::Ipv6Prefix',
4018 [],
4019 is_const=True)
4020 ## ipv6-address.h (module 'network'): std::string ns3::Ipv6PrefixValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4021 cls.add_method('SerializeToString',
4022 'std::string',
4023 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4024 is_const=True, is_virtual=True)
4025 ## ipv6-address.h (module 'network'): void ns3::Ipv6PrefixValue::Set(ns3::Ipv6Prefix const & value) [member function]
4026 cls.add_method('Set',
4027 'void',
4028 [param('ns3::Ipv6Prefix const &', 'value')])
4029 return
4030
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004031def register_Ns3NetDevice_methods(root_module, cls):
4032 ## net-device.h (module 'network'): ns3::NetDevice::NetDevice() [constructor]
4033 cls.add_constructor([])
4034 ## net-device.h (module 'network'): ns3::NetDevice::NetDevice(ns3::NetDevice const & arg0) [copy constructor]
4035 cls.add_constructor([param('ns3::NetDevice const &', 'arg0')])
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08004036 ## 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 Afanasyev381dea02011-11-03 08:33:26 -07004037 cls.add_method('AddLinkChangeCallback',
4038 'void',
4039 [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')],
4040 is_pure_virtual=True, is_virtual=True)
4041 ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetAddress() const [member function]
4042 cls.add_method('GetAddress',
4043 'ns3::Address',
4044 [],
4045 is_pure_virtual=True, is_const=True, is_virtual=True)
4046 ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetBroadcast() const [member function]
4047 cls.add_method('GetBroadcast',
4048 'ns3::Address',
4049 [],
4050 is_pure_virtual=True, is_const=True, is_virtual=True)
4051 ## net-device.h (module 'network'): ns3::Ptr<ns3::Channel> ns3::NetDevice::GetChannel() const [member function]
4052 cls.add_method('GetChannel',
4053 'ns3::Ptr< ns3::Channel >',
4054 [],
4055 is_pure_virtual=True, is_const=True, is_virtual=True)
4056 ## net-device.h (module 'network'): uint32_t ns3::NetDevice::GetIfIndex() const [member function]
4057 cls.add_method('GetIfIndex',
4058 'uint32_t',
4059 [],
4060 is_pure_virtual=True, is_const=True, is_virtual=True)
4061 ## net-device.h (module 'network'): uint16_t ns3::NetDevice::GetMtu() const [member function]
4062 cls.add_method('GetMtu',
4063 'uint16_t',
4064 [],
4065 is_pure_virtual=True, is_const=True, is_virtual=True)
4066 ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetMulticast(ns3::Ipv4Address multicastGroup) const [member function]
4067 cls.add_method('GetMulticast',
4068 'ns3::Address',
4069 [param('ns3::Ipv4Address', 'multicastGroup')],
4070 is_pure_virtual=True, is_const=True, is_virtual=True)
4071 ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetMulticast(ns3::Ipv6Address addr) const [member function]
4072 cls.add_method('GetMulticast',
4073 'ns3::Address',
4074 [param('ns3::Ipv6Address', 'addr')],
4075 is_pure_virtual=True, is_const=True, is_virtual=True)
4076 ## net-device.h (module 'network'): ns3::Ptr<ns3::Node> ns3::NetDevice::GetNode() const [member function]
4077 cls.add_method('GetNode',
4078 'ns3::Ptr< ns3::Node >',
4079 [],
4080 is_pure_virtual=True, is_const=True, is_virtual=True)
4081 ## net-device.h (module 'network'): static ns3::TypeId ns3::NetDevice::GetTypeId() [member function]
4082 cls.add_method('GetTypeId',
4083 'ns3::TypeId',
4084 [],
4085 is_static=True)
4086 ## net-device.h (module 'network'): bool ns3::NetDevice::IsBridge() const [member function]
4087 cls.add_method('IsBridge',
4088 'bool',
4089 [],
4090 is_pure_virtual=True, is_const=True, is_virtual=True)
4091 ## net-device.h (module 'network'): bool ns3::NetDevice::IsBroadcast() const [member function]
4092 cls.add_method('IsBroadcast',
4093 'bool',
4094 [],
4095 is_pure_virtual=True, is_const=True, is_virtual=True)
4096 ## net-device.h (module 'network'): bool ns3::NetDevice::IsLinkUp() const [member function]
4097 cls.add_method('IsLinkUp',
4098 'bool',
4099 [],
4100 is_pure_virtual=True, is_const=True, is_virtual=True)
4101 ## net-device.h (module 'network'): bool ns3::NetDevice::IsMulticast() const [member function]
4102 cls.add_method('IsMulticast',
4103 'bool',
4104 [],
4105 is_pure_virtual=True, is_const=True, is_virtual=True)
4106 ## net-device.h (module 'network'): bool ns3::NetDevice::IsPointToPoint() const [member function]
4107 cls.add_method('IsPointToPoint',
4108 'bool',
4109 [],
4110 is_pure_virtual=True, is_const=True, is_virtual=True)
4111 ## net-device.h (module 'network'): bool ns3::NetDevice::NeedsArp() const [member function]
4112 cls.add_method('NeedsArp',
4113 'bool',
4114 [],
4115 is_pure_virtual=True, is_const=True, is_virtual=True)
4116 ## net-device.h (module 'network'): bool ns3::NetDevice::Send(ns3::Ptr<ns3::Packet> packet, ns3::Address const & dest, uint16_t protocolNumber) [member function]
4117 cls.add_method('Send',
4118 'bool',
4119 [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')],
4120 is_pure_virtual=True, is_virtual=True)
4121 ## 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]
4122 cls.add_method('SendFrom',
4123 'bool',
4124 [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')],
4125 is_pure_virtual=True, is_virtual=True)
4126 ## net-device.h (module 'network'): void ns3::NetDevice::SetAddress(ns3::Address address) [member function]
4127 cls.add_method('SetAddress',
4128 'void',
4129 [param('ns3::Address', 'address')],
4130 is_pure_virtual=True, is_virtual=True)
4131 ## net-device.h (module 'network'): void ns3::NetDevice::SetIfIndex(uint32_t const index) [member function]
4132 cls.add_method('SetIfIndex',
4133 'void',
4134 [param('uint32_t const', 'index')],
4135 is_pure_virtual=True, is_virtual=True)
4136 ## net-device.h (module 'network'): bool ns3::NetDevice::SetMtu(uint16_t const mtu) [member function]
4137 cls.add_method('SetMtu',
4138 'bool',
4139 [param('uint16_t const', 'mtu')],
4140 is_pure_virtual=True, is_virtual=True)
4141 ## net-device.h (module 'network'): void ns3::NetDevice::SetNode(ns3::Ptr<ns3::Node> node) [member function]
4142 cls.add_method('SetNode',
4143 'void',
4144 [param('ns3::Ptr< ns3::Node >', 'node')],
4145 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyev07827182011-12-13 01:07:32 -08004146 ## 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 Afanasyev381dea02011-11-03 08:33:26 -07004147 cls.add_method('SetPromiscReceiveCallback',
4148 'void',
Alexander Afanasyev07827182011-12-13 01:07:32 -08004149 [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 Afanasyev381dea02011-11-03 08:33:26 -07004150 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyev07827182011-12-13 01:07:32 -08004151 ## 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 Afanasyev381dea02011-11-03 08:33:26 -07004152 cls.add_method('SetReceiveCallback',
4153 'void',
Alexander Afanasyev07827182011-12-13 01:07:32 -08004154 [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 Afanasyev381dea02011-11-03 08:33:26 -07004155 is_pure_virtual=True, is_virtual=True)
4156 ## net-device.h (module 'network'): bool ns3::NetDevice::SupportsSendFrom() const [member function]
4157 cls.add_method('SupportsSendFrom',
4158 'bool',
4159 [],
4160 is_pure_virtual=True, is_const=True, is_virtual=True)
4161 return
4162
4163def register_Ns3NixVector_methods(root_module, cls):
4164 cls.add_output_stream_operator()
4165 ## nix-vector.h (module 'network'): ns3::NixVector::NixVector() [constructor]
4166 cls.add_constructor([])
4167 ## nix-vector.h (module 'network'): ns3::NixVector::NixVector(ns3::NixVector const & o) [copy constructor]
4168 cls.add_constructor([param('ns3::NixVector const &', 'o')])
4169 ## nix-vector.h (module 'network'): void ns3::NixVector::AddNeighborIndex(uint32_t newBits, uint32_t numberOfBits) [member function]
4170 cls.add_method('AddNeighborIndex',
4171 'void',
4172 [param('uint32_t', 'newBits'), param('uint32_t', 'numberOfBits')])
4173 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::BitCount(uint32_t numberOfNeighbors) const [member function]
4174 cls.add_method('BitCount',
4175 'uint32_t',
4176 [param('uint32_t', 'numberOfNeighbors')],
4177 is_const=True)
4178 ## nix-vector.h (module 'network'): ns3::Ptr<ns3::NixVector> ns3::NixVector::Copy() const [member function]
4179 cls.add_method('Copy',
4180 'ns3::Ptr< ns3::NixVector >',
4181 [],
4182 is_const=True)
4183 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::Deserialize(uint32_t const * buffer, uint32_t size) [member function]
4184 cls.add_method('Deserialize',
4185 'uint32_t',
4186 [param('uint32_t const *', 'buffer'), param('uint32_t', 'size')])
4187 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::ExtractNeighborIndex(uint32_t numberOfBits) [member function]
4188 cls.add_method('ExtractNeighborIndex',
4189 'uint32_t',
4190 [param('uint32_t', 'numberOfBits')])
4191 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::GetRemainingBits() [member function]
4192 cls.add_method('GetRemainingBits',
4193 'uint32_t',
4194 [])
4195 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::GetSerializedSize() const [member function]
4196 cls.add_method('GetSerializedSize',
4197 'uint32_t',
4198 [],
4199 is_const=True)
4200 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::Serialize(uint32_t * buffer, uint32_t maxSize) const [member function]
4201 cls.add_method('Serialize',
4202 'uint32_t',
4203 [param('uint32_t *', 'buffer'), param('uint32_t', 'maxSize')],
4204 is_const=True)
4205 return
4206
4207def register_Ns3Node_methods(root_module, cls):
4208 ## node.h (module 'network'): ns3::Node::Node(ns3::Node const & arg0) [copy constructor]
4209 cls.add_constructor([param('ns3::Node const &', 'arg0')])
4210 ## node.h (module 'network'): ns3::Node::Node() [constructor]
4211 cls.add_constructor([])
4212 ## node.h (module 'network'): ns3::Node::Node(uint32_t systemId) [constructor]
4213 cls.add_constructor([param('uint32_t', 'systemId')])
4214 ## node.h (module 'network'): uint32_t ns3::Node::AddApplication(ns3::Ptr<ns3::Application> application) [member function]
4215 cls.add_method('AddApplication',
4216 'uint32_t',
4217 [param('ns3::Ptr< ns3::Application >', 'application')])
4218 ## node.h (module 'network'): uint32_t ns3::Node::AddDevice(ns3::Ptr<ns3::NetDevice> device) [member function]
4219 cls.add_method('AddDevice',
4220 'uint32_t',
4221 [param('ns3::Ptr< ns3::NetDevice >', 'device')])
4222 ## node.h (module 'network'): static bool ns3::Node::ChecksumEnabled() [member function]
4223 cls.add_method('ChecksumEnabled',
4224 'bool',
4225 [],
4226 is_static=True)
4227 ## node.h (module 'network'): ns3::Ptr<ns3::Application> ns3::Node::GetApplication(uint32_t index) const [member function]
4228 cls.add_method('GetApplication',
4229 'ns3::Ptr< ns3::Application >',
4230 [param('uint32_t', 'index')],
4231 is_const=True)
4232 ## node.h (module 'network'): ns3::Ptr<ns3::NetDevice> ns3::Node::GetDevice(uint32_t index) const [member function]
4233 cls.add_method('GetDevice',
4234 'ns3::Ptr< ns3::NetDevice >',
4235 [param('uint32_t', 'index')],
4236 is_const=True)
4237 ## node.h (module 'network'): uint32_t ns3::Node::GetId() const [member function]
4238 cls.add_method('GetId',
4239 'uint32_t',
4240 [],
4241 is_const=True)
4242 ## node.h (module 'network'): uint32_t ns3::Node::GetNApplications() const [member function]
4243 cls.add_method('GetNApplications',
4244 'uint32_t',
4245 [],
4246 is_const=True)
4247 ## node.h (module 'network'): uint32_t ns3::Node::GetNDevices() const [member function]
4248 cls.add_method('GetNDevices',
4249 'uint32_t',
4250 [],
4251 is_const=True)
4252 ## node.h (module 'network'): uint32_t ns3::Node::GetSystemId() const [member function]
4253 cls.add_method('GetSystemId',
4254 'uint32_t',
4255 [],
4256 is_const=True)
4257 ## node.h (module 'network'): static ns3::TypeId ns3::Node::GetTypeId() [member function]
4258 cls.add_method('GetTypeId',
4259 'ns3::TypeId',
4260 [],
4261 is_static=True)
4262 ## 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]
4263 cls.add_method('RegisterDeviceAdditionListener',
4264 'void',
4265 [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')])
4266 ## 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]
4267 cls.add_method('RegisterProtocolHandler',
4268 'void',
4269 [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')])
4270 ## 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]
4271 cls.add_method('UnregisterDeviceAdditionListener',
4272 'void',
4273 [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')])
4274 ## 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]
4275 cls.add_method('UnregisterProtocolHandler',
4276 'void',
4277 [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')])
4278 ## node.h (module 'network'): void ns3::Node::DoDispose() [member function]
4279 cls.add_method('DoDispose',
4280 'void',
4281 [],
4282 visibility='protected', is_virtual=True)
Alexander Afanasyev5b8d61b2013-05-03 10:23:21 -07004283 ## node.h (module 'network'): void ns3::Node::DoInitialize() [member function]
4284 cls.add_method('DoInitialize',
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004285 'void',
4286 [],
4287 visibility='protected', is_virtual=True)
4288 return
4289
4290def register_Ns3ObjectFactoryChecker_methods(root_module, cls):
4291 ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker::ObjectFactoryChecker() [constructor]
4292 cls.add_constructor([])
4293 ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker::ObjectFactoryChecker(ns3::ObjectFactoryChecker const & arg0) [copy constructor]
4294 cls.add_constructor([param('ns3::ObjectFactoryChecker const &', 'arg0')])
4295 return
4296
4297def register_Ns3ObjectFactoryValue_methods(root_module, cls):
4298 ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue() [constructor]
4299 cls.add_constructor([])
4300 ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue(ns3::ObjectFactoryValue const & arg0) [copy constructor]
4301 cls.add_constructor([param('ns3::ObjectFactoryValue const &', 'arg0')])
4302 ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue(ns3::ObjectFactory const & value) [constructor]
4303 cls.add_constructor([param('ns3::ObjectFactory const &', 'value')])
4304 ## object-factory.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::ObjectFactoryValue::Copy() const [member function]
4305 cls.add_method('Copy',
4306 'ns3::Ptr< ns3::AttributeValue >',
4307 [],
4308 is_const=True, is_virtual=True)
4309 ## object-factory.h (module 'core'): bool ns3::ObjectFactoryValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4310 cls.add_method('DeserializeFromString',
4311 'bool',
4312 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4313 is_virtual=True)
4314 ## object-factory.h (module 'core'): ns3::ObjectFactory ns3::ObjectFactoryValue::Get() const [member function]
4315 cls.add_method('Get',
4316 'ns3::ObjectFactory',
4317 [],
4318 is_const=True)
4319 ## object-factory.h (module 'core'): std::string ns3::ObjectFactoryValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4320 cls.add_method('SerializeToString',
4321 'std::string',
4322 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4323 is_const=True, is_virtual=True)
4324 ## object-factory.h (module 'core'): void ns3::ObjectFactoryValue::Set(ns3::ObjectFactory const & value) [member function]
4325 cls.add_method('Set',
4326 'void',
4327 [param('ns3::ObjectFactory const &', 'value')])
4328 return
4329
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004330def register_Ns3Packet_methods(root_module, cls):
4331 cls.add_output_stream_operator()
4332 ## packet.h (module 'network'): ns3::Packet::Packet() [constructor]
4333 cls.add_constructor([])
4334 ## packet.h (module 'network'): ns3::Packet::Packet(ns3::Packet const & o) [copy constructor]
4335 cls.add_constructor([param('ns3::Packet const &', 'o')])
4336 ## packet.h (module 'network'): ns3::Packet::Packet(uint32_t size) [constructor]
4337 cls.add_constructor([param('uint32_t', 'size')])
4338 ## packet.h (module 'network'): ns3::Packet::Packet(uint8_t const * buffer, uint32_t size, bool magic) [constructor]
4339 cls.add_constructor([param('uint8_t const *', 'buffer'), param('uint32_t', 'size'), param('bool', 'magic')])
4340 ## packet.h (module 'network'): ns3::Packet::Packet(uint8_t const * buffer, uint32_t size) [constructor]
4341 cls.add_constructor([param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
Alexander Afanasyev858d5312013-07-10 18:50:18 -07004342 ## packet.h (module 'network'): void ns3::Packet::AddAtEnd(ns3::Ptr<ns3::Packet const> packet) [member function]
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004343 cls.add_method('AddAtEnd',
4344 'void',
4345 [param('ns3::Ptr< ns3::Packet const >', 'packet')])
4346 ## packet.h (module 'network'): void ns3::Packet::AddByteTag(ns3::Tag const & tag) const [member function]
4347 cls.add_method('AddByteTag',
4348 'void',
4349 [param('ns3::Tag const &', 'tag')],
4350 is_const=True)
4351 ## packet.h (module 'network'): void ns3::Packet::AddHeader(ns3::Header const & header) [member function]
4352 cls.add_method('AddHeader',
4353 'void',
4354 [param('ns3::Header const &', 'header')])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004355 ## packet.h (module 'network'): void ns3::Packet::AddPacketTag(ns3::Tag const & tag) const [member function]
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004356 cls.add_method('AddPacketTag',
4357 'void',
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004358 [param('ns3::Tag const &', 'tag')],
4359 is_const=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004360 ## packet.h (module 'network'): void ns3::Packet::AddPaddingAtEnd(uint32_t size) [member function]
4361 cls.add_method('AddPaddingAtEnd',
4362 'void',
4363 [param('uint32_t', 'size')])
4364 ## packet.h (module 'network'): void ns3::Packet::AddTrailer(ns3::Trailer const & trailer) [member function]
4365 cls.add_method('AddTrailer',
4366 'void',
4367 [param('ns3::Trailer const &', 'trailer')])
4368 ## packet.h (module 'network'): ns3::PacketMetadata::ItemIterator ns3::Packet::BeginItem() const [member function]
4369 cls.add_method('BeginItem',
4370 'ns3::PacketMetadata::ItemIterator',
4371 [],
4372 is_const=True)
4373 ## packet.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Packet::Copy() const [member function]
4374 cls.add_method('Copy',
4375 'ns3::Ptr< ns3::Packet >',
4376 [],
4377 is_const=True)
4378 ## packet.h (module 'network'): uint32_t ns3::Packet::CopyData(uint8_t * buffer, uint32_t size) const [member function]
4379 cls.add_method('CopyData',
4380 'uint32_t',
4381 [param('uint8_t *', 'buffer'), param('uint32_t', 'size')],
4382 is_const=True)
4383 ## packet.h (module 'network'): void ns3::Packet::CopyData(std::ostream * os, uint32_t size) const [member function]
4384 cls.add_method('CopyData',
4385 'void',
4386 [param('std::ostream *', 'os'), param('uint32_t', 'size')],
4387 is_const=True)
4388 ## packet.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Packet::CreateFragment(uint32_t start, uint32_t length) const [member function]
4389 cls.add_method('CreateFragment',
4390 'ns3::Ptr< ns3::Packet >',
4391 [param('uint32_t', 'start'), param('uint32_t', 'length')],
4392 is_const=True)
4393 ## packet.h (module 'network'): static void ns3::Packet::EnableChecking() [member function]
4394 cls.add_method('EnableChecking',
4395 'void',
4396 [],
4397 is_static=True)
4398 ## packet.h (module 'network'): static void ns3::Packet::EnablePrinting() [member function]
4399 cls.add_method('EnablePrinting',
4400 'void',
4401 [],
4402 is_static=True)
4403 ## packet.h (module 'network'): bool ns3::Packet::FindFirstMatchingByteTag(ns3::Tag & tag) const [member function]
4404 cls.add_method('FindFirstMatchingByteTag',
4405 'bool',
4406 [param('ns3::Tag &', 'tag')],
4407 is_const=True)
4408 ## packet.h (module 'network'): ns3::ByteTagIterator ns3::Packet::GetByteTagIterator() const [member function]
4409 cls.add_method('GetByteTagIterator',
4410 'ns3::ByteTagIterator',
4411 [],
4412 is_const=True)
4413 ## packet.h (module 'network'): ns3::Ptr<ns3::NixVector> ns3::Packet::GetNixVector() const [member function]
4414 cls.add_method('GetNixVector',
4415 'ns3::Ptr< ns3::NixVector >',
4416 [],
4417 is_const=True)
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004418 ## packet.h (module 'network'): ns3::PacketTagIterator ns3::Packet::GetPacketTagIterator() const [member function]
4419 cls.add_method('GetPacketTagIterator',
4420 'ns3::PacketTagIterator',
4421 [],
4422 is_const=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004423 ## packet.h (module 'network'): uint32_t ns3::Packet::GetSerializedSize() const [member function]
4424 cls.add_method('GetSerializedSize',
4425 'uint32_t',
4426 [],
4427 is_const=True)
4428 ## packet.h (module 'network'): uint32_t ns3::Packet::GetSize() const [member function]
4429 cls.add_method('GetSize',
4430 'uint32_t',
4431 [],
4432 is_const=True)
4433 ## packet.h (module 'network'): uint64_t ns3::Packet::GetUid() const [member function]
4434 cls.add_method('GetUid',
4435 'uint64_t',
4436 [],
4437 is_const=True)
4438 ## packet.h (module 'network'): uint8_t const * ns3::Packet::PeekData() const [member function]
4439 cls.add_method('PeekData',
4440 'uint8_t const *',
4441 [],
4442 deprecated=True, is_const=True)
4443 ## packet.h (module 'network'): uint32_t ns3::Packet::PeekHeader(ns3::Header & header) const [member function]
4444 cls.add_method('PeekHeader',
4445 'uint32_t',
4446 [param('ns3::Header &', 'header')],
4447 is_const=True)
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004448 ## packet.h (module 'network'): bool ns3::Packet::PeekPacketTag(ns3::Tag & tag) const [member function]
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004449 cls.add_method('PeekPacketTag',
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004450 'bool',
4451 [param('ns3::Tag &', 'tag')],
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004452 is_const=True)
4453 ## packet.h (module 'network'): uint32_t ns3::Packet::PeekTrailer(ns3::Trailer & trailer) [member function]
4454 cls.add_method('PeekTrailer',
4455 'uint32_t',
4456 [param('ns3::Trailer &', 'trailer')])
4457 ## packet.h (module 'network'): void ns3::Packet::Print(std::ostream & os) const [member function]
4458 cls.add_method('Print',
4459 'void',
4460 [param('std::ostream &', 'os')],
4461 is_const=True)
4462 ## packet.h (module 'network'): void ns3::Packet::PrintByteTags(std::ostream & os) const [member function]
4463 cls.add_method('PrintByteTags',
4464 'void',
4465 [param('std::ostream &', 'os')],
4466 is_const=True)
4467 ## packet.h (module 'network'): void ns3::Packet::PrintPacketTags(std::ostream & os) const [member function]
4468 cls.add_method('PrintPacketTags',
4469 'void',
4470 [param('std::ostream &', 'os')],
4471 is_const=True)
4472 ## packet.h (module 'network'): void ns3::Packet::RemoveAllByteTags() [member function]
4473 cls.add_method('RemoveAllByteTags',
4474 'void',
4475 [])
4476 ## packet.h (module 'network'): void ns3::Packet::RemoveAllPacketTags() [member function]
4477 cls.add_method('RemoveAllPacketTags',
4478 'void',
4479 [])
4480 ## packet.h (module 'network'): void ns3::Packet::RemoveAtEnd(uint32_t size) [member function]
4481 cls.add_method('RemoveAtEnd',
4482 'void',
4483 [param('uint32_t', 'size')])
4484 ## packet.h (module 'network'): void ns3::Packet::RemoveAtStart(uint32_t size) [member function]
4485 cls.add_method('RemoveAtStart',
4486 'void',
4487 [param('uint32_t', 'size')])
4488 ## packet.h (module 'network'): uint32_t ns3::Packet::RemoveHeader(ns3::Header & header) [member function]
4489 cls.add_method('RemoveHeader',
4490 'uint32_t',
4491 [param('ns3::Header &', 'header')])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004492 ## packet.h (module 'network'): bool ns3::Packet::RemovePacketTag(ns3::Tag & tag) [member function]
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004493 cls.add_method('RemovePacketTag',
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004494 'bool',
4495 [param('ns3::Tag &', 'tag')])
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004496 ## packet.h (module 'network'): uint32_t ns3::Packet::RemoveTrailer(ns3::Trailer & trailer) [member function]
4497 cls.add_method('RemoveTrailer',
4498 'uint32_t',
4499 [param('ns3::Trailer &', 'trailer')])
4500 ## packet.h (module 'network'): uint32_t ns3::Packet::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
4501 cls.add_method('Serialize',
4502 'uint32_t',
4503 [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')],
4504 is_const=True)
4505 ## packet.h (module 'network'): void ns3::Packet::SetNixVector(ns3::Ptr<ns3::NixVector> arg0) [member function]
4506 cls.add_method('SetNixVector',
4507 'void',
4508 [param('ns3::Ptr< ns3::NixVector >', 'arg0')])
4509 return
4510
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07004511def register_Ns3RandomVariableChecker_methods(root_module, cls):
4512 ## random-variable.h (module 'core'): ns3::RandomVariableChecker::RandomVariableChecker() [constructor]
4513 cls.add_constructor([])
4514 ## random-variable.h (module 'core'): ns3::RandomVariableChecker::RandomVariableChecker(ns3::RandomVariableChecker const & arg0) [copy constructor]
4515 cls.add_constructor([param('ns3::RandomVariableChecker const &', 'arg0')])
4516 return
4517
4518def register_Ns3RandomVariableValue_methods(root_module, cls):
4519 ## random-variable.h (module 'core'): ns3::RandomVariableValue::RandomVariableValue() [constructor]
4520 cls.add_constructor([])
4521 ## random-variable.h (module 'core'): ns3::RandomVariableValue::RandomVariableValue(ns3::RandomVariableValue const & arg0) [copy constructor]
4522 cls.add_constructor([param('ns3::RandomVariableValue const &', 'arg0')])
4523 ## random-variable.h (module 'core'): ns3::RandomVariableValue::RandomVariableValue(ns3::RandomVariable const & value) [constructor]
4524 cls.add_constructor([param('ns3::RandomVariable const &', 'value')])
4525 ## random-variable.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::RandomVariableValue::Copy() const [member function]
4526 cls.add_method('Copy',
4527 'ns3::Ptr< ns3::AttributeValue >',
4528 [],
4529 is_const=True, is_virtual=True)
4530 ## random-variable.h (module 'core'): bool ns3::RandomVariableValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4531 cls.add_method('DeserializeFromString',
4532 'bool',
4533 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4534 is_virtual=True)
4535 ## random-variable.h (module 'core'): ns3::RandomVariable ns3::RandomVariableValue::Get() const [member function]
4536 cls.add_method('Get',
4537 'ns3::RandomVariable',
4538 [],
4539 is_const=True)
4540 ## random-variable.h (module 'core'): std::string ns3::RandomVariableValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4541 cls.add_method('SerializeToString',
4542 'std::string',
4543 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4544 is_const=True, is_virtual=True)
4545 ## random-variable.h (module 'core'): void ns3::RandomVariableValue::Set(ns3::RandomVariable const & value) [member function]
4546 cls.add_method('Set',
4547 'void',
4548 [param('ns3::RandomVariable const &', 'value')])
4549 return
4550
4551def register_Ns3RocketfuelWeightsReader_methods(root_module, cls):
4552 ## rocketfuel-weights-reader.h (module 'ndnSIM'): ns3::RocketfuelWeightsReader::RocketfuelWeightsReader(std::string const & path="", double scale=1.0e+0) [constructor]
4553 cls.add_constructor([param('std::string const &', 'path', default_value='""'), param('double', 'scale', default_value='1.0e+0')])
4554 ## rocketfuel-weights-reader.h (module 'ndnSIM'): void ns3::RocketfuelWeightsReader::SetFileType(uint8_t inputType) [member function]
4555 cls.add_method('SetFileType',
4556 'void',
4557 [param('uint8_t', 'inputType')])
4558 ## rocketfuel-weights-reader.h (module 'ndnSIM'): ns3::NodeContainer ns3::RocketfuelWeightsReader::Read() [member function]
4559 cls.add_method('Read',
4560 'ns3::NodeContainer',
4561 [],
4562 is_virtual=True)
4563 ## rocketfuel-weights-reader.h (module 'ndnSIM'): void ns3::RocketfuelWeightsReader::Commit() [member function]
4564 cls.add_method('Commit',
4565 'void',
4566 [])
Alexander Afanasyev858d5312013-07-10 18:50:18 -07004567 ## rocketfuel-weights-reader.h (module 'ndnSIM'): void ns3::RocketfuelWeightsReader::SetDefaultBandwidth(std::string const & bw) [member function]
4568 cls.add_method('SetDefaultBandwidth',
4569 'void',
4570 [param('std::string const &', 'bw')])
4571 ## rocketfuel-weights-reader.h (module 'ndnSIM'): std::string ns3::RocketfuelWeightsReader::GetDefaultBandwidth() const [member function]
4572 cls.add_method('GetDefaultBandwidth',
4573 'std::string',
4574 [],
4575 is_const=True)
4576 ## rocketfuel-weights-reader.h (module 'ndnSIM'): void ns3::RocketfuelWeightsReader::SetDefaultQueue(std::string const & queue) [member function]
4577 cls.add_method('SetDefaultQueue',
4578 'void',
4579 [param('std::string const &', 'queue')])
4580 ## rocketfuel-weights-reader.h (module 'ndnSIM'): std::string ns3::RocketfuelWeightsReader::GetDefaultQueue() const [member function]
4581 cls.add_method('GetDefaultQueue',
4582 'std::string',
4583 [],
4584 is_const=True)
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07004585 return
4586
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004587def register_Ns3TimeChecker_methods(root_module, cls):
4588 ## nstime.h (module 'core'): ns3::TimeChecker::TimeChecker() [constructor]
4589 cls.add_constructor([])
4590 ## nstime.h (module 'core'): ns3::TimeChecker::TimeChecker(ns3::TimeChecker const & arg0) [copy constructor]
4591 cls.add_constructor([param('ns3::TimeChecker const &', 'arg0')])
4592 return
4593
4594def register_Ns3TimeValue_methods(root_module, cls):
4595 ## nstime.h (module 'core'): ns3::TimeValue::TimeValue() [constructor]
4596 cls.add_constructor([])
4597 ## nstime.h (module 'core'): ns3::TimeValue::TimeValue(ns3::TimeValue const & arg0) [copy constructor]
4598 cls.add_constructor([param('ns3::TimeValue const &', 'arg0')])
4599 ## nstime.h (module 'core'): ns3::TimeValue::TimeValue(ns3::Time const & value) [constructor]
4600 cls.add_constructor([param('ns3::Time const &', 'value')])
4601 ## nstime.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::TimeValue::Copy() const [member function]
4602 cls.add_method('Copy',
4603 'ns3::Ptr< ns3::AttributeValue >',
4604 [],
4605 is_const=True, is_virtual=True)
4606 ## nstime.h (module 'core'): bool ns3::TimeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4607 cls.add_method('DeserializeFromString',
4608 'bool',
4609 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4610 is_virtual=True)
4611 ## nstime.h (module 'core'): ns3::Time ns3::TimeValue::Get() const [member function]
4612 cls.add_method('Get',
4613 'ns3::Time',
4614 [],
4615 is_const=True)
4616 ## nstime.h (module 'core'): std::string ns3::TimeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4617 cls.add_method('SerializeToString',
4618 'std::string',
4619 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4620 is_const=True, is_virtual=True)
4621 ## nstime.h (module 'core'): void ns3::TimeValue::Set(ns3::Time const & value) [member function]
4622 cls.add_method('Set',
4623 'void',
4624 [param('ns3::Time const &', 'value')])
4625 return
4626
4627def register_Ns3TypeIdChecker_methods(root_module, cls):
4628 ## type-id.h (module 'core'): ns3::TypeIdChecker::TypeIdChecker() [constructor]
4629 cls.add_constructor([])
4630 ## type-id.h (module 'core'): ns3::TypeIdChecker::TypeIdChecker(ns3::TypeIdChecker const & arg0) [copy constructor]
4631 cls.add_constructor([param('ns3::TypeIdChecker const &', 'arg0')])
4632 return
4633
4634def register_Ns3TypeIdValue_methods(root_module, cls):
4635 ## type-id.h (module 'core'): ns3::TypeIdValue::TypeIdValue() [constructor]
4636 cls.add_constructor([])
4637 ## type-id.h (module 'core'): ns3::TypeIdValue::TypeIdValue(ns3::TypeIdValue const & arg0) [copy constructor]
4638 cls.add_constructor([param('ns3::TypeIdValue const &', 'arg0')])
4639 ## type-id.h (module 'core'): ns3::TypeIdValue::TypeIdValue(ns3::TypeId const & value) [constructor]
4640 cls.add_constructor([param('ns3::TypeId const &', 'value')])
4641 ## type-id.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::TypeIdValue::Copy() const [member function]
4642 cls.add_method('Copy',
4643 'ns3::Ptr< ns3::AttributeValue >',
4644 [],
4645 is_const=True, is_virtual=True)
4646 ## type-id.h (module 'core'): bool ns3::TypeIdValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4647 cls.add_method('DeserializeFromString',
4648 'bool',
4649 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4650 is_virtual=True)
4651 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeIdValue::Get() const [member function]
4652 cls.add_method('Get',
4653 'ns3::TypeId',
4654 [],
4655 is_const=True)
4656 ## type-id.h (module 'core'): std::string ns3::TypeIdValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4657 cls.add_method('SerializeToString',
4658 'std::string',
4659 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4660 is_const=True, is_virtual=True)
4661 ## type-id.h (module 'core'): void ns3::TypeIdValue::Set(ns3::TypeId const & value) [member function]
4662 cls.add_method('Set',
4663 'void',
4664 [param('ns3::TypeId const &', 'value')])
4665 return
4666
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07004667def register_Ns3UintegerValue_methods(root_module, cls):
4668 ## uinteger.h (module 'core'): ns3::UintegerValue::UintegerValue() [constructor]
4669 cls.add_constructor([])
4670 ## uinteger.h (module 'core'): ns3::UintegerValue::UintegerValue(ns3::UintegerValue const & arg0) [copy constructor]
4671 cls.add_constructor([param('ns3::UintegerValue const &', 'arg0')])
4672 ## uinteger.h (module 'core'): ns3::UintegerValue::UintegerValue(uint64_t const & value) [constructor]
4673 cls.add_constructor([param('uint64_t const &', 'value')])
4674 ## uinteger.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::UintegerValue::Copy() const [member function]
4675 cls.add_method('Copy',
4676 'ns3::Ptr< ns3::AttributeValue >',
4677 [],
4678 is_const=True, is_virtual=True)
4679 ## uinteger.h (module 'core'): bool ns3::UintegerValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4680 cls.add_method('DeserializeFromString',
4681 'bool',
4682 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4683 is_virtual=True)
4684 ## uinteger.h (module 'core'): uint64_t ns3::UintegerValue::Get() const [member function]
4685 cls.add_method('Get',
4686 'uint64_t',
4687 [],
4688 is_const=True)
4689 ## uinteger.h (module 'core'): std::string ns3::UintegerValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4690 cls.add_method('SerializeToString',
4691 'std::string',
4692 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4693 is_const=True, is_virtual=True)
4694 ## uinteger.h (module 'core'): void ns3::UintegerValue::Set(uint64_t const & value) [member function]
4695 cls.add_method('Set',
4696 'void',
4697 [param('uint64_t const &', 'value')])
4698 return
4699
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004700def register_Ns3AddressChecker_methods(root_module, cls):
4701 ## address.h (module 'network'): ns3::AddressChecker::AddressChecker() [constructor]
4702 cls.add_constructor([])
4703 ## address.h (module 'network'): ns3::AddressChecker::AddressChecker(ns3::AddressChecker const & arg0) [copy constructor]
4704 cls.add_constructor([param('ns3::AddressChecker const &', 'arg0')])
4705 return
4706
4707def register_Ns3AddressValue_methods(root_module, cls):
4708 ## address.h (module 'network'): ns3::AddressValue::AddressValue() [constructor]
4709 cls.add_constructor([])
4710 ## address.h (module 'network'): ns3::AddressValue::AddressValue(ns3::AddressValue const & arg0) [copy constructor]
4711 cls.add_constructor([param('ns3::AddressValue const &', 'arg0')])
4712 ## address.h (module 'network'): ns3::AddressValue::AddressValue(ns3::Address const & value) [constructor]
4713 cls.add_constructor([param('ns3::Address const &', 'value')])
4714 ## address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::AddressValue::Copy() const [member function]
4715 cls.add_method('Copy',
4716 'ns3::Ptr< ns3::AttributeValue >',
4717 [],
4718 is_const=True, is_virtual=True)
4719 ## address.h (module 'network'): bool ns3::AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4720 cls.add_method('DeserializeFromString',
4721 'bool',
4722 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4723 is_virtual=True)
4724 ## address.h (module 'network'): ns3::Address ns3::AddressValue::Get() const [member function]
4725 cls.add_method('Get',
4726 'ns3::Address',
4727 [],
4728 is_const=True)
4729 ## address.h (module 'network'): std::string ns3::AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4730 cls.add_method('SerializeToString',
4731 'std::string',
4732 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4733 is_const=True, is_virtual=True)
4734 ## address.h (module 'network'): void ns3::AddressValue::Set(ns3::Address const & value) [member function]
4735 cls.add_method('Set',
4736 'void',
4737 [param('ns3::Address const &', 'value')])
4738 return
4739
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004740def register_Ns3NdnApp_methods(root_module, cls):
4741 ## ndn-app.h (module 'ndnSIM'): ns3::ndn::App::App(ns3::ndn::App const & arg0) [copy constructor]
4742 cls.add_constructor([param('ns3::ndn::App const &', 'arg0')])
4743 ## ndn-app.h (module 'ndnSIM'): ns3::ndn::App::App() [constructor]
4744 cls.add_constructor([])
Alexander Afanasyev32c07562013-02-01 12:58:43 -08004745 ## ndn-app.h (module 'ndnSIM'): uint32_t ns3::ndn::App::GetId() const [member function]
4746 cls.add_method('GetId',
4747 'uint32_t',
4748 [],
4749 is_const=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004750 ## ndn-app.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::App::GetTypeId() [member function]
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07004751 cls.add_method('GetTypeId',
4752 'ns3::TypeId',
4753 [],
4754 is_static=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07004755 ## 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 -07004756 cls.add_method('OnContentObject',
4757 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07004758 [param('ns3::Ptr< ns3::ndn::ContentObject const >', 'contentObject')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004759 is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07004760 ## 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 -07004761 cls.add_method('OnInterest',
4762 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07004763 [param('ns3::Ptr< ns3::ndn::Interest const >', 'interest')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004764 is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07004765 ## 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 -07004766 cls.add_method('OnNack',
4767 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07004768 [param('ns3::Ptr< ns3::ndn::Interest const >', 'interest')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004769 is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004770 ## ndn-app.h (module 'ndnSIM'): void ns3::ndn::App::DoDispose() [member function]
4771 cls.add_method('DoDispose',
4772 'void',
4773 [],
4774 visibility='protected', is_virtual=True)
4775 ## ndn-app.h (module 'ndnSIM'): void ns3::ndn::App::StartApplication() [member function]
4776 cls.add_method('StartApplication',
4777 'void',
4778 [],
4779 visibility='protected', is_virtual=True)
4780 ## ndn-app.h (module 'ndnSIM'): void ns3::ndn::App::StopApplication() [member function]
4781 cls.add_method('StopApplication',
4782 'void',
4783 [],
4784 visibility='protected', is_virtual=True)
4785 return
4786
4787def register_Ns3NdnAppHelper_methods(root_module, cls):
4788 ## ndn-app-helper.h (module 'ndnSIM'): ns3::ndn::AppHelper::AppHelper(ns3::ndn::AppHelper const & arg0) [copy constructor]
4789 cls.add_constructor([param('ns3::ndn::AppHelper const &', 'arg0')])
4790 ## ndn-app-helper.h (module 'ndnSIM'): ns3::ndn::AppHelper::AppHelper(std::string const & prefix) [constructor]
4791 cls.add_constructor([param('std::string const &', 'prefix')])
4792 ## ndn-app-helper.h (module 'ndnSIM'): ns3::ApplicationContainer ns3::ndn::AppHelper::Install(ns3::NodeContainer c) [member function]
4793 cls.add_method('Install',
4794 'ns3::ApplicationContainer',
4795 [param('ns3::NodeContainer', 'c')])
4796 ## ndn-app-helper.h (module 'ndnSIM'): ns3::ApplicationContainer ns3::ndn::AppHelper::Install(ns3::Ptr<ns3::Node> node) [member function]
4797 cls.add_method('Install',
4798 'ns3::ApplicationContainer',
4799 [param('ns3::Ptr< ns3::Node >', 'node')])
4800 ## ndn-app-helper.h (module 'ndnSIM'): ns3::ApplicationContainer ns3::ndn::AppHelper::Install(std::string nodeName) [member function]
4801 cls.add_method('Install',
4802 'ns3::ApplicationContainer',
4803 [param('std::string', 'nodeName')])
4804 ## ndn-app-helper.h (module 'ndnSIM'): void ns3::ndn::AppHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function]
4805 cls.add_method('SetAttribute',
4806 'void',
4807 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
4808 ## ndn-app-helper.h (module 'ndnSIM'): void ns3::ndn::AppHelper::SetPrefix(std::string const & prefix) [member function]
4809 cls.add_method('SetPrefix',
4810 'void',
4811 [param('std::string const &', 'prefix')])
4812 return
4813
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07004814def register_Ns3NdnContentObject_methods(root_module, cls):
Alexander Afanasyev858d5312013-07-10 18:50:18 -07004815 ## ndn-content-object.h (module 'ndnSIM'): ns3::ndn::ContentObject::ContentObject(ns3::Ptr<ns3::Packet> payload=ns3::Create( )) [constructor]
4816 cls.add_constructor([param('ns3::Ptr< ns3::Packet >', 'payload', default_value='ns3::Create( )')])
4817 ## ndn-content-object.h (module 'ndnSIM'): ns3::ndn::ContentObject::ContentObject(ns3::ndn::ContentObject const & other) [copy constructor]
4818 cls.add_constructor([param('ns3::ndn::ContentObject const &', 'other')])
4819 ## ndn-content-object.h (module 'ndnSIM'): void ns3::ndn::ContentObject::SetName(ns3::Ptr<ns3::ndn::Name> name) [member function]
4820 cls.add_method('SetName',
4821 'void',
4822 [param('ns3::Ptr< ns3::ndn::Name >', 'name')])
4823 ## ndn-content-object.h (module 'ndnSIM'): void ns3::ndn::ContentObject::SetName(ns3::ndn::Name const & name) [member function]
4824 cls.add_method('SetName',
4825 'void',
4826 [param('ns3::ndn::Name const &', 'name')])
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07004827 ## ndn-content-object.h (module 'ndnSIM'): ns3::ndn::Name const & ns3::ndn::ContentObject::GetName() const [member function]
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08004828 cls.add_method('GetName',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07004829 'ns3::ndn::Name const &',
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08004830 [],
4831 is_const=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07004832 ## 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 -08004833 cls.add_method('GetNamePtr',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07004834 'ns3::Ptr< ns3::ndn::Name const >',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004835 [],
4836 is_const=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07004837 ## ndn-content-object.h (module 'ndnSIM'): void ns3::ndn::ContentObject::SetTimestamp(ns3::Time const & timestamp) [member function]
4838 cls.add_method('SetTimestamp',
4839 'void',
4840 [param('ns3::Time const &', 'timestamp')])
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07004841 ## ndn-content-object.h (module 'ndnSIM'): ns3::Time ns3::ndn::ContentObject::GetTimestamp() const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004842 cls.add_method('GetTimestamp',
4843 'ns3::Time',
4844 [],
4845 is_const=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07004846 ## ndn-content-object.h (module 'ndnSIM'): void ns3::ndn::ContentObject::SetFreshness(ns3::Time const & freshness) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004847 cls.add_method('SetFreshness',
4848 'void',
4849 [param('ns3::Time const &', 'freshness')])
Alexander Afanasyev858d5312013-07-10 18:50:18 -07004850 ## ndn-content-object.h (module 'ndnSIM'): ns3::Time ns3::ndn::ContentObject::GetFreshness() const [member function]
4851 cls.add_method('GetFreshness',
4852 'ns3::Time',
4853 [],
4854 is_const=True)
Alexander Afanasyev298c8442013-04-14 15:18:45 -07004855 ## ndn-content-object.h (module 'ndnSIM'): void ns3::ndn::ContentObject::SetSignature(uint32_t signature) [member function]
4856 cls.add_method('SetSignature',
4857 'void',
4858 [param('uint32_t', 'signature')])
Alexander Afanasyev858d5312013-07-10 18:50:18 -07004859 ## ndn-content-object.h (module 'ndnSIM'): uint32_t ns3::ndn::ContentObject::GetSignature() const [member function]
4860 cls.add_method('GetSignature',
4861 'uint32_t',
4862 [],
4863 is_const=True)
4864 ## ndn-content-object.h (module 'ndnSIM'): void ns3::ndn::ContentObject::SetPayload(ns3::Ptr<ns3::Packet> payload) [member function]
4865 cls.add_method('SetPayload',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004866 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07004867 [param('ns3::Ptr< ns3::Packet >', 'payload')])
4868 ## ndn-content-object.h (module 'ndnSIM'): ns3::Ptr<ns3::Packet const> ns3::ndn::ContentObject::GetPayload() const [member function]
4869 cls.add_method('GetPayload',
4870 'ns3::Ptr< ns3::Packet const >',
4871 [],
4872 is_const=True)
4873 ## ndn-content-object.h (module 'ndnSIM'): ns3::Ptr<ns3::Packet const> ns3::ndn::ContentObject::GetWire() const [member function]
4874 cls.add_method('GetWire',
4875 'ns3::Ptr< ns3::Packet const >',
4876 [],
4877 is_const=True)
4878 ## ndn-content-object.h (module 'ndnSIM'): void ns3::ndn::ContentObject::SetWire(ns3::Ptr<ns3::Packet const> packet) const [member function]
4879 cls.add_method('SetWire',
4880 'void',
4881 [param('ns3::Ptr< ns3::Packet const >', 'packet')],
4882 is_const=True)
4883 ## ndn-content-object.h (module 'ndnSIM'): void ns3::ndn::ContentObject::Print(std::ostream & os) const [member function]
4884 cls.add_method('Print',
4885 'void',
4886 [param('std::ostream &', 'os')],
4887 is_const=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004888 return
4889
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07004890def register_Ns3NdnContentObjectException_methods(root_module, cls):
4891 ## ndn-content-object.h (module 'ndnSIM'): ns3::ndn::ContentObjectException::ContentObjectException() [constructor]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004892 cls.add_constructor([])
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07004893 ## ndn-content-object.h (module 'ndnSIM'): ns3::ndn::ContentObjectException::ContentObjectException(ns3::ndn::ContentObjectException const & arg0) [copy constructor]
4894 cls.add_constructor([param('ns3::ndn::ContentObjectException const &', 'arg0')])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004895 return
4896
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004897def register_Ns3NdnContentStore_methods(root_module, cls):
4898 cls.add_output_stream_operator()
4899 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::ContentStore::ContentStore() [constructor]
4900 cls.add_constructor([])
4901 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::ContentStore::ContentStore(ns3::ndn::ContentStore const & arg0) [copy constructor]
4902 cls.add_constructor([param('ns3::ndn::ContentStore const &', 'arg0')])
Alexander Afanasyev858d5312013-07-10 18:50:18 -07004903 ## 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 -07004904 cls.add_method('Add',
4905 'bool',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07004906 [param('ns3::Ptr< ns3::ndn::ContentObject const >', 'data')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004907 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07004908 ## ndn-content-store.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::cs::Entry> ns3::ndn::ContentStore::Begin() [member function]
4909 cls.add_method('Begin',
4910 'ns3::Ptr< ns3::ndn::cs::Entry >',
4911 [],
4912 is_pure_virtual=True, is_virtual=True)
4913 ## ndn-content-store.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::cs::Entry> ns3::ndn::ContentStore::End() [member function]
4914 cls.add_method('End',
4915 'ns3::Ptr< ns3::ndn::cs::Entry >',
4916 [],
4917 is_pure_virtual=True, is_virtual=True)
4918 ## ndn-content-store.h (module 'ndnSIM'): static ns3::Ptr<ns3::ndn::ContentStore> ns3::ndn::ContentStore::GetContentStore(ns3::Ptr<ns3::Object> node) [member function]
4919 cls.add_method('GetContentStore',
4920 'ns3::Ptr< ns3::ndn::ContentStore >',
4921 [param('ns3::Ptr< ns3::Object >', 'node')],
4922 is_static=True)
4923 ## ndn-content-store.h (module 'ndnSIM'): uint32_t ns3::ndn::ContentStore::GetSize() const [member function]
4924 cls.add_method('GetSize',
4925 'uint32_t',
4926 [],
4927 is_pure_virtual=True, is_const=True, is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004928 ## ndn-content-store.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::ContentStore::GetTypeId() [member function]
4929 cls.add_method('GetTypeId',
4930 'ns3::TypeId',
4931 [],
4932 is_static=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07004933 ## 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 -07004934 cls.add_method('Lookup',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07004935 'ns3::Ptr< ns3::ndn::ContentObject >',
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07004936 [param('ns3::Ptr< ns3::ndn::Interest const >', 'interest')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004937 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07004938 ## 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]
4939 cls.add_method('Next',
4940 'ns3::Ptr< ns3::ndn::cs::Entry >',
4941 [param('ns3::Ptr< ns3::ndn::cs::Entry >', 'arg0')],
4942 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004943 ## ndn-content-store.h (module 'ndnSIM'): void ns3::ndn::ContentStore::Print(std::ostream & os) const [member function]
4944 cls.add_method('Print',
4945 'void',
4946 [param('std::ostream &', 'os')],
4947 is_pure_virtual=True, is_const=True, is_virtual=True)
4948 return
4949
4950def register_Ns3NdnFace_methods(root_module, cls):
4951 cls.add_output_stream_operator()
4952 cls.add_binary_comparison_operator('!=')
4953 cls.add_binary_comparison_operator('<')
4954 cls.add_binary_comparison_operator('==')
4955 ## ndn-face.h (module 'ndnSIM'): ns3::ndn::Face::Face(ns3::Ptr<ns3::Node> node) [constructor]
4956 cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node')])
Alexander Afanasyev858d5312013-07-10 18:50:18 -07004957 ## ndn-face.h (module 'ndnSIM'): uint32_t ns3::ndn::Face::GetFlags() const [member function]
4958 cls.add_method('GetFlags',
4959 'uint32_t',
4960 [],
4961 is_const=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004962 ## ndn-face.h (module 'ndnSIM'): uint32_t ns3::ndn::Face::GetId() const [member function]
4963 cls.add_method('GetId',
4964 'uint32_t',
4965 [],
4966 is_const=True)
4967 ## ndn-face.h (module 'ndnSIM'): uint16_t ns3::ndn::Face::GetMetric() const [member function]
4968 cls.add_method('GetMetric',
4969 'uint16_t',
4970 [],
4971 is_const=True, is_virtual=True)
4972 ## ndn-face.h (module 'ndnSIM'): ns3::Ptr<ns3::Node> ns3::ndn::Face::GetNode() const [member function]
4973 cls.add_method('GetNode',
4974 'ns3::Ptr< ns3::Node >',
4975 [],
4976 is_const=True)
4977 ## ndn-face.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::Face::GetTypeId() [member function]
4978 cls.add_method('GetTypeId',
4979 'ns3::TypeId',
4980 [],
4981 is_static=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004982 ## ndn-face.h (module 'ndnSIM'): bool ns3::ndn::Face::IsUp() const [member function]
4983 cls.add_method('IsUp',
4984 'bool',
4985 [],
Alexander Afanasyev858d5312013-07-10 18:50:18 -07004986 is_const=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004987 ## ndn-face.h (module 'ndnSIM'): std::ostream & ns3::ndn::Face::Print(std::ostream & os) const [member function]
Alexander Afanasyev3073da82012-06-19 14:57:43 -07004988 cls.add_method('Print',
4989 'std::ostream &',
4990 [param('std::ostream &', 'os')],
4991 is_const=True, is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07004992 ## ndn-face.h (module 'ndnSIM'): bool ns3::ndn::Face::ReceiveData(ns3::Ptr<ns3::ndn::ContentObject> data) [member function]
4993 cls.add_method('ReceiveData',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004994 'bool',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07004995 [param('ns3::Ptr< ns3::ndn::ContentObject >', 'data')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004996 is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07004997 ## ndn-face.h (module 'ndnSIM'): bool ns3::ndn::Face::ReceiveInterest(ns3::Ptr<ns3::ndn::Interest> interest) [member function]
4998 cls.add_method('ReceiveInterest',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004999 'bool',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005000 [param('ns3::Ptr< ns3::ndn::Interest >', 'interest')],
5001 is_virtual=True)
5002 ## 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]
5003 cls.add_method('RegisterProtocolHandlers',
5004 'void',
5005 [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')],
5006 is_virtual=True)
5007 ## ndn-face.h (module 'ndnSIM'): bool ns3::ndn::Face::SendData(ns3::Ptr<ns3::ndn::ContentObject const> data) [member function]
5008 cls.add_method('SendData',
5009 'bool',
5010 [param('ns3::Ptr< ns3::ndn::ContentObject const >', 'data')],
5011 is_virtual=True)
5012 ## ndn-face.h (module 'ndnSIM'): bool ns3::ndn::Face::SendInterest(ns3::Ptr<ns3::ndn::Interest const> interest) [member function]
5013 cls.add_method('SendInterest',
5014 'bool',
5015 [param('ns3::Ptr< ns3::ndn::Interest const >', 'interest')],
5016 is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005017 ## ndn-face.h (module 'ndnSIM'): void ns3::ndn::Face::SetId(uint32_t id) [member function]
5018 cls.add_method('SetId',
5019 'void',
5020 [param('uint32_t', 'id')])
5021 ## ndn-face.h (module 'ndnSIM'): void ns3::ndn::Face::SetMetric(uint16_t metric) [member function]
5022 cls.add_method('SetMetric',
5023 'void',
5024 [param('uint16_t', 'metric')],
5025 is_virtual=True)
5026 ## ndn-face.h (module 'ndnSIM'): void ns3::ndn::Face::SetUp(bool up=true) [member function]
5027 cls.add_method('SetUp',
5028 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005029 [param('bool', 'up', default_value='true')])
5030 ## ndn-face.h (module 'ndnSIM'): void ns3::ndn::Face::UnRegisterProtocolHandlers() [member function]
5031 cls.add_method('UnRegisterProtocolHandlers',
5032 'void',
5033 [],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005034 is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005035 ## ndn-face.h (module 'ndnSIM'): bool ns3::ndn::Face::Receive(ns3::Ptr<ns3::Packet const> p) [member function]
5036 cls.add_method('Receive',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005037 'bool',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005038 [param('ns3::Ptr< ns3::Packet const >', 'p')],
5039 visibility='protected', is_virtual=True)
5040 ## ndn-face.h (module 'ndnSIM'): bool ns3::ndn::Face::Send(ns3::Ptr<ns3::Packet> packet) [member function]
5041 cls.add_method('Send',
5042 'bool',
5043 [param('ns3::Ptr< ns3::Packet >', 'packet')],
5044 visibility='protected', is_virtual=True)
5045 ## ndn-face.h (module 'ndnSIM'): void ns3::ndn::Face::SetFlags(uint32_t flags) [member function]
5046 cls.add_method('SetFlags',
5047 'void',
5048 [param('uint32_t', 'flags')],
5049 visibility='protected')
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005050 return
5051
5052def register_Ns3NdnFaceContainer_methods(root_module, cls):
5053 ## ndn-face-container.h (module 'ndnSIM'): ns3::ndn::FaceContainer::FaceContainer() [constructor]
5054 cls.add_constructor([])
5055 ## ndn-face-container.h (module 'ndnSIM'): ns3::ndn::FaceContainer::FaceContainer(ns3::ndn::FaceContainer const & other) [copy constructor]
5056 cls.add_constructor([param('ns3::ndn::FaceContainer const &', 'other')])
5057 ## ndn-face-container.h (module 'ndnSIM'): void ns3::ndn::FaceContainer::Add(ns3::Ptr<ns3::ndn::Face> const & face) [member function]
5058 cls.add_method('Add',
5059 'void',
5060 [param('ns3::Ptr< ns3::ndn::Face > const &', 'face')])
5061 ## ndn-face-container.h (module 'ndnSIM'): void ns3::ndn::FaceContainer::AddAll(ns3::Ptr<ns3::ndn::FaceContainer> other) [member function]
5062 cls.add_method('AddAll',
5063 'void',
5064 [param('ns3::Ptr< ns3::ndn::FaceContainer >', 'other')])
5065 ## ndn-face-container.h (module 'ndnSIM'): void ns3::ndn::FaceContainer::AddAll(ns3::ndn::FaceContainer const & other) [member function]
5066 cls.add_method('AddAll',
5067 'void',
5068 [param('ns3::ndn::FaceContainer const &', 'other')])
5069 ## 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]
5070 cls.add_method('Begin',
5071 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::ndn::Face > const, std::vector< ns3::Ptr< ns3::ndn::Face > > >',
5072 [],
5073 is_const=True)
5074 ## 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]
5075 cls.add_method('End',
5076 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::ndn::Face > const, std::vector< ns3::Ptr< ns3::ndn::Face > > >',
5077 [],
5078 is_const=True)
5079 ## 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]
5080 cls.add_method('Get',
5081 'ns3::Ptr< ns3::ndn::Face >',
5082 [param('__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::ndn::Face > const, std::vector< ns3::Ptr< ns3::ndn::Face > > >', 'i')],
5083 is_const=True)
5084 ## ndn-face-container.h (module 'ndnSIM'): uint32_t ns3::ndn::FaceContainer::GetN() const [member function]
5085 cls.add_method('GetN',
5086 'uint32_t',
5087 [],
5088 is_const=True)
5089 return
5090
5091def register_Ns3NdnFib_methods(root_module, cls):
5092 cls.add_output_stream_operator()
5093 ## ndn-fib.h (module 'ndnSIM'): ns3::ndn::Fib::Fib() [constructor]
5094 cls.add_constructor([])
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005095 ## 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 -07005096 cls.add_method('Add',
5097 'ns3::Ptr< ns3::ndn::fib::Entry >',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005098 [param('ns3::ndn::Name const &', 'prefix'), param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('int32_t', 'metric')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005099 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005100 ## 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 -07005101 cls.add_method('Add',
5102 'ns3::Ptr< ns3::ndn::fib::Entry >',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005103 [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 -07005104 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005105 ## 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 -07005106 cls.add_method('Begin',
5107 'ns3::Ptr< ns3::ndn::fib::Entry const >',
5108 [],
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005109 is_pure_virtual=True, is_const=True, is_virtual=True)
5110 ## ndn-fib.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::fib::Entry> ns3::ndn::Fib::Begin() [member function]
5111 cls.add_method('Begin',
5112 'ns3::Ptr< ns3::ndn::fib::Entry >',
5113 [],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005114 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005115 ## 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 -07005116 cls.add_method('End',
5117 'ns3::Ptr< ns3::ndn::fib::Entry const >',
5118 [],
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005119 is_pure_virtual=True, is_const=True, is_virtual=True)
5120 ## ndn-fib.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::fib::Entry> ns3::ndn::Fib::End() [member function]
5121 cls.add_method('End',
5122 'ns3::Ptr< ns3::ndn::fib::Entry >',
5123 [],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005124 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyeve5a8b5a2013-03-15 15:15:26 -07005125 ## ndn-fib.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::fib::Entry> ns3::ndn::Fib::Find(ns3::ndn::Name const & prefix) [member function]
5126 cls.add_method('Find',
5127 'ns3::Ptr< ns3::ndn::fib::Entry >',
5128 [param('ns3::ndn::Name const &', 'prefix')],
5129 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005130 ## ndn-fib.h (module 'ndnSIM'): static ns3::Ptr<ns3::ndn::Fib> ns3::ndn::Fib::GetFib(ns3::Ptr<ns3::Object> node) [member function]
5131 cls.add_method('GetFib',
5132 'ns3::Ptr< ns3::ndn::Fib >',
5133 [param('ns3::Ptr< ns3::Object >', 'node')],
5134 is_static=True)
5135 ## ndn-fib.h (module 'ndnSIM'): uint32_t ns3::ndn::Fib::GetSize() const [member function]
5136 cls.add_method('GetSize',
5137 'uint32_t',
5138 [],
5139 is_pure_virtual=True, is_const=True, is_virtual=True)
5140 ## ndn-fib.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::Fib::GetTypeId() [member function]
5141 cls.add_method('GetTypeId',
5142 'ns3::TypeId',
5143 [],
5144 is_static=True)
5145 ## ndn-fib.h (module 'ndnSIM'): void ns3::ndn::Fib::InvalidateAll() [member function]
5146 cls.add_method('InvalidateAll',
5147 'void',
5148 [],
5149 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005150 ## 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 -07005151 cls.add_method('LongestPrefixMatch',
5152 'ns3::Ptr< ns3::ndn::fib::Entry >',
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005153 [param('ns3::ndn::Interest const &', 'interest')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005154 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005155 ## 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 -07005156 cls.add_method('Next',
5157 'ns3::Ptr< ns3::ndn::fib::Entry const >',
5158 [param('ns3::Ptr< ns3::ndn::fib::Entry const >', 'arg0')],
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005159 is_pure_virtual=True, is_const=True, is_virtual=True)
5160 ## ndn-fib.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::fib::Entry> ns3::ndn::Fib::Next(ns3::Ptr<ns3::ndn::fib::Entry> arg0) [member function]
5161 cls.add_method('Next',
5162 'ns3::Ptr< ns3::ndn::fib::Entry >',
5163 [param('ns3::Ptr< ns3::ndn::fib::Entry >', 'arg0')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005164 is_pure_virtual=True, is_virtual=True)
5165 ## ndn-fib.h (module 'ndnSIM'): void ns3::ndn::Fib::Print(std::ostream & os) const [member function]
5166 cls.add_method('Print',
5167 'void',
5168 [param('std::ostream &', 'os')],
5169 is_pure_virtual=True, is_const=True, is_virtual=True)
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005170 ## 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 -07005171 cls.add_method('Remove',
5172 'void',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005173 [param('ns3::Ptr< ns3::ndn::Name const > const &', 'prefix')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005174 is_pure_virtual=True, is_virtual=True)
5175 ## ndn-fib.h (module 'ndnSIM'): void ns3::ndn::Fib::RemoveFromAll(ns3::Ptr<ns3::ndn::Face> face) [member function]
5176 cls.add_method('RemoveFromAll',
5177 'void',
5178 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
5179 is_pure_virtual=True, is_virtual=True)
5180 return
5181
5182def register_Ns3NdnForwardingStrategy_methods(root_module, cls):
5183 ## ndn-forwarding-strategy.h (module 'ndnSIM'): ns3::ndn::ForwardingStrategy::ForwardingStrategy(ns3::ndn::ForwardingStrategy const & arg0) [copy constructor]
5184 cls.add_constructor([param('ns3::ndn::ForwardingStrategy const &', 'arg0')])
5185 ## ndn-forwarding-strategy.h (module 'ndnSIM'): ns3::ndn::ForwardingStrategy::ForwardingStrategy() [constructor]
5186 cls.add_constructor([])
Alexander Afanasyevf5c07742012-10-31 13:13:05 -07005187 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::AddFace(ns3::Ptr<ns3::ndn::Face> face) [member function]
5188 cls.add_method('AddFace',
5189 'void',
5190 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
5191 is_virtual=True)
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005192 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DidAddFibEntry(ns3::Ptr<ns3::ndn::fib::Entry> fibEntry) [member function]
5193 cls.add_method('DidAddFibEntry',
5194 'void',
5195 [param('ns3::Ptr< ns3::ndn::fib::Entry >', 'fibEntry')],
5196 is_virtual=True)
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005197 ## ndn-forwarding-strategy.h (module 'ndnSIM'): static std::string ns3::ndn::ForwardingStrategy::GetLogName() [member function]
5198 cls.add_method('GetLogName',
5199 'std::string',
5200 [],
5201 is_static=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005202 ## ndn-forwarding-strategy.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::ForwardingStrategy::GetTypeId() [member function]
5203 cls.add_method('GetTypeId',
5204 'ns3::TypeId',
5205 [],
5206 is_static=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005207 ## 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 -07005208 cls.add_method('OnData',
5209 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005210 [param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('ns3::Ptr< ns3::ndn::ContentObject >', 'data')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005211 is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005212 ## 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 -07005213 cls.add_method('OnInterest',
5214 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005215 [param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('ns3::Ptr< ns3::ndn::Interest >', 'interest')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005216 is_virtual=True)
5217 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::RemoveFace(ns3::Ptr<ns3::ndn::Face> face) [member function]
5218 cls.add_method('RemoveFace',
5219 'void',
5220 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
5221 is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005222 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::WillEraseTimedOutPendingInterest(ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
5223 cls.add_method('WillEraseTimedOutPendingInterest',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005224 'void',
5225 [param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
5226 is_virtual=True)
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005227 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::WillRemoveFibEntry(ns3::Ptr<ns3::ndn::fib::Entry> fibEntry) [member function]
5228 cls.add_method('WillRemoveFibEntry',
5229 'void',
5230 [param('ns3::Ptr< ns3::ndn::fib::Entry >', 'fibEntry')],
5231 is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005232 ## 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 -08005233 cls.add_method('CanSendOutInterest',
5234 'bool',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005235 [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 -08005236 visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005237 ## 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 -07005238 cls.add_method('DetectRetransmittedInterest',
5239 'bool',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005240 [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 -07005241 visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005242 ## 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 -07005243 cls.add_method('DidCreatePitEntry',
5244 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005245 [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 -07005246 visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005247 ## 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 -07005248 cls.add_method('DidExhaustForwardingOptions',
5249 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005250 [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 -07005251 visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005252 ## 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 -07005253 cls.add_method('DidForwardSimilarInterest',
5254 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005255 [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 -07005256 visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005257 ## 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 -07005258 cls.add_method('DidReceiveDuplicateInterest',
5259 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005260 [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 -07005261 visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005262 ## 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 -08005263 cls.add_method('DidReceiveSolicitedData',
5264 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005265 [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 -08005266 visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005267 ## 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 -07005268 cls.add_method('DidReceiveUnsolicitedData',
5269 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005270 [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 -07005271 visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005272 ## 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 -07005273 cls.add_method('DidSendOutData',
5274 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005275 [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 -07005276 visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005277 ## 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 -07005278 cls.add_method('DidSendOutInterest',
5279 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005280 [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 -07005281 visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005282 ## 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 -07005283 cls.add_method('DidSuppressSimilarInterest',
5284 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005285 [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 -07005286 visibility='protected', is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005287 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DoDispose() [member function]
5288 cls.add_method('DoDispose',
5289 'void',
5290 [],
5291 visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005292 ## 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 -07005293 cls.add_method('DoPropagateInterest',
5294 'bool',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005295 [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 -07005296 is_pure_virtual=True, visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005297 ## 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 -07005298 cls.add_method('FailedToCreatePitEntry',
5299 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005300 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::Interest const >', 'interest')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005301 visibility='protected', is_virtual=True)
5302 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::NotifyNewAggregate() [member function]
5303 cls.add_method('NotifyNewAggregate',
5304 'void',
5305 [],
5306 visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005307 ## 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 -07005308 cls.add_method('PropagateInterest',
5309 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005310 [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 -07005311 visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005312 ## 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 -07005313 cls.add_method('SatisfyPendingInterest',
5314 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005315 [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 -07005316 visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005317 ## 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 -07005318 cls.add_method('ShouldSuppressIncomingInterest',
5319 'bool',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005320 [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 -07005321 visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005322 ## 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 -07005323 cls.add_method('TrySendOutInterest',
5324 'bool',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005325 [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 -07005326 visibility='protected', is_virtual=True)
5327 ## 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 -07005328 cls.add_method('WillSatisfyPendingInterest',
5329 'void',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005330 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005331 visibility='protected', is_virtual=True)
5332 return
5333
5334def register_Ns3NdnGlobalRoutingHelper_methods(root_module, cls):
5335 ## ndn-global-routing-helper.h (module 'ndnSIM'): ns3::ndn::GlobalRoutingHelper::GlobalRoutingHelper() [constructor]
5336 cls.add_constructor([])
5337 ## ndn-global-routing-helper.h (module 'ndnSIM'): ns3::ndn::GlobalRoutingHelper::GlobalRoutingHelper(ns3::ndn::GlobalRoutingHelper const & arg0) [copy constructor]
5338 cls.add_constructor([param('ns3::ndn::GlobalRoutingHelper const &', 'arg0')])
5339 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::AddOrigin(std::string const & prefix, ns3::Ptr<ns3::Node> node) [member function]
5340 cls.add_method('AddOrigin',
5341 'void',
5342 [param('std::string const &', 'prefix'), param('ns3::Ptr< ns3::Node >', 'node')])
5343 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::AddOrigin(std::string const & prefix, std::string const & nodeName) [member function]
5344 cls.add_method('AddOrigin',
5345 'void',
5346 [param('std::string const &', 'prefix'), param('std::string const &', 'nodeName')])
5347 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::AddOrigins(std::string const & prefix, ns3::NodeContainer const & nodes) [member function]
5348 cls.add_method('AddOrigins',
5349 'void',
5350 [param('std::string const &', 'prefix'), param('ns3::NodeContainer const &', 'nodes')])
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005351 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::AddOriginsForAll() [member function]
5352 cls.add_method('AddOriginsForAll',
5353 'void',
5354 [])
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -07005355 ## ndn-global-routing-helper.h (module 'ndnSIM'): static void ns3::ndn::GlobalRoutingHelper::CalculateAllPossibleRoutes() [member function]
5356 cls.add_method('CalculateAllPossibleRoutes',
5357 'void',
5358 [],
5359 is_static=True)
5360 ## ndn-global-routing-helper.h (module 'ndnSIM'): static void ns3::ndn::GlobalRoutingHelper::CalculateRoutes() [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005361 cls.add_method('CalculateRoutes',
5362 'void',
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -07005363 [],
5364 is_static=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005365 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::Install(ns3::Ptr<ns3::Node> node) [member function]
5366 cls.add_method('Install',
5367 'void',
5368 [param('ns3::Ptr< ns3::Node >', 'node')])
5369 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::Install(ns3::NodeContainer const & nodes) [member function]
5370 cls.add_method('Install',
5371 'void',
5372 [param('ns3::NodeContainer const &', 'nodes')])
5373 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::InstallAll() [member function]
5374 cls.add_method('InstallAll',
5375 'void',
5376 [])
5377 return
5378
5379def register_Ns3NdnHeaderHelper_methods(root_module, cls):
5380 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::HeaderHelper::HeaderHelper() [constructor]
5381 cls.add_constructor([])
5382 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::HeaderHelper::HeaderHelper(ns3::ndn::HeaderHelper const & arg0) [copy constructor]
5383 cls.add_constructor([param('ns3::ndn::HeaderHelper const &', 'arg0')])
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005384 ## 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 -07005385 cls.add_method('GetNdnHeaderType',
5386 'ns3::ndn::HeaderHelper::Type',
5387 [param('ns3::Ptr< ns3::Packet const >', 'packet')],
5388 is_static=True)
5389 return
5390
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005391def register_Ns3NdnInterest_methods(root_module, cls):
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005392 ## ndn-interest.h (module 'ndnSIM'): ns3::ndn::Interest::Interest(ns3::Ptr<ns3::Packet> payload=ns3::Create( )) [constructor]
5393 cls.add_constructor([param('ns3::Ptr< ns3::Packet >', 'payload', default_value='ns3::Create( )')])
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005394 ## ndn-interest.h (module 'ndnSIM'): ns3::ndn::Interest::Interest(ns3::ndn::Interest const & interest) [copy constructor]
5395 cls.add_constructor([param('ns3::ndn::Interest const &', 'interest')])
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005396 ## ndn-interest.h (module 'ndnSIM'): void ns3::ndn::Interest::SetName(ns3::Ptr<ns3::ndn::Name> name) [member function]
5397 cls.add_method('SetName',
5398 'void',
5399 [param('ns3::Ptr< ns3::ndn::Name >', 'name')])
5400 ## ndn-interest.h (module 'ndnSIM'): void ns3::ndn::Interest::SetName(ns3::ndn::Name const & name) [member function]
5401 cls.add_method('SetName',
5402 'void',
5403 [param('ns3::ndn::Name const &', 'name')])
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005404 ## ndn-interest.h (module 'ndnSIM'): ns3::ndn::Name const & ns3::ndn::Interest::GetName() const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005405 cls.add_method('GetName',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005406 'ns3::ndn::Name const &',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005407 [],
5408 is_const=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005409 ## 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 -07005410 cls.add_method('GetNamePtr',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005411 'ns3::Ptr< ns3::ndn::Name const >',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005412 [],
5413 is_const=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005414 ## ndn-interest.h (module 'ndnSIM'): void ns3::ndn::Interest::SetScope(int8_t scope) [member function]
5415 cls.add_method('SetScope',
5416 'void',
5417 [param('int8_t', 'scope')])
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005418 ## ndn-interest.h (module 'ndnSIM'): int8_t ns3::ndn::Interest::GetScope() const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005419 cls.add_method('GetScope',
5420 'int8_t',
5421 [],
5422 is_const=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005423 ## ndn-interest.h (module 'ndnSIM'): void ns3::ndn::Interest::SetInterestLifetime(ns3::Time time) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005424 cls.add_method('SetInterestLifetime',
5425 'void',
5426 [param('ns3::Time', 'time')])
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005427 ## ndn-interest.h (module 'ndnSIM'): ns3::Time ns3::ndn::Interest::GetInterestLifetime() const [member function]
5428 cls.add_method('GetInterestLifetime',
5429 'ns3::Time',
5430 [],
5431 is_const=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005432 ## ndn-interest.h (module 'ndnSIM'): void ns3::ndn::Interest::SetNonce(uint32_t nonce) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005433 cls.add_method('SetNonce',
5434 'void',
5435 [param('uint32_t', 'nonce')])
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005436 ## ndn-interest.h (module 'ndnSIM'): uint32_t ns3::ndn::Interest::GetNonce() const [member function]
5437 cls.add_method('GetNonce',
5438 'uint32_t',
5439 [],
5440 is_const=True)
5441 ## ndn-interest.h (module 'ndnSIM'): void ns3::ndn::Interest::SetNack(uint8_t nackType) [member function]
5442 cls.add_method('SetNack',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005443 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005444 [param('uint8_t', 'nackType')])
5445 ## ndn-interest.h (module 'ndnSIM'): uint8_t ns3::ndn::Interest::GetNack() const [member function]
5446 cls.add_method('GetNack',
5447 'uint8_t',
5448 [],
5449 is_const=True)
5450 ## ndn-interest.h (module 'ndnSIM'): void ns3::ndn::Interest::SetPayload(ns3::Ptr<ns3::Packet> payload) [member function]
5451 cls.add_method('SetPayload',
5452 'void',
5453 [param('ns3::Ptr< ns3::Packet >', 'payload')])
5454 ## ndn-interest.h (module 'ndnSIM'): ns3::Ptr<ns3::Packet const> ns3::ndn::Interest::GetPayload() const [member function]
5455 cls.add_method('GetPayload',
5456 'ns3::Ptr< ns3::Packet const >',
5457 [],
5458 is_const=True)
5459 ## ndn-interest.h (module 'ndnSIM'): ns3::Ptr<ns3::Packet const> ns3::ndn::Interest::GetWire() const [member function]
5460 cls.add_method('GetWire',
5461 'ns3::Ptr< ns3::Packet const >',
5462 [],
5463 is_const=True)
5464 ## ndn-interest.h (module 'ndnSIM'): void ns3::ndn::Interest::SetWire(ns3::Ptr<ns3::Packet const> packet) const [member function]
5465 cls.add_method('SetWire',
5466 'void',
5467 [param('ns3::Ptr< ns3::Packet const >', 'packet')],
5468 is_const=True)
5469 ## ndn-interest.h (module 'ndnSIM'): void ns3::ndn::Interest::Print(std::ostream & os) const [member function]
5470 cls.add_method('Print',
5471 'void',
5472 [param('std::ostream &', 'os')],
5473 is_const=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005474 return
5475
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005476def register_Ns3NdnInterestException_methods(root_module, cls):
5477 ## ndn-interest.h (module 'ndnSIM'): ns3::ndn::InterestException::InterestException() [constructor]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005478 cls.add_constructor([])
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005479 ## ndn-interest.h (module 'ndnSIM'): ns3::ndn::InterestException::InterestException(ns3::ndn::InterestException const & arg0) [copy constructor]
5480 cls.add_constructor([param('ns3::ndn::InterestException const &', 'arg0')])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005481 return
5482
5483def register_Ns3NdnL3Protocol_methods(root_module, cls):
5484 ## ndn-l3-protocol.h (module 'ndnSIM'): ns3::ndn::L3Protocol::ETHERNET_FRAME_TYPE [variable]
5485 cls.add_static_attribute('ETHERNET_FRAME_TYPE', 'uint16_t const', is_const=True)
5486 ## ndn-l3-protocol.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::L3Protocol::GetTypeId() [member function]
5487 cls.add_method('GetTypeId',
5488 'ns3::TypeId',
5489 [],
5490 is_static=True)
5491 ## ndn-l3-protocol.h (module 'ndnSIM'): ns3::ndn::L3Protocol::L3Protocol() [constructor]
5492 cls.add_constructor([])
5493 ## ndn-l3-protocol.h (module 'ndnSIM'): uint32_t ns3::ndn::L3Protocol::AddFace(ns3::Ptr<ns3::ndn::Face> const & face) [member function]
5494 cls.add_method('AddFace',
5495 'uint32_t',
5496 [param('ns3::Ptr< ns3::ndn::Face > const &', 'face')],
5497 is_virtual=True)
5498 ## ndn-l3-protocol.h (module 'ndnSIM'): uint32_t ns3::ndn::L3Protocol::GetNFaces() const [member function]
5499 cls.add_method('GetNFaces',
5500 'uint32_t',
5501 [],
5502 is_const=True, is_virtual=True)
5503 ## ndn-l3-protocol.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::Face> ns3::ndn::L3Protocol::GetFace(uint32_t face) const [member function]
5504 cls.add_method('GetFace',
5505 'ns3::Ptr< ns3::ndn::Face >',
5506 [param('uint32_t', 'face')],
5507 is_const=True, is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005508 ## ndn-l3-protocol.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::Face> ns3::ndn::L3Protocol::GetFaceById(uint32_t face) const [member function]
5509 cls.add_method('GetFaceById',
5510 'ns3::Ptr< ns3::ndn::Face >',
5511 [param('uint32_t', 'face')],
5512 is_const=True, is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005513 ## ndn-l3-protocol.h (module 'ndnSIM'): void ns3::ndn::L3Protocol::RemoveFace(ns3::Ptr<ns3::ndn::Face> face) [member function]
5514 cls.add_method('RemoveFace',
5515 'void',
5516 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
5517 is_virtual=True)
5518 ## ndn-l3-protocol.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::Face> ns3::ndn::L3Protocol::GetFaceByNetDevice(ns3::Ptr<ns3::NetDevice> netDevice) const [member function]
5519 cls.add_method('GetFaceByNetDevice',
5520 'ns3::Ptr< ns3::ndn::Face >',
5521 [param('ns3::Ptr< ns3::NetDevice >', 'netDevice')],
5522 is_const=True, is_virtual=True)
5523 ## ndn-l3-protocol.h (module 'ndnSIM'): void ns3::ndn::L3Protocol::DoDispose() [member function]
5524 cls.add_method('DoDispose',
5525 'void',
5526 [],
5527 visibility='protected', is_virtual=True)
5528 ## ndn-l3-protocol.h (module 'ndnSIM'): void ns3::ndn::L3Protocol::NotifyNewAggregate() [member function]
5529 cls.add_method('NotifyNewAggregate',
5530 'void',
5531 [],
5532 visibility='protected', is_virtual=True)
5533 return
5534
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005535def register_Ns3NdnLimits_methods(root_module, cls):
5536 ## ndn-limits.h (module 'ndnSIM'): ns3::ndn::Limits::Limits(ns3::ndn::Limits const & arg0) [copy constructor]
5537 cls.add_constructor([param('ns3::ndn::Limits const &', 'arg0')])
5538 ## ndn-limits.h (module 'ndnSIM'): ns3::ndn::Limits::Limits() [constructor]
5539 cls.add_constructor([])
Alexander Afanasyev7e4235a2012-10-31 16:58:44 -07005540 ## ndn-limits.h (module 'ndnSIM'): void ns3::ndn::Limits::BorrowLimit() [member function]
5541 cls.add_method('BorrowLimit',
5542 'void',
5543 [],
5544 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevf5c07742012-10-31 13:13:05 -07005545 ## ndn-limits.h (module 'ndnSIM'): double ns3::ndn::Limits::GetCurrentLimit() const [member function]
5546 cls.add_method('GetCurrentLimit',
5547 'double',
5548 [],
Alexander Afanasyev7e4235a2012-10-31 16:58:44 -07005549 is_pure_virtual=True, is_const=True, is_virtual=True)
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08005550 ## ndn-limits.h (module 'ndnSIM'): double ns3::ndn::Limits::GetCurrentLimitRate() const [member function]
5551 cls.add_method('GetCurrentLimitRate',
5552 'double',
5553 [],
5554 is_pure_virtual=True, is_const=True, is_virtual=True)
5555 ## ndn-limits.h (module 'ndnSIM'): double ns3::ndn::Limits::GetLinkDelay() const [member function]
5556 cls.add_method('GetLinkDelay',
5557 'double',
5558 [],
5559 is_const=True, is_virtual=True)
Alexander Afanasyev7e4235a2012-10-31 16:58:44 -07005560 ## ndn-limits.h (module 'ndnSIM'): double ns3::ndn::Limits::GetMaxDelay() const [member function]
5561 cls.add_method('GetMaxDelay',
5562 'double',
5563 [],
5564 is_const=True, is_virtual=True)
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08005565 ## ndn-limits.h (module 'ndnSIM'): double ns3::ndn::Limits::GetMaxLimit() const [member function]
5566 cls.add_method('GetMaxLimit',
5567 'double',
5568 [],
5569 is_pure_virtual=True, is_const=True, is_virtual=True)
Alexander Afanasyev7e4235a2012-10-31 16:58:44 -07005570 ## ndn-limits.h (module 'ndnSIM'): double ns3::ndn::Limits::GetMaxRate() const [member function]
5571 cls.add_method('GetMaxRate',
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07005572 'double',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005573 [],
Alexander Afanasyevf5c07742012-10-31 13:13:05 -07005574 is_const=True, is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005575 ## ndn-limits.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::Limits::GetTypeId() [member function]
5576 cls.add_method('GetTypeId',
5577 'ns3::TypeId',
5578 [],
5579 is_static=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005580 ## ndn-limits.h (module 'ndnSIM'): bool ns3::ndn::Limits::IsBelowLimit() [member function]
5581 cls.add_method('IsBelowLimit',
5582 'bool',
Alexander Afanasyevf5c07742012-10-31 13:13:05 -07005583 [],
5584 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005585 ## ndn-limits.h (module 'ndnSIM'): bool ns3::ndn::Limits::IsEnabled() const [member function]
5586 cls.add_method('IsEnabled',
5587 'bool',
5588 [],
Alexander Afanasyevf5c07742012-10-31 13:13:05 -07005589 is_const=True, is_virtual=True)
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08005590 ## 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]
5591 cls.add_method('RegisterAvailableSlotCallback',
5592 'void',
5593 [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 -07005594 ## ndn-limits.h (module 'ndnSIM'): void ns3::ndn::Limits::ReturnLimit() [member function]
5595 cls.add_method('ReturnLimit',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005596 'void',
Alexander Afanasyev7e4235a2012-10-31 16:58:44 -07005597 [],
5598 is_pure_virtual=True, is_virtual=True)
5599 ## ndn-limits.h (module 'ndnSIM'): void ns3::ndn::Limits::SetLimits(double rate, double delay) [member function]
5600 cls.add_method('SetLimits',
5601 'void',
5602 [param('double', 'rate'), param('double', 'delay')],
Alexander Afanasyevf5c07742012-10-31 13:13:05 -07005603 is_virtual=True)
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08005604 ## ndn-limits.h (module 'ndnSIM'): void ns3::ndn::Limits::SetLinkDelay(double delay) [member function]
5605 cls.add_method('SetLinkDelay',
5606 'void',
5607 [param('double', 'delay')],
5608 is_virtual=True)
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07005609 ## ndn-limits.h (module 'ndnSIM'): void ns3::ndn::Limits::UpdateCurrentLimit(double limit) [member function]
5610 cls.add_method('UpdateCurrentLimit',
5611 'void',
Alexander Afanasyev7e4235a2012-10-31 16:58:44 -07005612 [param('double', 'limit')],
5613 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08005614 ## ndn-limits.h (module 'ndnSIM'): void ns3::ndn::Limits::FireAvailableSlotCallback() [member function]
5615 cls.add_method('FireAvailableSlotCallback',
5616 'void',
5617 [],
5618 visibility='protected')
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005619 return
5620
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005621def register_Ns3NdnName_methods(root_module, cls):
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005622 cls.add_output_stream_operator()
5623 cls.add_binary_comparison_operator('<')
5624 cls.add_binary_comparison_operator('==')
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005625 ## ndn-name.h (module 'ndnSIM'): ns3::ndn::Name::Name(ns3::ndn::Name const & arg0) [copy constructor]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005626 cls.add_constructor([param('ns3::ndn::Name const &', 'arg0')])
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005627 ## ndn-name.h (module 'ndnSIM'): ns3::ndn::Name::Name() [constructor]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005628 cls.add_constructor([])
Alexander Afanasyeve5a8b5a2013-03-15 15:15:26 -07005629 ## ndn-name.h (module 'ndnSIM'): ns3::ndn::Name::Name(std::list<boost::reference_wrapper<const std::basic_string<char, std::char_traits<char>, std::allocator<char> > >,std::allocator<boost::reference_wrapper<const std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > const & components) [constructor]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005630 cls.add_constructor([param('std::list< boost::reference_wrapper< std::string const > > const &', 'components')])
Alexander Afanasyev298c8442013-04-14 15:18:45 -07005631 ## ndn-name.h (module 'ndnSIM'): ns3::ndn::Name::Name(std::list<std::string, std::allocator<std::string> > const & components) [constructor]
5632 cls.add_constructor([param('std::list< std::string > const &', 'components')])
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005633 ## ndn-name.h (module 'ndnSIM'): ns3::ndn::Name::Name(std::string const & prefix) [constructor]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005634 cls.add_constructor([param('std::string const &', 'prefix')])
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005635 ## ndn-name.h (module 'ndnSIM'): ns3::ndn::Name::Name(char const * prefix) [constructor]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005636 cls.add_constructor([param('char const *', 'prefix')])
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005637 ## ndn-name.h (module 'ndnSIM'): std::list<std::string, std::allocator<std::string> > const & ns3::ndn::Name::GetComponents() const [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005638 cls.add_method('GetComponents',
5639 'std::list< std::string > const &',
5640 [],
5641 is_const=True)
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005642 ## ndn-name.h (module 'ndnSIM'): std::string ns3::ndn::Name::GetLastComponent() const [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005643 cls.add_method('GetLastComponent',
5644 'std::string',
5645 [],
5646 is_const=True)
Alexander Afanasyeve5a8b5a2013-03-15 15:15:26 -07005647 ## ndn-name.h (module 'ndnSIM'): std::list<boost::reference_wrapper<const std::basic_string<char, std::char_traits<char>, std::allocator<char> > >,std::allocator<boost::reference_wrapper<const std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > ns3::ndn::Name::GetSubComponents(size_t num) const [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005648 cls.add_method('GetSubComponents',
5649 'std::list< boost::reference_wrapper< std::string const > >',
5650 [param('size_t', 'num')],
5651 is_const=True)
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005652 ## ndn-name.h (module 'ndnSIM'): void ns3::ndn::Name::Print(std::ostream & os) const [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005653 cls.add_method('Print',
5654 'void',
5655 [param('std::ostream &', 'os')],
5656 is_const=True)
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005657 ## ndn-name.h (module 'ndnSIM'): std::_List_iterator<std::string> ns3::ndn::Name::begin() [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005658 cls.add_method('begin',
5659 'std::_List_iterator< std::string >',
5660 [])
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005661 ## ndn-name.h (module 'ndnSIM'): std::_List_const_iterator<std::string> ns3::ndn::Name::begin() const [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005662 cls.add_method('begin',
5663 'std::_List_const_iterator< std::string >',
5664 [],
5665 is_const=True)
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005666 ## ndn-name.h (module 'ndnSIM'): ns3::ndn::Name ns3::ndn::Name::cut(size_t minusComponents) const [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005667 cls.add_method('cut',
5668 'ns3::ndn::Name',
5669 [param('size_t', 'minusComponents')],
5670 is_const=True)
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005671 ## ndn-name.h (module 'ndnSIM'): std::_List_iterator<std::string> ns3::ndn::Name::end() [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005672 cls.add_method('end',
5673 'std::_List_iterator< std::string >',
5674 [])
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005675 ## ndn-name.h (module 'ndnSIM'): std::_List_const_iterator<std::string> ns3::ndn::Name::end() const [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005676 cls.add_method('end',
5677 'std::_List_const_iterator< std::string >',
5678 [],
5679 is_const=True)
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005680 ## ndn-name.h (module 'ndnSIM'): size_t ns3::ndn::Name::size() const [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005681 cls.add_method('size',
5682 'size_t',
5683 [],
5684 is_const=True)
5685 return
5686
5687def register_Ns3NdnNameChecker_methods(root_module, cls):
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005688 ## ndn-name.h (module 'ndnSIM'): ns3::ndn::NameChecker::NameChecker() [constructor]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005689 cls.add_constructor([])
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005690 ## ndn-name.h (module 'ndnSIM'): ns3::ndn::NameChecker::NameChecker(ns3::ndn::NameChecker const & arg0) [copy constructor]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005691 cls.add_constructor([param('ns3::ndn::NameChecker const &', 'arg0')])
5692 return
5693
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005694def register_Ns3NdnNameValue_methods(root_module, cls):
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005695 ## ndn-name.h (module 'ndnSIM'): ns3::ndn::NameValue::NameValue() [constructor]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005696 cls.add_constructor([])
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005697 ## ndn-name.h (module 'ndnSIM'): ns3::ndn::NameValue::NameValue(ns3::ndn::NameValue const & arg0) [copy constructor]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005698 cls.add_constructor([param('ns3::ndn::NameValue const &', 'arg0')])
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005699 ## ndn-name.h (module 'ndnSIM'): ns3::ndn::NameValue::NameValue(ns3::ndn::Name const & value) [constructor]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005700 cls.add_constructor([param('ns3::ndn::Name const &', 'value')])
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005701 ## ndn-name.h (module 'ndnSIM'): ns3::Ptr<ns3::AttributeValue> ns3::ndn::NameValue::Copy() const [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005702 cls.add_method('Copy',
5703 'ns3::Ptr< ns3::AttributeValue >',
5704 [],
5705 is_const=True, is_virtual=True)
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005706 ## ndn-name.h (module 'ndnSIM'): bool ns3::ndn::NameValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005707 cls.add_method('DeserializeFromString',
5708 'bool',
5709 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
5710 is_virtual=True)
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005711 ## ndn-name.h (module 'ndnSIM'): ns3::ndn::Name ns3::ndn::NameValue::Get() const [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005712 cls.add_method('Get',
5713 'ns3::ndn::Name',
5714 [],
5715 is_const=True)
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005716 ## ndn-name.h (module 'ndnSIM'): std::string ns3::ndn::NameValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005717 cls.add_method('SerializeToString',
5718 'std::string',
5719 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
5720 is_const=True, is_virtual=True)
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005721 ## ndn-name.h (module 'ndnSIM'): void ns3::ndn::NameValue::Set(ns3::ndn::Name const & value) [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005722 cls.add_method('Set',
5723 'void',
5724 [param('ns3::ndn::Name const &', 'value')])
5725 return
5726
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005727def register_Ns3NdnNetDeviceFace_methods(root_module, cls):
5728 ## ndn-net-device-face.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::NetDeviceFace::GetTypeId() [member function]
5729 cls.add_method('GetTypeId',
5730 'ns3::TypeId',
5731 [],
5732 is_static=True)
5733 ## ndn-net-device-face.h (module 'ndnSIM'): ns3::ndn::NetDeviceFace::NetDeviceFace(ns3::Ptr<ns3::Node> node, ns3::Ptr<ns3::NetDevice> const & netDevice) [constructor]
5734 cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::Ptr< ns3::NetDevice > const &', 'netDevice')])
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005735 ## 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]
5736 cls.add_method('RegisterProtocolHandlers',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005737 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005738 [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')],
5739 is_virtual=True)
5740 ## ndn-net-device-face.h (module 'ndnSIM'): void ns3::ndn::NetDeviceFace::UnRegisterProtocolHandlers() [member function]
5741 cls.add_method('UnRegisterProtocolHandlers',
5742 'void',
5743 [],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005744 is_virtual=True)
5745 ## ndn-net-device-face.h (module 'ndnSIM'): std::ostream & ns3::ndn::NetDeviceFace::Print(std::ostream & os) const [member function]
5746 cls.add_method('Print',
5747 'std::ostream &',
5748 [param('std::ostream &', 'os')],
5749 is_const=True, is_virtual=True)
5750 ## ndn-net-device-face.h (module 'ndnSIM'): ns3::Ptr<ns3::NetDevice> ns3::ndn::NetDeviceFace::GetNetDevice() const [member function]
5751 cls.add_method('GetNetDevice',
5752 'ns3::Ptr< ns3::NetDevice >',
5753 [],
5754 is_const=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005755 ## ndn-net-device-face.h (module 'ndnSIM'): bool ns3::ndn::NetDeviceFace::Send(ns3::Ptr<ns3::Packet> p) [member function]
5756 cls.add_method('Send',
Alexander Afanasyev1c0248b2012-07-24 15:59:50 -07005757 'bool',
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07005758 [param('ns3::Ptr< ns3::Packet >', 'p')],
5759 visibility='protected', is_virtual=True)
5760 return
5761
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005762def register_Ns3NdnPit_methods(root_module, cls):
5763 cls.add_output_stream_operator()
5764 ## ndn-pit.h (module 'ndnSIM'): ns3::ndn::Pit::Pit(ns3::ndn::Pit const & arg0) [copy constructor]
5765 cls.add_constructor([param('ns3::ndn::Pit const &', 'arg0')])
5766 ## ndn-pit.h (module 'ndnSIM'): ns3::ndn::Pit::Pit() [constructor]
5767 cls.add_constructor([])
5768 ## ndn-pit.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::pit::Entry> ns3::ndn::Pit::Begin() [member function]
5769 cls.add_method('Begin',
5770 'ns3::Ptr< ns3::ndn::pit::Entry >',
5771 [],
5772 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005773 ## 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 -07005774 cls.add_method('Create',
5775 'ns3::Ptr< ns3::ndn::pit::Entry >',
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005776 [param('ns3::Ptr< ns3::ndn::Interest const >', 'header')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005777 is_pure_virtual=True, is_virtual=True)
5778 ## ndn-pit.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::pit::Entry> ns3::ndn::Pit::End() [member function]
5779 cls.add_method('End',
5780 'ns3::Ptr< ns3::ndn::pit::Entry >',
5781 [],
5782 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyeve5a8b5a2013-03-15 15:15:26 -07005783 ## ndn-pit.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::pit::Entry> ns3::ndn::Pit::Find(ns3::ndn::Name const & prefix) [member function]
5784 cls.add_method('Find',
5785 'ns3::Ptr< ns3::ndn::pit::Entry >',
5786 [param('ns3::ndn::Name const &', 'prefix')],
5787 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyev5b8d61b2013-05-03 10:23:21 -07005788 ## ndn-pit.h (module 'ndnSIM'): ns3::Time const & ns3::ndn::Pit::GetMaxPitEntryLifetime() const [member function]
5789 cls.add_method('GetMaxPitEntryLifetime',
5790 'ns3::Time const &',
5791 [],
5792 is_const=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005793 ## ndn-pit.h (module 'ndnSIM'): static ns3::Ptr<ns3::ndn::Pit> ns3::ndn::Pit::GetPit(ns3::Ptr<ns3::Object> node) [member function]
5794 cls.add_method('GetPit',
5795 'ns3::Ptr< ns3::ndn::Pit >',
5796 [param('ns3::Ptr< ns3::Object >', 'node')],
5797 is_static=True)
5798 ## ndn-pit.h (module 'ndnSIM'): uint32_t ns3::ndn::Pit::GetSize() const [member function]
5799 cls.add_method('GetSize',
5800 'uint32_t',
5801 [],
5802 is_pure_virtual=True, is_const=True, is_virtual=True)
5803 ## ndn-pit.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::Pit::GetTypeId() [member function]
5804 cls.add_method('GetTypeId',
5805 'ns3::TypeId',
5806 [],
5807 is_static=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005808 ## 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 -07005809 cls.add_method('Lookup',
5810 'ns3::Ptr< ns3::ndn::pit::Entry >',
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005811 [param('ns3::ndn::ContentObject const &', 'header')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005812 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005813 ## 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 -07005814 cls.add_method('Lookup',
5815 'ns3::Ptr< ns3::ndn::pit::Entry >',
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005816 [param('ns3::ndn::Interest const &', 'header')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005817 is_pure_virtual=True, is_virtual=True)
5818 ## ndn-pit.h (module 'ndnSIM'): void ns3::ndn::Pit::MarkErased(ns3::Ptr<ns3::ndn::pit::Entry> entry) [member function]
5819 cls.add_method('MarkErased',
5820 'void',
5821 [param('ns3::Ptr< ns3::ndn::pit::Entry >', 'entry')],
5822 is_pure_virtual=True, is_virtual=True)
5823 ## ndn-pit.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::pit::Entry> ns3::ndn::Pit::Next(ns3::Ptr<ns3::ndn::pit::Entry> arg0) [member function]
5824 cls.add_method('Next',
5825 'ns3::Ptr< ns3::ndn::pit::Entry >',
5826 [param('ns3::Ptr< ns3::ndn::pit::Entry >', 'arg0')],
5827 is_pure_virtual=True, is_virtual=True)
5828 ## ndn-pit.h (module 'ndnSIM'): void ns3::ndn::Pit::Print(std::ostream & os) const [member function]
5829 cls.add_method('Print',
5830 'void',
5831 [param('std::ostream &', 'os')],
5832 is_pure_virtual=True, is_const=True, is_virtual=True)
Alexander Afanasyev5b8d61b2013-05-03 10:23:21 -07005833 ## ndn-pit.h (module 'ndnSIM'): void ns3::ndn::Pit::SetMaxPitEntryLifetime(ns3::Time const & maxLifetime) [member function]
5834 cls.add_method('SetMaxPitEntryLifetime',
5835 'void',
5836 [param('ns3::Time const &', 'maxLifetime')])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005837 return
5838
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -07005839def register_Ns3NdnRttEstimator_methods(root_module, cls):
5840 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::ndn::RttEstimator::RttEstimator() [constructor]
5841 cls.add_constructor([])
5842 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::ndn::RttEstimator::RttEstimator(ns3::ndn::RttEstimator const & arg0) [copy constructor]
5843 cls.add_constructor([param('ns3::ndn::RttEstimator const &', 'arg0')])
5844 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::Time ns3::ndn::RttEstimator::AckSeq(ns3::SequenceNumber32 ackSeq) [member function]
5845 cls.add_method('AckSeq',
5846 'ns3::Time',
5847 [param('ns3::SequenceNumber32', 'ackSeq')],
5848 is_virtual=True)
5849 ## ndn-rtt-estimator.h (module 'ndnSIM'): void ns3::ndn::RttEstimator::ClearSent() [member function]
5850 cls.add_method('ClearSent',
5851 'void',
5852 [],
5853 is_virtual=True)
5854 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::RttEstimator> ns3::ndn::RttEstimator::Copy() const [member function]
5855 cls.add_method('Copy',
5856 'ns3::Ptr< ns3::ndn::RttEstimator >',
5857 [],
5858 is_pure_virtual=True, is_const=True, is_virtual=True)
5859 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::Time ns3::ndn::RttEstimator::GetCurrentEstimate() const [member function]
5860 cls.add_method('GetCurrentEstimate',
5861 'ns3::Time',
5862 [],
5863 is_const=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005864 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::TypeId ns3::ndn::RttEstimator::GetInstanceTypeId() const [member function]
5865 cls.add_method('GetInstanceTypeId',
5866 'ns3::TypeId',
5867 [],
5868 is_const=True, is_virtual=True)
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -07005869 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::Time ns3::ndn::RttEstimator::GetMaxRto() const [member function]
5870 cls.add_method('GetMaxRto',
5871 'ns3::Time',
5872 [],
5873 is_const=True)
5874 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::Time ns3::ndn::RttEstimator::GetMinRto() const [member function]
5875 cls.add_method('GetMinRto',
5876 'ns3::Time',
5877 [],
5878 is_const=True)
5879 ## ndn-rtt-estimator.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::RttEstimator::GetTypeId() [member function]
5880 cls.add_method('GetTypeId',
5881 'ns3::TypeId',
5882 [],
5883 is_static=True)
5884 ## ndn-rtt-estimator.h (module 'ndnSIM'): void ns3::ndn::RttEstimator::IncreaseMultiplier() [member function]
5885 cls.add_method('IncreaseMultiplier',
5886 'void',
5887 [],
5888 is_virtual=True)
5889 ## ndn-rtt-estimator.h (module 'ndnSIM'): void ns3::ndn::RttEstimator::Measurement(ns3::Time t) [member function]
5890 cls.add_method('Measurement',
5891 'void',
5892 [param('ns3::Time', 't')],
5893 is_pure_virtual=True, is_virtual=True)
5894 ## ndn-rtt-estimator.h (module 'ndnSIM'): void ns3::ndn::RttEstimator::Reset() [member function]
5895 cls.add_method('Reset',
5896 'void',
5897 [],
5898 is_virtual=True)
5899 ## ndn-rtt-estimator.h (module 'ndnSIM'): void ns3::ndn::RttEstimator::ResetMultiplier() [member function]
5900 cls.add_method('ResetMultiplier',
5901 'void',
5902 [],
5903 is_virtual=True)
5904 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::Time ns3::ndn::RttEstimator::RetransmitTimeout() [member function]
5905 cls.add_method('RetransmitTimeout',
5906 'ns3::Time',
5907 [],
5908 is_pure_virtual=True, is_virtual=True)
5909 ## ndn-rtt-estimator.h (module 'ndnSIM'): void ns3::ndn::RttEstimator::SentSeq(ns3::SequenceNumber32 seq, uint32_t size) [member function]
5910 cls.add_method('SentSeq',
5911 'void',
5912 [param('ns3::SequenceNumber32', 'seq'), param('uint32_t', 'size')],
5913 is_virtual=True)
5914 ## ndn-rtt-estimator.h (module 'ndnSIM'): void ns3::ndn::RttEstimator::SetCurrentEstimate(ns3::Time estimate) [member function]
5915 cls.add_method('SetCurrentEstimate',
5916 'void',
5917 [param('ns3::Time', 'estimate')])
5918 ## ndn-rtt-estimator.h (module 'ndnSIM'): void ns3::ndn::RttEstimator::SetMaxRto(ns3::Time maxRto) [member function]
5919 cls.add_method('SetMaxRto',
5920 'void',
5921 [param('ns3::Time', 'maxRto')])
5922 ## ndn-rtt-estimator.h (module 'ndnSIM'): void ns3::ndn::RttEstimator::SetMinRto(ns3::Time minRto) [member function]
5923 cls.add_method('SetMinRto',
5924 'void',
5925 [param('ns3::Time', 'minRto')])
5926 return
5927
5928def register_Ns3NdnRttHistory_methods(root_module, cls):
5929 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::ndn::RttHistory::RttHistory(ns3::SequenceNumber32 s, uint32_t c, ns3::Time t) [constructor]
5930 cls.add_constructor([param('ns3::SequenceNumber32', 's'), param('uint32_t', 'c'), param('ns3::Time', 't')])
5931 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::ndn::RttHistory::RttHistory(ns3::ndn::RttHistory const & h) [copy constructor]
5932 cls.add_constructor([param('ns3::ndn::RttHistory const &', 'h')])
5933 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::ndn::RttHistory::count [variable]
5934 cls.add_instance_attribute('count', 'uint32_t', is_const=False)
5935 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::ndn::RttHistory::retx [variable]
5936 cls.add_instance_attribute('retx', 'bool', is_const=False)
5937 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::ndn::RttHistory::seq [variable]
5938 cls.add_instance_attribute('seq', 'ns3::SequenceNumber32', is_const=False)
5939 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::ndn::RttHistory::time [variable]
5940 cls.add_instance_attribute('time', 'ns3::Time', is_const=False)
5941 return
5942
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005943def register_Ns3NdnStackHelper_methods(root_module, cls):
5944 ## ndn-stack-helper.h (module 'ndnSIM'): ns3::ndn::StackHelper::StackHelper() [constructor]
5945 cls.add_constructor([])
5946 ## 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]
5947 cls.add_method('SetStackAttributes',
5948 'void',
5949 [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='""')])
5950 ## 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]
5951 cls.add_method('SetForwardingStrategy',
5952 'void',
5953 [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='""')])
5954 ## 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]
5955 cls.add_method('SetContentStore',
5956 'void',
5957 [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='""')])
5958 ## 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]
5959 cls.add_method('SetPit',
5960 'void',
5961 [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='""')])
5962 ## 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]
5963 cls.add_method('SetFib',
5964 'void',
5965 [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 -08005966 ## 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 -08005967 cls.add_method('AddNetDeviceFaceCreateCallback',
5968 'void',
Alexander Afanasyevc17e4bd2013-02-17 14:31:56 -08005969 [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 -07005970 ## 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]
5971 cls.add_method('UpdateNetDeviceFaceCreateCallback',
5972 'void',
5973 [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')])
5974 ## 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]
5975 cls.add_method('RemoveNetDeviceFaceCreateCallback',
5976 'void',
5977 [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 -07005978 ## 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]
5979 cls.add_method('EnableLimits',
5980 'void',
5981 [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 -08005982 ## 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 -07005983 cls.add_method('Install',
5984 'ns3::Ptr< ns3::ndn::FaceContainer >',
Alexander Afanasyev67f4a4a2012-11-24 17:18:17 -08005985 [param('std::string const &', 'nodeName')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005986 is_const=True)
5987 ## ndn-stack-helper.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::FaceContainer> ns3::ndn::StackHelper::Install(ns3::Ptr<ns3::Node> node) const [member function]
5988 cls.add_method('Install',
5989 'ns3::Ptr< ns3::ndn::FaceContainer >',
5990 [param('ns3::Ptr< ns3::Node >', 'node')],
5991 is_const=True)
Alexander Afanasyev67f4a4a2012-11-24 17:18:17 -08005992 ## 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 -07005993 cls.add_method('Install',
5994 'ns3::Ptr< ns3::ndn::FaceContainer >',
Alexander Afanasyev67f4a4a2012-11-24 17:18:17 -08005995 [param('ns3::NodeContainer const &', 'c')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005996 is_const=True)
5997 ## ndn-stack-helper.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::FaceContainer> ns3::ndn::StackHelper::InstallAll() const [member function]
5998 cls.add_method('InstallAll',
5999 'ns3::Ptr< ns3::ndn::FaceContainer >',
6000 [],
6001 is_const=True)
Alexander Afanasyev67f4a4a2012-11-24 17:18:17 -08006002 ## 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 -07006003 cls.add_method('AddRoute',
6004 'void',
Alexander Afanasyev67f4a4a2012-11-24 17:18:17 -08006005 [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 -07006006 is_static=True)
Alexander Afanasyev67f4a4a2012-11-24 17:18:17 -08006007 ## 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 -07006008 cls.add_method('AddRoute',
6009 'void',
Alexander Afanasyev67f4a4a2012-11-24 17:18:17 -08006010 [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 -07006011 is_static=True)
Alexander Afanasyev67f4a4a2012-11-24 17:18:17 -08006012 ## 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 -07006013 cls.add_method('AddRoute',
6014 'void',
Alexander Afanasyev67f4a4a2012-11-24 17:18:17 -08006015 [param('ns3::Ptr< ns3::Node >', 'node'), param('std::string const &', 'prefix'), param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('int32_t', 'metric')],
6016 is_static=True)
6017 ## 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]
6018 cls.add_method('AddRoute',
6019 'void',
6020 [param('ns3::Ptr< ns3::Node >', 'node'), param('std::string const &', 'prefix'), param('ns3::Ptr< ns3::Node >', 'otherNode'), param('int32_t', 'metric')],
6021 is_static=True)
6022 ## 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]
6023 cls.add_method('AddRoute',
6024 'void',
6025 [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 -07006026 is_static=True)
6027 ## ndn-stack-helper.h (module 'ndnSIM'): void ns3::ndn::StackHelper::SetDefaultRoutes(bool needSet) [member function]
6028 cls.add_method('SetDefaultRoutes',
6029 'void',
6030 [param('bool', 'needSet')])
6031 return
6032
6033def register_Ns3NdnUnknownHeaderException_methods(root_module, cls):
6034 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::UnknownHeaderException::UnknownHeaderException() [constructor]
6035 cls.add_constructor([])
6036 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::UnknownHeaderException::UnknownHeaderException(ns3::ndn::UnknownHeaderException const & arg0) [copy constructor]
6037 cls.add_constructor([param('ns3::ndn::UnknownHeaderException const &', 'arg0')])
6038 return
6039
6040def register_Ns3NdnAppFace_methods(root_module, cls):
6041 ## ndn-app-face.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::AppFace::GetTypeId() [member function]
6042 cls.add_method('GetTypeId',
6043 'ns3::TypeId',
6044 [],
6045 is_static=True)
6046 ## ndn-app-face.h (module 'ndnSIM'): ns3::ndn::AppFace::AppFace(ns3::Ptr<ns3::ndn::App> app) [constructor]
6047 cls.add_constructor([param('ns3::Ptr< ns3::ndn::App >', 'app')])
Alexander Afanasyev858d5312013-07-10 18:50:18 -07006048 ## ndn-app-face.h (module 'ndnSIM'): bool ns3::ndn::AppFace::SendInterest(ns3::Ptr<ns3::ndn::Interest const> interest) [member function]
6049 cls.add_method('SendInterest',
6050 'bool',
6051 [param('ns3::Ptr< ns3::ndn::Interest const >', 'interest')],
6052 is_virtual=True)
6053 ## ndn-app-face.h (module 'ndnSIM'): bool ns3::ndn::AppFace::SendData(ns3::Ptr<ns3::ndn::ContentObject const> data) [member function]
6054 cls.add_method('SendData',
6055 'bool',
6056 [param('ns3::Ptr< ns3::ndn::ContentObject const >', 'data')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006057 is_virtual=True)
6058 ## ndn-app-face.h (module 'ndnSIM'): std::ostream & ns3::ndn::AppFace::Print(std::ostream & os) const [member function]
6059 cls.add_method('Print',
6060 'std::ostream &',
6061 [param('std::ostream &', 'os')],
6062 is_const=True, is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006063 return
6064
6065def register_Ns3NdnCsEntry_methods(root_module, cls):
6066 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::cs::Entry::Entry(ns3::ndn::cs::Entry const & arg0) [copy constructor]
6067 cls.add_constructor([param('ns3::ndn::cs::Entry const &', 'arg0')])
Alexander Afanasyev858d5312013-07-10 18:50:18 -07006068 ## 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]
6069 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 -07006070 ## ndn-content-store.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::ContentStore> ns3::ndn::cs::Entry::GetContentStore() [member function]
6071 cls.add_method('GetContentStore',
6072 'ns3::Ptr< ns3::ndn::ContentStore >',
6073 [])
Alexander Afanasyev858d5312013-07-10 18:50:18 -07006074 ## ndn-content-store.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::ContentObject const> ns3::ndn::cs::Entry::GetData() const [member function]
6075 cls.add_method('GetData',
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07006076 'ns3::Ptr< ns3::ndn::ContentObject const >',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006077 [],
6078 is_const=True)
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07006079 ## 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 -07006080 cls.add_method('GetName',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07006081 'ns3::ndn::Name const &',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006082 [],
6083 is_const=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006084 return
6085
6086def register_Ns3NdnFibEntry_methods(root_module, cls):
6087 cls.add_output_stream_operator()
6088 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::Entry(ns3::ndn::fib::Entry const & arg0) [copy constructor]
6089 cls.add_constructor([param('ns3::ndn::fib::Entry const &', 'arg0')])
Alexander Afanasyev5b8d61b2013-05-03 10:23:21 -07006090 ## 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]
6091 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 -07006092 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::Entry::AddOrUpdateRoutingMetric(ns3::Ptr<ns3::ndn::Face> face, int32_t metric) [member function]
6093 cls.add_method('AddOrUpdateRoutingMetric',
6094 'void',
6095 [param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('int32_t', 'metric')])
6096 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric const & ns3::ndn::fib::Entry::FindBestCandidate(uint32_t skip=0) const [member function]
6097 cls.add_method('FindBestCandidate',
6098 'ns3::ndn::fib::FaceMetric const &',
6099 [param('uint32_t', 'skip', default_value='0')],
6100 is_const=True)
Alexander Afanasyev5b8d61b2013-05-03 10:23:21 -07006101 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::Fib> ns3::ndn::fib::Entry::GetFib() [member function]
6102 cls.add_method('GetFib',
6103 'ns3::Ptr< ns3::ndn::Fib >',
6104 [])
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07006105 ## 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 -07006106 cls.add_method('GetPrefix',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07006107 'ns3::ndn::Name const &',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006108 [],
6109 is_const=True)
6110 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::Entry::Invalidate() [member function]
6111 cls.add_method('Invalidate',
6112 'void',
6113 [])
6114 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::Entry::RemoveFace(ns3::Ptr<ns3::ndn::Face> const & face) [member function]
6115 cls.add_method('RemoveFace',
6116 'void',
6117 [param('ns3::Ptr< ns3::ndn::Face > const &', 'face')])
Alexander Afanasyev32c07562013-02-01 12:58:43 -08006118 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::Entry::SetRealDelayToProducer(ns3::Ptr<ns3::ndn::Face> face, ns3::Time delay) [member function]
6119 cls.add_method('SetRealDelayToProducer',
6120 'void',
6121 [param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('ns3::Time', 'delay')])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006122 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::Entry::UpdateFaceRtt(ns3::Ptr<ns3::ndn::Face> face, ns3::Time const & sample) [member function]
6123 cls.add_method('UpdateFaceRtt',
6124 'void',
6125 [param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('ns3::Time const &', 'sample')])
6126 ## 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]
6127 cls.add_method('UpdateStatus',
6128 'void',
6129 [param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('ns3::ndn::fib::FaceMetric::Status', 'status')])
6130 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::m_faces [variable]
Alexander Afanasyev06dba7c2013-02-21 11:36:26 -08006131 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 -07006132 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::m_fib [variable]
6133 cls.add_instance_attribute('m_fib', 'ns3::Ptr< ns3::ndn::Fib >', is_const=False)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006134 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::m_needsProbing [variable]
6135 cls.add_instance_attribute('m_needsProbing', 'bool', is_const=False)
6136 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::m_prefix [variable]
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07006137 cls.add_instance_attribute('m_prefix', 'ns3::Ptr< ns3::ndn::Name const >', is_const=False)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006138 return
6139
6140def register_Ns3NdnFibEntryNoFaces_methods(root_module, cls):
6141 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::NoFaces::NoFaces() [constructor]
6142 cls.add_constructor([])
6143 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::NoFaces::NoFaces(ns3::ndn::fib::Entry::NoFaces const & arg0) [copy constructor]
6144 cls.add_constructor([param('ns3::ndn::fib::Entry::NoFaces const &', 'arg0')])
6145 return
6146
6147def register_Ns3NdnFibFaceMetric_methods(root_module, cls):
6148 cls.add_output_stream_operator()
6149 cls.add_binary_comparison_operator('<')
6150 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric::FaceMetric(ns3::ndn::fib::FaceMetric const & arg0) [copy constructor]
6151 cls.add_constructor([param('ns3::ndn::fib::FaceMetric const &', 'arg0')])
6152 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric::FaceMetric(ns3::Ptr<ns3::ndn::Face> face, int32_t cost) [constructor]
6153 cls.add_constructor([param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('int32_t', 'cost')])
6154 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::Face> ns3::ndn::fib::FaceMetric::GetFace() const [member function]
6155 cls.add_method('GetFace',
6156 'ns3::Ptr< ns3::ndn::Face >',
6157 [],
6158 is_const=True)
Alexander Afanasyev06dba7c2013-02-21 11:36:26 -08006159 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::Time ns3::ndn::fib::FaceMetric::GetRealDelay() const [member function]
6160 cls.add_method('GetRealDelay',
6161 'ns3::Time',
6162 [],
6163 is_const=True)
6164 ## ndn-fib-entry.h (module 'ndnSIM'): int32_t ns3::ndn::fib::FaceMetric::GetRoutingCost() const [member function]
6165 cls.add_method('GetRoutingCost',
6166 'int32_t',
6167 [],
6168 is_const=True)
6169 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric::Status ns3::ndn::fib::FaceMetric::GetStatus() const [member function]
6170 cls.add_method('GetStatus',
6171 'ns3::ndn::fib::FaceMetric::Status',
6172 [],
6173 is_const=True)
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -07006174 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status> & ns3::ndn::fib::FaceMetric::GetStatusTrace() [member function]
6175 cls.add_method('GetStatusTrace',
6176 'ns3::TracedValue< ns3::ndn::fib::FaceMetric::Status > &',
6177 [])
Alexander Afanasyev06dba7c2013-02-21 11:36:26 -08006178 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::FaceMetric::SetRealDelay(ns3::Time realDelay) [member function]
6179 cls.add_method('SetRealDelay',
6180 'void',
6181 [param('ns3::Time', 'realDelay')])
6182 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::FaceMetric::SetRoutingCost(int32_t routingCost) [member function]
6183 cls.add_method('SetRoutingCost',
6184 'void',
6185 [param('int32_t', 'routingCost')])
6186 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::FaceMetric::SetStatus(ns3::ndn::fib::FaceMetric::Status status) [member function]
6187 cls.add_method('SetStatus',
6188 'void',
6189 [param('ns3::ndn::fib::FaceMetric::Status', 'status')])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006190 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::FaceMetric::UpdateRtt(ns3::Time const & rttSample) [member function]
6191 cls.add_method('UpdateRtt',
6192 'void',
6193 [param('ns3::Time const &', 'rttSample')])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006194 return
6195
6196def register_Ns3NdnFibFaceMetricContainer_methods(root_module, cls):
6197 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetricContainer::FaceMetricContainer() [constructor]
6198 cls.add_constructor([])
6199 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetricContainer::FaceMetricContainer(ns3::ndn::fib::FaceMetricContainer const & arg0) [copy constructor]
6200 cls.add_constructor([param('ns3::ndn::fib::FaceMetricContainer const &', 'arg0')])
6201 return
6202
6203def register_Ns3NdnFibI_face_methods(root_module, cls):
6204 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_face::i_face() [constructor]
6205 cls.add_constructor([])
6206 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_face::i_face(ns3::ndn::fib::i_face const & arg0) [copy constructor]
6207 cls.add_constructor([param('ns3::ndn::fib::i_face const &', 'arg0')])
6208 return
6209
6210def register_Ns3NdnFibI_metric_methods(root_module, cls):
6211 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_metric::i_metric() [constructor]
6212 cls.add_constructor([])
6213 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_metric::i_metric(ns3::ndn::fib::i_metric const & arg0) [copy constructor]
6214 cls.add_constructor([param('ns3::ndn::fib::i_metric const &', 'arg0')])
6215 return
6216
6217def register_Ns3NdnFibI_nth_methods(root_module, cls):
6218 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_nth::i_nth() [constructor]
6219 cls.add_constructor([])
6220 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_nth::i_nth(ns3::ndn::fib::i_nth const & arg0) [copy constructor]
6221 cls.add_constructor([param('ns3::ndn::fib::i_nth const &', 'arg0')])
6222 return
6223
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006224def register_Ns3NdnFwTag_methods(root_module, cls):
6225 ## ndn-fw-tag.h (module 'ndnSIM'): ns3::ndn::fw::Tag::Tag() [constructor]
6226 cls.add_constructor([])
6227 ## ndn-fw-tag.h (module 'ndnSIM'): ns3::ndn::fw::Tag::Tag(ns3::ndn::fw::Tag const & arg0) [copy constructor]
6228 cls.add_constructor([param('ns3::ndn::fw::Tag const &', 'arg0')])
6229 return
6230
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006231def register_Ns3NdnPitEntry_methods(root_module, cls):
6232 cls.add_output_stream_operator()
6233 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::Entry::Entry(ns3::ndn::pit::Entry const & arg0) [copy constructor]
6234 cls.add_constructor([param('ns3::ndn::pit::Entry const &', 'arg0')])
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07006235 ## 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]
6236 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 -07006237 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::AddFwTag(boost::shared_ptr<ns3::ndn::fw::Tag> tag) [member function]
6238 cls.add_method('AddFwTag',
6239 'void',
6240 [param('boost::shared_ptr< ns3::ndn::fw::Tag >', 'tag')])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006241 ## 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]
6242 cls.add_method('AddIncoming',
6243 'std::_Rb_tree_const_iterator< ns3::ndn::pit::IncomingFace >',
6244 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
6245 is_virtual=True)
Alexander Afanasyevc202fd92012-09-03 21:46:00 -07006246 ## 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 -07006247 cls.add_method('AddOutgoing',
Alexander Afanasyevc202fd92012-09-03 21:46:00 -07006248 'std::_Rb_tree_const_iterator< ns3::ndn::pit::OutgoingFace >',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006249 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
6250 is_virtual=True)
6251 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::AddSeenNonce(uint32_t nonce) [member function]
6252 cls.add_method('AddSeenNonce',
6253 'void',
6254 [param('uint32_t', 'nonce')],
6255 is_virtual=True)
6256 ## ndn-pit-entry.h (module 'ndnSIM'): bool ns3::ndn::pit::Entry::AreAllOutgoingInVain() const [member function]
6257 cls.add_method('AreAllOutgoingInVain',
6258 'bool',
6259 [],
6260 is_const=True)
6261 ## ndn-pit-entry.h (module 'ndnSIM'): bool ns3::ndn::pit::Entry::AreTherePromisingOutgoingFacesExcept(ns3::Ptr<ns3::ndn::Face> face) const [member function]
6262 cls.add_method('AreTherePromisingOutgoingFacesExcept',
6263 'bool',
6264 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
6265 is_const=True)
6266 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::ClearIncoming() [member function]
6267 cls.add_method('ClearIncoming',
6268 'void',
6269 [],
6270 is_virtual=True)
6271 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::ClearOutgoing() [member function]
6272 cls.add_method('ClearOutgoing',
6273 'void',
6274 [],
6275 is_virtual=True)
6276 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::Time const & ns3::ndn::pit::Entry::GetExpireTime() const [member function]
6277 cls.add_method('GetExpireTime',
6278 'ns3::Time const &',
6279 [],
6280 is_const=True)
6281 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::fib::Entry> ns3::ndn::pit::Entry::GetFibEntry() [member function]
6282 cls.add_method('GetFibEntry',
6283 'ns3::Ptr< ns3::ndn::fib::Entry >',
6284 [])
6285 ## 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]
6286 cls.add_method('GetIncoming',
6287 'std::set< ns3::ndn::pit::IncomingFace > const &',
6288 [],
6289 is_const=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07006290 ## 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 -07006291 cls.add_method('GetInterest',
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07006292 'ns3::Ptr< ns3::ndn::Interest const >',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006293 [],
6294 is_const=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006295 ## ndn-pit-entry.h (module 'ndnSIM'): uint32_t ns3::ndn::pit::Entry::GetMaxRetxCount() const [member function]
6296 cls.add_method('GetMaxRetxCount',
6297 'uint32_t',
6298 [],
6299 is_const=True)
Alexander Afanasyevc202fd92012-09-03 21:46:00 -07006300 ## 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 -07006301 cls.add_method('GetOutgoing',
Alexander Afanasyevc202fd92012-09-03 21:46:00 -07006302 'std::set< ns3::ndn::pit::OutgoingFace > const &',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006303 [],
6304 is_const=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006305 ## ndn-pit-entry.h (module 'ndnSIM'): uint32_t ns3::ndn::pit::Entry::GetOutgoingCount() const [member function]
6306 cls.add_method('GetOutgoingCount',
6307 'uint32_t',
6308 [],
6309 is_const=True)
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07006310 ## 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 -07006311 cls.add_method('GetPrefix',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07006312 'ns3::ndn::Name const &',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006313 [],
6314 is_const=True)
6315 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::IncreaseAllowedRetxCount() [member function]
6316 cls.add_method('IncreaseAllowedRetxCount',
6317 'void',
6318 [],
6319 is_virtual=True)
6320 ## ndn-pit-entry.h (module 'ndnSIM'): bool ns3::ndn::pit::Entry::IsNonceSeen(uint32_t nonce) const [member function]
6321 cls.add_method('IsNonceSeen',
6322 'bool',
6323 [param('uint32_t', 'nonce')],
6324 is_const=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006325 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::OffsetLifetime(ns3::Time const & offsetTime) [member function]
6326 cls.add_method('OffsetLifetime',
6327 'void',
6328 [param('ns3::Time const &', 'offsetTime')],
6329 is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006330 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::RemoveAllReferencesToFace(ns3::Ptr<ns3::ndn::Face> face) [member function]
6331 cls.add_method('RemoveAllReferencesToFace',
6332 'void',
6333 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
6334 is_virtual=True)
6335 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::RemoveIncoming(ns3::Ptr<ns3::ndn::Face> face) [member function]
6336 cls.add_method('RemoveIncoming',
6337 'void',
6338 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
6339 is_virtual=True)
6340 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::SetWaitingInVain(ns3::Ptr<ns3::ndn::Face> face) [member function]
6341 cls.add_method('SetWaitingInVain',
6342 'void',
6343 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
6344 is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006345 ## 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 -07006346 cls.add_method('UpdateLifetime',
6347 'void',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006348 [param('ns3::Time const &', 'lifetime')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006349 is_virtual=True)
6350 return
6351
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08006352def register_Ns3NdnPitEntryIsNotEmpty_methods(root_module, cls):
6353 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::EntryIsNotEmpty::EntryIsNotEmpty() [constructor]
6354 cls.add_constructor([])
6355 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::EntryIsNotEmpty::EntryIsNotEmpty(ns3::ndn::pit::EntryIsNotEmpty const & arg0) [copy constructor]
6356 cls.add_constructor([param('ns3::ndn::pit::EntryIsNotEmpty const &', 'arg0')])
6357 ## ndn-pit-entry.h (module 'ndnSIM'): bool ns3::ndn::pit::EntryIsNotEmpty::operator()(ns3::Ptr<ns3::ndn::pit::Entry> entry) [member operator]
6358 cls.add_method('operator()',
6359 'bool',
6360 [param('ns3::Ptr< ns3::ndn::pit::Entry >', 'entry')],
6361 custom_name='__call__')
6362 return
6363
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006364def register_Ns3NdnPitIncomingFace_methods(root_module, cls):
6365 cls.add_binary_comparison_operator('==')
6366 cls.add_binary_comparison_operator('<')
6367 ## ndn-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::ndn::pit::IncomingFace::IncomingFace(ns3::ndn::pit::IncomingFace const & arg0) [copy constructor]
6368 cls.add_constructor([param('ns3::ndn::pit::IncomingFace const &', 'arg0')])
6369 ## ndn-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::ndn::pit::IncomingFace::IncomingFace(ns3::Ptr<ns3::ndn::Face> face) [constructor]
6370 cls.add_constructor([param('ns3::Ptr< ns3::ndn::Face >', 'face')])
6371 ## ndn-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::ndn::pit::IncomingFace::IncomingFace() [constructor]
6372 cls.add_constructor([])
6373 ## ndn-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::ndn::pit::IncomingFace::m_arrivalTime [variable]
6374 cls.add_instance_attribute('m_arrivalTime', 'ns3::Time', is_const=False)
6375 ## ndn-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::ndn::pit::IncomingFace::m_face [variable]
6376 cls.add_instance_attribute('m_face', 'ns3::Ptr< ns3::ndn::Face >', is_const=False)
6377 return
6378
6379def register_Ns3NdnPitOutgoingFace_methods(root_module, cls):
6380 cls.add_binary_comparison_operator('==')
6381 cls.add_binary_comparison_operator('<')
6382 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::OutgoingFace(ns3::ndn::pit::OutgoingFace const & arg0) [copy constructor]
6383 cls.add_constructor([param('ns3::ndn::pit::OutgoingFace const &', 'arg0')])
6384 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::OutgoingFace(ns3::Ptr<ns3::ndn::Face> face) [constructor]
6385 cls.add_constructor([param('ns3::Ptr< ns3::ndn::Face >', 'face')])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07006386 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::OutgoingFace() [constructor]
6387 cls.add_constructor([])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006388 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): void ns3::ndn::pit::OutgoingFace::UpdateOnRetransmit() [member function]
6389 cls.add_method('UpdateOnRetransmit',
6390 'void',
6391 [])
6392 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::m_face [variable]
6393 cls.add_instance_attribute('m_face', 'ns3::Ptr< ns3::ndn::Face >', is_const=False)
6394 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::m_retxCount [variable]
6395 cls.add_instance_attribute('m_retxCount', 'uint32_t', is_const=False)
6396 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::m_sendTime [variable]
6397 cls.add_instance_attribute('m_sendTime', 'ns3::Time', is_const=False)
6398 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::m_waitingInVain [variable]
6399 cls.add_instance_attribute('m_waitingInVain', 'bool', is_const=False)
6400 return
6401
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006402def register_Ns3NdnPitI_face_methods(root_module, cls):
6403 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::i_face::i_face() [constructor]
6404 cls.add_constructor([])
6405 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::i_face::i_face(ns3::ndn::pit::i_face const & arg0) [copy constructor]
6406 cls.add_constructor([param('ns3::ndn::pit::i_face const &', 'arg0')])
6407 return
6408
6409def register_Ns3NdnPitI_retx_methods(root_module, cls):
6410 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::i_retx::i_retx() [constructor]
6411 cls.add_constructor([])
6412 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::i_retx::i_retx(ns3::ndn::pit::i_retx const & arg0) [copy constructor]
6413 cls.add_constructor([param('ns3::ndn::pit::i_retx const &', 'arg0')])
6414 return
6415
Alexander Afanasyev381dea02011-11-03 08:33:26 -07006416def register_functions(root_module):
6417 module = root_module
Alexander Afanasyev381dea02011-11-03 08:33:26 -07006418 register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module)
6419 register_functions_ns3_internal(module.get_submodule('internal'), root_module)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006420 register_functions_ns3_ndn(module.get_submodule('ndn'), root_module)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07006421 return
6422
Alexander Afanasyev381dea02011-11-03 08:33:26 -07006423def register_functions_ns3_FatalImpl(module, root_module):
6424 return
6425
6426def register_functions_ns3_internal(module, root_module):
6427 return
6428
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006429def register_functions_ns3_ndn(module, root_module):
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08006430 ## ndn-name.h (module 'ndnSIM'): extern ns3::Ptr<ns3::AttributeChecker const> ns3::ndn::MakeNameChecker() [free function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08006431 module.add_function('MakeNameChecker',
6432 'ns3::Ptr< ns3::AttributeChecker const >',
6433 [])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006434 register_functions_ns3_ndn_cs(module.get_submodule('cs'), root_module)
6435 register_functions_ns3_ndn_fib(module.get_submodule('fib'), root_module)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006436 register_functions_ns3_ndn_fw(module.get_submodule('fw'), root_module)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006437 register_functions_ns3_ndn_pit(module.get_submodule('pit'), root_module)
6438 return
6439
6440def register_functions_ns3_ndn_cs(module, root_module):
6441 return
6442
6443def register_functions_ns3_ndn_fib(module, root_module):
6444 return
6445
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006446def register_functions_ns3_ndn_fw(module, root_module):
6447 return
6448
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006449def register_functions_ns3_ndn_pit(module, root_module):
6450 return
6451
Alexander Afanasyev381dea02011-11-03 08:33:26 -07006452def main():
6453 out = FileCodeSink(sys.stdout)
6454 root_module = module_init()
6455 register_types(root_module)
6456 register_methods(root_module)
6457 register_functions(root_module)
6458 root_module.generate(out)
6459
6460if __name__ == '__main__':
6461 main()
6462