blob: 0fdf45de0694367cf85fde22ec452183357c033a [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')
93 ## random-variable.h (module 'core'): ns3::SequentialVariable [class]
94 module.add_class('SequentialVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -070095 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter> [class]
96 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 Afanasyev29c19b92012-09-03 23:46:41 -070097 ## spring-mobility-helper.h (module 'ndnSIM'): ns3::SpringMobilityHelper [class]
98 module.add_class('SpringMobilityHelper')
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 Afanasyev29c19b92012-09-03 23:46:41 -0700103 ## random-variable.h (module 'core'): ns3::TriangularVariable [class]
104 module.add_class('TriangularVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700105 ## type-id.h (module 'core'): ns3::TypeId [class]
106 module.add_class('TypeId', import_from_module='ns.core')
107 ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration]
108 module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core')
109 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct]
110 module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId'])
111 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct]
112 module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700113 ## random-variable.h (module 'core'): ns3::UniformVariable [class]
114 module.add_class('UniformVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
115 ## vector.h (module 'core'): ns3::Vector2D [class]
116 module.add_class('Vector2D', import_from_module='ns.core')
117 ## vector.h (module 'core'): ns3::Vector3D [class]
118 module.add_class('Vector3D', import_from_module='ns.core')
119 ## random-variable.h (module 'core'): ns3::WeibullVariable [class]
120 module.add_class('WeibullVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
121 ## random-variable.h (module 'core'): ns3::ZetaVariable [class]
122 module.add_class('ZetaVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
123 ## random-variable.h (module 'core'): ns3::ZipfVariable [class]
124 module.add_class('ZipfVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700125 ## empty.h (module 'core'): ns3::empty [class]
126 module.add_class('empty', import_from_module='ns.core')
127 ## int64x64-double.h (module 'core'): ns3::int64x64_t [class]
128 module.add_class('int64x64_t', import_from_module='ns.core')
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700129 ## chunk.h (module 'network'): ns3::Chunk [class]
Alexander Afanasyev4756b892012-04-18 14:48:43 -0700130 module.add_class('Chunk', import_from_module='ns.network', parent=root_module['ns3::ObjectBase'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700131 ## random-variable.h (module 'core'): ns3::ConstantVariable [class]
132 module.add_class('ConstantVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
133 ## random-variable.h (module 'core'): ns3::DeterministicVariable [class]
134 module.add_class('DeterministicVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
135 ## random-variable.h (module 'core'): ns3::EmpiricalVariable [class]
136 module.add_class('EmpiricalVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
137 ## random-variable.h (module 'core'): ns3::ErlangVariable [class]
138 module.add_class('ErlangVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
139 ## random-variable.h (module 'core'): ns3::ExponentialVariable [class]
140 module.add_class('ExponentialVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
141 ## random-variable.h (module 'core'): ns3::GammaVariable [class]
142 module.add_class('GammaVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700143 ## header.h (module 'network'): ns3::Header [class]
144 module.add_class('Header', import_from_module='ns.network', parent=root_module['ns3::Chunk'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700145 ## random-variable.h (module 'core'): ns3::IntEmpiricalVariable [class]
146 module.add_class('IntEmpiricalVariable', import_from_module='ns.core', parent=root_module['ns3::EmpiricalVariable'])
147 ## random-variable.h (module 'core'): ns3::LogNormalVariable [class]
148 module.add_class('LogNormalVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
149 ## random-variable.h (module 'core'): ns3::NormalVariable [class]
150 module.add_class('NormalVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700151 ## object.h (module 'core'): ns3::Object [class]
152 module.add_class('Object', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >'])
153 ## object.h (module 'core'): ns3::Object::AggregateIterator [class]
154 module.add_class('AggregateIterator', import_from_module='ns.core', outer_class=root_module['ns3::Object'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700155 ## random-variable.h (module 'core'): ns3::ParetoVariable [class]
156 module.add_class('ParetoVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700157 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> > [class]
158 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::AttributeAccessor', 'ns3::empty', 'ns3::DefaultDeleter<ns3::AttributeAccessor>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
159 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> > [class]
160 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::AttributeChecker', 'ns3::empty', 'ns3::DefaultDeleter<ns3::AttributeChecker>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
161 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> > [class]
162 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::AttributeValue', 'ns3::empty', 'ns3::DefaultDeleter<ns3::AttributeValue>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
163 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> > [class]
164 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::CallbackImplBase', 'ns3::empty', 'ns3::DefaultDeleter<ns3::CallbackImplBase>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700165 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> > [class]
166 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::EventImpl', 'ns3::empty', 'ns3::DefaultDeleter<ns3::EventImpl>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
167 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> > [class]
168 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::NixVector', 'ns3::empty', 'ns3::DefaultDeleter<ns3::NixVector>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700169 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> > [class]
170 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Packet', 'ns3::empty', 'ns3::DefaultDeleter<ns3::Packet>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700171 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter<ns3::TopologyReader> > [class]
172 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::TopologyReader', 'ns3::empty', 'ns3::DefaultDeleter<ns3::TopologyReader>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700173 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> > [class]
174 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::TraceSourceAccessor', 'ns3::empty', 'ns3::DefaultDeleter<ns3::TraceSourceAccessor>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700175 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::ContentObjectHeader, ns3::Header, ns3::DefaultDeleter<ns3::ndn::ContentObjectHeader> > [class]
176 module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::ndn::ContentObjectHeader', 'ns3::Header', 'ns3::DefaultDeleter<ns3::ndn::ContentObjectHeader>'], parent=root_module['ns3::Header'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
177 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::FaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::ndn::FaceContainer> > [class]
178 module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::ndn::FaceContainer', 'ns3::empty', 'ns3::DefaultDeleter<ns3::ndn::FaceContainer>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
179 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::InterestHeader, ns3::Header, ns3::DefaultDeleter<ns3::ndn::InterestHeader> > [class]
180 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::ndn::InterestHeader', 'ns3::Header', 'ns3::DefaultDeleter<ns3::ndn::InterestHeader>'], parent=root_module['ns3::Header'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
181 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::NameComponents, ns3::empty, ns3::DefaultDeleter<ns3::ndn::NameComponents> > [class]
182 module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::ndn::NameComponents', 'ns3::empty', 'ns3::DefaultDeleter<ns3::ndn::NameComponents>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
183 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::cs::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::cs::Entry> > [class]
184 module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::ndn::cs::Entry', 'ns3::empty', 'ns3::DefaultDeleter<ns3::ndn::cs::Entry>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
185 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::fib::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::fib::Entry> > [class]
186 module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::ndn::fib::Entry', 'ns3::empty', 'ns3::DefaultDeleter<ns3::ndn::fib::Entry>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
187 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::pit::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::pit::Entry> > [class]
188 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 -0700189 ## nstime.h (module 'core'): ns3::Time [class]
190 module.add_class('Time', import_from_module='ns.core')
191 ## nstime.h (module 'core'): ns3::Time::Unit [enumeration]
192 module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core')
193 ## nstime.h (module 'core'): ns3::Time [class]
194 root_module['ns3::Time'].implicitly_converts_to(root_module['ns3::int64x64_t'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700195 ## topology-reader.h (module 'topology-read'): ns3::TopologyReader [class]
196 module.add_class('TopologyReader', import_from_module='ns.topology_read', parent=root_module['ns3::SimpleRefCount< ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter<ns3::TopologyReader> >'])
197 ## topology-reader.h (module 'topology-read'): ns3::TopologyReader::Link [class]
198 module.add_class('Link', import_from_module='ns.topology_read', outer_class=root_module['ns3::TopologyReader'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700199 ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor [class]
200 module.add_class('TraceSourceAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
201 ## trailer.h (module 'network'): ns3::Trailer [class]
202 module.add_class('Trailer', import_from_module='ns.network', parent=root_module['ns3::Chunk'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700203 ## annotated-topology-reader.h (module 'ndnSIM'): ns3::AnnotatedTopologyReader [class]
204 module.add_class('AnnotatedTopologyReader', parent=root_module['ns3::TopologyReader'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700205 ## application.h (module 'network'): ns3::Application [class]
206 module.add_class('Application', import_from_module='ns.network', parent=root_module['ns3::Object'])
207 ## attribute.h (module 'core'): ns3::AttributeAccessor [class]
208 module.add_class('AttributeAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >'])
209 ## attribute.h (module 'core'): ns3::AttributeChecker [class]
210 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> >'])
211 ## attribute.h (module 'core'): ns3::AttributeValue [class]
212 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 Afanasyev6d98ac32012-06-06 13:01:48 -0700213 ## batches.h (module 'ndnSIM'): ns3::BatchesChecker [class]
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -0800214 module.add_class('BatchesChecker', parent=root_module['ns3::AttributeChecker'])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -0700215 ## batches.h (module 'ndnSIM'): ns3::BatchesValue [class]
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -0800216 module.add_class('BatchesValue', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700217 ## callback.h (module 'core'): ns3::CallbackChecker [class]
218 module.add_class('CallbackChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
219 ## callback.h (module 'core'): ns3::CallbackImplBase [class]
220 module.add_class('CallbackImplBase', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >'])
221 ## callback.h (module 'core'): ns3::CallbackValue [class]
222 module.add_class('CallbackValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700223 ## attribute.h (module 'core'): ns3::EmptyAttributeValue [class]
224 module.add_class('EmptyAttributeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
225 ## event-impl.h (module 'core'): ns3::EventImpl [class]
226 module.add_class('EventImpl', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >'])
227 ## integer.h (module 'core'): ns3::IntegerValue [class]
228 module.add_class('IntegerValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
229 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker [class]
230 module.add_class('Ipv4AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
231 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue [class]
232 module.add_class('Ipv4AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
233 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker [class]
234 module.add_class('Ipv4MaskChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
235 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue [class]
236 module.add_class('Ipv4MaskValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
237 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker [class]
238 module.add_class('Ipv6AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
239 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue [class]
240 module.add_class('Ipv6AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
241 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker [class]
242 module.add_class('Ipv6PrefixChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
243 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue [class]
244 module.add_class('Ipv6PrefixValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700245 ## mobility-model.h (module 'mobility'): ns3::MobilityModel [class]
246 module.add_class('MobilityModel', import_from_module='ns.mobility', parent=root_module['ns3::Object'])
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'])
269 ## spring-mobility-model.h (module 'ndnSIM'): ns3::SpringMobilityModel [class]
270 module.add_class('SpringMobilityModel', parent=root_module['ns3::MobilityModel'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700271 ## nstime.h (module 'core'): ns3::TimeChecker [class]
272 module.add_class('TimeChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
273 ## nstime.h (module 'core'): ns3::TimeValue [class]
274 module.add_class('TimeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
275 ## type-id.h (module 'core'): ns3::TypeIdChecker [class]
276 module.add_class('TypeIdChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
277 ## type-id.h (module 'core'): ns3::TypeIdValue [class]
278 module.add_class('TypeIdValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700279 ## vector.h (module 'core'): ns3::Vector2DChecker [class]
280 module.add_class('Vector2DChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
281 ## vector.h (module 'core'): ns3::Vector2DValue [class]
282 module.add_class('Vector2DValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
283 ## vector.h (module 'core'): ns3::Vector3DChecker [class]
284 module.add_class('Vector3DChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
285 ## vector.h (module 'core'): ns3::Vector3DValue [class]
286 module.add_class('Vector3DValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700287 ## address.h (module 'network'): ns3::AddressChecker [class]
288 module.add_class('AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
289 ## address.h (module 'network'): ns3::AddressValue [class]
290 module.add_class('AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700291 module.add_container('std::map< std::string, std::string >', ('std::string', 'std::string'), container_type='map')
292 module.add_container('std::list< ns3::TopologyReader::Link >', 'ns3::TopologyReader::Link', container_type='list')
293 typehandlers.add_type_alias('ns3::Vector3DChecker', 'ns3::VectorChecker')
294 typehandlers.add_type_alias('ns3::Vector3DChecker*', 'ns3::VectorChecker*')
295 typehandlers.add_type_alias('ns3::Vector3DChecker&', 'ns3::VectorChecker&')
296 module.add_typedef(root_module['ns3::Vector3DChecker'], 'VectorChecker')
297 typehandlers.add_type_alias('ns3::RngSeedManager', 'ns3::SeedManager')
298 typehandlers.add_type_alias('ns3::RngSeedManager*', 'ns3::SeedManager*')
299 typehandlers.add_type_alias('ns3::RngSeedManager&', 'ns3::SeedManager&')
300 module.add_typedef(root_module['ns3::RngSeedManager'], 'SeedManager')
301 typehandlers.add_type_alias('ns3::Vector3D', 'ns3::Vector')
302 typehandlers.add_type_alias('ns3::Vector3D*', 'ns3::Vector*')
303 typehandlers.add_type_alias('ns3::Vector3D&', 'ns3::Vector&')
304 module.add_typedef(root_module['ns3::Vector3D'], 'Vector')
305 typehandlers.add_type_alias('ns3::Vector3DValue', 'ns3::VectorValue')
306 typehandlers.add_type_alias('ns3::Vector3DValue*', 'ns3::VectorValue*')
307 typehandlers.add_type_alias('ns3::Vector3DValue&', 'ns3::VectorValue&')
308 module.add_typedef(root_module['ns3::Vector3DValue'], 'VectorValue')
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700309
310 ## Register a nested module for the namespace FatalImpl
311
312 nested_module = module.add_cpp_namespace('FatalImpl')
313 register_types_ns3_FatalImpl(nested_module)
314
315
316 ## Register a nested module for the namespace internal
317
318 nested_module = module.add_cpp_namespace('internal')
319 register_types_ns3_internal(nested_module)
320
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700321
322 ## Register a nested module for the namespace ndn
323
324 nested_module = module.add_cpp_namespace('ndn')
325 register_types_ns3_ndn(nested_module)
326
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700327
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700328def register_types_ns3_FatalImpl(module):
329 root_module = module.get_root()
330
331
332def register_types_ns3_internal(module):
333 root_module = module.get_root()
334
335
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700336def register_types_ns3_ndn(module):
337 root_module = module.get_root()
338
339 ## ndn-app.h (module 'ndnSIM'): ns3::ndn::App [class]
340 module.add_class('App', parent=root_module['ns3::Application'])
341 ## ndn-app-helper.h (module 'ndnSIM'): ns3::ndn::AppHelper [class]
342 module.add_class('AppHelper')
343 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeader [class]
344 module.add_class('ContentObjectHeader', parent=root_module['ns3::SimpleRefCount< ns3::ndn::ContentObjectHeader, ns3::Header, ns3::DefaultDeleter<ns3::ndn::ContentObjectHeader> >'])
345 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeader::ContentType [enumeration]
346 module.add_enum('ContentType', ['DATA', 'ENCR', 'GONE', 'KEY', 'LINK', 'NACK'], outer_class=root_module['ns3::ndn::ContentObjectHeader'])
347 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeader::Signature [class]
348 module.add_class('Signature', outer_class=root_module['ns3::ndn::ContentObjectHeader'])
349 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeader::SignedInfo [class]
350 module.add_class('SignedInfo', outer_class=root_module['ns3::ndn::ContentObjectHeader'])
351 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeaderException [class]
352 module.add_class('ContentObjectHeaderException')
353 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectTail [class]
354 module.add_class('ContentObjectTail', parent=root_module['ns3::Trailer'])
355 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::ContentStore [class]
356 module.add_class('ContentStore', parent=root_module['ns3::Object'])
357 ## ndn-face.h (module 'ndnSIM'): ns3::ndn::Face [class]
358 module.add_class('Face', parent=root_module['ns3::Object'])
359 ## ndn-face-container.h (module 'ndnSIM'): ns3::ndn::FaceContainer [class]
360 module.add_class('FaceContainer', parent=root_module['ns3::SimpleRefCount< ns3::ndn::FaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::ndn::FaceContainer> >'])
361 ## ndn-fib.h (module 'ndnSIM'): ns3::ndn::Fib [class]
362 module.add_class('Fib', parent=root_module['ns3::Object'])
363 ## ndn-forwarding-strategy.h (module 'ndnSIM'): ns3::ndn::ForwardingStrategy [class]
364 module.add_class('ForwardingStrategy', parent=root_module['ns3::Object'])
365 ## ndn-global-routing-helper.h (module 'ndnSIM'): ns3::ndn::GlobalRoutingHelper [class]
366 module.add_class('GlobalRoutingHelper')
367 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::HeaderHelper [class]
368 module.add_class('HeaderHelper')
369 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::HeaderHelper::Type [enumeration]
370 module.add_enum('Type', ['INTEREST', 'CONTENT_OBJECT'], outer_class=root_module['ns3::ndn::HeaderHelper'])
371 ## ndn-interest-header.h (module 'ndnSIM'): ns3::ndn::InterestHeader [class]
372 module.add_class('InterestHeader', parent=root_module['ns3::SimpleRefCount< ns3::ndn::InterestHeader, ns3::Header, ns3::DefaultDeleter<ns3::ndn::InterestHeader> >'])
373 ## ndn-interest-header.h (module 'ndnSIM'): ns3::ndn::InterestHeader [enumeration]
374 module.add_enum('', ['NORMAL_INTEREST', 'NACK_LOOP', 'NACK_CONGESTION', 'NACK_GIVEUP_PIT'], outer_class=root_module['ns3::ndn::InterestHeader'])
375 ## ndn-interest-header.h (module 'ndnSIM'): ns3::ndn::InterestHeaderException [class]
376 module.add_class('InterestHeaderException')
377 ## ndn-l3-protocol.h (module 'ndnSIM'): ns3::ndn::L3Protocol [class]
378 module.add_class('L3Protocol', parent=root_module['ns3::Object'])
379 ## ndn-name-components.h (module 'ndnSIM'): ns3::ndn::NameComponents [class]
380 module.add_class('NameComponents', parent=root_module['ns3::SimpleRefCount< ns3::ndn::NameComponents, ns3::empty, ns3::DefaultDeleter<ns3::ndn::NameComponents> >'])
381 ## ndn-name-components.h (module 'ndnSIM'): ns3::ndn::NameComponentsChecker [class]
382 module.add_class('NameComponentsChecker', parent=root_module['ns3::AttributeChecker'])
383 ## ndn-name-components.h (module 'ndnSIM'): ns3::ndn::NameComponentsValue [class]
384 module.add_class('NameComponentsValue', parent=root_module['ns3::AttributeValue'])
385 ## ndn-net-device-face.h (module 'ndnSIM'): ns3::ndn::NetDeviceFace [class]
386 module.add_class('NetDeviceFace', parent=root_module['ns3::ndn::Face'])
387 ## ndn-pit.h (module 'ndnSIM'): ns3::ndn::Pit [class]
388 module.add_class('Pit', parent=root_module['ns3::Object'])
389 ## ndn-stack-helper.h (module 'ndnSIM'): ns3::ndn::StackHelper [class]
390 module.add_class('StackHelper')
391 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::UnknownHeaderException [class]
392 module.add_class('UnknownHeaderException')
393 ## ndn-app-face.h (module 'ndnSIM'): ns3::ndn::AppFace [class]
394 module.add_class('AppFace', parent=root_module['ns3::ndn::Face'])
395 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')
396 module.add_container('std::list< std::string >', 'std::string', container_type='list')
397
398 ## Register a nested module for the namespace cs
399
400 nested_module = module.add_cpp_namespace('cs')
401 register_types_ns3_ndn_cs(nested_module)
402
403
404 ## Register a nested module for the namespace fib
405
406 nested_module = module.add_cpp_namespace('fib')
407 register_types_ns3_ndn_fib(nested_module)
408
409
410 ## Register a nested module for the namespace pit
411
412 nested_module = module.add_cpp_namespace('pit')
413 register_types_ns3_ndn_pit(nested_module)
414
415
416def register_types_ns3_ndn_cs(module):
417 root_module = module.get_root()
418
419 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::cs::Entry [class]
420 module.add_class('Entry', parent=root_module['ns3::SimpleRefCount< ns3::ndn::cs::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::cs::Entry> >'])
421
422def register_types_ns3_ndn_fib(module):
423 root_module = module.get_root()
424
425 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry [class]
426 module.add_class('Entry', parent=root_module['ns3::SimpleRefCount< ns3::ndn::fib::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::fib::Entry> >'])
427 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::NoFaces [class]
428 module.add_class('NoFaces', outer_class=root_module['ns3::ndn::fib::Entry'])
429 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric [class]
430 module.add_class('FaceMetric')
431 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric::Status [enumeration]
432 module.add_enum('Status', ['NDN_FIB_GREEN', 'NDN_FIB_YELLOW', 'NDN_FIB_RED'], outer_class=root_module['ns3::ndn::fib::FaceMetric'])
433 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetricContainer [struct]
434 module.add_class('FaceMetricContainer')
435 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_face [class]
436 module.add_class('i_face')
437 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_metric [class]
438 module.add_class('i_metric')
439 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_nth [class]
440 module.add_class('i_nth')
441
442def register_types_ns3_ndn_pit(module):
443 root_module = module.get_root()
444
445 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::Entry [class]
446 module.add_class('Entry', parent=root_module['ns3::SimpleRefCount< ns3::ndn::pit::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::pit::Entry> >'])
447 ## ndn-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::ndn::pit::IncomingFace [struct]
448 module.add_class('IncomingFace')
449 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace [struct]
450 module.add_class('OutgoingFace')
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700451 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::i_face [class]
452 module.add_class('i_face')
453 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::i_retx [class]
454 module.add_class('i_retx')
455 module.add_container('std::set< ns3::ndn::pit::IncomingFace >', 'ns3::ndn::pit::IncomingFace', container_type='set')
Alexander Afanasyevc202fd92012-09-03 21:46:00 -0700456 module.add_container('std::set< ns3::ndn::pit::OutgoingFace >', 'ns3::ndn::pit::OutgoingFace', container_type='set')
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700457 module.add_container('std::set< unsigned int >', 'unsigned int', container_type='set')
458
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700459def register_methods(root_module):
460 register_Ns3Address_methods(root_module, root_module['ns3::Address'])
461 register_Ns3ApplicationContainer_methods(root_module, root_module['ns3::ApplicationContainer'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700462 register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList'])
463 register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item'])
464 register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer'])
465 register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator'])
466 register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator'])
467 register_Ns3ByteTagIteratorItem_methods(root_module, root_module['ns3::ByteTagIterator::Item'])
468 register_Ns3ByteTagList_methods(root_module, root_module['ns3::ByteTagList'])
469 register_Ns3ByteTagListIterator_methods(root_module, root_module['ns3::ByteTagList::Iterator'])
470 register_Ns3ByteTagListIteratorItem_methods(root_module, root_module['ns3::ByteTagList::Iterator::Item'])
471 register_Ns3CallbackBase_methods(root_module, root_module['ns3::CallbackBase'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700472 register_Ns3EventId_methods(root_module, root_module['ns3::EventId'])
473 register_Ns3Ipv4Address_methods(root_module, root_module['ns3::Ipv4Address'])
474 register_Ns3Ipv4Mask_methods(root_module, root_module['ns3::Ipv4Mask'])
475 register_Ns3Ipv6Address_methods(root_module, root_module['ns3::Ipv6Address'])
476 register_Ns3Ipv6Prefix_methods(root_module, root_module['ns3::Ipv6Prefix'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700477 register_Ns3NetDeviceContainer_methods(root_module, root_module['ns3::NetDeviceContainer'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700478 register_Ns3NodeContainer_methods(root_module, root_module['ns3::NodeContainer'])
479 register_Ns3ObjectBase_methods(root_module, root_module['ns3::ObjectBase'])
480 register_Ns3ObjectDeleter_methods(root_module, root_module['ns3::ObjectDeleter'])
481 register_Ns3ObjectFactory_methods(root_module, root_module['ns3::ObjectFactory'])
482 register_Ns3PacketMetadata_methods(root_module, root_module['ns3::PacketMetadata'])
483 register_Ns3PacketMetadataItem_methods(root_module, root_module['ns3::PacketMetadata::Item'])
484 register_Ns3PacketMetadataItemIterator_methods(root_module, root_module['ns3::PacketMetadata::ItemIterator'])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -0700485 register_Ns3PacketTagIterator_methods(root_module, root_module['ns3::PacketTagIterator'])
486 register_Ns3PacketTagIteratorItem_methods(root_module, root_module['ns3::PacketTagIterator::Item'])
487 register_Ns3PacketTagList_methods(root_module, root_module['ns3::PacketTagList'])
488 register_Ns3PacketTagListTagData_methods(root_module, root_module['ns3::PacketTagList::TagData'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700489 register_Ns3RandomVariable_methods(root_module, root_module['ns3::RandomVariable'])
490 register_Ns3RngSeedManager_methods(root_module, root_module['ns3::RngSeedManager'])
491 register_Ns3SequentialVariable_methods(root_module, root_module['ns3::SequentialVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700492 register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700493 register_Ns3SpringMobilityHelper_methods(root_module, root_module['ns3::SpringMobilityHelper'])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -0700494 register_Ns3Tag_methods(root_module, root_module['ns3::Tag'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700495 register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700496 register_Ns3TriangularVariable_methods(root_module, root_module['ns3::TriangularVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700497 register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId'])
498 register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation'])
499 register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700500 register_Ns3UniformVariable_methods(root_module, root_module['ns3::UniformVariable'])
501 register_Ns3Vector2D_methods(root_module, root_module['ns3::Vector2D'])
502 register_Ns3Vector3D_methods(root_module, root_module['ns3::Vector3D'])
503 register_Ns3WeibullVariable_methods(root_module, root_module['ns3::WeibullVariable'])
504 register_Ns3ZetaVariable_methods(root_module, root_module['ns3::ZetaVariable'])
505 register_Ns3ZipfVariable_methods(root_module, root_module['ns3::ZipfVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700506 register_Ns3Empty_methods(root_module, root_module['ns3::empty'])
507 register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700508 register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700509 register_Ns3ConstantVariable_methods(root_module, root_module['ns3::ConstantVariable'])
510 register_Ns3DeterministicVariable_methods(root_module, root_module['ns3::DeterministicVariable'])
511 register_Ns3EmpiricalVariable_methods(root_module, root_module['ns3::EmpiricalVariable'])
512 register_Ns3ErlangVariable_methods(root_module, root_module['ns3::ErlangVariable'])
513 register_Ns3ExponentialVariable_methods(root_module, root_module['ns3::ExponentialVariable'])
514 register_Ns3GammaVariable_methods(root_module, root_module['ns3::GammaVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700515 register_Ns3Header_methods(root_module, root_module['ns3::Header'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700516 register_Ns3IntEmpiricalVariable_methods(root_module, root_module['ns3::IntEmpiricalVariable'])
517 register_Ns3LogNormalVariable_methods(root_module, root_module['ns3::LogNormalVariable'])
518 register_Ns3NormalVariable_methods(root_module, root_module['ns3::NormalVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700519 register_Ns3Object_methods(root_module, root_module['ns3::Object'])
520 register_Ns3ObjectAggregateIterator_methods(root_module, root_module['ns3::Object::AggregateIterator'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700521 register_Ns3ParetoVariable_methods(root_module, root_module['ns3::ParetoVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700522 register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >'])
523 register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeChecker__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >'])
524 register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >'])
525 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 -0700526 register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >'])
527 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 -0700528 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 -0700529 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 -0700530 register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700531 register_Ns3SimpleRefCount__Ns3NdnContentObjectHeader_Ns3Header_Ns3DefaultDeleter__lt__ns3NdnContentObjectHeader__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::ndn::ContentObjectHeader, ns3::Header, ns3::DefaultDeleter<ns3::ndn::ContentObjectHeader> >'])
532 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> >'])
533 register_Ns3SimpleRefCount__Ns3NdnInterestHeader_Ns3Header_Ns3DefaultDeleter__lt__ns3NdnInterestHeader__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::ndn::InterestHeader, ns3::Header, ns3::DefaultDeleter<ns3::ndn::InterestHeader> >'])
534 register_Ns3SimpleRefCount__Ns3NdnNameComponents_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnNameComponents__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::ndn::NameComponents, ns3::empty, ns3::DefaultDeleter<ns3::ndn::NameComponents> >'])
535 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> >'])
536 register_Ns3SimpleRefCount__Ns3NdnFibEntry_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnFibEntry__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::ndn::fib::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::fib::Entry> >'])
537 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 -0700538 register_Ns3Time_methods(root_module, root_module['ns3::Time'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700539 register_Ns3TopologyReader_methods(root_module, root_module['ns3::TopologyReader'])
540 register_Ns3TopologyReaderLink_methods(root_module, root_module['ns3::TopologyReader::Link'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700541 register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor'])
542 register_Ns3Trailer_methods(root_module, root_module['ns3::Trailer'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700543 register_Ns3AnnotatedTopologyReader_methods(root_module, root_module['ns3::AnnotatedTopologyReader'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700544 register_Ns3Application_methods(root_module, root_module['ns3::Application'])
545 register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor'])
546 register_Ns3AttributeChecker_methods(root_module, root_module['ns3::AttributeChecker'])
547 register_Ns3AttributeValue_methods(root_module, root_module['ns3::AttributeValue'])
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -0800548 register_Ns3BatchesChecker_methods(root_module, root_module['ns3::BatchesChecker'])
549 register_Ns3BatchesValue_methods(root_module, root_module['ns3::BatchesValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700550 register_Ns3CallbackChecker_methods(root_module, root_module['ns3::CallbackChecker'])
551 register_Ns3CallbackImplBase_methods(root_module, root_module['ns3::CallbackImplBase'])
552 register_Ns3CallbackValue_methods(root_module, root_module['ns3::CallbackValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700553 register_Ns3EmptyAttributeValue_methods(root_module, root_module['ns3::EmptyAttributeValue'])
554 register_Ns3EventImpl_methods(root_module, root_module['ns3::EventImpl'])
555 register_Ns3IntegerValue_methods(root_module, root_module['ns3::IntegerValue'])
556 register_Ns3Ipv4AddressChecker_methods(root_module, root_module['ns3::Ipv4AddressChecker'])
557 register_Ns3Ipv4AddressValue_methods(root_module, root_module['ns3::Ipv4AddressValue'])
558 register_Ns3Ipv4MaskChecker_methods(root_module, root_module['ns3::Ipv4MaskChecker'])
559 register_Ns3Ipv4MaskValue_methods(root_module, root_module['ns3::Ipv4MaskValue'])
560 register_Ns3Ipv6AddressChecker_methods(root_module, root_module['ns3::Ipv6AddressChecker'])
561 register_Ns3Ipv6AddressValue_methods(root_module, root_module['ns3::Ipv6AddressValue'])
562 register_Ns3Ipv6PrefixChecker_methods(root_module, root_module['ns3::Ipv6PrefixChecker'])
563 register_Ns3Ipv6PrefixValue_methods(root_module, root_module['ns3::Ipv6PrefixValue'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700564 register_Ns3MobilityModel_methods(root_module, root_module['ns3::MobilityModel'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700565 register_Ns3NetDevice_methods(root_module, root_module['ns3::NetDevice'])
566 register_Ns3NixVector_methods(root_module, root_module['ns3::NixVector'])
567 register_Ns3Node_methods(root_module, root_module['ns3::Node'])
568 register_Ns3ObjectFactoryChecker_methods(root_module, root_module['ns3::ObjectFactoryChecker'])
569 register_Ns3ObjectFactoryValue_methods(root_module, root_module['ns3::ObjectFactoryValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700570 register_Ns3Packet_methods(root_module, root_module['ns3::Packet'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700571 register_Ns3RandomVariableChecker_methods(root_module, root_module['ns3::RandomVariableChecker'])
572 register_Ns3RandomVariableValue_methods(root_module, root_module['ns3::RandomVariableValue'])
573 register_Ns3RocketfuelWeightsReader_methods(root_module, root_module['ns3::RocketfuelWeightsReader'])
574 register_Ns3SpringMobilityModel_methods(root_module, root_module['ns3::SpringMobilityModel'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700575 register_Ns3TimeChecker_methods(root_module, root_module['ns3::TimeChecker'])
576 register_Ns3TimeValue_methods(root_module, root_module['ns3::TimeValue'])
577 register_Ns3TypeIdChecker_methods(root_module, root_module['ns3::TypeIdChecker'])
578 register_Ns3TypeIdValue_methods(root_module, root_module['ns3::TypeIdValue'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700579 register_Ns3Vector2DChecker_methods(root_module, root_module['ns3::Vector2DChecker'])
580 register_Ns3Vector2DValue_methods(root_module, root_module['ns3::Vector2DValue'])
581 register_Ns3Vector3DChecker_methods(root_module, root_module['ns3::Vector3DChecker'])
582 register_Ns3Vector3DValue_methods(root_module, root_module['ns3::Vector3DValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700583 register_Ns3AddressChecker_methods(root_module, root_module['ns3::AddressChecker'])
584 register_Ns3AddressValue_methods(root_module, root_module['ns3::AddressValue'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700585 register_Ns3NdnApp_methods(root_module, root_module['ns3::ndn::App'])
586 register_Ns3NdnAppHelper_methods(root_module, root_module['ns3::ndn::AppHelper'])
587 register_Ns3NdnContentObjectHeader_methods(root_module, root_module['ns3::ndn::ContentObjectHeader'])
588 register_Ns3NdnContentObjectHeaderSignature_methods(root_module, root_module['ns3::ndn::ContentObjectHeader::Signature'])
589 register_Ns3NdnContentObjectHeaderSignedInfo_methods(root_module, root_module['ns3::ndn::ContentObjectHeader::SignedInfo'])
590 register_Ns3NdnContentObjectHeaderException_methods(root_module, root_module['ns3::ndn::ContentObjectHeaderException'])
591 register_Ns3NdnContentObjectTail_methods(root_module, root_module['ns3::ndn::ContentObjectTail'])
592 register_Ns3NdnContentStore_methods(root_module, root_module['ns3::ndn::ContentStore'])
593 register_Ns3NdnFace_methods(root_module, root_module['ns3::ndn::Face'])
594 register_Ns3NdnFaceContainer_methods(root_module, root_module['ns3::ndn::FaceContainer'])
595 register_Ns3NdnFib_methods(root_module, root_module['ns3::ndn::Fib'])
596 register_Ns3NdnForwardingStrategy_methods(root_module, root_module['ns3::ndn::ForwardingStrategy'])
597 register_Ns3NdnGlobalRoutingHelper_methods(root_module, root_module['ns3::ndn::GlobalRoutingHelper'])
598 register_Ns3NdnHeaderHelper_methods(root_module, root_module['ns3::ndn::HeaderHelper'])
599 register_Ns3NdnInterestHeader_methods(root_module, root_module['ns3::ndn::InterestHeader'])
600 register_Ns3NdnInterestHeaderException_methods(root_module, root_module['ns3::ndn::InterestHeaderException'])
601 register_Ns3NdnL3Protocol_methods(root_module, root_module['ns3::ndn::L3Protocol'])
602 register_Ns3NdnNameComponents_methods(root_module, root_module['ns3::ndn::NameComponents'])
603 register_Ns3NdnNameComponentsChecker_methods(root_module, root_module['ns3::ndn::NameComponentsChecker'])
604 register_Ns3NdnNameComponentsValue_methods(root_module, root_module['ns3::ndn::NameComponentsValue'])
605 register_Ns3NdnNetDeviceFace_methods(root_module, root_module['ns3::ndn::NetDeviceFace'])
606 register_Ns3NdnPit_methods(root_module, root_module['ns3::ndn::Pit'])
607 register_Ns3NdnStackHelper_methods(root_module, root_module['ns3::ndn::StackHelper'])
608 register_Ns3NdnUnknownHeaderException_methods(root_module, root_module['ns3::ndn::UnknownHeaderException'])
609 register_Ns3NdnAppFace_methods(root_module, root_module['ns3::ndn::AppFace'])
610 register_Ns3NdnCsEntry_methods(root_module, root_module['ns3::ndn::cs::Entry'])
611 register_Ns3NdnFibEntry_methods(root_module, root_module['ns3::ndn::fib::Entry'])
612 register_Ns3NdnFibEntryNoFaces_methods(root_module, root_module['ns3::ndn::fib::Entry::NoFaces'])
613 register_Ns3NdnFibFaceMetric_methods(root_module, root_module['ns3::ndn::fib::FaceMetric'])
614 register_Ns3NdnFibFaceMetricContainer_methods(root_module, root_module['ns3::ndn::fib::FaceMetricContainer'])
615 register_Ns3NdnFibI_face_methods(root_module, root_module['ns3::ndn::fib::i_face'])
616 register_Ns3NdnFibI_metric_methods(root_module, root_module['ns3::ndn::fib::i_metric'])
617 register_Ns3NdnFibI_nth_methods(root_module, root_module['ns3::ndn::fib::i_nth'])
618 register_Ns3NdnPitEntry_methods(root_module, root_module['ns3::ndn::pit::Entry'])
619 register_Ns3NdnPitIncomingFace_methods(root_module, root_module['ns3::ndn::pit::IncomingFace'])
620 register_Ns3NdnPitOutgoingFace_methods(root_module, root_module['ns3::ndn::pit::OutgoingFace'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700621 register_Ns3NdnPitI_face_methods(root_module, root_module['ns3::ndn::pit::i_face'])
622 register_Ns3NdnPitI_retx_methods(root_module, root_module['ns3::ndn::pit::i_retx'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700623 return
624
625def register_Ns3Address_methods(root_module, cls):
626 cls.add_binary_comparison_operator('!=')
627 cls.add_output_stream_operator()
628 cls.add_binary_comparison_operator('==')
629 cls.add_binary_comparison_operator('<')
630 ## address.h (module 'network'): ns3::Address::Address() [constructor]
631 cls.add_constructor([])
632 ## address.h (module 'network'): ns3::Address::Address(uint8_t type, uint8_t const * buffer, uint8_t len) [constructor]
633 cls.add_constructor([param('uint8_t', 'type'), param('uint8_t const *', 'buffer'), param('uint8_t', 'len')])
634 ## address.h (module 'network'): ns3::Address::Address(ns3::Address const & address) [copy constructor]
635 cls.add_constructor([param('ns3::Address const &', 'address')])
636 ## address.h (module 'network'): bool ns3::Address::CheckCompatible(uint8_t type, uint8_t len) const [member function]
637 cls.add_method('CheckCompatible',
638 'bool',
639 [param('uint8_t', 'type'), param('uint8_t', 'len')],
640 is_const=True)
641 ## address.h (module 'network'): uint32_t ns3::Address::CopyAllFrom(uint8_t const * buffer, uint8_t len) [member function]
642 cls.add_method('CopyAllFrom',
643 'uint32_t',
644 [param('uint8_t const *', 'buffer'), param('uint8_t', 'len')])
645 ## address.h (module 'network'): uint32_t ns3::Address::CopyAllTo(uint8_t * buffer, uint8_t len) const [member function]
646 cls.add_method('CopyAllTo',
647 'uint32_t',
648 [param('uint8_t *', 'buffer'), param('uint8_t', 'len')],
649 is_const=True)
650 ## address.h (module 'network'): uint32_t ns3::Address::CopyFrom(uint8_t const * buffer, uint8_t len) [member function]
651 cls.add_method('CopyFrom',
652 'uint32_t',
653 [param('uint8_t const *', 'buffer'), param('uint8_t', 'len')])
654 ## address.h (module 'network'): uint32_t ns3::Address::CopyTo(uint8_t * buffer) const [member function]
655 cls.add_method('CopyTo',
656 'uint32_t',
657 [param('uint8_t *', 'buffer')],
658 is_const=True)
659 ## address.h (module 'network'): void ns3::Address::Deserialize(ns3::TagBuffer buffer) [member function]
660 cls.add_method('Deserialize',
661 'void',
662 [param('ns3::TagBuffer', 'buffer')])
663 ## address.h (module 'network'): uint8_t ns3::Address::GetLength() const [member function]
664 cls.add_method('GetLength',
665 'uint8_t',
666 [],
667 is_const=True)
668 ## address.h (module 'network'): uint32_t ns3::Address::GetSerializedSize() const [member function]
669 cls.add_method('GetSerializedSize',
670 'uint32_t',
671 [],
672 is_const=True)
673 ## address.h (module 'network'): bool ns3::Address::IsInvalid() const [member function]
674 cls.add_method('IsInvalid',
675 'bool',
676 [],
677 is_const=True)
678 ## address.h (module 'network'): bool ns3::Address::IsMatchingType(uint8_t type) const [member function]
679 cls.add_method('IsMatchingType',
680 'bool',
681 [param('uint8_t', 'type')],
682 is_const=True)
683 ## address.h (module 'network'): static uint8_t ns3::Address::Register() [member function]
684 cls.add_method('Register',
685 'uint8_t',
686 [],
687 is_static=True)
688 ## address.h (module 'network'): void ns3::Address::Serialize(ns3::TagBuffer buffer) const [member function]
689 cls.add_method('Serialize',
690 'void',
691 [param('ns3::TagBuffer', 'buffer')],
692 is_const=True)
693 return
694
695def register_Ns3ApplicationContainer_methods(root_module, cls):
696 ## application-container.h (module 'network'): ns3::ApplicationContainer::ApplicationContainer(ns3::ApplicationContainer const & arg0) [copy constructor]
697 cls.add_constructor([param('ns3::ApplicationContainer const &', 'arg0')])
698 ## application-container.h (module 'network'): ns3::ApplicationContainer::ApplicationContainer() [constructor]
699 cls.add_constructor([])
700 ## application-container.h (module 'network'): ns3::ApplicationContainer::ApplicationContainer(ns3::Ptr<ns3::Application> application) [constructor]
701 cls.add_constructor([param('ns3::Ptr< ns3::Application >', 'application')])
702 ## application-container.h (module 'network'): ns3::ApplicationContainer::ApplicationContainer(std::string name) [constructor]
703 cls.add_constructor([param('std::string', 'name')])
704 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Add(ns3::ApplicationContainer other) [member function]
705 cls.add_method('Add',
706 'void',
707 [param('ns3::ApplicationContainer', 'other')])
708 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Add(ns3::Ptr<ns3::Application> application) [member function]
709 cls.add_method('Add',
710 'void',
711 [param('ns3::Ptr< ns3::Application >', 'application')])
712 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Add(std::string name) [member function]
713 cls.add_method('Add',
714 'void',
715 [param('std::string', 'name')])
716 ## 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]
717 cls.add_method('Begin',
718 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Application > const, std::vector< ns3::Ptr< ns3::Application > > >',
719 [],
720 is_const=True)
721 ## 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]
722 cls.add_method('End',
723 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Application > const, std::vector< ns3::Ptr< ns3::Application > > >',
724 [],
725 is_const=True)
726 ## application-container.h (module 'network'): ns3::Ptr<ns3::Application> ns3::ApplicationContainer::Get(uint32_t i) const [member function]
727 cls.add_method('Get',
728 'ns3::Ptr< ns3::Application >',
729 [param('uint32_t', 'i')],
730 is_const=True)
731 ## application-container.h (module 'network'): uint32_t ns3::ApplicationContainer::GetN() const [member function]
732 cls.add_method('GetN',
733 'uint32_t',
734 [],
735 is_const=True)
736 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Start(ns3::Time start) [member function]
737 cls.add_method('Start',
738 'void',
739 [param('ns3::Time', 'start')])
740 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Stop(ns3::Time stop) [member function]
741 cls.add_method('Stop',
742 'void',
743 [param('ns3::Time', 'stop')])
744 return
745
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700746def register_Ns3AttributeConstructionList_methods(root_module, cls):
747 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor]
748 cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')])
749 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor]
750 cls.add_constructor([])
751 ## 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]
752 cls.add_method('Add',
753 'void',
754 [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')])
755 ## attribute-construction-list.h (module 'core'): std::_List_const_iterator<ns3::AttributeConstructionList::Item> ns3::AttributeConstructionList::Begin() const [member function]
756 cls.add_method('Begin',
757 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >',
758 [],
759 is_const=True)
760 ## attribute-construction-list.h (module 'core'): std::_List_const_iterator<ns3::AttributeConstructionList::Item> ns3::AttributeConstructionList::End() const [member function]
761 cls.add_method('End',
762 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >',
763 [],
764 is_const=True)
765 ## attribute-construction-list.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeConstructionList::Find(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
766 cls.add_method('Find',
767 'ns3::Ptr< ns3::AttributeValue >',
768 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
769 is_const=True)
770 return
771
772def register_Ns3AttributeConstructionListItem_methods(root_module, cls):
773 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor]
774 cls.add_constructor([])
775 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor]
776 cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')])
777 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable]
778 cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False)
779 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable]
780 cls.add_instance_attribute('name', 'std::string', is_const=False)
781 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable]
782 cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False)
783 return
784
785def register_Ns3Buffer_methods(root_module, cls):
786 ## buffer.h (module 'network'): ns3::Buffer::Buffer() [constructor]
787 cls.add_constructor([])
788 ## buffer.h (module 'network'): ns3::Buffer::Buffer(uint32_t dataSize) [constructor]
789 cls.add_constructor([param('uint32_t', 'dataSize')])
790 ## buffer.h (module 'network'): ns3::Buffer::Buffer(uint32_t dataSize, bool initialize) [constructor]
791 cls.add_constructor([param('uint32_t', 'dataSize'), param('bool', 'initialize')])
792 ## buffer.h (module 'network'): ns3::Buffer::Buffer(ns3::Buffer const & o) [copy constructor]
793 cls.add_constructor([param('ns3::Buffer const &', 'o')])
794 ## buffer.h (module 'network'): bool ns3::Buffer::AddAtEnd(uint32_t end) [member function]
795 cls.add_method('AddAtEnd',
796 'bool',
797 [param('uint32_t', 'end')])
798 ## buffer.h (module 'network'): void ns3::Buffer::AddAtEnd(ns3::Buffer const & o) [member function]
799 cls.add_method('AddAtEnd',
800 'void',
801 [param('ns3::Buffer const &', 'o')])
802 ## buffer.h (module 'network'): bool ns3::Buffer::AddAtStart(uint32_t start) [member function]
803 cls.add_method('AddAtStart',
804 'bool',
805 [param('uint32_t', 'start')])
806 ## buffer.h (module 'network'): ns3::Buffer::Iterator ns3::Buffer::Begin() const [member function]
807 cls.add_method('Begin',
808 'ns3::Buffer::Iterator',
809 [],
810 is_const=True)
811 ## buffer.h (module 'network'): void ns3::Buffer::CopyData(std::ostream * os, uint32_t size) const [member function]
812 cls.add_method('CopyData',
813 'void',
814 [param('std::ostream *', 'os'), param('uint32_t', 'size')],
815 is_const=True)
816 ## buffer.h (module 'network'): uint32_t ns3::Buffer::CopyData(uint8_t * buffer, uint32_t size) const [member function]
817 cls.add_method('CopyData',
818 'uint32_t',
819 [param('uint8_t *', 'buffer'), param('uint32_t', 'size')],
820 is_const=True)
821 ## buffer.h (module 'network'): ns3::Buffer ns3::Buffer::CreateFragment(uint32_t start, uint32_t length) const [member function]
822 cls.add_method('CreateFragment',
823 'ns3::Buffer',
824 [param('uint32_t', 'start'), param('uint32_t', 'length')],
825 is_const=True)
826 ## buffer.h (module 'network'): ns3::Buffer ns3::Buffer::CreateFullCopy() const [member function]
827 cls.add_method('CreateFullCopy',
828 'ns3::Buffer',
829 [],
830 is_const=True)
831 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Deserialize(uint8_t const * buffer, uint32_t size) [member function]
832 cls.add_method('Deserialize',
833 'uint32_t',
834 [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
835 ## buffer.h (module 'network'): ns3::Buffer::Iterator ns3::Buffer::End() const [member function]
836 cls.add_method('End',
837 'ns3::Buffer::Iterator',
838 [],
839 is_const=True)
840 ## buffer.h (module 'network'): int32_t ns3::Buffer::GetCurrentEndOffset() const [member function]
841 cls.add_method('GetCurrentEndOffset',
842 'int32_t',
843 [],
844 is_const=True)
845 ## buffer.h (module 'network'): int32_t ns3::Buffer::GetCurrentStartOffset() const [member function]
846 cls.add_method('GetCurrentStartOffset',
847 'int32_t',
848 [],
849 is_const=True)
850 ## buffer.h (module 'network'): uint32_t ns3::Buffer::GetSerializedSize() const [member function]
851 cls.add_method('GetSerializedSize',
852 'uint32_t',
853 [],
854 is_const=True)
855 ## buffer.h (module 'network'): uint32_t ns3::Buffer::GetSize() const [member function]
856 cls.add_method('GetSize',
857 'uint32_t',
858 [],
859 is_const=True)
860 ## buffer.h (module 'network'): uint8_t const * ns3::Buffer::PeekData() const [member function]
861 cls.add_method('PeekData',
862 'uint8_t const *',
863 [],
864 is_const=True)
865 ## buffer.h (module 'network'): void ns3::Buffer::RemoveAtEnd(uint32_t end) [member function]
866 cls.add_method('RemoveAtEnd',
867 'void',
868 [param('uint32_t', 'end')])
869 ## buffer.h (module 'network'): void ns3::Buffer::RemoveAtStart(uint32_t start) [member function]
870 cls.add_method('RemoveAtStart',
871 'void',
872 [param('uint32_t', 'start')])
873 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
874 cls.add_method('Serialize',
875 'uint32_t',
876 [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')],
877 is_const=True)
878 return
879
880def register_Ns3BufferIterator_methods(root_module, cls):
881 ## buffer.h (module 'network'): ns3::Buffer::Iterator::Iterator(ns3::Buffer::Iterator const & arg0) [copy constructor]
882 cls.add_constructor([param('ns3::Buffer::Iterator const &', 'arg0')])
883 ## buffer.h (module 'network'): ns3::Buffer::Iterator::Iterator() [constructor]
884 cls.add_constructor([])
885 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::CalculateIpChecksum(uint16_t size) [member function]
886 cls.add_method('CalculateIpChecksum',
887 'uint16_t',
888 [param('uint16_t', 'size')])
889 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::CalculateIpChecksum(uint16_t size, uint32_t initialChecksum) [member function]
890 cls.add_method('CalculateIpChecksum',
891 'uint16_t',
892 [param('uint16_t', 'size'), param('uint32_t', 'initialChecksum')])
893 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::GetDistanceFrom(ns3::Buffer::Iterator const & o) const [member function]
894 cls.add_method('GetDistanceFrom',
895 'uint32_t',
896 [param('ns3::Buffer::Iterator const &', 'o')],
897 is_const=True)
898 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::GetSize() const [member function]
899 cls.add_method('GetSize',
900 'uint32_t',
901 [],
902 is_const=True)
903 ## buffer.h (module 'network'): bool ns3::Buffer::Iterator::IsEnd() const [member function]
904 cls.add_method('IsEnd',
905 'bool',
906 [],
907 is_const=True)
908 ## buffer.h (module 'network'): bool ns3::Buffer::Iterator::IsStart() const [member function]
909 cls.add_method('IsStart',
910 'bool',
911 [],
912 is_const=True)
913 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Next() [member function]
914 cls.add_method('Next',
915 'void',
916 [])
917 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Next(uint32_t delta) [member function]
918 cls.add_method('Next',
919 'void',
920 [param('uint32_t', 'delta')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -0700921 ## buffer.h (module 'network'): uint8_t ns3::Buffer::Iterator::PeekU8() [member function]
922 cls.add_method('PeekU8',
923 'uint8_t',
924 [])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700925 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Prev() [member function]
926 cls.add_method('Prev',
927 'void',
928 [])
929 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Prev(uint32_t delta) [member function]
930 cls.add_method('Prev',
931 'void',
932 [param('uint32_t', 'delta')])
933 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Read(uint8_t * buffer, uint32_t size) [member function]
934 cls.add_method('Read',
935 'void',
936 [param('uint8_t *', 'buffer'), param('uint32_t', 'size')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -0700937 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Read(ns3::Buffer::Iterator start, uint32_t size) [member function]
938 cls.add_method('Read',
939 'void',
940 [param('ns3::Buffer::Iterator', 'start'), param('uint32_t', 'size')])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700941 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadLsbtohU16() [member function]
942 cls.add_method('ReadLsbtohU16',
943 'uint16_t',
944 [])
945 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadLsbtohU32() [member function]
946 cls.add_method('ReadLsbtohU32',
947 'uint32_t',
948 [])
949 ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadLsbtohU64() [member function]
950 cls.add_method('ReadLsbtohU64',
951 'uint64_t',
952 [])
953 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadNtohU16() [member function]
954 cls.add_method('ReadNtohU16',
955 'uint16_t',
956 [])
957 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadNtohU32() [member function]
958 cls.add_method('ReadNtohU32',
959 'uint32_t',
960 [])
961 ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadNtohU64() [member function]
962 cls.add_method('ReadNtohU64',
963 'uint64_t',
964 [])
965 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadU16() [member function]
966 cls.add_method('ReadU16',
967 'uint16_t',
968 [])
969 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadU32() [member function]
970 cls.add_method('ReadU32',
971 'uint32_t',
972 [])
973 ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadU64() [member function]
974 cls.add_method('ReadU64',
975 'uint64_t',
976 [])
977 ## buffer.h (module 'network'): uint8_t ns3::Buffer::Iterator::ReadU8() [member function]
978 cls.add_method('ReadU8',
979 'uint8_t',
980 [])
981 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Write(uint8_t const * buffer, uint32_t size) [member function]
982 cls.add_method('Write',
983 'void',
984 [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
985 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Write(ns3::Buffer::Iterator start, ns3::Buffer::Iterator end) [member function]
986 cls.add_method('Write',
987 'void',
988 [param('ns3::Buffer::Iterator', 'start'), param('ns3::Buffer::Iterator', 'end')])
989 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU16(uint16_t data) [member function]
990 cls.add_method('WriteHtolsbU16',
991 'void',
992 [param('uint16_t', 'data')])
993 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU32(uint32_t data) [member function]
994 cls.add_method('WriteHtolsbU32',
995 'void',
996 [param('uint32_t', 'data')])
997 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU64(uint64_t data) [member function]
998 cls.add_method('WriteHtolsbU64',
999 'void',
1000 [param('uint64_t', 'data')])
1001 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU16(uint16_t data) [member function]
1002 cls.add_method('WriteHtonU16',
1003 'void',
1004 [param('uint16_t', 'data')])
1005 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU32(uint32_t data) [member function]
1006 cls.add_method('WriteHtonU32',
1007 'void',
1008 [param('uint32_t', 'data')])
1009 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU64(uint64_t data) [member function]
1010 cls.add_method('WriteHtonU64',
1011 'void',
1012 [param('uint64_t', 'data')])
1013 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU16(uint16_t data) [member function]
1014 cls.add_method('WriteU16',
1015 'void',
1016 [param('uint16_t', 'data')])
1017 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU32(uint32_t data) [member function]
1018 cls.add_method('WriteU32',
1019 'void',
1020 [param('uint32_t', 'data')])
1021 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU64(uint64_t data) [member function]
1022 cls.add_method('WriteU64',
1023 'void',
1024 [param('uint64_t', 'data')])
1025 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU8(uint8_t data) [member function]
1026 cls.add_method('WriteU8',
1027 'void',
1028 [param('uint8_t', 'data')])
1029 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU8(uint8_t data, uint32_t len) [member function]
1030 cls.add_method('WriteU8',
1031 'void',
1032 [param('uint8_t', 'data'), param('uint32_t', 'len')])
1033 return
1034
1035def register_Ns3ByteTagIterator_methods(root_module, cls):
1036 ## packet.h (module 'network'): ns3::ByteTagIterator::ByteTagIterator(ns3::ByteTagIterator const & arg0) [copy constructor]
1037 cls.add_constructor([param('ns3::ByteTagIterator const &', 'arg0')])
1038 ## packet.h (module 'network'): bool ns3::ByteTagIterator::HasNext() const [member function]
1039 cls.add_method('HasNext',
1040 'bool',
1041 [],
1042 is_const=True)
1043 ## packet.h (module 'network'): ns3::ByteTagIterator::Item ns3::ByteTagIterator::Next() [member function]
1044 cls.add_method('Next',
1045 'ns3::ByteTagIterator::Item',
1046 [])
1047 return
1048
1049def register_Ns3ByteTagIteratorItem_methods(root_module, cls):
1050 ## packet.h (module 'network'): ns3::ByteTagIterator::Item::Item(ns3::ByteTagIterator::Item const & arg0) [copy constructor]
1051 cls.add_constructor([param('ns3::ByteTagIterator::Item const &', 'arg0')])
1052 ## packet.h (module 'network'): uint32_t ns3::ByteTagIterator::Item::GetEnd() const [member function]
1053 cls.add_method('GetEnd',
1054 'uint32_t',
1055 [],
1056 is_const=True)
1057 ## packet.h (module 'network'): uint32_t ns3::ByteTagIterator::Item::GetStart() const [member function]
1058 cls.add_method('GetStart',
1059 'uint32_t',
1060 [],
1061 is_const=True)
1062 ## packet.h (module 'network'): void ns3::ByteTagIterator::Item::GetTag(ns3::Tag & tag) const [member function]
1063 cls.add_method('GetTag',
1064 'void',
1065 [param('ns3::Tag &', 'tag')],
1066 is_const=True)
1067 ## packet.h (module 'network'): ns3::TypeId ns3::ByteTagIterator::Item::GetTypeId() const [member function]
1068 cls.add_method('GetTypeId',
1069 'ns3::TypeId',
1070 [],
1071 is_const=True)
1072 return
1073
1074def register_Ns3ByteTagList_methods(root_module, cls):
1075 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::ByteTagList() [constructor]
1076 cls.add_constructor([])
1077 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::ByteTagList(ns3::ByteTagList const & o) [copy constructor]
1078 cls.add_constructor([param('ns3::ByteTagList const &', 'o')])
1079 ## 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]
1080 cls.add_method('Add',
1081 'ns3::TagBuffer',
1082 [param('ns3::TypeId', 'tid'), param('uint32_t', 'bufferSize'), param('int32_t', 'start'), param('int32_t', 'end')])
1083 ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::Add(ns3::ByteTagList const & o) [member function]
1084 cls.add_method('Add',
1085 'void',
1086 [param('ns3::ByteTagList const &', 'o')])
1087 ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::AddAtEnd(int32_t adjustment, int32_t appendOffset) [member function]
1088 cls.add_method('AddAtEnd',
1089 'void',
1090 [param('int32_t', 'adjustment'), param('int32_t', 'appendOffset')])
1091 ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::AddAtStart(int32_t adjustment, int32_t prependOffset) [member function]
1092 cls.add_method('AddAtStart',
1093 'void',
1094 [param('int32_t', 'adjustment'), param('int32_t', 'prependOffset')])
1095 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator ns3::ByteTagList::Begin(int32_t offsetStart, int32_t offsetEnd) const [member function]
1096 cls.add_method('Begin',
1097 'ns3::ByteTagList::Iterator',
1098 [param('int32_t', 'offsetStart'), param('int32_t', 'offsetEnd')],
1099 is_const=True)
1100 ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::RemoveAll() [member function]
1101 cls.add_method('RemoveAll',
1102 'void',
1103 [])
1104 return
1105
1106def register_Ns3ByteTagListIterator_methods(root_module, cls):
1107 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Iterator(ns3::ByteTagList::Iterator const & arg0) [copy constructor]
1108 cls.add_constructor([param('ns3::ByteTagList::Iterator const &', 'arg0')])
1109 ## byte-tag-list.h (module 'network'): uint32_t ns3::ByteTagList::Iterator::GetOffsetStart() const [member function]
1110 cls.add_method('GetOffsetStart',
1111 'uint32_t',
1112 [],
1113 is_const=True)
1114 ## byte-tag-list.h (module 'network'): bool ns3::ByteTagList::Iterator::HasNext() const [member function]
1115 cls.add_method('HasNext',
1116 'bool',
1117 [],
1118 is_const=True)
1119 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item ns3::ByteTagList::Iterator::Next() [member function]
1120 cls.add_method('Next',
1121 'ns3::ByteTagList::Iterator::Item',
1122 [])
1123 return
1124
1125def register_Ns3ByteTagListIteratorItem_methods(root_module, cls):
1126 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::Item(ns3::ByteTagList::Iterator::Item const & arg0) [copy constructor]
1127 cls.add_constructor([param('ns3::ByteTagList::Iterator::Item const &', 'arg0')])
1128 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::Item(ns3::TagBuffer buf) [constructor]
1129 cls.add_constructor([param('ns3::TagBuffer', 'buf')])
1130 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::buf [variable]
1131 cls.add_instance_attribute('buf', 'ns3::TagBuffer', is_const=False)
1132 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::end [variable]
1133 cls.add_instance_attribute('end', 'int32_t', is_const=False)
1134 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::size [variable]
1135 cls.add_instance_attribute('size', 'uint32_t', is_const=False)
1136 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::start [variable]
1137 cls.add_instance_attribute('start', 'int32_t', is_const=False)
1138 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::tid [variable]
1139 cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
1140 return
1141
1142def register_Ns3CallbackBase_methods(root_module, cls):
1143 ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase(ns3::CallbackBase const & arg0) [copy constructor]
1144 cls.add_constructor([param('ns3::CallbackBase const &', 'arg0')])
1145 ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase() [constructor]
1146 cls.add_constructor([])
1147 ## callback.h (module 'core'): ns3::Ptr<ns3::CallbackImplBase> ns3::CallbackBase::GetImpl() const [member function]
1148 cls.add_method('GetImpl',
1149 'ns3::Ptr< ns3::CallbackImplBase >',
1150 [],
1151 is_const=True)
1152 ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase(ns3::Ptr<ns3::CallbackImplBase> impl) [constructor]
1153 cls.add_constructor([param('ns3::Ptr< ns3::CallbackImplBase >', 'impl')],
1154 visibility='protected')
1155 ## callback.h (module 'core'): static std::string ns3::CallbackBase::Demangle(std::string const & mangled) [member function]
1156 cls.add_method('Demangle',
1157 'std::string',
1158 [param('std::string const &', 'mangled')],
1159 is_static=True, visibility='protected')
1160 return
1161
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001162def register_Ns3EventId_methods(root_module, cls):
1163 cls.add_binary_comparison_operator('!=')
1164 cls.add_binary_comparison_operator('==')
1165 ## event-id.h (module 'core'): ns3::EventId::EventId(ns3::EventId const & arg0) [copy constructor]
1166 cls.add_constructor([param('ns3::EventId const &', 'arg0')])
1167 ## event-id.h (module 'core'): ns3::EventId::EventId() [constructor]
1168 cls.add_constructor([])
1169 ## event-id.h (module 'core'): ns3::EventId::EventId(ns3::Ptr<ns3::EventImpl> const & impl, uint64_t ts, uint32_t context, uint32_t uid) [constructor]
1170 cls.add_constructor([param('ns3::Ptr< ns3::EventImpl > const &', 'impl'), param('uint64_t', 'ts'), param('uint32_t', 'context'), param('uint32_t', 'uid')])
1171 ## event-id.h (module 'core'): void ns3::EventId::Cancel() [member function]
1172 cls.add_method('Cancel',
1173 'void',
1174 [])
1175 ## event-id.h (module 'core'): uint32_t ns3::EventId::GetContext() const [member function]
1176 cls.add_method('GetContext',
1177 'uint32_t',
1178 [],
1179 is_const=True)
1180 ## event-id.h (module 'core'): uint64_t ns3::EventId::GetTs() const [member function]
1181 cls.add_method('GetTs',
1182 'uint64_t',
1183 [],
1184 is_const=True)
1185 ## event-id.h (module 'core'): uint32_t ns3::EventId::GetUid() const [member function]
1186 cls.add_method('GetUid',
1187 'uint32_t',
1188 [],
1189 is_const=True)
1190 ## event-id.h (module 'core'): bool ns3::EventId::IsExpired() const [member function]
1191 cls.add_method('IsExpired',
1192 'bool',
1193 [],
1194 is_const=True)
1195 ## event-id.h (module 'core'): bool ns3::EventId::IsRunning() const [member function]
1196 cls.add_method('IsRunning',
1197 'bool',
1198 [],
1199 is_const=True)
1200 ## event-id.h (module 'core'): ns3::EventImpl * ns3::EventId::PeekEventImpl() const [member function]
1201 cls.add_method('PeekEventImpl',
1202 'ns3::EventImpl *',
1203 [],
1204 is_const=True)
1205 return
1206
1207def register_Ns3Ipv4Address_methods(root_module, cls):
1208 cls.add_binary_comparison_operator('!=')
1209 cls.add_output_stream_operator()
1210 cls.add_binary_comparison_operator('==')
1211 cls.add_binary_comparison_operator('<')
1212 ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(ns3::Ipv4Address const & arg0) [copy constructor]
1213 cls.add_constructor([param('ns3::Ipv4Address const &', 'arg0')])
1214 ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address() [constructor]
1215 cls.add_constructor([])
1216 ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(uint32_t address) [constructor]
1217 cls.add_constructor([param('uint32_t', 'address')])
1218 ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(char const * address) [constructor]
1219 cls.add_constructor([param('char const *', 'address')])
1220 ## ipv4-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv4Address::CombineMask(ns3::Ipv4Mask const & mask) const [member function]
1221 cls.add_method('CombineMask',
1222 'ns3::Ipv4Address',
1223 [param('ns3::Ipv4Mask const &', 'mask')],
1224 is_const=True)
1225 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::ConvertFrom(ns3::Address const & address) [member function]
1226 cls.add_method('ConvertFrom',
1227 'ns3::Ipv4Address',
1228 [param('ns3::Address const &', 'address')],
1229 is_static=True)
1230 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::Deserialize(uint8_t const * buf) [member function]
1231 cls.add_method('Deserialize',
1232 'ns3::Ipv4Address',
1233 [param('uint8_t const *', 'buf')],
1234 is_static=True)
Alexander Afanasyev4052f952012-06-08 17:57:59 -07001235 ## ipv4-address.h (module 'network'): uint32_t ns3::Ipv4Address::Get() const [member function]
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001236 cls.add_method('Get',
Alexander Afanasyev4052f952012-06-08 17:57:59 -07001237 'uint32_t',
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001238 [],
1239 is_const=True)
1240 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetAny() [member function]
1241 cls.add_method('GetAny',
1242 'ns3::Ipv4Address',
1243 [],
1244 is_static=True)
1245 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetBroadcast() [member function]
1246 cls.add_method('GetBroadcast',
1247 'ns3::Ipv4Address',
1248 [],
1249 is_static=True)
1250 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetLoopback() [member function]
1251 cls.add_method('GetLoopback',
1252 'ns3::Ipv4Address',
1253 [],
1254 is_static=True)
1255 ## ipv4-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv4Address::GetSubnetDirectedBroadcast(ns3::Ipv4Mask const & mask) const [member function]
1256 cls.add_method('GetSubnetDirectedBroadcast',
1257 'ns3::Ipv4Address',
1258 [param('ns3::Ipv4Mask const &', 'mask')],
1259 is_const=True)
1260 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetZero() [member function]
1261 cls.add_method('GetZero',
1262 'ns3::Ipv4Address',
1263 [],
1264 is_static=True)
1265 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsBroadcast() const [member function]
1266 cls.add_method('IsBroadcast',
1267 'bool',
1268 [],
1269 is_const=True)
1270 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsEqual(ns3::Ipv4Address const & other) const [member function]
1271 cls.add_method('IsEqual',
1272 'bool',
1273 [param('ns3::Ipv4Address const &', 'other')],
1274 is_const=True)
1275 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsLocalMulticast() const [member function]
1276 cls.add_method('IsLocalMulticast',
1277 'bool',
1278 [],
1279 is_const=True)
1280 ## ipv4-address.h (module 'network'): static bool ns3::Ipv4Address::IsMatchingType(ns3::Address const & address) [member function]
1281 cls.add_method('IsMatchingType',
1282 'bool',
1283 [param('ns3::Address const &', 'address')],
1284 is_static=True)
1285 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsMulticast() const [member function]
1286 cls.add_method('IsMulticast',
1287 'bool',
1288 [],
1289 is_const=True)
1290 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsSubnetDirectedBroadcast(ns3::Ipv4Mask const & mask) const [member function]
1291 cls.add_method('IsSubnetDirectedBroadcast',
1292 'bool',
1293 [param('ns3::Ipv4Mask const &', 'mask')],
1294 is_const=True)
1295 ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Print(std::ostream & os) const [member function]
1296 cls.add_method('Print',
1297 'void',
1298 [param('std::ostream &', 'os')],
1299 is_const=True)
1300 ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Serialize(uint8_t * buf) const [member function]
1301 cls.add_method('Serialize',
1302 'void',
1303 [param('uint8_t *', 'buf')],
1304 is_const=True)
1305 ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Set(uint32_t address) [member function]
1306 cls.add_method('Set',
1307 'void',
1308 [param('uint32_t', 'address')])
1309 ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Set(char const * address) [member function]
1310 cls.add_method('Set',
1311 'void',
1312 [param('char const *', 'address')])
1313 return
1314
1315def register_Ns3Ipv4Mask_methods(root_module, cls):
1316 cls.add_binary_comparison_operator('!=')
1317 cls.add_output_stream_operator()
1318 cls.add_binary_comparison_operator('==')
1319 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask(ns3::Ipv4Mask const & arg0) [copy constructor]
1320 cls.add_constructor([param('ns3::Ipv4Mask const &', 'arg0')])
1321 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask() [constructor]
1322 cls.add_constructor([])
1323 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask(uint32_t mask) [constructor]
1324 cls.add_constructor([param('uint32_t', 'mask')])
1325 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask(char const * mask) [constructor]
1326 cls.add_constructor([param('char const *', 'mask')])
1327 ## ipv4-address.h (module 'network'): uint32_t ns3::Ipv4Mask::Get() const [member function]
1328 cls.add_method('Get',
1329 'uint32_t',
1330 [],
1331 is_const=True)
1332 ## ipv4-address.h (module 'network'): uint32_t ns3::Ipv4Mask::GetInverse() const [member function]
1333 cls.add_method('GetInverse',
1334 'uint32_t',
1335 [],
1336 is_const=True)
1337 ## ipv4-address.h (module 'network'): static ns3::Ipv4Mask ns3::Ipv4Mask::GetLoopback() [member function]
1338 cls.add_method('GetLoopback',
1339 'ns3::Ipv4Mask',
1340 [],
1341 is_static=True)
1342 ## ipv4-address.h (module 'network'): static ns3::Ipv4Mask ns3::Ipv4Mask::GetOnes() [member function]
1343 cls.add_method('GetOnes',
1344 'ns3::Ipv4Mask',
1345 [],
1346 is_static=True)
1347 ## ipv4-address.h (module 'network'): uint16_t ns3::Ipv4Mask::GetPrefixLength() const [member function]
1348 cls.add_method('GetPrefixLength',
1349 'uint16_t',
1350 [],
1351 is_const=True)
1352 ## ipv4-address.h (module 'network'): static ns3::Ipv4Mask ns3::Ipv4Mask::GetZero() [member function]
1353 cls.add_method('GetZero',
1354 'ns3::Ipv4Mask',
1355 [],
1356 is_static=True)
1357 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Mask::IsEqual(ns3::Ipv4Mask other) const [member function]
1358 cls.add_method('IsEqual',
1359 'bool',
1360 [param('ns3::Ipv4Mask', 'other')],
1361 is_const=True)
1362 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Mask::IsMatch(ns3::Ipv4Address a, ns3::Ipv4Address b) const [member function]
1363 cls.add_method('IsMatch',
1364 'bool',
1365 [param('ns3::Ipv4Address', 'a'), param('ns3::Ipv4Address', 'b')],
1366 is_const=True)
1367 ## ipv4-address.h (module 'network'): void ns3::Ipv4Mask::Print(std::ostream & os) const [member function]
1368 cls.add_method('Print',
1369 'void',
1370 [param('std::ostream &', 'os')],
1371 is_const=True)
1372 ## ipv4-address.h (module 'network'): void ns3::Ipv4Mask::Set(uint32_t mask) [member function]
1373 cls.add_method('Set',
1374 'void',
1375 [param('uint32_t', 'mask')])
1376 return
1377
1378def register_Ns3Ipv6Address_methods(root_module, cls):
1379 cls.add_binary_comparison_operator('!=')
1380 cls.add_output_stream_operator()
1381 cls.add_binary_comparison_operator('==')
1382 cls.add_binary_comparison_operator('<')
1383 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address() [constructor]
1384 cls.add_constructor([])
1385 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(char const * address) [constructor]
1386 cls.add_constructor([param('char const *', 'address')])
1387 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(uint8_t * address) [constructor]
1388 cls.add_constructor([param('uint8_t *', 'address')])
1389 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(ns3::Ipv6Address const & addr) [copy constructor]
1390 cls.add_constructor([param('ns3::Ipv6Address const &', 'addr')])
1391 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(ns3::Ipv6Address const * addr) [constructor]
1392 cls.add_constructor([param('ns3::Ipv6Address const *', 'addr')])
1393 ## ipv6-address.h (module 'network'): ns3::Ipv6Address ns3::Ipv6Address::CombinePrefix(ns3::Ipv6Prefix const & prefix) [member function]
1394 cls.add_method('CombinePrefix',
1395 'ns3::Ipv6Address',
1396 [param('ns3::Ipv6Prefix const &', 'prefix')])
1397 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::ConvertFrom(ns3::Address const & address) [member function]
1398 cls.add_method('ConvertFrom',
1399 'ns3::Ipv6Address',
1400 [param('ns3::Address const &', 'address')],
1401 is_static=True)
1402 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::Deserialize(uint8_t const * buf) [member function]
1403 cls.add_method('Deserialize',
1404 'ns3::Ipv6Address',
1405 [param('uint8_t const *', 'buf')],
1406 is_static=True)
1407 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAllHostsMulticast() [member function]
1408 cls.add_method('GetAllHostsMulticast',
1409 'ns3::Ipv6Address',
1410 [],
1411 is_static=True)
1412 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAllNodesMulticast() [member function]
1413 cls.add_method('GetAllNodesMulticast',
1414 'ns3::Ipv6Address',
1415 [],
1416 is_static=True)
1417 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAllRoutersMulticast() [member function]
1418 cls.add_method('GetAllRoutersMulticast',
1419 'ns3::Ipv6Address',
1420 [],
1421 is_static=True)
1422 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAny() [member function]
1423 cls.add_method('GetAny',
1424 'ns3::Ipv6Address',
1425 [],
1426 is_static=True)
1427 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::GetBytes(uint8_t * buf) const [member function]
1428 cls.add_method('GetBytes',
1429 'void',
1430 [param('uint8_t *', 'buf')],
1431 is_const=True)
Alexander Afanasyev6f933532012-02-29 13:30:37 -08001432 ## ipv6-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv6Address::GetIpv4MappedAddress() const [member function]
1433 cls.add_method('GetIpv4MappedAddress',
1434 'ns3::Ipv4Address',
1435 [],
1436 is_const=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001437 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetLoopback() [member function]
1438 cls.add_method('GetLoopback',
1439 'ns3::Ipv6Address',
1440 [],
1441 is_static=True)
1442 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetOnes() [member function]
1443 cls.add_method('GetOnes',
1444 'ns3::Ipv6Address',
1445 [],
1446 is_static=True)
1447 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetZero() [member function]
1448 cls.add_method('GetZero',
1449 'ns3::Ipv6Address',
1450 [],
1451 is_static=True)
1452 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAllHostsMulticast() const [member function]
1453 cls.add_method('IsAllHostsMulticast',
1454 'bool',
1455 [],
1456 is_const=True)
1457 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAllNodesMulticast() const [member function]
1458 cls.add_method('IsAllNodesMulticast',
1459 'bool',
1460 [],
1461 is_const=True)
1462 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAllRoutersMulticast() const [member function]
1463 cls.add_method('IsAllRoutersMulticast',
1464 'bool',
1465 [],
1466 is_const=True)
1467 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAny() const [member function]
1468 cls.add_method('IsAny',
1469 'bool',
1470 [],
1471 is_const=True)
1472 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsEqual(ns3::Ipv6Address const & other) const [member function]
1473 cls.add_method('IsEqual',
1474 'bool',
1475 [param('ns3::Ipv6Address const &', 'other')],
1476 is_const=True)
Alexander Afanasyev6f933532012-02-29 13:30:37 -08001477 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsIpv4MappedAddress() [member function]
1478 cls.add_method('IsIpv4MappedAddress',
1479 'bool',
1480 [])
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001481 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsLinkLocal() const [member function]
1482 cls.add_method('IsLinkLocal',
1483 'bool',
1484 [],
1485 is_const=True)
Alexander Afanasyev6f933532012-02-29 13:30:37 -08001486 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsLinkLocalMulticast() const [member function]
1487 cls.add_method('IsLinkLocalMulticast',
1488 'bool',
1489 [],
1490 is_const=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001491 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsLocalhost() const [member function]
1492 cls.add_method('IsLocalhost',
1493 'bool',
1494 [],
1495 is_const=True)
1496 ## ipv6-address.h (module 'network'): static bool ns3::Ipv6Address::IsMatchingType(ns3::Address const & address) [member function]
1497 cls.add_method('IsMatchingType',
1498 'bool',
1499 [param('ns3::Address const &', 'address')],
1500 is_static=True)
1501 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsMulticast() const [member function]
1502 cls.add_method('IsMulticast',
1503 'bool',
1504 [],
1505 is_const=True)
1506 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsSolicitedMulticast() const [member function]
1507 cls.add_method('IsSolicitedMulticast',
1508 'bool',
1509 [],
1510 is_const=True)
1511 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredAddress(ns3::Mac48Address addr, ns3::Ipv6Address prefix) [member function]
1512 cls.add_method('MakeAutoconfiguredAddress',
1513 'ns3::Ipv6Address',
1514 [param('ns3::Mac48Address', 'addr'), param('ns3::Ipv6Address', 'prefix')],
1515 is_static=True)
1516 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredLinkLocalAddress(ns3::Mac48Address mac) [member function]
1517 cls.add_method('MakeAutoconfiguredLinkLocalAddress',
1518 'ns3::Ipv6Address',
1519 [param('ns3::Mac48Address', 'mac')],
1520 is_static=True)
Alexander Afanasyev6f933532012-02-29 13:30:37 -08001521 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeIpv4MappedAddress(ns3::Ipv4Address addr) [member function]
1522 cls.add_method('MakeIpv4MappedAddress',
1523 'ns3::Ipv6Address',
1524 [param('ns3::Ipv4Address', 'addr')],
1525 is_static=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001526 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeSolicitedAddress(ns3::Ipv6Address addr) [member function]
1527 cls.add_method('MakeSolicitedAddress',
1528 'ns3::Ipv6Address',
1529 [param('ns3::Ipv6Address', 'addr')],
1530 is_static=True)
1531 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Print(std::ostream & os) const [member function]
1532 cls.add_method('Print',
1533 'void',
1534 [param('std::ostream &', 'os')],
1535 is_const=True)
1536 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Serialize(uint8_t * buf) const [member function]
1537 cls.add_method('Serialize',
1538 'void',
1539 [param('uint8_t *', 'buf')],
1540 is_const=True)
1541 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Set(char const * address) [member function]
1542 cls.add_method('Set',
1543 'void',
1544 [param('char const *', 'address')])
1545 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Set(uint8_t * address) [member function]
1546 cls.add_method('Set',
1547 'void',
1548 [param('uint8_t *', 'address')])
1549 return
1550
1551def register_Ns3Ipv6Prefix_methods(root_module, cls):
1552 cls.add_binary_comparison_operator('!=')
1553 cls.add_output_stream_operator()
1554 cls.add_binary_comparison_operator('==')
1555 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix() [constructor]
1556 cls.add_constructor([])
1557 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(uint8_t * prefix) [constructor]
1558 cls.add_constructor([param('uint8_t *', 'prefix')])
1559 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(char const * prefix) [constructor]
1560 cls.add_constructor([param('char const *', 'prefix')])
1561 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(uint8_t prefix) [constructor]
1562 cls.add_constructor([param('uint8_t', 'prefix')])
1563 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(ns3::Ipv6Prefix const & prefix) [copy constructor]
1564 cls.add_constructor([param('ns3::Ipv6Prefix const &', 'prefix')])
1565 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(ns3::Ipv6Prefix const * prefix) [constructor]
1566 cls.add_constructor([param('ns3::Ipv6Prefix const *', 'prefix')])
1567 ## ipv6-address.h (module 'network'): void ns3::Ipv6Prefix::GetBytes(uint8_t * buf) const [member function]
1568 cls.add_method('GetBytes',
1569 'void',
1570 [param('uint8_t *', 'buf')],
1571 is_const=True)
1572 ## ipv6-address.h (module 'network'): static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetLoopback() [member function]
1573 cls.add_method('GetLoopback',
1574 'ns3::Ipv6Prefix',
1575 [],
1576 is_static=True)
1577 ## ipv6-address.h (module 'network'): static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetOnes() [member function]
1578 cls.add_method('GetOnes',
1579 'ns3::Ipv6Prefix',
1580 [],
1581 is_static=True)
1582 ## ipv6-address.h (module 'network'): uint8_t ns3::Ipv6Prefix::GetPrefixLength() const [member function]
1583 cls.add_method('GetPrefixLength',
1584 'uint8_t',
1585 [],
1586 is_const=True)
1587 ## ipv6-address.h (module 'network'): static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetZero() [member function]
1588 cls.add_method('GetZero',
1589 'ns3::Ipv6Prefix',
1590 [],
1591 is_static=True)
1592 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Prefix::IsEqual(ns3::Ipv6Prefix const & other) const [member function]
1593 cls.add_method('IsEqual',
1594 'bool',
1595 [param('ns3::Ipv6Prefix const &', 'other')],
1596 is_const=True)
1597 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Prefix::IsMatch(ns3::Ipv6Address a, ns3::Ipv6Address b) const [member function]
1598 cls.add_method('IsMatch',
1599 'bool',
1600 [param('ns3::Ipv6Address', 'a'), param('ns3::Ipv6Address', 'b')],
1601 is_const=True)
1602 ## ipv6-address.h (module 'network'): void ns3::Ipv6Prefix::Print(std::ostream & os) const [member function]
1603 cls.add_method('Print',
1604 'void',
1605 [param('std::ostream &', 'os')],
1606 is_const=True)
1607 return
1608
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07001609def register_Ns3NetDeviceContainer_methods(root_module, cls):
1610 ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(ns3::NetDeviceContainer const & arg0) [copy constructor]
1611 cls.add_constructor([param('ns3::NetDeviceContainer const &', 'arg0')])
1612 ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer() [constructor]
1613 cls.add_constructor([])
1614 ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(ns3::Ptr<ns3::NetDevice> dev) [constructor]
1615 cls.add_constructor([param('ns3::Ptr< ns3::NetDevice >', 'dev')])
1616 ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(std::string devName) [constructor]
1617 cls.add_constructor([param('std::string', 'devName')])
1618 ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(ns3::NetDeviceContainer const & a, ns3::NetDeviceContainer const & b) [constructor]
1619 cls.add_constructor([param('ns3::NetDeviceContainer const &', 'a'), param('ns3::NetDeviceContainer const &', 'b')])
1620 ## net-device-container.h (module 'network'): void ns3::NetDeviceContainer::Add(ns3::NetDeviceContainer other) [member function]
1621 cls.add_method('Add',
1622 'void',
1623 [param('ns3::NetDeviceContainer', 'other')])
1624 ## net-device-container.h (module 'network'): void ns3::NetDeviceContainer::Add(ns3::Ptr<ns3::NetDevice> device) [member function]
1625 cls.add_method('Add',
1626 'void',
1627 [param('ns3::Ptr< ns3::NetDevice >', 'device')])
1628 ## net-device-container.h (module 'network'): void ns3::NetDeviceContainer::Add(std::string deviceName) [member function]
1629 cls.add_method('Add',
1630 'void',
1631 [param('std::string', 'deviceName')])
1632 ## 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]
1633 cls.add_method('Begin',
1634 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::NetDevice > const, std::vector< ns3::Ptr< ns3::NetDevice > > >',
1635 [],
1636 is_const=True)
1637 ## 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]
1638 cls.add_method('End',
1639 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::NetDevice > const, std::vector< ns3::Ptr< ns3::NetDevice > > >',
1640 [],
1641 is_const=True)
1642 ## net-device-container.h (module 'network'): ns3::Ptr<ns3::NetDevice> ns3::NetDeviceContainer::Get(uint32_t i) const [member function]
1643 cls.add_method('Get',
1644 'ns3::Ptr< ns3::NetDevice >',
1645 [param('uint32_t', 'i')],
1646 is_const=True)
1647 ## net-device-container.h (module 'network'): uint32_t ns3::NetDeviceContainer::GetN() const [member function]
1648 cls.add_method('GetN',
1649 'uint32_t',
1650 [],
1651 is_const=True)
1652 return
1653
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001654def register_Ns3NodeContainer_methods(root_module, cls):
1655 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & arg0) [copy constructor]
1656 cls.add_constructor([param('ns3::NodeContainer const &', 'arg0')])
1657 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer() [constructor]
1658 cls.add_constructor([])
1659 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::Ptr<ns3::Node> node) [constructor]
1660 cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node')])
1661 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(std::string nodeName) [constructor]
1662 cls.add_constructor([param('std::string', 'nodeName')])
1663 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b) [constructor]
1664 cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b')])
1665 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b, ns3::NodeContainer const & c) [constructor]
1666 cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b'), param('ns3::NodeContainer const &', 'c')])
1667 ## 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]
1668 cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b'), param('ns3::NodeContainer const &', 'c'), param('ns3::NodeContainer const &', 'd')])
1669 ## 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]
1670 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')])
1671 ## node-container.h (module 'network'): void ns3::NodeContainer::Add(ns3::NodeContainer other) [member function]
1672 cls.add_method('Add',
1673 'void',
1674 [param('ns3::NodeContainer', 'other')])
1675 ## node-container.h (module 'network'): void ns3::NodeContainer::Add(ns3::Ptr<ns3::Node> node) [member function]
1676 cls.add_method('Add',
1677 'void',
1678 [param('ns3::Ptr< ns3::Node >', 'node')])
1679 ## node-container.h (module 'network'): void ns3::NodeContainer::Add(std::string nodeName) [member function]
1680 cls.add_method('Add',
1681 'void',
1682 [param('std::string', 'nodeName')])
1683 ## 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]
1684 cls.add_method('Begin',
1685 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >',
1686 [],
1687 is_const=True)
1688 ## node-container.h (module 'network'): void ns3::NodeContainer::Create(uint32_t n) [member function]
1689 cls.add_method('Create',
1690 'void',
1691 [param('uint32_t', 'n')])
1692 ## node-container.h (module 'network'): void ns3::NodeContainer::Create(uint32_t n, uint32_t systemId) [member function]
1693 cls.add_method('Create',
1694 'void',
1695 [param('uint32_t', 'n'), param('uint32_t', 'systemId')])
1696 ## 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]
1697 cls.add_method('End',
1698 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >',
1699 [],
1700 is_const=True)
1701 ## node-container.h (module 'network'): ns3::Ptr<ns3::Node> ns3::NodeContainer::Get(uint32_t i) const [member function]
1702 cls.add_method('Get',
1703 'ns3::Ptr< ns3::Node >',
1704 [param('uint32_t', 'i')],
1705 is_const=True)
1706 ## node-container.h (module 'network'): static ns3::NodeContainer ns3::NodeContainer::GetGlobal() [member function]
1707 cls.add_method('GetGlobal',
1708 'ns3::NodeContainer',
1709 [],
1710 is_static=True)
1711 ## node-container.h (module 'network'): uint32_t ns3::NodeContainer::GetN() const [member function]
1712 cls.add_method('GetN',
1713 'uint32_t',
1714 [],
1715 is_const=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001716 return
1717
1718def register_Ns3ObjectBase_methods(root_module, cls):
1719 ## object-base.h (module 'core'): ns3::ObjectBase::ObjectBase() [constructor]
1720 cls.add_constructor([])
1721 ## object-base.h (module 'core'): ns3::ObjectBase::ObjectBase(ns3::ObjectBase const & arg0) [copy constructor]
1722 cls.add_constructor([param('ns3::ObjectBase const &', 'arg0')])
1723 ## object-base.h (module 'core'): void ns3::ObjectBase::GetAttribute(std::string name, ns3::AttributeValue & value) const [member function]
1724 cls.add_method('GetAttribute',
1725 'void',
1726 [param('std::string', 'name'), param('ns3::AttributeValue &', 'value')],
1727 is_const=True)
1728 ## object-base.h (module 'core'): bool ns3::ObjectBase::GetAttributeFailSafe(std::string name, ns3::AttributeValue & attribute) const [member function]
1729 cls.add_method('GetAttributeFailSafe',
1730 'bool',
1731 [param('std::string', 'name'), param('ns3::AttributeValue &', 'attribute')],
1732 is_const=True)
1733 ## object-base.h (module 'core'): ns3::TypeId ns3::ObjectBase::GetInstanceTypeId() const [member function]
1734 cls.add_method('GetInstanceTypeId',
1735 'ns3::TypeId',
1736 [],
1737 is_pure_virtual=True, is_const=True, is_virtual=True)
1738 ## object-base.h (module 'core'): static ns3::TypeId ns3::ObjectBase::GetTypeId() [member function]
1739 cls.add_method('GetTypeId',
1740 'ns3::TypeId',
1741 [],
1742 is_static=True)
1743 ## object-base.h (module 'core'): void ns3::ObjectBase::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function]
1744 cls.add_method('SetAttribute',
1745 'void',
1746 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
1747 ## object-base.h (module 'core'): bool ns3::ObjectBase::SetAttributeFailSafe(std::string name, ns3::AttributeValue const & value) [member function]
1748 cls.add_method('SetAttributeFailSafe',
1749 'bool',
1750 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
1751 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceConnect(std::string name, std::string context, ns3::CallbackBase const & cb) [member function]
1752 cls.add_method('TraceConnect',
1753 'bool',
1754 [param('std::string', 'name'), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')])
1755 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceConnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function]
1756 cls.add_method('TraceConnectWithoutContext',
1757 'bool',
1758 [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')])
1759 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceDisconnect(std::string name, std::string context, ns3::CallbackBase const & cb) [member function]
1760 cls.add_method('TraceDisconnect',
1761 'bool',
1762 [param('std::string', 'name'), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')])
1763 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceDisconnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function]
1764 cls.add_method('TraceDisconnectWithoutContext',
1765 'bool',
1766 [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')])
1767 ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function]
1768 cls.add_method('ConstructSelf',
1769 'void',
1770 [param('ns3::AttributeConstructionList const &', 'attributes')],
1771 visibility='protected')
1772 ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function]
1773 cls.add_method('NotifyConstructionCompleted',
1774 'void',
1775 [],
1776 visibility='protected', is_virtual=True)
1777 return
1778
1779def register_Ns3ObjectDeleter_methods(root_module, cls):
1780 ## object.h (module 'core'): ns3::ObjectDeleter::ObjectDeleter() [constructor]
1781 cls.add_constructor([])
1782 ## object.h (module 'core'): ns3::ObjectDeleter::ObjectDeleter(ns3::ObjectDeleter const & arg0) [copy constructor]
1783 cls.add_constructor([param('ns3::ObjectDeleter const &', 'arg0')])
1784 ## object.h (module 'core'): static void ns3::ObjectDeleter::Delete(ns3::Object * object) [member function]
1785 cls.add_method('Delete',
1786 'void',
1787 [param('ns3::Object *', 'object')],
1788 is_static=True)
1789 return
1790
1791def register_Ns3ObjectFactory_methods(root_module, cls):
1792 cls.add_output_stream_operator()
1793 ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(ns3::ObjectFactory const & arg0) [copy constructor]
1794 cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')])
1795 ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor]
1796 cls.add_constructor([])
1797 ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor]
1798 cls.add_constructor([param('std::string', 'typeId')])
1799 ## object-factory.h (module 'core'): ns3::Ptr<ns3::Object> ns3::ObjectFactory::Create() const [member function]
1800 cls.add_method('Create',
1801 'ns3::Ptr< ns3::Object >',
1802 [],
1803 is_const=True)
1804 ## object-factory.h (module 'core'): ns3::TypeId ns3::ObjectFactory::GetTypeId() const [member function]
1805 cls.add_method('GetTypeId',
1806 'ns3::TypeId',
1807 [],
1808 is_const=True)
1809 ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(std::string name, ns3::AttributeValue const & value) [member function]
1810 cls.add_method('Set',
1811 'void',
1812 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
1813 ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function]
1814 cls.add_method('SetTypeId',
1815 'void',
1816 [param('ns3::TypeId', 'tid')])
1817 ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(char const * tid) [member function]
1818 cls.add_method('SetTypeId',
1819 'void',
1820 [param('char const *', 'tid')])
1821 ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(std::string tid) [member function]
1822 cls.add_method('SetTypeId',
1823 'void',
1824 [param('std::string', 'tid')])
1825 return
1826
1827def register_Ns3PacketMetadata_methods(root_module, cls):
1828 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::PacketMetadata(uint64_t uid, uint32_t size) [constructor]
1829 cls.add_constructor([param('uint64_t', 'uid'), param('uint32_t', 'size')])
1830 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::PacketMetadata(ns3::PacketMetadata const & o) [copy constructor]
1831 cls.add_constructor([param('ns3::PacketMetadata const &', 'o')])
1832 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddAtEnd(ns3::PacketMetadata const & o) [member function]
1833 cls.add_method('AddAtEnd',
1834 'void',
1835 [param('ns3::PacketMetadata const &', 'o')])
1836 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddHeader(ns3::Header const & header, uint32_t size) [member function]
1837 cls.add_method('AddHeader',
1838 'void',
1839 [param('ns3::Header const &', 'header'), param('uint32_t', 'size')])
1840 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddPaddingAtEnd(uint32_t end) [member function]
1841 cls.add_method('AddPaddingAtEnd',
1842 'void',
1843 [param('uint32_t', 'end')])
1844 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddTrailer(ns3::Trailer const & trailer, uint32_t size) [member function]
1845 cls.add_method('AddTrailer',
1846 'void',
1847 [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')])
1848 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator ns3::PacketMetadata::BeginItem(ns3::Buffer buffer) const [member function]
1849 cls.add_method('BeginItem',
1850 'ns3::PacketMetadata::ItemIterator',
1851 [param('ns3::Buffer', 'buffer')],
1852 is_const=True)
1853 ## packet-metadata.h (module 'network'): ns3::PacketMetadata ns3::PacketMetadata::CreateFragment(uint32_t start, uint32_t end) const [member function]
1854 cls.add_method('CreateFragment',
1855 'ns3::PacketMetadata',
1856 [param('uint32_t', 'start'), param('uint32_t', 'end')],
1857 is_const=True)
1858 ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::Deserialize(uint8_t const * buffer, uint32_t size) [member function]
1859 cls.add_method('Deserialize',
1860 'uint32_t',
1861 [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
1862 ## packet-metadata.h (module 'network'): static void ns3::PacketMetadata::Enable() [member function]
1863 cls.add_method('Enable',
1864 'void',
1865 [],
1866 is_static=True)
1867 ## packet-metadata.h (module 'network'): static void ns3::PacketMetadata::EnableChecking() [member function]
1868 cls.add_method('EnableChecking',
1869 'void',
1870 [],
1871 is_static=True)
1872 ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::GetSerializedSize() const [member function]
1873 cls.add_method('GetSerializedSize',
1874 'uint32_t',
1875 [],
1876 is_const=True)
1877 ## packet-metadata.h (module 'network'): uint64_t ns3::PacketMetadata::GetUid() const [member function]
1878 cls.add_method('GetUid',
1879 'uint64_t',
1880 [],
1881 is_const=True)
1882 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveAtEnd(uint32_t end) [member function]
1883 cls.add_method('RemoveAtEnd',
1884 'void',
1885 [param('uint32_t', 'end')])
1886 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveAtStart(uint32_t start) [member function]
1887 cls.add_method('RemoveAtStart',
1888 'void',
1889 [param('uint32_t', 'start')])
1890 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveHeader(ns3::Header const & header, uint32_t size) [member function]
1891 cls.add_method('RemoveHeader',
1892 'void',
1893 [param('ns3::Header const &', 'header'), param('uint32_t', 'size')])
1894 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveTrailer(ns3::Trailer const & trailer, uint32_t size) [member function]
1895 cls.add_method('RemoveTrailer',
1896 'void',
1897 [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')])
1898 ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
1899 cls.add_method('Serialize',
1900 'uint32_t',
1901 [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')],
1902 is_const=True)
1903 return
1904
1905def register_Ns3PacketMetadataItem_methods(root_module, cls):
1906 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::Item() [constructor]
1907 cls.add_constructor([])
1908 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::Item(ns3::PacketMetadata::Item const & arg0) [copy constructor]
1909 cls.add_constructor([param('ns3::PacketMetadata::Item const &', 'arg0')])
1910 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::current [variable]
1911 cls.add_instance_attribute('current', 'ns3::Buffer::Iterator', is_const=False)
1912 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentSize [variable]
1913 cls.add_instance_attribute('currentSize', 'uint32_t', is_const=False)
1914 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentTrimedFromEnd [variable]
1915 cls.add_instance_attribute('currentTrimedFromEnd', 'uint32_t', is_const=False)
1916 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentTrimedFromStart [variable]
1917 cls.add_instance_attribute('currentTrimedFromStart', 'uint32_t', is_const=False)
1918 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::isFragment [variable]
1919 cls.add_instance_attribute('isFragment', 'bool', is_const=False)
1920 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::tid [variable]
1921 cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
1922 return
1923
1924def register_Ns3PacketMetadataItemIterator_methods(root_module, cls):
1925 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata::ItemIterator const & arg0) [copy constructor]
1926 cls.add_constructor([param('ns3::PacketMetadata::ItemIterator const &', 'arg0')])
1927 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata const * metadata, ns3::Buffer buffer) [constructor]
1928 cls.add_constructor([param('ns3::PacketMetadata const *', 'metadata'), param('ns3::Buffer', 'buffer')])
1929 ## packet-metadata.h (module 'network'): bool ns3::PacketMetadata::ItemIterator::HasNext() const [member function]
1930 cls.add_method('HasNext',
1931 'bool',
1932 [],
1933 is_const=True)
1934 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item ns3::PacketMetadata::ItemIterator::Next() [member function]
1935 cls.add_method('Next',
1936 'ns3::PacketMetadata::Item',
1937 [])
1938 return
1939
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001940def register_Ns3PacketTagIterator_methods(root_module, cls):
1941 ## packet.h (module 'network'): ns3::PacketTagIterator::PacketTagIterator(ns3::PacketTagIterator const & arg0) [copy constructor]
1942 cls.add_constructor([param('ns3::PacketTagIterator const &', 'arg0')])
1943 ## packet.h (module 'network'): bool ns3::PacketTagIterator::HasNext() const [member function]
1944 cls.add_method('HasNext',
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001945 'bool',
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001946 [],
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001947 is_const=True)
1948 ## packet.h (module 'network'): ns3::PacketTagIterator::Item ns3::PacketTagIterator::Next() [member function]
1949 cls.add_method('Next',
1950 'ns3::PacketTagIterator::Item',
1951 [])
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001952 return
1953
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001954def register_Ns3PacketTagIteratorItem_methods(root_module, cls):
1955 ## packet.h (module 'network'): ns3::PacketTagIterator::Item::Item(ns3::PacketTagIterator::Item const & arg0) [copy constructor]
1956 cls.add_constructor([param('ns3::PacketTagIterator::Item const &', 'arg0')])
1957 ## packet.h (module 'network'): void ns3::PacketTagIterator::Item::GetTag(ns3::Tag & tag) const [member function]
1958 cls.add_method('GetTag',
1959 'void',
1960 [param('ns3::Tag &', 'tag')],
1961 is_const=True)
1962 ## packet.h (module 'network'): ns3::TypeId ns3::PacketTagIterator::Item::GetTypeId() const [member function]
1963 cls.add_method('GetTypeId',
1964 'ns3::TypeId',
1965 [],
1966 is_const=True)
1967 return
1968
1969def register_Ns3PacketTagList_methods(root_module, cls):
1970 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::PacketTagList() [constructor]
1971 cls.add_constructor([])
1972 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::PacketTagList(ns3::PacketTagList const & o) [copy constructor]
1973 cls.add_constructor([param('ns3::PacketTagList const &', 'o')])
1974 ## packet-tag-list.h (module 'network'): void ns3::PacketTagList::Add(ns3::Tag const & tag) const [member function]
1975 cls.add_method('Add',
1976 'void',
1977 [param('ns3::Tag const &', 'tag')],
1978 is_const=True)
1979 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData const * ns3::PacketTagList::Head() const [member function]
1980 cls.add_method('Head',
1981 'ns3::PacketTagList::TagData const *',
1982 [],
1983 is_const=True)
1984 ## packet-tag-list.h (module 'network'): bool ns3::PacketTagList::Peek(ns3::Tag & tag) const [member function]
1985 cls.add_method('Peek',
1986 'bool',
1987 [param('ns3::Tag &', 'tag')],
1988 is_const=True)
1989 ## packet-tag-list.h (module 'network'): bool ns3::PacketTagList::Remove(ns3::Tag & tag) [member function]
1990 cls.add_method('Remove',
1991 'bool',
1992 [param('ns3::Tag &', 'tag')])
1993 ## packet-tag-list.h (module 'network'): void ns3::PacketTagList::RemoveAll() [member function]
1994 cls.add_method('RemoveAll',
1995 'void',
1996 [])
1997 return
1998
1999def register_Ns3PacketTagListTagData_methods(root_module, cls):
2000 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::TagData() [constructor]
2001 cls.add_constructor([])
2002 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::TagData(ns3::PacketTagList::TagData const & arg0) [copy constructor]
2003 cls.add_constructor([param('ns3::PacketTagList::TagData const &', 'arg0')])
2004 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::count [variable]
2005 cls.add_instance_attribute('count', 'uint32_t', is_const=False)
2006 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::data [variable]
2007 cls.add_instance_attribute('data', 'uint8_t [ 20 ]', is_const=False)
2008 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::next [variable]
2009 cls.add_instance_attribute('next', 'ns3::PacketTagList::TagData *', is_const=False)
2010 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::tid [variable]
2011 cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002012 return
2013
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002014def register_Ns3RandomVariable_methods(root_module, cls):
2015 cls.add_output_stream_operator()
2016 ## random-variable.h (module 'core'): ns3::RandomVariable::RandomVariable() [constructor]
2017 cls.add_constructor([])
2018 ## random-variable.h (module 'core'): ns3::RandomVariable::RandomVariable(ns3::RandomVariable const & o) [copy constructor]
2019 cls.add_constructor([param('ns3::RandomVariable const &', 'o')])
2020 ## random-variable.h (module 'core'): uint32_t ns3::RandomVariable::GetInteger() const [member function]
2021 cls.add_method('GetInteger',
2022 'uint32_t',
2023 [],
2024 is_const=True)
2025 ## random-variable.h (module 'core'): double ns3::RandomVariable::GetValue() const [member function]
2026 cls.add_method('GetValue',
2027 'double',
2028 [],
2029 is_const=True)
2030 return
2031
2032def register_Ns3RngSeedManager_methods(root_module, cls):
2033 ## rng-seed-manager.h (module 'core'): ns3::RngSeedManager::RngSeedManager() [constructor]
2034 cls.add_constructor([])
2035 ## rng-seed-manager.h (module 'core'): ns3::RngSeedManager::RngSeedManager(ns3::RngSeedManager const & arg0) [copy constructor]
2036 cls.add_constructor([param('ns3::RngSeedManager const &', 'arg0')])
2037 ## rng-seed-manager.h (module 'core'): static uint64_t ns3::RngSeedManager::GetNextStreamIndex() [member function]
2038 cls.add_method('GetNextStreamIndex',
2039 'uint64_t',
2040 [],
2041 is_static=True)
2042 ## rng-seed-manager.h (module 'core'): static uint64_t ns3::RngSeedManager::GetRun() [member function]
2043 cls.add_method('GetRun',
2044 'uint64_t',
2045 [],
2046 is_static=True)
2047 ## rng-seed-manager.h (module 'core'): static uint32_t ns3::RngSeedManager::GetSeed() [member function]
2048 cls.add_method('GetSeed',
2049 'uint32_t',
2050 [],
2051 is_static=True)
2052 ## rng-seed-manager.h (module 'core'): static void ns3::RngSeedManager::SetRun(uint64_t run) [member function]
2053 cls.add_method('SetRun',
2054 'void',
2055 [param('uint64_t', 'run')],
2056 is_static=True)
2057 ## rng-seed-manager.h (module 'core'): static void ns3::RngSeedManager::SetSeed(uint32_t seed) [member function]
2058 cls.add_method('SetSeed',
2059 'void',
2060 [param('uint32_t', 'seed')],
2061 is_static=True)
2062 return
2063
2064def register_Ns3SequentialVariable_methods(root_module, cls):
2065 ## random-variable.h (module 'core'): ns3::SequentialVariable::SequentialVariable(ns3::SequentialVariable const & arg0) [copy constructor]
2066 cls.add_constructor([param('ns3::SequentialVariable const &', 'arg0')])
2067 ## random-variable.h (module 'core'): ns3::SequentialVariable::SequentialVariable(double f, double l, double i=1, uint32_t c=1) [constructor]
2068 cls.add_constructor([param('double', 'f'), param('double', 'l'), param('double', 'i', default_value='1'), param('uint32_t', 'c', default_value='1')])
2069 ## random-variable.h (module 'core'): ns3::SequentialVariable::SequentialVariable(double f, double l, ns3::RandomVariable const & i, uint32_t c=1) [constructor]
2070 cls.add_constructor([param('double', 'f'), param('double', 'l'), param('ns3::RandomVariable const &', 'i'), param('uint32_t', 'c', default_value='1')])
2071 return
2072
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002073def register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, cls):
2074 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter>::SimpleRefCount() [constructor]
2075 cls.add_constructor([])
2076 ## 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]
2077 cls.add_constructor([param('ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter > const &', 'o')])
2078 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter>::Cleanup() [member function]
2079 cls.add_method('Cleanup',
2080 'void',
2081 [],
2082 is_static=True)
2083 return
2084
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002085def register_Ns3SpringMobilityHelper_methods(root_module, cls):
2086 ## spring-mobility-helper.h (module 'ndnSIM'): ns3::SpringMobilityHelper::SpringMobilityHelper() [constructor]
2087 cls.add_constructor([])
2088 ## spring-mobility-helper.h (module 'ndnSIM'): ns3::SpringMobilityHelper::SpringMobilityHelper(ns3::SpringMobilityHelper const & arg0) [copy constructor]
2089 cls.add_constructor([param('ns3::SpringMobilityHelper const &', 'arg0')])
2090 ## spring-mobility-helper.h (module 'ndnSIM'): static void ns3::SpringMobilityHelper::InstallSprings(ns3::Ptr<ns3::Node> node1, ns3::Ptr<ns3::Node> node2) [member function]
2091 cls.add_method('InstallSprings',
2092 'void',
2093 [param('ns3::Ptr< ns3::Node >', 'node1'), param('ns3::Ptr< ns3::Node >', 'node2')],
2094 is_static=True)
2095 ## spring-mobility-helper.h (module 'ndnSIM'): static void ns3::SpringMobilityHelper::InstallSprings(std::_List_const_iterator<ns3::TopologyReader::Link> first, std::_List_const_iterator<ns3::TopologyReader::Link> end) [member function]
2096 cls.add_method('InstallSprings',
2097 'void',
2098 [param('std::_List_const_iterator< ns3::TopologyReader::Link >', 'first'), param('std::_List_const_iterator< ns3::TopologyReader::Link >', 'end')],
2099 is_static=True)
2100 return
2101
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002102def register_Ns3Tag_methods(root_module, cls):
2103 ## tag.h (module 'network'): ns3::Tag::Tag() [constructor]
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002104 cls.add_constructor([])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002105 ## tag.h (module 'network'): ns3::Tag::Tag(ns3::Tag const & arg0) [copy constructor]
2106 cls.add_constructor([param('ns3::Tag const &', 'arg0')])
2107 ## tag.h (module 'network'): void ns3::Tag::Deserialize(ns3::TagBuffer i) [member function]
2108 cls.add_method('Deserialize',
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002109 'void',
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002110 [param('ns3::TagBuffer', 'i')],
2111 is_pure_virtual=True, is_virtual=True)
2112 ## tag.h (module 'network'): uint32_t ns3::Tag::GetSerializedSize() const [member function]
2113 cls.add_method('GetSerializedSize',
2114 'uint32_t',
2115 [],
2116 is_pure_virtual=True, is_const=True, is_virtual=True)
2117 ## tag.h (module 'network'): static ns3::TypeId ns3::Tag::GetTypeId() [member function]
2118 cls.add_method('GetTypeId',
2119 'ns3::TypeId',
2120 [],
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002121 is_static=True)
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002122 ## tag.h (module 'network'): void ns3::Tag::Print(std::ostream & os) const [member function]
2123 cls.add_method('Print',
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002124 'void',
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002125 [param('std::ostream &', 'os')],
2126 is_pure_virtual=True, is_const=True, is_virtual=True)
2127 ## tag.h (module 'network'): void ns3::Tag::Serialize(ns3::TagBuffer i) const [member function]
2128 cls.add_method('Serialize',
2129 'void',
2130 [param('ns3::TagBuffer', 'i')],
2131 is_pure_virtual=True, is_const=True, is_virtual=True)
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002132 return
2133
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002134def register_Ns3TagBuffer_methods(root_module, cls):
2135 ## tag-buffer.h (module 'network'): ns3::TagBuffer::TagBuffer(ns3::TagBuffer const & arg0) [copy constructor]
2136 cls.add_constructor([param('ns3::TagBuffer const &', 'arg0')])
2137 ## tag-buffer.h (module 'network'): ns3::TagBuffer::TagBuffer(uint8_t * start, uint8_t * end) [constructor]
2138 cls.add_constructor([param('uint8_t *', 'start'), param('uint8_t *', 'end')])
2139 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::CopyFrom(ns3::TagBuffer o) [member function]
2140 cls.add_method('CopyFrom',
2141 'void',
2142 [param('ns3::TagBuffer', 'o')])
2143 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::Read(uint8_t * buffer, uint32_t size) [member function]
2144 cls.add_method('Read',
2145 'void',
2146 [param('uint8_t *', 'buffer'), param('uint32_t', 'size')])
2147 ## tag-buffer.h (module 'network'): double ns3::TagBuffer::ReadDouble() [member function]
2148 cls.add_method('ReadDouble',
2149 'double',
2150 [])
2151 ## tag-buffer.h (module 'network'): uint16_t ns3::TagBuffer::ReadU16() [member function]
2152 cls.add_method('ReadU16',
2153 'uint16_t',
2154 [])
2155 ## tag-buffer.h (module 'network'): uint32_t ns3::TagBuffer::ReadU32() [member function]
2156 cls.add_method('ReadU32',
2157 'uint32_t',
2158 [])
2159 ## tag-buffer.h (module 'network'): uint64_t ns3::TagBuffer::ReadU64() [member function]
2160 cls.add_method('ReadU64',
2161 'uint64_t',
2162 [])
2163 ## tag-buffer.h (module 'network'): uint8_t ns3::TagBuffer::ReadU8() [member function]
2164 cls.add_method('ReadU8',
2165 'uint8_t',
2166 [])
2167 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::TrimAtEnd(uint32_t trim) [member function]
2168 cls.add_method('TrimAtEnd',
2169 'void',
2170 [param('uint32_t', 'trim')])
2171 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::Write(uint8_t const * buffer, uint32_t size) [member function]
2172 cls.add_method('Write',
2173 'void',
2174 [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
2175 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteDouble(double v) [member function]
2176 cls.add_method('WriteDouble',
2177 'void',
2178 [param('double', 'v')])
2179 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU16(uint16_t data) [member function]
2180 cls.add_method('WriteU16',
2181 'void',
2182 [param('uint16_t', 'data')])
2183 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU32(uint32_t data) [member function]
2184 cls.add_method('WriteU32',
2185 'void',
2186 [param('uint32_t', 'data')])
2187 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU64(uint64_t v) [member function]
2188 cls.add_method('WriteU64',
2189 'void',
2190 [param('uint64_t', 'v')])
2191 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU8(uint8_t v) [member function]
2192 cls.add_method('WriteU8',
2193 'void',
2194 [param('uint8_t', 'v')])
2195 return
2196
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002197def register_Ns3TriangularVariable_methods(root_module, cls):
2198 ## random-variable.h (module 'core'): ns3::TriangularVariable::TriangularVariable(ns3::TriangularVariable const & arg0) [copy constructor]
2199 cls.add_constructor([param('ns3::TriangularVariable const &', 'arg0')])
2200 ## random-variable.h (module 'core'): ns3::TriangularVariable::TriangularVariable() [constructor]
2201 cls.add_constructor([])
2202 ## random-variable.h (module 'core'): ns3::TriangularVariable::TriangularVariable(double s, double l, double mean) [constructor]
2203 cls.add_constructor([param('double', 's'), param('double', 'l'), param('double', 'mean')])
2204 return
2205
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002206def register_Ns3TypeId_methods(root_module, cls):
2207 cls.add_binary_comparison_operator('!=')
2208 cls.add_output_stream_operator()
2209 cls.add_binary_comparison_operator('==')
2210 cls.add_binary_comparison_operator('<')
2211 ## type-id.h (module 'core'): ns3::TypeId::TypeId(char const * name) [constructor]
2212 cls.add_constructor([param('char const *', 'name')])
2213 ## type-id.h (module 'core'): ns3::TypeId::TypeId() [constructor]
2214 cls.add_constructor([])
2215 ## type-id.h (module 'core'): ns3::TypeId::TypeId(ns3::TypeId const & o) [copy constructor]
2216 cls.add_constructor([param('ns3::TypeId const &', 'o')])
2217 ## 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]
2218 cls.add_method('AddAttribute',
2219 'ns3::TypeId',
2220 [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')])
2221 ## 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]
2222 cls.add_method('AddAttribute',
2223 'ns3::TypeId',
2224 [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')])
2225 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr<ns3::TraceSourceAccessor const> accessor) [member function]
2226 cls.add_method('AddTraceSource',
2227 'ns3::TypeId',
2228 [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')])
2229 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function]
2230 cls.add_method('GetAttribute',
2231 'ns3::TypeId::AttributeInformation',
2232 [param('uint32_t', 'i')],
2233 is_const=True)
2234 ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function]
2235 cls.add_method('GetAttributeFullName',
2236 'std::string',
2237 [param('uint32_t', 'i')],
2238 is_const=True)
2239 ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function]
2240 cls.add_method('GetAttributeN',
2241 'uint32_t',
2242 [],
2243 is_const=True)
2244 ## 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]
2245 cls.add_method('GetConstructor',
2246 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >',
2247 [],
2248 is_const=True)
2249 ## type-id.h (module 'core'): std::string ns3::TypeId::GetGroupName() const [member function]
2250 cls.add_method('GetGroupName',
2251 'std::string',
2252 [],
2253 is_const=True)
2254 ## type-id.h (module 'core'): std::string ns3::TypeId::GetName() const [member function]
2255 cls.add_method('GetName',
2256 'std::string',
2257 [],
2258 is_const=True)
2259 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::GetParent() const [member function]
2260 cls.add_method('GetParent',
2261 'ns3::TypeId',
2262 [],
2263 is_const=True)
2264 ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::GetRegistered(uint32_t i) [member function]
2265 cls.add_method('GetRegistered',
2266 'ns3::TypeId',
2267 [param('uint32_t', 'i')],
2268 is_static=True)
2269 ## type-id.h (module 'core'): static uint32_t ns3::TypeId::GetRegisteredN() [member function]
2270 cls.add_method('GetRegisteredN',
2271 'uint32_t',
2272 [],
2273 is_static=True)
2274 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function]
2275 cls.add_method('GetTraceSource',
2276 'ns3::TypeId::TraceSourceInformation',
2277 [param('uint32_t', 'i')],
2278 is_const=True)
2279 ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function]
2280 cls.add_method('GetTraceSourceN',
2281 'uint32_t',
2282 [],
2283 is_const=True)
2284 ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function]
2285 cls.add_method('GetUid',
2286 'uint16_t',
2287 [],
2288 is_const=True)
2289 ## type-id.h (module 'core'): bool ns3::TypeId::HasConstructor() const [member function]
2290 cls.add_method('HasConstructor',
2291 'bool',
2292 [],
2293 is_const=True)
2294 ## type-id.h (module 'core'): bool ns3::TypeId::HasParent() const [member function]
2295 cls.add_method('HasParent',
2296 'bool',
2297 [],
2298 is_const=True)
2299 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::HideFromDocumentation() [member function]
2300 cls.add_method('HideFromDocumentation',
2301 'ns3::TypeId',
2302 [])
2303 ## type-id.h (module 'core'): bool ns3::TypeId::IsChildOf(ns3::TypeId other) const [member function]
2304 cls.add_method('IsChildOf',
2305 'bool',
2306 [param('ns3::TypeId', 'other')],
2307 is_const=True)
2308 ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function]
2309 cls.add_method('LookupAttributeByName',
2310 'bool',
Alexander Afanasyev6f933532012-02-29 13:30:37 -08002311 [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info', transfer_ownership=False)],
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002312 is_const=True)
2313 ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function]
2314 cls.add_method('LookupByName',
2315 'ns3::TypeId',
2316 [param('std::string', 'name')],
2317 is_static=True)
2318 ## type-id.h (module 'core'): ns3::Ptr<ns3::TraceSourceAccessor const> ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function]
2319 cls.add_method('LookupTraceSourceByName',
2320 'ns3::Ptr< ns3::TraceSourceAccessor const >',
2321 [param('std::string', 'name')],
2322 is_const=True)
2323 ## type-id.h (module 'core'): bool ns3::TypeId::MustHideFromDocumentation() const [member function]
2324 cls.add_method('MustHideFromDocumentation',
2325 'bool',
2326 [],
2327 is_const=True)
2328 ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr<ns3::AttributeValue const> initialValue) [member function]
2329 cls.add_method('SetAttributeInitialValue',
2330 'bool',
2331 [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')])
2332 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function]
2333 cls.add_method('SetGroupName',
2334 'ns3::TypeId',
2335 [param('std::string', 'groupName')])
2336 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetParent(ns3::TypeId tid) [member function]
2337 cls.add_method('SetParent',
2338 'ns3::TypeId',
2339 [param('ns3::TypeId', 'tid')])
2340 ## type-id.h (module 'core'): void ns3::TypeId::SetUid(uint16_t tid) [member function]
2341 cls.add_method('SetUid',
2342 'void',
2343 [param('uint16_t', 'tid')])
2344 return
2345
2346def register_Ns3TypeIdAttributeInformation_methods(root_module, cls):
2347 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor]
2348 cls.add_constructor([])
2349 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor]
2350 cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')])
2351 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable]
2352 cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False)
2353 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable]
2354 cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False)
2355 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable]
2356 cls.add_instance_attribute('flags', 'uint32_t', is_const=False)
2357 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable]
2358 cls.add_instance_attribute('help', 'std::string', is_const=False)
2359 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable]
2360 cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False)
2361 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable]
2362 cls.add_instance_attribute('name', 'std::string', is_const=False)
2363 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable]
2364 cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False)
2365 return
2366
2367def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls):
2368 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor]
2369 cls.add_constructor([])
2370 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor]
2371 cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')])
2372 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable]
2373 cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False)
2374 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable]
2375 cls.add_instance_attribute('help', 'std::string', is_const=False)
2376 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable]
2377 cls.add_instance_attribute('name', 'std::string', is_const=False)
2378 return
2379
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002380def register_Ns3UniformVariable_methods(root_module, cls):
2381 ## random-variable.h (module 'core'): ns3::UniformVariable::UniformVariable(ns3::UniformVariable const & arg0) [copy constructor]
2382 cls.add_constructor([param('ns3::UniformVariable const &', 'arg0')])
2383 ## random-variable.h (module 'core'): ns3::UniformVariable::UniformVariable() [constructor]
2384 cls.add_constructor([])
2385 ## random-variable.h (module 'core'): ns3::UniformVariable::UniformVariable(double s, double l) [constructor]
2386 cls.add_constructor([param('double', 's'), param('double', 'l')])
2387 ## random-variable.h (module 'core'): uint32_t ns3::UniformVariable::GetInteger(uint32_t s, uint32_t l) [member function]
2388 cls.add_method('GetInteger',
2389 'uint32_t',
2390 [param('uint32_t', 's'), param('uint32_t', 'l')])
2391 ## random-variable.h (module 'core'): double ns3::UniformVariable::GetValue() const [member function]
2392 cls.add_method('GetValue',
2393 'double',
2394 [],
2395 is_const=True)
2396 ## random-variable.h (module 'core'): double ns3::UniformVariable::GetValue(double s, double l) [member function]
2397 cls.add_method('GetValue',
2398 'double',
2399 [param('double', 's'), param('double', 'l')])
2400 return
2401
2402def register_Ns3Vector2D_methods(root_module, cls):
2403 cls.add_output_stream_operator()
2404 cls.add_binary_numeric_operator('*', root_module['ns3::Vector2D'], root_module['ns3::Vector2D'], param('ns3::Vector2D const &', 'right'))
2405 cls.add_binary_numeric_operator('*', root_module['ns3::Vector2D'], root_module['ns3::Vector2D'], param('double', 'right'))
2406 cls.add_binary_numeric_operator('+', root_module['ns3::Vector2D'], root_module['ns3::Vector2D'], param('ns3::Vector2D const &', 'right'))
2407 cls.add_binary_numeric_operator('+', root_module['ns3::Vector2D'], root_module['ns3::Vector2D'], param('double', 'right'))
2408 cls.add_inplace_numeric_operator('+=', param('ns3::Vector2D const &', 'right'))
2409 cls.add_inplace_numeric_operator('+=', param('double', 'right'))
2410 cls.add_binary_numeric_operator('-', root_module['ns3::Vector2D'], root_module['ns3::Vector2D'], param('ns3::Vector2D const &', 'right'))
2411 cls.add_binary_numeric_operator('/', root_module['ns3::Vector2D'], root_module['ns3::Vector2D'], param('double', 'right'))
2412 ## vector.h (module 'core'): ns3::Vector2D::Vector2D(ns3::Vector2D const & arg0) [copy constructor]
2413 cls.add_constructor([param('ns3::Vector2D const &', 'arg0')])
2414 ## vector.h (module 'core'): ns3::Vector2D::Vector2D(double _x, double _y) [constructor]
2415 cls.add_constructor([param('double', '_x'), param('double', '_y')])
2416 ## vector.h (module 'core'): ns3::Vector2D::Vector2D() [constructor]
2417 cls.add_constructor([])
2418 ## vector.h (module 'core'): double ns3::Vector2D::GetLength() const [member function]
2419 cls.add_method('GetLength',
2420 'double',
2421 [],
2422 is_const=True)
2423 ## vector.h (module 'core'): ns3::Vector2D::x [variable]
2424 cls.add_instance_attribute('x', 'double', is_const=False)
2425 ## vector.h (module 'core'): ns3::Vector2D::y [variable]
2426 cls.add_instance_attribute('y', 'double', is_const=False)
2427 return
2428
2429def register_Ns3Vector3D_methods(root_module, cls):
2430 cls.add_output_stream_operator()
2431 cls.add_binary_numeric_operator('*', root_module['ns3::Vector3D'], root_module['ns3::Vector3D'], param('ns3::Vector3D const &', 'right'))
2432 cls.add_binary_numeric_operator('*', root_module['ns3::Vector3D'], root_module['ns3::Vector3D'], param('double', 'right'))
2433 cls.add_binary_numeric_operator('+', root_module['ns3::Vector3D'], root_module['ns3::Vector3D'], param('ns3::Vector3D const &', 'right'))
2434 cls.add_binary_numeric_operator('+', root_module['ns3::Vector3D'], root_module['ns3::Vector3D'], param('double', 'right'))
2435 cls.add_inplace_numeric_operator('+=', param('ns3::Vector3D const &', 'right'))
2436 cls.add_inplace_numeric_operator('+=', param('double', 'right'))
2437 cls.add_binary_numeric_operator('-', root_module['ns3::Vector3D'], root_module['ns3::Vector3D'], param('ns3::Vector3D const &', 'right'))
2438 cls.add_binary_numeric_operator('/', root_module['ns3::Vector3D'], root_module['ns3::Vector3D'], param('double', 'right'))
2439 ## vector.h (module 'core'): ns3::Vector3D::Vector3D(ns3::Vector3D const & arg0) [copy constructor]
2440 cls.add_constructor([param('ns3::Vector3D const &', 'arg0')])
2441 ## vector.h (module 'core'): ns3::Vector3D::Vector3D(double _x, double _y, double _z) [constructor]
2442 cls.add_constructor([param('double', '_x'), param('double', '_y'), param('double', '_z')])
2443 ## vector.h (module 'core'): ns3::Vector3D::Vector3D() [constructor]
2444 cls.add_constructor([])
2445 ## vector.h (module 'core'): double ns3::Vector3D::GetLength() const [member function]
2446 cls.add_method('GetLength',
2447 'double',
2448 [],
2449 is_const=True)
2450 ## vector.h (module 'core'): ns3::Vector3D::x [variable]
2451 cls.add_instance_attribute('x', 'double', is_const=False)
2452 ## vector.h (module 'core'): ns3::Vector3D::y [variable]
2453 cls.add_instance_attribute('y', 'double', is_const=False)
2454 ## vector.h (module 'core'): ns3::Vector3D::z [variable]
2455 cls.add_instance_attribute('z', 'double', is_const=False)
2456 return
2457
2458def register_Ns3WeibullVariable_methods(root_module, cls):
2459 ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(ns3::WeibullVariable const & arg0) [copy constructor]
2460 cls.add_constructor([param('ns3::WeibullVariable const &', 'arg0')])
2461 ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable() [constructor]
2462 cls.add_constructor([])
2463 ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(double m) [constructor]
2464 cls.add_constructor([param('double', 'm')])
2465 ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(double m, double s) [constructor]
2466 cls.add_constructor([param('double', 'm'), param('double', 's')])
2467 ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(double m, double s, double b) [constructor]
2468 cls.add_constructor([param('double', 'm'), param('double', 's'), param('double', 'b')])
2469 return
2470
2471def register_Ns3ZetaVariable_methods(root_module, cls):
2472 ## random-variable.h (module 'core'): ns3::ZetaVariable::ZetaVariable(ns3::ZetaVariable const & arg0) [copy constructor]
2473 cls.add_constructor([param('ns3::ZetaVariable const &', 'arg0')])
2474 ## random-variable.h (module 'core'): ns3::ZetaVariable::ZetaVariable(double alpha) [constructor]
2475 cls.add_constructor([param('double', 'alpha')])
2476 ## random-variable.h (module 'core'): ns3::ZetaVariable::ZetaVariable() [constructor]
2477 cls.add_constructor([])
2478 return
2479
2480def register_Ns3ZipfVariable_methods(root_module, cls):
2481 ## random-variable.h (module 'core'): ns3::ZipfVariable::ZipfVariable(ns3::ZipfVariable const & arg0) [copy constructor]
2482 cls.add_constructor([param('ns3::ZipfVariable const &', 'arg0')])
2483 ## random-variable.h (module 'core'): ns3::ZipfVariable::ZipfVariable(long int N, double alpha) [constructor]
2484 cls.add_constructor([param('long int', 'N'), param('double', 'alpha')])
2485 ## random-variable.h (module 'core'): ns3::ZipfVariable::ZipfVariable() [constructor]
2486 cls.add_constructor([])
2487 return
2488
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002489def register_Ns3Empty_methods(root_module, cls):
2490 ## empty.h (module 'core'): ns3::empty::empty() [constructor]
2491 cls.add_constructor([])
2492 ## empty.h (module 'core'): ns3::empty::empty(ns3::empty const & arg0) [copy constructor]
2493 cls.add_constructor([param('ns3::empty const &', 'arg0')])
2494 return
2495
2496def register_Ns3Int64x64_t_methods(root_module, cls):
Alexander Afanasyev1ba09b82012-07-09 09:16:14 -07002497 cls.add_binary_comparison_operator('<=')
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002498 cls.add_binary_comparison_operator('!=')
2499 cls.add_inplace_numeric_operator('*=', param('ns3::int64x64_t const &', 'right'))
2500 cls.add_inplace_numeric_operator('+=', param('ns3::int64x64_t const &', 'right'))
2501 cls.add_inplace_numeric_operator('-=', param('ns3::int64x64_t const &', 'right'))
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002502 cls.add_output_stream_operator()
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002503 cls.add_binary_comparison_operator('==')
2504 cls.add_binary_comparison_operator('>=')
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002505 cls.add_inplace_numeric_operator('/=', param('ns3::int64x64_t const &', 'right'))
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002506 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
2507 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
2508 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
2509 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
2510 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
2511 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
2512 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
2513 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
2514 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
2515 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
2516 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
2517 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
2518 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
2519 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
2520 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
2521 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
2522 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
2523 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
2524 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
2525 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
2526 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
2527 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
2528 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
2529 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
2530 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
2531 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
2532 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
2533 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
2534 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
2535 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
2536 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
2537 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
2538 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
2539 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
2540 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
2541 cls.add_unary_numeric_operator('-')
2542 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
2543 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
2544 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
2545 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
2546 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
2547 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
2548 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
2549 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
2550 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
2551 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
2552 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
2553 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
2554 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
2555 cls.add_binary_comparison_operator('<')
2556 cls.add_binary_comparison_operator('>')
2557 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t() [constructor]
2558 cls.add_constructor([])
2559 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(double v) [constructor]
2560 cls.add_constructor([param('double', 'v')])
2561 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(int v) [constructor]
2562 cls.add_constructor([param('int', 'v')])
2563 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long int v) [constructor]
2564 cls.add_constructor([param('long int', 'v')])
2565 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long long int v) [constructor]
2566 cls.add_constructor([param('long long int', 'v')])
2567 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(unsigned int v) [constructor]
2568 cls.add_constructor([param('unsigned int', 'v')])
2569 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long unsigned int v) [constructor]
2570 cls.add_constructor([param('long unsigned int', 'v')])
2571 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long long unsigned int v) [constructor]
2572 cls.add_constructor([param('long long unsigned int', 'v')])
2573 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(int64_t hi, uint64_t lo) [constructor]
2574 cls.add_constructor([param('int64_t', 'hi'), param('uint64_t', 'lo')])
2575 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(ns3::int64x64_t const & o) [copy constructor]
2576 cls.add_constructor([param('ns3::int64x64_t const &', 'o')])
2577 ## int64x64-double.h (module 'core'): double ns3::int64x64_t::GetDouble() const [member function]
2578 cls.add_method('GetDouble',
2579 'double',
2580 [],
2581 is_const=True)
2582 ## int64x64-double.h (module 'core'): int64_t ns3::int64x64_t::GetHigh() const [member function]
2583 cls.add_method('GetHigh',
2584 'int64_t',
2585 [],
2586 is_const=True)
2587 ## int64x64-double.h (module 'core'): uint64_t ns3::int64x64_t::GetLow() const [member function]
2588 cls.add_method('GetLow',
2589 'uint64_t',
2590 [],
2591 is_const=True)
2592 ## int64x64-double.h (module 'core'): static ns3::int64x64_t ns3::int64x64_t::Invert(uint64_t v) [member function]
2593 cls.add_method('Invert',
2594 'ns3::int64x64_t',
2595 [param('uint64_t', 'v')],
2596 is_static=True)
2597 ## int64x64-double.h (module 'core'): void ns3::int64x64_t::MulByInvert(ns3::int64x64_t const & o) [member function]
2598 cls.add_method('MulByInvert',
2599 'void',
2600 [param('ns3::int64x64_t const &', 'o')])
2601 return
2602
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002603def register_Ns3Chunk_methods(root_module, cls):
2604 ## chunk.h (module 'network'): ns3::Chunk::Chunk() [constructor]
2605 cls.add_constructor([])
2606 ## chunk.h (module 'network'): ns3::Chunk::Chunk(ns3::Chunk const & arg0) [copy constructor]
2607 cls.add_constructor([param('ns3::Chunk const &', 'arg0')])
2608 ## chunk.h (module 'network'): uint32_t ns3::Chunk::Deserialize(ns3::Buffer::Iterator start) [member function]
2609 cls.add_method('Deserialize',
2610 'uint32_t',
2611 [param('ns3::Buffer::Iterator', 'start')],
2612 is_pure_virtual=True, is_virtual=True)
2613 ## chunk.h (module 'network'): static ns3::TypeId ns3::Chunk::GetTypeId() [member function]
2614 cls.add_method('GetTypeId',
2615 'ns3::TypeId',
2616 [],
2617 is_static=True)
2618 ## chunk.h (module 'network'): void ns3::Chunk::Print(std::ostream & os) const [member function]
2619 cls.add_method('Print',
2620 'void',
2621 [param('std::ostream &', 'os')],
2622 is_pure_virtual=True, is_const=True, is_virtual=True)
2623 return
2624
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002625def register_Ns3ConstantVariable_methods(root_module, cls):
2626 ## random-variable.h (module 'core'): ns3::ConstantVariable::ConstantVariable(ns3::ConstantVariable const & arg0) [copy constructor]
2627 cls.add_constructor([param('ns3::ConstantVariable const &', 'arg0')])
2628 ## random-variable.h (module 'core'): ns3::ConstantVariable::ConstantVariable() [constructor]
2629 cls.add_constructor([])
2630 ## random-variable.h (module 'core'): ns3::ConstantVariable::ConstantVariable(double c) [constructor]
2631 cls.add_constructor([param('double', 'c')])
2632 ## random-variable.h (module 'core'): void ns3::ConstantVariable::SetConstant(double c) [member function]
2633 cls.add_method('SetConstant',
2634 'void',
2635 [param('double', 'c')])
2636 return
2637
2638def register_Ns3DeterministicVariable_methods(root_module, cls):
2639 ## random-variable.h (module 'core'): ns3::DeterministicVariable::DeterministicVariable(ns3::DeterministicVariable const & arg0) [copy constructor]
2640 cls.add_constructor([param('ns3::DeterministicVariable const &', 'arg0')])
2641 ## random-variable.h (module 'core'): ns3::DeterministicVariable::DeterministicVariable(double * d, uint32_t c) [constructor]
2642 cls.add_constructor([param('double *', 'd'), param('uint32_t', 'c')])
2643 return
2644
2645def register_Ns3EmpiricalVariable_methods(root_module, cls):
2646 ## random-variable.h (module 'core'): ns3::EmpiricalVariable::EmpiricalVariable(ns3::EmpiricalVariable const & arg0) [copy constructor]
2647 cls.add_constructor([param('ns3::EmpiricalVariable const &', 'arg0')])
2648 ## random-variable.h (module 'core'): ns3::EmpiricalVariable::EmpiricalVariable() [constructor]
2649 cls.add_constructor([])
2650 ## random-variable.h (module 'core'): void ns3::EmpiricalVariable::CDF(double v, double c) [member function]
2651 cls.add_method('CDF',
2652 'void',
2653 [param('double', 'v'), param('double', 'c')])
2654 return
2655
2656def register_Ns3ErlangVariable_methods(root_module, cls):
2657 ## random-variable.h (module 'core'): ns3::ErlangVariable::ErlangVariable(ns3::ErlangVariable const & arg0) [copy constructor]
2658 cls.add_constructor([param('ns3::ErlangVariable const &', 'arg0')])
2659 ## random-variable.h (module 'core'): ns3::ErlangVariable::ErlangVariable() [constructor]
2660 cls.add_constructor([])
2661 ## random-variable.h (module 'core'): ns3::ErlangVariable::ErlangVariable(unsigned int k, double lambda) [constructor]
2662 cls.add_constructor([param('unsigned int', 'k'), param('double', 'lambda')])
2663 ## random-variable.h (module 'core'): double ns3::ErlangVariable::GetValue() const [member function]
2664 cls.add_method('GetValue',
2665 'double',
2666 [],
2667 is_const=True)
2668 ## random-variable.h (module 'core'): double ns3::ErlangVariable::GetValue(unsigned int k, double lambda) const [member function]
2669 cls.add_method('GetValue',
2670 'double',
2671 [param('unsigned int', 'k'), param('double', 'lambda')],
2672 is_const=True)
2673 return
2674
2675def register_Ns3ExponentialVariable_methods(root_module, cls):
2676 ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable(ns3::ExponentialVariable const & arg0) [copy constructor]
2677 cls.add_constructor([param('ns3::ExponentialVariable const &', 'arg0')])
2678 ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable() [constructor]
2679 cls.add_constructor([])
2680 ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable(double m) [constructor]
2681 cls.add_constructor([param('double', 'm')])
2682 ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable(double m, double b) [constructor]
2683 cls.add_constructor([param('double', 'm'), param('double', 'b')])
2684 return
2685
2686def register_Ns3GammaVariable_methods(root_module, cls):
2687 ## random-variable.h (module 'core'): ns3::GammaVariable::GammaVariable(ns3::GammaVariable const & arg0) [copy constructor]
2688 cls.add_constructor([param('ns3::GammaVariable const &', 'arg0')])
2689 ## random-variable.h (module 'core'): ns3::GammaVariable::GammaVariable() [constructor]
2690 cls.add_constructor([])
2691 ## random-variable.h (module 'core'): ns3::GammaVariable::GammaVariable(double alpha, double beta) [constructor]
2692 cls.add_constructor([param('double', 'alpha'), param('double', 'beta')])
2693 ## random-variable.h (module 'core'): double ns3::GammaVariable::GetValue() const [member function]
2694 cls.add_method('GetValue',
2695 'double',
2696 [],
2697 is_const=True)
2698 ## random-variable.h (module 'core'): double ns3::GammaVariable::GetValue(double alpha, double beta) const [member function]
2699 cls.add_method('GetValue',
2700 'double',
2701 [param('double', 'alpha'), param('double', 'beta')],
2702 is_const=True)
2703 return
2704
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002705def register_Ns3Header_methods(root_module, cls):
2706 cls.add_output_stream_operator()
2707 ## header.h (module 'network'): ns3::Header::Header() [constructor]
2708 cls.add_constructor([])
2709 ## header.h (module 'network'): ns3::Header::Header(ns3::Header const & arg0) [copy constructor]
2710 cls.add_constructor([param('ns3::Header const &', 'arg0')])
2711 ## header.h (module 'network'): uint32_t ns3::Header::Deserialize(ns3::Buffer::Iterator start) [member function]
2712 cls.add_method('Deserialize',
2713 'uint32_t',
2714 [param('ns3::Buffer::Iterator', 'start')],
2715 is_pure_virtual=True, is_virtual=True)
2716 ## header.h (module 'network'): uint32_t ns3::Header::GetSerializedSize() const [member function]
2717 cls.add_method('GetSerializedSize',
2718 'uint32_t',
2719 [],
2720 is_pure_virtual=True, is_const=True, is_virtual=True)
2721 ## header.h (module 'network'): static ns3::TypeId ns3::Header::GetTypeId() [member function]
2722 cls.add_method('GetTypeId',
2723 'ns3::TypeId',
2724 [],
2725 is_static=True)
2726 ## header.h (module 'network'): void ns3::Header::Print(std::ostream & os) const [member function]
2727 cls.add_method('Print',
2728 'void',
2729 [param('std::ostream &', 'os')],
2730 is_pure_virtual=True, is_const=True, is_virtual=True)
2731 ## header.h (module 'network'): void ns3::Header::Serialize(ns3::Buffer::Iterator start) const [member function]
2732 cls.add_method('Serialize',
2733 'void',
2734 [param('ns3::Buffer::Iterator', 'start')],
2735 is_pure_virtual=True, is_const=True, is_virtual=True)
2736 return
2737
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002738def register_Ns3IntEmpiricalVariable_methods(root_module, cls):
2739 ## random-variable.h (module 'core'): ns3::IntEmpiricalVariable::IntEmpiricalVariable(ns3::IntEmpiricalVariable const & arg0) [copy constructor]
2740 cls.add_constructor([param('ns3::IntEmpiricalVariable const &', 'arg0')])
2741 ## random-variable.h (module 'core'): ns3::IntEmpiricalVariable::IntEmpiricalVariable() [constructor]
2742 cls.add_constructor([])
2743 return
2744
2745def register_Ns3LogNormalVariable_methods(root_module, cls):
2746 ## random-variable.h (module 'core'): ns3::LogNormalVariable::LogNormalVariable(ns3::LogNormalVariable const & arg0) [copy constructor]
2747 cls.add_constructor([param('ns3::LogNormalVariable const &', 'arg0')])
2748 ## random-variable.h (module 'core'): ns3::LogNormalVariable::LogNormalVariable(double mu, double sigma) [constructor]
2749 cls.add_constructor([param('double', 'mu'), param('double', 'sigma')])
2750 return
2751
2752def register_Ns3NormalVariable_methods(root_module, cls):
2753 ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable(ns3::NormalVariable const & arg0) [copy constructor]
2754 cls.add_constructor([param('ns3::NormalVariable const &', 'arg0')])
2755 ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable() [constructor]
2756 cls.add_constructor([])
2757 ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable(double m, double v) [constructor]
2758 cls.add_constructor([param('double', 'm'), param('double', 'v')])
2759 ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable(double m, double v, double b) [constructor]
2760 cls.add_constructor([param('double', 'm'), param('double', 'v'), param('double', 'b')])
2761 return
2762
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002763def register_Ns3Object_methods(root_module, cls):
2764 ## object.h (module 'core'): ns3::Object::Object() [constructor]
2765 cls.add_constructor([])
2766 ## object.h (module 'core'): void ns3::Object::AggregateObject(ns3::Ptr<ns3::Object> other) [member function]
2767 cls.add_method('AggregateObject',
2768 'void',
2769 [param('ns3::Ptr< ns3::Object >', 'other')])
2770 ## object.h (module 'core'): void ns3::Object::Dispose() [member function]
2771 cls.add_method('Dispose',
2772 'void',
2773 [])
2774 ## object.h (module 'core'): ns3::Object::AggregateIterator ns3::Object::GetAggregateIterator() const [member function]
2775 cls.add_method('GetAggregateIterator',
2776 'ns3::Object::AggregateIterator',
2777 [],
2778 is_const=True)
2779 ## object.h (module 'core'): ns3::TypeId ns3::Object::GetInstanceTypeId() const [member function]
2780 cls.add_method('GetInstanceTypeId',
2781 'ns3::TypeId',
2782 [],
2783 is_const=True, is_virtual=True)
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002784 ## object.h (module 'core'): ns3::Ptr<ns3::MobilityModel> ns3::Object::GetObject() const [member function]
2785 cls.add_method('GetObject',
2786 'ns3::Ptr< ns3::MobilityModel >',
2787 [],
2788 is_const=True, template_parameters=['ns3::MobilityModel'])
2789 ## object.h (module 'core'): ns3::Ptr<ns3::ndn::ContentStore> ns3::Object::GetObject() const [member function]
2790 cls.add_method('GetObject',
2791 'ns3::Ptr< ns3::ndn::ContentStore >',
2792 [],
2793 is_const=True, template_parameters=['ns3::ndn::ContentStore'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07002794 ## object.h (module 'core'): ns3::Ptr<ns3::ndn::Fib> ns3::Object::GetObject() const [member function]
Alexander Afanasyev1c0248b2012-07-24 15:59:50 -07002795 cls.add_method('GetObject',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07002796 'ns3::Ptr< ns3::ndn::Fib >',
Alexander Afanasyev1c0248b2012-07-24 15:59:50 -07002797 [],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07002798 is_const=True, template_parameters=['ns3::ndn::Fib'])
2799 ## object.h (module 'core'): ns3::Ptr<ns3::ndn::Pit> ns3::Object::GetObject() const [member function]
Alexander Afanasyev5feb38b2012-08-09 11:01:43 -07002800 cls.add_method('GetObject',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07002801 'ns3::Ptr< ns3::ndn::Pit >',
Alexander Afanasyev5feb38b2012-08-09 11:01:43 -07002802 [],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07002803 is_const=True, template_parameters=['ns3::ndn::Pit'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002804 ## object.h (module 'core'): static ns3::TypeId ns3::Object::GetTypeId() [member function]
2805 cls.add_method('GetTypeId',
2806 'ns3::TypeId',
2807 [],
2808 is_static=True)
2809 ## object.h (module 'core'): void ns3::Object::Start() [member function]
2810 cls.add_method('Start',
2811 'void',
2812 [])
2813 ## object.h (module 'core'): ns3::Object::Object(ns3::Object const & o) [copy constructor]
2814 cls.add_constructor([param('ns3::Object const &', 'o')],
2815 visibility='protected')
2816 ## object.h (module 'core'): void ns3::Object::DoDispose() [member function]
2817 cls.add_method('DoDispose',
2818 'void',
2819 [],
2820 visibility='protected', is_virtual=True)
2821 ## object.h (module 'core'): void ns3::Object::DoStart() [member function]
2822 cls.add_method('DoStart',
2823 'void',
2824 [],
2825 visibility='protected', is_virtual=True)
2826 ## object.h (module 'core'): void ns3::Object::NotifyNewAggregate() [member function]
2827 cls.add_method('NotifyNewAggregate',
2828 'void',
2829 [],
2830 visibility='protected', is_virtual=True)
2831 return
2832
2833def register_Ns3ObjectAggregateIterator_methods(root_module, cls):
2834 ## object.h (module 'core'): ns3::Object::AggregateIterator::AggregateIterator(ns3::Object::AggregateIterator const & arg0) [copy constructor]
2835 cls.add_constructor([param('ns3::Object::AggregateIterator const &', 'arg0')])
2836 ## object.h (module 'core'): ns3::Object::AggregateIterator::AggregateIterator() [constructor]
2837 cls.add_constructor([])
2838 ## object.h (module 'core'): bool ns3::Object::AggregateIterator::HasNext() const [member function]
2839 cls.add_method('HasNext',
2840 'bool',
2841 [],
2842 is_const=True)
2843 ## object.h (module 'core'): ns3::Ptr<ns3::Object const> ns3::Object::AggregateIterator::Next() [member function]
2844 cls.add_method('Next',
2845 'ns3::Ptr< ns3::Object const >',
2846 [])
2847 return
2848
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002849def register_Ns3ParetoVariable_methods(root_module, cls):
2850 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(ns3::ParetoVariable const & arg0) [copy constructor]
2851 cls.add_constructor([param('ns3::ParetoVariable const &', 'arg0')])
2852 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable() [constructor]
2853 cls.add_constructor([])
2854 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(double m) [constructor]
2855 cls.add_constructor([param('double', 'm')])
2856 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(double m, double s) [constructor]
2857 cls.add_constructor([param('double', 'm'), param('double', 's')])
2858 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(double m, double s, double b) [constructor]
2859 cls.add_constructor([param('double', 'm'), param('double', 's'), param('double', 'b')])
2860 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(std::pair<double,double> params) [constructor]
2861 cls.add_constructor([param('std::pair< double, double >', 'params')])
2862 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(std::pair<double,double> params, double b) [constructor]
2863 cls.add_constructor([param('std::pair< double, double >', 'params'), param('double', 'b')])
2864 return
2865
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002866def register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, cls):
2867 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >::SimpleRefCount() [constructor]
2868 cls.add_constructor([])
2869 ## 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]
2870 cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter< ns3::AttributeAccessor > > const &', 'o')])
2871 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >::Cleanup() [member function]
2872 cls.add_method('Cleanup',
2873 'void',
2874 [],
2875 is_static=True)
2876 return
2877
2878def register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeChecker__gt___methods(root_module, cls):
2879 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >::SimpleRefCount() [constructor]
2880 cls.add_constructor([])
2881 ## 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]
2882 cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter< ns3::AttributeChecker > > const &', 'o')])
2883 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >::Cleanup() [member function]
2884 cls.add_method('Cleanup',
2885 'void',
2886 [],
2887 is_static=True)
2888 return
2889
2890def register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, cls):
2891 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >::SimpleRefCount() [constructor]
2892 cls.add_constructor([])
2893 ## 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]
2894 cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter< ns3::AttributeValue > > const &', 'o')])
2895 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >::Cleanup() [member function]
2896 cls.add_method('Cleanup',
2897 'void',
2898 [],
2899 is_static=True)
2900 return
2901
2902def register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, cls):
2903 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >::SimpleRefCount() [constructor]
2904 cls.add_constructor([])
2905 ## 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]
2906 cls.add_constructor([param('ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter< ns3::CallbackImplBase > > const &', 'o')])
2907 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >::Cleanup() [member function]
2908 cls.add_method('Cleanup',
2909 'void',
2910 [],
2911 is_static=True)
2912 return
2913
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002914def register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, cls):
2915 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >::SimpleRefCount() [constructor]
2916 cls.add_constructor([])
2917 ## 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]
2918 cls.add_constructor([param('ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter< ns3::EventImpl > > const &', 'o')])
2919 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >::Cleanup() [member function]
2920 cls.add_method('Cleanup',
2921 'void',
2922 [],
2923 is_static=True)
2924 return
2925
2926def register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, cls):
2927 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >::SimpleRefCount() [constructor]
2928 cls.add_constructor([])
2929 ## 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]
2930 cls.add_constructor([param('ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter< ns3::NixVector > > const &', 'o')])
2931 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >::Cleanup() [member function]
2932 cls.add_method('Cleanup',
2933 'void',
2934 [],
2935 is_static=True)
2936 return
2937
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002938def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, cls):
2939 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >::SimpleRefCount() [constructor]
2940 cls.add_constructor([])
2941 ## 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]
2942 cls.add_constructor([param('ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter< ns3::Packet > > const &', 'o')])
2943 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >::Cleanup() [member function]
2944 cls.add_method('Cleanup',
2945 'void',
2946 [],
2947 is_static=True)
2948 return
2949
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002950def register_Ns3SimpleRefCount__Ns3TopologyReader_Ns3Empty_Ns3DefaultDeleter__lt__ns3TopologyReader__gt___methods(root_module, cls):
2951 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter<ns3::TopologyReader> >::SimpleRefCount() [constructor]
2952 cls.add_constructor([])
2953 ## 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]
2954 cls.add_constructor([param('ns3::SimpleRefCount< ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter< ns3::TopologyReader > > const &', 'o')])
2955 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter<ns3::TopologyReader> >::Cleanup() [member function]
2956 cls.add_method('Cleanup',
2957 'void',
2958 [],
2959 is_static=True)
2960 return
2961
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002962def register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, cls):
2963 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >::SimpleRefCount() [constructor]
2964 cls.add_constructor([])
2965 ## 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]
2966 cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > const &', 'o')])
2967 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >::Cleanup() [member function]
2968 cls.add_method('Cleanup',
2969 'void',
2970 [],
2971 is_static=True)
2972 return
2973
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07002974def register_Ns3SimpleRefCount__Ns3NdnContentObjectHeader_Ns3Header_Ns3DefaultDeleter__lt__ns3NdnContentObjectHeader__gt___methods(root_module, cls):
2975 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::ContentObjectHeader, ns3::Header, ns3::DefaultDeleter<ns3::ndn::ContentObjectHeader> >::SimpleRefCount() [constructor]
2976 cls.add_constructor([])
2977 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::ContentObjectHeader, ns3::Header, ns3::DefaultDeleter<ns3::ndn::ContentObjectHeader> >::SimpleRefCount(ns3::SimpleRefCount<ns3::ndn::ContentObjectHeader, ns3::Header, ns3::DefaultDeleter<ns3::ndn::ContentObjectHeader> > const & o) [copy constructor]
2978 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::ContentObjectHeader, ns3::Header, ns3::DefaultDeleter< ns3::ndn::ContentObjectHeader > > const &', 'o')])
2979 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::ndn::ContentObjectHeader, ns3::Header, ns3::DefaultDeleter<ns3::ndn::ContentObjectHeader> >::Cleanup() [member function]
2980 cls.add_method('Cleanup',
2981 'void',
2982 [],
2983 is_static=True)
2984 return
2985
2986def register_Ns3SimpleRefCount__Ns3NdnFaceContainer_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnFaceContainer__gt___methods(root_module, cls):
2987 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::FaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::ndn::FaceContainer> >::SimpleRefCount() [constructor]
2988 cls.add_constructor([])
2989 ## 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]
2990 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::FaceContainer, ns3::empty, ns3::DefaultDeleter< ns3::ndn::FaceContainer > > const &', 'o')])
2991 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::ndn::FaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::ndn::FaceContainer> >::Cleanup() [member function]
2992 cls.add_method('Cleanup',
2993 'void',
2994 [],
2995 is_static=True)
2996 return
2997
2998def register_Ns3SimpleRefCount__Ns3NdnInterestHeader_Ns3Header_Ns3DefaultDeleter__lt__ns3NdnInterestHeader__gt___methods(root_module, cls):
2999 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::InterestHeader, ns3::Header, ns3::DefaultDeleter<ns3::ndn::InterestHeader> >::SimpleRefCount() [constructor]
3000 cls.add_constructor([])
3001 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::InterestHeader, ns3::Header, ns3::DefaultDeleter<ns3::ndn::InterestHeader> >::SimpleRefCount(ns3::SimpleRefCount<ns3::ndn::InterestHeader, ns3::Header, ns3::DefaultDeleter<ns3::ndn::InterestHeader> > const & o) [copy constructor]
3002 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::InterestHeader, ns3::Header, ns3::DefaultDeleter< ns3::ndn::InterestHeader > > const &', 'o')])
3003 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::ndn::InterestHeader, ns3::Header, ns3::DefaultDeleter<ns3::ndn::InterestHeader> >::Cleanup() [member function]
3004 cls.add_method('Cleanup',
3005 'void',
3006 [],
3007 is_static=True)
3008 return
3009
3010def register_Ns3SimpleRefCount__Ns3NdnNameComponents_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnNameComponents__gt___methods(root_module, cls):
3011 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::NameComponents, ns3::empty, ns3::DefaultDeleter<ns3::ndn::NameComponents> >::SimpleRefCount() [constructor]
3012 cls.add_constructor([])
3013 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::NameComponents, ns3::empty, ns3::DefaultDeleter<ns3::ndn::NameComponents> >::SimpleRefCount(ns3::SimpleRefCount<ns3::ndn::NameComponents, ns3::empty, ns3::DefaultDeleter<ns3::ndn::NameComponents> > const & o) [copy constructor]
3014 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::NameComponents, ns3::empty, ns3::DefaultDeleter< ns3::ndn::NameComponents > > const &', 'o')])
3015 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::ndn::NameComponents, ns3::empty, ns3::DefaultDeleter<ns3::ndn::NameComponents> >::Cleanup() [member function]
3016 cls.add_method('Cleanup',
3017 'void',
3018 [],
3019 is_static=True)
3020 return
3021
3022def register_Ns3SimpleRefCount__Ns3NdnCsEntry_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnCsEntry__gt___methods(root_module, cls):
3023 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::cs::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::cs::Entry> >::SimpleRefCount() [constructor]
3024 cls.add_constructor([])
3025 ## 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]
3026 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::cs::Entry, ns3::empty, ns3::DefaultDeleter< ns3::ndn::cs::Entry > > const &', 'o')])
3027 ## 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]
3028 cls.add_method('Cleanup',
3029 'void',
3030 [],
3031 is_static=True)
3032 return
3033
3034def register_Ns3SimpleRefCount__Ns3NdnFibEntry_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnFibEntry__gt___methods(root_module, cls):
3035 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::fib::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::fib::Entry> >::SimpleRefCount() [constructor]
3036 cls.add_constructor([])
3037 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::fib::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::fib::Entry> >::SimpleRefCount(ns3::SimpleRefCount<ns3::ndn::fib::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::fib::Entry> > const & o) [copy constructor]
3038 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::fib::Entry, ns3::empty, ns3::DefaultDeleter< ns3::ndn::fib::Entry > > const &', 'o')])
3039 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::ndn::fib::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::fib::Entry> >::Cleanup() [member function]
3040 cls.add_method('Cleanup',
3041 'void',
3042 [],
3043 is_static=True)
3044 return
3045
3046def register_Ns3SimpleRefCount__Ns3NdnPitEntry_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnPitEntry__gt___methods(root_module, cls):
3047 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::pit::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::pit::Entry> >::SimpleRefCount() [constructor]
3048 cls.add_constructor([])
3049 ## 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]
3050 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::pit::Entry, ns3::empty, ns3::DefaultDeleter< ns3::ndn::pit::Entry > > const &', 'o')])
3051 ## 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]
3052 cls.add_method('Cleanup',
3053 'void',
3054 [],
3055 is_static=True)
3056 return
3057
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003058def register_Ns3Time_methods(root_module, cls):
Alexander Afanasyev1ba09b82012-07-09 09:16:14 -07003059 cls.add_binary_comparison_operator('<=')
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003060 cls.add_binary_comparison_operator('!=')
3061 cls.add_inplace_numeric_operator('+=', param('ns3::Time const &', 'right'))
3062 cls.add_inplace_numeric_operator('-=', param('ns3::Time const &', 'right'))
3063 cls.add_output_stream_operator()
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003064 cls.add_binary_comparison_operator('==')
3065 cls.add_binary_comparison_operator('>=')
3066 cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right'))
3067 cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right'))
3068 cls.add_binary_comparison_operator('<')
3069 cls.add_binary_comparison_operator('>')
3070 ## nstime.h (module 'core'): ns3::Time::Time() [constructor]
3071 cls.add_constructor([])
3072 ## nstime.h (module 'core'): ns3::Time::Time(ns3::Time const & o) [copy constructor]
3073 cls.add_constructor([param('ns3::Time const &', 'o')])
3074 ## nstime.h (module 'core'): ns3::Time::Time(double v) [constructor]
3075 cls.add_constructor([param('double', 'v')])
3076 ## nstime.h (module 'core'): ns3::Time::Time(int v) [constructor]
3077 cls.add_constructor([param('int', 'v')])
3078 ## nstime.h (module 'core'): ns3::Time::Time(long int v) [constructor]
3079 cls.add_constructor([param('long int', 'v')])
3080 ## nstime.h (module 'core'): ns3::Time::Time(long long int v) [constructor]
3081 cls.add_constructor([param('long long int', 'v')])
3082 ## nstime.h (module 'core'): ns3::Time::Time(unsigned int v) [constructor]
3083 cls.add_constructor([param('unsigned int', 'v')])
3084 ## nstime.h (module 'core'): ns3::Time::Time(long unsigned int v) [constructor]
3085 cls.add_constructor([param('long unsigned int', 'v')])
3086 ## nstime.h (module 'core'): ns3::Time::Time(long long unsigned int v) [constructor]
3087 cls.add_constructor([param('long long unsigned int', 'v')])
3088 ## nstime.h (module 'core'): ns3::Time::Time(std::string const & s) [constructor]
3089 cls.add_constructor([param('std::string const &', 's')])
3090 ## nstime.h (module 'core'): ns3::Time::Time(ns3::int64x64_t const & value) [constructor]
3091 cls.add_constructor([param('ns3::int64x64_t const &', 'value')])
3092 ## nstime.h (module 'core'): int ns3::Time::Compare(ns3::Time const & o) const [member function]
3093 cls.add_method('Compare',
3094 'int',
3095 [param('ns3::Time const &', 'o')],
3096 is_const=True)
3097 ## nstime.h (module 'core'): static ns3::Time ns3::Time::From(ns3::int64x64_t const & from, ns3::Time::Unit timeUnit) [member function]
3098 cls.add_method('From',
3099 'ns3::Time',
3100 [param('ns3::int64x64_t const &', 'from'), param('ns3::Time::Unit', 'timeUnit')],
3101 is_static=True)
3102 ## nstime.h (module 'core'): static ns3::Time ns3::Time::From(ns3::int64x64_t const & value) [member function]
3103 cls.add_method('From',
3104 'ns3::Time',
3105 [param('ns3::int64x64_t const &', 'value')],
3106 is_static=True)
3107 ## nstime.h (module 'core'): static ns3::Time ns3::Time::FromDouble(double value, ns3::Time::Unit timeUnit) [member function]
3108 cls.add_method('FromDouble',
3109 'ns3::Time',
3110 [param('double', 'value'), param('ns3::Time::Unit', 'timeUnit')],
3111 is_static=True)
3112 ## nstime.h (module 'core'): static ns3::Time ns3::Time::FromInteger(uint64_t value, ns3::Time::Unit timeUnit) [member function]
3113 cls.add_method('FromInteger',
3114 'ns3::Time',
3115 [param('uint64_t', 'value'), param('ns3::Time::Unit', 'timeUnit')],
3116 is_static=True)
3117 ## nstime.h (module 'core'): double ns3::Time::GetDouble() const [member function]
3118 cls.add_method('GetDouble',
3119 'double',
3120 [],
3121 is_const=True)
3122 ## nstime.h (module 'core'): int64_t ns3::Time::GetFemtoSeconds() const [member function]
3123 cls.add_method('GetFemtoSeconds',
3124 'int64_t',
3125 [],
3126 is_const=True)
3127 ## nstime.h (module 'core'): int64_t ns3::Time::GetInteger() const [member function]
3128 cls.add_method('GetInteger',
3129 'int64_t',
3130 [],
3131 is_const=True)
3132 ## nstime.h (module 'core'): int64_t ns3::Time::GetMicroSeconds() const [member function]
3133 cls.add_method('GetMicroSeconds',
3134 'int64_t',
3135 [],
3136 is_const=True)
3137 ## nstime.h (module 'core'): int64_t ns3::Time::GetMilliSeconds() const [member function]
3138 cls.add_method('GetMilliSeconds',
3139 'int64_t',
3140 [],
3141 is_const=True)
3142 ## nstime.h (module 'core'): int64_t ns3::Time::GetNanoSeconds() const [member function]
3143 cls.add_method('GetNanoSeconds',
3144 'int64_t',
3145 [],
3146 is_const=True)
3147 ## nstime.h (module 'core'): int64_t ns3::Time::GetPicoSeconds() const [member function]
3148 cls.add_method('GetPicoSeconds',
3149 'int64_t',
3150 [],
3151 is_const=True)
3152 ## nstime.h (module 'core'): static ns3::Time::Unit ns3::Time::GetResolution() [member function]
3153 cls.add_method('GetResolution',
3154 'ns3::Time::Unit',
3155 [],
3156 is_static=True)
3157 ## nstime.h (module 'core'): double ns3::Time::GetSeconds() const [member function]
3158 cls.add_method('GetSeconds',
3159 'double',
3160 [],
3161 is_const=True)
3162 ## nstime.h (module 'core'): int64_t ns3::Time::GetTimeStep() const [member function]
3163 cls.add_method('GetTimeStep',
3164 'int64_t',
3165 [],
3166 is_const=True)
3167 ## nstime.h (module 'core'): bool ns3::Time::IsNegative() const [member function]
3168 cls.add_method('IsNegative',
3169 'bool',
3170 [],
3171 is_const=True)
3172 ## nstime.h (module 'core'): bool ns3::Time::IsPositive() const [member function]
3173 cls.add_method('IsPositive',
3174 'bool',
3175 [],
3176 is_const=True)
3177 ## nstime.h (module 'core'): bool ns3::Time::IsStrictlyNegative() const [member function]
3178 cls.add_method('IsStrictlyNegative',
3179 'bool',
3180 [],
3181 is_const=True)
3182 ## nstime.h (module 'core'): bool ns3::Time::IsStrictlyPositive() const [member function]
3183 cls.add_method('IsStrictlyPositive',
3184 'bool',
3185 [],
3186 is_const=True)
3187 ## nstime.h (module 'core'): bool ns3::Time::IsZero() const [member function]
3188 cls.add_method('IsZero',
3189 'bool',
3190 [],
3191 is_const=True)
3192 ## nstime.h (module 'core'): static void ns3::Time::SetResolution(ns3::Time::Unit resolution) [member function]
3193 cls.add_method('SetResolution',
3194 'void',
3195 [param('ns3::Time::Unit', 'resolution')],
3196 is_static=True)
3197 ## nstime.h (module 'core'): ns3::int64x64_t ns3::Time::To(ns3::Time::Unit timeUnit) const [member function]
3198 cls.add_method('To',
3199 'ns3::int64x64_t',
3200 [param('ns3::Time::Unit', 'timeUnit')],
3201 is_const=True)
3202 ## nstime.h (module 'core'): double ns3::Time::ToDouble(ns3::Time::Unit timeUnit) const [member function]
3203 cls.add_method('ToDouble',
3204 'double',
3205 [param('ns3::Time::Unit', 'timeUnit')],
3206 is_const=True)
3207 ## nstime.h (module 'core'): int64_t ns3::Time::ToInteger(ns3::Time::Unit timeUnit) const [member function]
3208 cls.add_method('ToInteger',
3209 'int64_t',
3210 [param('ns3::Time::Unit', 'timeUnit')],
3211 is_const=True)
3212 return
3213
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07003214def register_Ns3TopologyReader_methods(root_module, cls):
3215 ## topology-reader.h (module 'topology-read'): ns3::TopologyReader::TopologyReader() [constructor]
3216 cls.add_constructor([])
3217 ## topology-reader.h (module 'topology-read'): void ns3::TopologyReader::AddLink(ns3::TopologyReader::Link link) [member function]
3218 cls.add_method('AddLink',
3219 'void',
3220 [param('ns3::TopologyReader::Link', 'link')])
3221 ## topology-reader.h (module 'topology-read'): std::string ns3::TopologyReader::GetFileName() const [member function]
3222 cls.add_method('GetFileName',
3223 'std::string',
3224 [],
3225 is_const=True)
3226 ## topology-reader.h (module 'topology-read'): std::_List_const_iterator<ns3::TopologyReader::Link> ns3::TopologyReader::LinksBegin() const [member function]
3227 cls.add_method('LinksBegin',
3228 'std::_List_const_iterator< ns3::TopologyReader::Link >',
3229 [],
3230 is_const=True)
3231 ## topology-reader.h (module 'topology-read'): bool ns3::TopologyReader::LinksEmpty() const [member function]
3232 cls.add_method('LinksEmpty',
3233 'bool',
3234 [],
3235 is_const=True)
3236 ## topology-reader.h (module 'topology-read'): std::_List_const_iterator<ns3::TopologyReader::Link> ns3::TopologyReader::LinksEnd() const [member function]
3237 cls.add_method('LinksEnd',
3238 'std::_List_const_iterator< ns3::TopologyReader::Link >',
3239 [],
3240 is_const=True)
3241 ## topology-reader.h (module 'topology-read'): int ns3::TopologyReader::LinksSize() const [member function]
3242 cls.add_method('LinksSize',
3243 'int',
3244 [],
3245 is_const=True)
3246 ## topology-reader.h (module 'topology-read'): ns3::NodeContainer ns3::TopologyReader::Read() [member function]
3247 cls.add_method('Read',
3248 'ns3::NodeContainer',
3249 [],
3250 is_pure_virtual=True, is_virtual=True)
3251 ## topology-reader.h (module 'topology-read'): void ns3::TopologyReader::SetFileName(std::string const & fileName) [member function]
3252 cls.add_method('SetFileName',
3253 'void',
3254 [param('std::string const &', 'fileName')])
3255 return
3256
3257def register_Ns3TopologyReaderLink_methods(root_module, cls):
3258 ## topology-reader.h (module 'topology-read'): ns3::TopologyReader::Link::Link(ns3::TopologyReader::Link const & arg0) [copy constructor]
3259 cls.add_constructor([param('ns3::TopologyReader::Link const &', 'arg0')])
3260 ## topology-reader.h (module 'topology-read'): ns3::TopologyReader::Link::Link() [constructor]
3261 cls.add_constructor([])
3262 ## 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]
3263 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')])
3264 ## 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]
3265 cls.add_method('AttributesBegin',
3266 '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 > > > >',
3267 [])
3268 ## 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]
3269 cls.add_method('AttributesEnd',
3270 '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 > > > >',
3271 [])
3272 ## topology-reader.h (module 'topology-read'): std::string ns3::TopologyReader::Link::GetAttribute(std::string const & name) const [member function]
3273 cls.add_method('GetAttribute',
3274 'std::string',
3275 [param('std::string const &', 'name')],
3276 is_const=True)
3277 ## topology-reader.h (module 'topology-read'): bool ns3::TopologyReader::Link::GetAttributeFailSafe(std::string const & name, std::string & value) const [member function]
3278 cls.add_method('GetAttributeFailSafe',
3279 'bool',
3280 [param('std::string const &', 'name'), param('std::string &', 'value')],
3281 is_const=True)
3282 ## topology-reader.h (module 'topology-read'): ns3::Ptr<ns3::NetDevice> ns3::TopologyReader::Link::GetFromNetDevice() const [member function]
3283 cls.add_method('GetFromNetDevice',
3284 'ns3::Ptr< ns3::NetDevice >',
3285 [],
3286 is_const=True)
3287 ## topology-reader.h (module 'topology-read'): ns3::Ptr<ns3::Node> ns3::TopologyReader::Link::GetFromNode() const [member function]
3288 cls.add_method('GetFromNode',
3289 'ns3::Ptr< ns3::Node >',
3290 [],
3291 is_const=True)
3292 ## topology-reader.h (module 'topology-read'): std::string ns3::TopologyReader::Link::GetFromNodeName() const [member function]
3293 cls.add_method('GetFromNodeName',
3294 'std::string',
3295 [],
3296 is_const=True)
3297 ## topology-reader.h (module 'topology-read'): ns3::Ptr<ns3::NetDevice> ns3::TopologyReader::Link::GetToNetDevice() const [member function]
3298 cls.add_method('GetToNetDevice',
3299 'ns3::Ptr< ns3::NetDevice >',
3300 [],
3301 is_const=True)
3302 ## topology-reader.h (module 'topology-read'): ns3::Ptr<ns3::Node> ns3::TopologyReader::Link::GetToNode() const [member function]
3303 cls.add_method('GetToNode',
3304 'ns3::Ptr< ns3::Node >',
3305 [],
3306 is_const=True)
3307 ## topology-reader.h (module 'topology-read'): std::string ns3::TopologyReader::Link::GetToNodeName() const [member function]
3308 cls.add_method('GetToNodeName',
3309 'std::string',
3310 [],
3311 is_const=True)
3312 ## topology-reader.h (module 'topology-read'): void ns3::TopologyReader::Link::SetAttribute(std::string const & name, std::string const & value) [member function]
3313 cls.add_method('SetAttribute',
3314 'void',
3315 [param('std::string const &', 'name'), param('std::string const &', 'value')])
3316 ## topology-reader.h (module 'topology-read'): void ns3::TopologyReader::Link::SetNetDevices(ns3::Ptr<ns3::NetDevice> from, ns3::Ptr<ns3::NetDevice> to) [member function]
3317 cls.add_method('SetNetDevices',
3318 'void',
3319 [param('ns3::Ptr< ns3::NetDevice >', 'from'), param('ns3::Ptr< ns3::NetDevice >', 'to')])
3320 return
3321
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003322def register_Ns3TraceSourceAccessor_methods(root_module, cls):
3323 ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor]
3324 cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')])
3325 ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor]
3326 cls.add_constructor([])
3327 ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function]
3328 cls.add_method('Connect',
3329 'bool',
3330 [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')],
3331 is_pure_virtual=True, is_const=True, is_virtual=True)
3332 ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function]
3333 cls.add_method('ConnectWithoutContext',
3334 'bool',
3335 [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')],
3336 is_pure_virtual=True, is_const=True, is_virtual=True)
3337 ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function]
3338 cls.add_method('Disconnect',
3339 'bool',
3340 [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')],
3341 is_pure_virtual=True, is_const=True, is_virtual=True)
3342 ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function]
3343 cls.add_method('DisconnectWithoutContext',
3344 'bool',
3345 [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')],
3346 is_pure_virtual=True, is_const=True, is_virtual=True)
3347 return
3348
3349def register_Ns3Trailer_methods(root_module, cls):
3350 cls.add_output_stream_operator()
3351 ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor]
3352 cls.add_constructor([])
3353 ## trailer.h (module 'network'): ns3::Trailer::Trailer(ns3::Trailer const & arg0) [copy constructor]
3354 cls.add_constructor([param('ns3::Trailer const &', 'arg0')])
3355 ## trailer.h (module 'network'): uint32_t ns3::Trailer::Deserialize(ns3::Buffer::Iterator end) [member function]
3356 cls.add_method('Deserialize',
3357 'uint32_t',
3358 [param('ns3::Buffer::Iterator', 'end')],
3359 is_pure_virtual=True, is_virtual=True)
3360 ## trailer.h (module 'network'): uint32_t ns3::Trailer::GetSerializedSize() const [member function]
3361 cls.add_method('GetSerializedSize',
3362 'uint32_t',
3363 [],
3364 is_pure_virtual=True, is_const=True, is_virtual=True)
3365 ## trailer.h (module 'network'): static ns3::TypeId ns3::Trailer::GetTypeId() [member function]
3366 cls.add_method('GetTypeId',
3367 'ns3::TypeId',
3368 [],
3369 is_static=True)
3370 ## trailer.h (module 'network'): void ns3::Trailer::Print(std::ostream & os) const [member function]
3371 cls.add_method('Print',
3372 'void',
3373 [param('std::ostream &', 'os')],
3374 is_pure_virtual=True, is_const=True, is_virtual=True)
3375 ## trailer.h (module 'network'): void ns3::Trailer::Serialize(ns3::Buffer::Iterator start) const [member function]
3376 cls.add_method('Serialize',
3377 'void',
3378 [param('ns3::Buffer::Iterator', 'start')],
3379 is_pure_virtual=True, is_const=True, is_virtual=True)
3380 return
3381
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07003382def register_Ns3AnnotatedTopologyReader_methods(root_module, cls):
3383 ## annotated-topology-reader.h (module 'ndnSIM'): ns3::AnnotatedTopologyReader::AnnotatedTopologyReader(std::string const & path="", double scale=1.0e+0) [constructor]
3384 cls.add_constructor([param('std::string const &', 'path', default_value='""'), param('double', 'scale', default_value='1.0e+0')])
3385 ## annotated-topology-reader.h (module 'ndnSIM'): ns3::NodeContainer ns3::AnnotatedTopologyReader::Read() [member function]
3386 cls.add_method('Read',
3387 'ns3::NodeContainer',
3388 [],
3389 is_virtual=True)
3390 ## annotated-topology-reader.h (module 'ndnSIM'): ns3::NodeContainer ns3::AnnotatedTopologyReader::GetNodes() const [member function]
3391 cls.add_method('GetNodes',
3392 'ns3::NodeContainer',
3393 [],
3394 is_const=True)
3395 ## annotated-topology-reader.h (module 'ndnSIM'): std::list<ns3::TopologyReader::Link, std::allocator<ns3::TopologyReader::Link> > const & ns3::AnnotatedTopologyReader::GetLinks() const [member function]
3396 cls.add_method('GetLinks',
3397 'std::list< ns3::TopologyReader::Link > const &',
3398 [],
3399 is_const=True)
3400 ## annotated-topology-reader.h (module 'ndnSIM'): void ns3::AnnotatedTopologyReader::AssignIpv4Addresses(ns3::Ipv4Address base) [member function]
3401 cls.add_method('AssignIpv4Addresses',
3402 'void',
3403 [param('ns3::Ipv4Address', 'base')])
3404 ## annotated-topology-reader.h (module 'ndnSIM'): void ns3::AnnotatedTopologyReader::SetBoundingBox(double ulx, double uly, double lrx, double lry) [member function]
3405 cls.add_method('SetBoundingBox',
3406 'void',
3407 [param('double', 'ulx'), param('double', 'uly'), param('double', 'lrx'), param('double', 'lry')])
3408 ## annotated-topology-reader.h (module 'ndnSIM'): void ns3::AnnotatedTopologyReader::SetMobilityModel(std::string const & model) [member function]
3409 cls.add_method('SetMobilityModel',
3410 'void',
3411 [param('std::string const &', 'model')])
3412 ## annotated-topology-reader.h (module 'ndnSIM'): void ns3::AnnotatedTopologyReader::ApplyOspfMetric() [member function]
3413 cls.add_method('ApplyOspfMetric',
3414 'void',
3415 [])
3416 ## annotated-topology-reader.h (module 'ndnSIM'): void ns3::AnnotatedTopologyReader::SavePositions(std::string const & file) const [member function]
3417 cls.add_method('SavePositions',
3418 'void',
3419 [param('std::string const &', 'file')],
3420 is_const=True)
3421 ## annotated-topology-reader.h (module 'ndnSIM'): ns3::Ptr<ns3::Node> ns3::AnnotatedTopologyReader::CreateNode(std::string const name, uint32_t systemId) [member function]
3422 cls.add_method('CreateNode',
3423 'ns3::Ptr< ns3::Node >',
3424 [param('std::string const', 'name'), param('uint32_t', 'systemId')],
3425 visibility='protected')
3426 ## 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]
3427 cls.add_method('CreateNode',
3428 'ns3::Ptr< ns3::Node >',
3429 [param('std::string const', 'name'), param('double', 'posX'), param('double', 'posY'), param('uint32_t', 'systemId')],
3430 visibility='protected')
3431 ## annotated-topology-reader.h (module 'ndnSIM'): void ns3::AnnotatedTopologyReader::ApplySettings() [member function]
3432 cls.add_method('ApplySettings',
3433 'void',
3434 [],
3435 visibility='protected')
3436 return
3437
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003438def register_Ns3Application_methods(root_module, cls):
3439 ## application.h (module 'network'): ns3::Application::Application(ns3::Application const & arg0) [copy constructor]
3440 cls.add_constructor([param('ns3::Application const &', 'arg0')])
3441 ## application.h (module 'network'): ns3::Application::Application() [constructor]
3442 cls.add_constructor([])
3443 ## application.h (module 'network'): ns3::Ptr<ns3::Node> ns3::Application::GetNode() const [member function]
3444 cls.add_method('GetNode',
3445 'ns3::Ptr< ns3::Node >',
3446 [],
3447 is_const=True)
3448 ## application.h (module 'network'): static ns3::TypeId ns3::Application::GetTypeId() [member function]
3449 cls.add_method('GetTypeId',
3450 'ns3::TypeId',
3451 [],
3452 is_static=True)
3453 ## application.h (module 'network'): void ns3::Application::SetNode(ns3::Ptr<ns3::Node> node) [member function]
3454 cls.add_method('SetNode',
3455 'void',
3456 [param('ns3::Ptr< ns3::Node >', 'node')])
3457 ## application.h (module 'network'): void ns3::Application::SetStartTime(ns3::Time start) [member function]
3458 cls.add_method('SetStartTime',
3459 'void',
3460 [param('ns3::Time', 'start')])
3461 ## application.h (module 'network'): void ns3::Application::SetStopTime(ns3::Time stop) [member function]
3462 cls.add_method('SetStopTime',
3463 'void',
3464 [param('ns3::Time', 'stop')])
3465 ## application.h (module 'network'): void ns3::Application::DoDispose() [member function]
3466 cls.add_method('DoDispose',
3467 'void',
3468 [],
3469 visibility='protected', is_virtual=True)
3470 ## application.h (module 'network'): void ns3::Application::DoStart() [member function]
3471 cls.add_method('DoStart',
3472 'void',
3473 [],
3474 visibility='protected', is_virtual=True)
3475 ## application.h (module 'network'): void ns3::Application::StartApplication() [member function]
3476 cls.add_method('StartApplication',
3477 'void',
3478 [],
Alexander Afanasyev4756b892012-04-18 14:48:43 -07003479 visibility='private', is_virtual=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003480 ## application.h (module 'network'): void ns3::Application::StopApplication() [member function]
3481 cls.add_method('StopApplication',
3482 'void',
3483 [],
Alexander Afanasyev4756b892012-04-18 14:48:43 -07003484 visibility='private', is_virtual=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003485 return
3486
3487def register_Ns3AttributeAccessor_methods(root_module, cls):
3488 ## attribute.h (module 'core'): ns3::AttributeAccessor::AttributeAccessor(ns3::AttributeAccessor const & arg0) [copy constructor]
3489 cls.add_constructor([param('ns3::AttributeAccessor const &', 'arg0')])
3490 ## attribute.h (module 'core'): ns3::AttributeAccessor::AttributeAccessor() [constructor]
3491 cls.add_constructor([])
3492 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::Get(ns3::ObjectBase const * object, ns3::AttributeValue & attribute) const [member function]
3493 cls.add_method('Get',
3494 'bool',
3495 [param('ns3::ObjectBase const *', 'object'), param('ns3::AttributeValue &', 'attribute')],
3496 is_pure_virtual=True, is_const=True, is_virtual=True)
3497 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::HasGetter() const [member function]
3498 cls.add_method('HasGetter',
3499 'bool',
3500 [],
3501 is_pure_virtual=True, is_const=True, is_virtual=True)
3502 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::HasSetter() const [member function]
3503 cls.add_method('HasSetter',
3504 'bool',
3505 [],
3506 is_pure_virtual=True, is_const=True, is_virtual=True)
3507 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::Set(ns3::ObjectBase * object, ns3::AttributeValue const & value) const [member function]
3508 cls.add_method('Set',
3509 'bool',
3510 [param('ns3::ObjectBase *', 'object', transfer_ownership=False), param('ns3::AttributeValue const &', 'value')],
3511 is_pure_virtual=True, is_const=True, is_virtual=True)
3512 return
3513
3514def register_Ns3AttributeChecker_methods(root_module, cls):
3515 ## attribute.h (module 'core'): ns3::AttributeChecker::AttributeChecker(ns3::AttributeChecker const & arg0) [copy constructor]
3516 cls.add_constructor([param('ns3::AttributeChecker const &', 'arg0')])
3517 ## attribute.h (module 'core'): ns3::AttributeChecker::AttributeChecker() [constructor]
3518 cls.add_constructor([])
3519 ## attribute.h (module 'core'): bool ns3::AttributeChecker::Check(ns3::AttributeValue const & value) const [member function]
3520 cls.add_method('Check',
3521 'bool',
3522 [param('ns3::AttributeValue const &', 'value')],
3523 is_pure_virtual=True, is_const=True, is_virtual=True)
3524 ## attribute.h (module 'core'): bool ns3::AttributeChecker::Copy(ns3::AttributeValue const & source, ns3::AttributeValue & destination) const [member function]
3525 cls.add_method('Copy',
3526 'bool',
3527 [param('ns3::AttributeValue const &', 'source'), param('ns3::AttributeValue &', 'destination')],
3528 is_pure_virtual=True, is_const=True, is_virtual=True)
3529 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeChecker::Create() const [member function]
3530 cls.add_method('Create',
3531 'ns3::Ptr< ns3::AttributeValue >',
3532 [],
3533 is_pure_virtual=True, is_const=True, is_virtual=True)
3534 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function]
3535 cls.add_method('CreateValidValue',
3536 'ns3::Ptr< ns3::AttributeValue >',
3537 [param('ns3::AttributeValue const &', 'value')],
3538 is_const=True)
3539 ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function]
3540 cls.add_method('GetUnderlyingTypeInformation',
3541 'std::string',
3542 [],
3543 is_pure_virtual=True, is_const=True, is_virtual=True)
3544 ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetValueTypeName() const [member function]
3545 cls.add_method('GetValueTypeName',
3546 'std::string',
3547 [],
3548 is_pure_virtual=True, is_const=True, is_virtual=True)
3549 ## attribute.h (module 'core'): bool ns3::AttributeChecker::HasUnderlyingTypeInformation() const [member function]
3550 cls.add_method('HasUnderlyingTypeInformation',
3551 'bool',
3552 [],
3553 is_pure_virtual=True, is_const=True, is_virtual=True)
3554 return
3555
3556def register_Ns3AttributeValue_methods(root_module, cls):
3557 ## attribute.h (module 'core'): ns3::AttributeValue::AttributeValue(ns3::AttributeValue const & arg0) [copy constructor]
3558 cls.add_constructor([param('ns3::AttributeValue const &', 'arg0')])
3559 ## attribute.h (module 'core'): ns3::AttributeValue::AttributeValue() [constructor]
3560 cls.add_constructor([])
3561 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeValue::Copy() const [member function]
3562 cls.add_method('Copy',
3563 'ns3::Ptr< ns3::AttributeValue >',
3564 [],
3565 is_pure_virtual=True, is_const=True, is_virtual=True)
3566 ## attribute.h (module 'core'): bool ns3::AttributeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3567 cls.add_method('DeserializeFromString',
3568 'bool',
3569 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3570 is_pure_virtual=True, is_virtual=True)
3571 ## attribute.h (module 'core'): std::string ns3::AttributeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3572 cls.add_method('SerializeToString',
3573 'std::string',
3574 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3575 is_pure_virtual=True, is_const=True, is_virtual=True)
3576 return
3577
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08003578def register_Ns3BatchesChecker_methods(root_module, cls):
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003579 ## batches.h (module 'ndnSIM'): ns3::BatchesChecker::BatchesChecker() [constructor]
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08003580 cls.add_constructor([])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003581 ## batches.h (module 'ndnSIM'): ns3::BatchesChecker::BatchesChecker(ns3::BatchesChecker const & arg0) [copy constructor]
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08003582 cls.add_constructor([param('ns3::BatchesChecker const &', 'arg0')])
3583 return
3584
3585def register_Ns3BatchesValue_methods(root_module, cls):
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003586 ## batches.h (module 'ndnSIM'): ns3::BatchesValue::BatchesValue() [constructor]
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08003587 cls.add_constructor([])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003588 ## batches.h (module 'ndnSIM'): ns3::BatchesValue::BatchesValue(ns3::BatchesValue const & arg0) [copy constructor]
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08003589 cls.add_constructor([param('ns3::BatchesValue const &', 'arg0')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003590 ## batches.h (module 'ndnSIM'): ns3::BatchesValue::BatchesValue(ns3::Batches const & value) [constructor]
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08003591 cls.add_constructor([param('ns3::Batches const &', 'value')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003592 ## batches.h (module 'ndnSIM'): ns3::Ptr<ns3::AttributeValue> ns3::BatchesValue::Copy() const [member function]
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08003593 cls.add_method('Copy',
3594 'ns3::Ptr< ns3::AttributeValue >',
3595 [],
3596 is_const=True, is_virtual=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003597 ## batches.h (module 'ndnSIM'): bool ns3::BatchesValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08003598 cls.add_method('DeserializeFromString',
3599 'bool',
3600 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3601 is_virtual=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003602 ## batches.h (module 'ndnSIM'): ns3::Batches ns3::BatchesValue::Get() const [member function]
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08003603 cls.add_method('Get',
3604 'ns3::Batches',
3605 [],
3606 is_const=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003607 ## batches.h (module 'ndnSIM'): std::string ns3::BatchesValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08003608 cls.add_method('SerializeToString',
3609 'std::string',
3610 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3611 is_const=True, is_virtual=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003612 ## batches.h (module 'ndnSIM'): void ns3::BatchesValue::Set(ns3::Batches const & value) [member function]
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08003613 cls.add_method('Set',
3614 'void',
3615 [param('ns3::Batches const &', 'value')])
3616 return
3617
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003618def register_Ns3CallbackChecker_methods(root_module, cls):
3619 ## callback.h (module 'core'): ns3::CallbackChecker::CallbackChecker() [constructor]
3620 cls.add_constructor([])
3621 ## callback.h (module 'core'): ns3::CallbackChecker::CallbackChecker(ns3::CallbackChecker const & arg0) [copy constructor]
3622 cls.add_constructor([param('ns3::CallbackChecker const &', 'arg0')])
3623 return
3624
3625def register_Ns3CallbackImplBase_methods(root_module, cls):
3626 ## callback.h (module 'core'): ns3::CallbackImplBase::CallbackImplBase() [constructor]
3627 cls.add_constructor([])
3628 ## callback.h (module 'core'): ns3::CallbackImplBase::CallbackImplBase(ns3::CallbackImplBase const & arg0) [copy constructor]
3629 cls.add_constructor([param('ns3::CallbackImplBase const &', 'arg0')])
3630 ## callback.h (module 'core'): bool ns3::CallbackImplBase::IsEqual(ns3::Ptr<ns3::CallbackImplBase const> other) const [member function]
3631 cls.add_method('IsEqual',
3632 'bool',
3633 [param('ns3::Ptr< ns3::CallbackImplBase const >', 'other')],
3634 is_pure_virtual=True, is_const=True, is_virtual=True)
3635 return
3636
3637def register_Ns3CallbackValue_methods(root_module, cls):
3638 ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue(ns3::CallbackValue const & arg0) [copy constructor]
3639 cls.add_constructor([param('ns3::CallbackValue const &', 'arg0')])
3640 ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue() [constructor]
3641 cls.add_constructor([])
3642 ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue(ns3::CallbackBase const & base) [constructor]
3643 cls.add_constructor([param('ns3::CallbackBase const &', 'base')])
3644 ## callback.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::CallbackValue::Copy() const [member function]
3645 cls.add_method('Copy',
3646 'ns3::Ptr< ns3::AttributeValue >',
3647 [],
3648 is_const=True, is_virtual=True)
3649 ## callback.h (module 'core'): bool ns3::CallbackValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3650 cls.add_method('DeserializeFromString',
3651 'bool',
3652 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3653 is_virtual=True)
3654 ## callback.h (module 'core'): std::string ns3::CallbackValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3655 cls.add_method('SerializeToString',
3656 'std::string',
3657 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3658 is_const=True, is_virtual=True)
3659 ## callback.h (module 'core'): void ns3::CallbackValue::Set(ns3::CallbackBase base) [member function]
3660 cls.add_method('Set',
3661 'void',
3662 [param('ns3::CallbackBase', 'base')])
3663 return
3664
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003665def register_Ns3EmptyAttributeValue_methods(root_module, cls):
3666 ## attribute.h (module 'core'): ns3::EmptyAttributeValue::EmptyAttributeValue(ns3::EmptyAttributeValue const & arg0) [copy constructor]
3667 cls.add_constructor([param('ns3::EmptyAttributeValue const &', 'arg0')])
3668 ## attribute.h (module 'core'): ns3::EmptyAttributeValue::EmptyAttributeValue() [constructor]
3669 cls.add_constructor([])
3670 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::EmptyAttributeValue::Copy() const [member function]
3671 cls.add_method('Copy',
3672 'ns3::Ptr< ns3::AttributeValue >',
3673 [],
3674 is_const=True, visibility='private', is_virtual=True)
3675 ## attribute.h (module 'core'): bool ns3::EmptyAttributeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3676 cls.add_method('DeserializeFromString',
3677 'bool',
3678 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3679 visibility='private', is_virtual=True)
3680 ## attribute.h (module 'core'): std::string ns3::EmptyAttributeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3681 cls.add_method('SerializeToString',
3682 'std::string',
3683 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3684 is_const=True, visibility='private', is_virtual=True)
3685 return
3686
3687def register_Ns3EventImpl_methods(root_module, cls):
3688 ## event-impl.h (module 'core'): ns3::EventImpl::EventImpl(ns3::EventImpl const & arg0) [copy constructor]
3689 cls.add_constructor([param('ns3::EventImpl const &', 'arg0')])
3690 ## event-impl.h (module 'core'): ns3::EventImpl::EventImpl() [constructor]
3691 cls.add_constructor([])
3692 ## event-impl.h (module 'core'): void ns3::EventImpl::Cancel() [member function]
3693 cls.add_method('Cancel',
3694 'void',
3695 [])
3696 ## event-impl.h (module 'core'): void ns3::EventImpl::Invoke() [member function]
3697 cls.add_method('Invoke',
3698 'void',
3699 [])
3700 ## event-impl.h (module 'core'): bool ns3::EventImpl::IsCancelled() [member function]
3701 cls.add_method('IsCancelled',
3702 'bool',
3703 [])
3704 ## event-impl.h (module 'core'): void ns3::EventImpl::Notify() [member function]
3705 cls.add_method('Notify',
3706 'void',
3707 [],
3708 is_pure_virtual=True, visibility='protected', is_virtual=True)
3709 return
3710
3711def register_Ns3IntegerValue_methods(root_module, cls):
3712 ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue() [constructor]
3713 cls.add_constructor([])
3714 ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue(ns3::IntegerValue const & arg0) [copy constructor]
3715 cls.add_constructor([param('ns3::IntegerValue const &', 'arg0')])
3716 ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue(int64_t const & value) [constructor]
3717 cls.add_constructor([param('int64_t const &', 'value')])
3718 ## integer.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::IntegerValue::Copy() const [member function]
3719 cls.add_method('Copy',
3720 'ns3::Ptr< ns3::AttributeValue >',
3721 [],
3722 is_const=True, is_virtual=True)
3723 ## integer.h (module 'core'): bool ns3::IntegerValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3724 cls.add_method('DeserializeFromString',
3725 'bool',
3726 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3727 is_virtual=True)
3728 ## integer.h (module 'core'): int64_t ns3::IntegerValue::Get() const [member function]
3729 cls.add_method('Get',
3730 'int64_t',
3731 [],
3732 is_const=True)
3733 ## integer.h (module 'core'): std::string ns3::IntegerValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3734 cls.add_method('SerializeToString',
3735 'std::string',
3736 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3737 is_const=True, is_virtual=True)
3738 ## integer.h (module 'core'): void ns3::IntegerValue::Set(int64_t const & value) [member function]
3739 cls.add_method('Set',
3740 'void',
3741 [param('int64_t const &', 'value')])
3742 return
3743
3744def register_Ns3Ipv4AddressChecker_methods(root_module, cls):
3745 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker::Ipv4AddressChecker() [constructor]
3746 cls.add_constructor([])
3747 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker::Ipv4AddressChecker(ns3::Ipv4AddressChecker const & arg0) [copy constructor]
3748 cls.add_constructor([param('ns3::Ipv4AddressChecker const &', 'arg0')])
3749 return
3750
3751def register_Ns3Ipv4AddressValue_methods(root_module, cls):
3752 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue::Ipv4AddressValue() [constructor]
3753 cls.add_constructor([])
3754 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue::Ipv4AddressValue(ns3::Ipv4AddressValue const & arg0) [copy constructor]
3755 cls.add_constructor([param('ns3::Ipv4AddressValue const &', 'arg0')])
3756 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue::Ipv4AddressValue(ns3::Ipv4Address const & value) [constructor]
3757 cls.add_constructor([param('ns3::Ipv4Address const &', 'value')])
3758 ## ipv4-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv4AddressValue::Copy() const [member function]
3759 cls.add_method('Copy',
3760 'ns3::Ptr< ns3::AttributeValue >',
3761 [],
3762 is_const=True, is_virtual=True)
3763 ## ipv4-address.h (module 'network'): bool ns3::Ipv4AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3764 cls.add_method('DeserializeFromString',
3765 'bool',
3766 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3767 is_virtual=True)
3768 ## ipv4-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv4AddressValue::Get() const [member function]
3769 cls.add_method('Get',
3770 'ns3::Ipv4Address',
3771 [],
3772 is_const=True)
3773 ## ipv4-address.h (module 'network'): std::string ns3::Ipv4AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3774 cls.add_method('SerializeToString',
3775 'std::string',
3776 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3777 is_const=True, is_virtual=True)
3778 ## ipv4-address.h (module 'network'): void ns3::Ipv4AddressValue::Set(ns3::Ipv4Address const & value) [member function]
3779 cls.add_method('Set',
3780 'void',
3781 [param('ns3::Ipv4Address const &', 'value')])
3782 return
3783
3784def register_Ns3Ipv4MaskChecker_methods(root_module, cls):
3785 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker::Ipv4MaskChecker() [constructor]
3786 cls.add_constructor([])
3787 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker::Ipv4MaskChecker(ns3::Ipv4MaskChecker const & arg0) [copy constructor]
3788 cls.add_constructor([param('ns3::Ipv4MaskChecker const &', 'arg0')])
3789 return
3790
3791def register_Ns3Ipv4MaskValue_methods(root_module, cls):
3792 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue::Ipv4MaskValue() [constructor]
3793 cls.add_constructor([])
3794 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue::Ipv4MaskValue(ns3::Ipv4MaskValue const & arg0) [copy constructor]
3795 cls.add_constructor([param('ns3::Ipv4MaskValue const &', 'arg0')])
3796 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue::Ipv4MaskValue(ns3::Ipv4Mask const & value) [constructor]
3797 cls.add_constructor([param('ns3::Ipv4Mask const &', 'value')])
3798 ## ipv4-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv4MaskValue::Copy() const [member function]
3799 cls.add_method('Copy',
3800 'ns3::Ptr< ns3::AttributeValue >',
3801 [],
3802 is_const=True, is_virtual=True)
3803 ## ipv4-address.h (module 'network'): bool ns3::Ipv4MaskValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3804 cls.add_method('DeserializeFromString',
3805 'bool',
3806 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3807 is_virtual=True)
3808 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask ns3::Ipv4MaskValue::Get() const [member function]
3809 cls.add_method('Get',
3810 'ns3::Ipv4Mask',
3811 [],
3812 is_const=True)
3813 ## ipv4-address.h (module 'network'): std::string ns3::Ipv4MaskValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3814 cls.add_method('SerializeToString',
3815 'std::string',
3816 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3817 is_const=True, is_virtual=True)
3818 ## ipv4-address.h (module 'network'): void ns3::Ipv4MaskValue::Set(ns3::Ipv4Mask const & value) [member function]
3819 cls.add_method('Set',
3820 'void',
3821 [param('ns3::Ipv4Mask const &', 'value')])
3822 return
3823
3824def register_Ns3Ipv6AddressChecker_methods(root_module, cls):
3825 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker::Ipv6AddressChecker() [constructor]
3826 cls.add_constructor([])
3827 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker::Ipv6AddressChecker(ns3::Ipv6AddressChecker const & arg0) [copy constructor]
3828 cls.add_constructor([param('ns3::Ipv6AddressChecker const &', 'arg0')])
3829 return
3830
3831def register_Ns3Ipv6AddressValue_methods(root_module, cls):
3832 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue::Ipv6AddressValue() [constructor]
3833 cls.add_constructor([])
3834 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue::Ipv6AddressValue(ns3::Ipv6AddressValue const & arg0) [copy constructor]
3835 cls.add_constructor([param('ns3::Ipv6AddressValue const &', 'arg0')])
3836 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue::Ipv6AddressValue(ns3::Ipv6Address const & value) [constructor]
3837 cls.add_constructor([param('ns3::Ipv6Address const &', 'value')])
3838 ## ipv6-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv6AddressValue::Copy() const [member function]
3839 cls.add_method('Copy',
3840 'ns3::Ptr< ns3::AttributeValue >',
3841 [],
3842 is_const=True, is_virtual=True)
3843 ## ipv6-address.h (module 'network'): bool ns3::Ipv6AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3844 cls.add_method('DeserializeFromString',
3845 'bool',
3846 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3847 is_virtual=True)
3848 ## ipv6-address.h (module 'network'): ns3::Ipv6Address ns3::Ipv6AddressValue::Get() const [member function]
3849 cls.add_method('Get',
3850 'ns3::Ipv6Address',
3851 [],
3852 is_const=True)
3853 ## ipv6-address.h (module 'network'): std::string ns3::Ipv6AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3854 cls.add_method('SerializeToString',
3855 'std::string',
3856 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3857 is_const=True, is_virtual=True)
3858 ## ipv6-address.h (module 'network'): void ns3::Ipv6AddressValue::Set(ns3::Ipv6Address const & value) [member function]
3859 cls.add_method('Set',
3860 'void',
3861 [param('ns3::Ipv6Address const &', 'value')])
3862 return
3863
3864def register_Ns3Ipv6PrefixChecker_methods(root_module, cls):
3865 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker::Ipv6PrefixChecker() [constructor]
3866 cls.add_constructor([])
3867 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker::Ipv6PrefixChecker(ns3::Ipv6PrefixChecker const & arg0) [copy constructor]
3868 cls.add_constructor([param('ns3::Ipv6PrefixChecker const &', 'arg0')])
3869 return
3870
3871def register_Ns3Ipv6PrefixValue_methods(root_module, cls):
3872 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue::Ipv6PrefixValue() [constructor]
3873 cls.add_constructor([])
3874 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue::Ipv6PrefixValue(ns3::Ipv6PrefixValue const & arg0) [copy constructor]
3875 cls.add_constructor([param('ns3::Ipv6PrefixValue const &', 'arg0')])
3876 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue::Ipv6PrefixValue(ns3::Ipv6Prefix const & value) [constructor]
3877 cls.add_constructor([param('ns3::Ipv6Prefix const &', 'value')])
3878 ## ipv6-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv6PrefixValue::Copy() const [member function]
3879 cls.add_method('Copy',
3880 'ns3::Ptr< ns3::AttributeValue >',
3881 [],
3882 is_const=True, is_virtual=True)
3883 ## ipv6-address.h (module 'network'): bool ns3::Ipv6PrefixValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3884 cls.add_method('DeserializeFromString',
3885 'bool',
3886 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3887 is_virtual=True)
3888 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix ns3::Ipv6PrefixValue::Get() const [member function]
3889 cls.add_method('Get',
3890 'ns3::Ipv6Prefix',
3891 [],
3892 is_const=True)
3893 ## ipv6-address.h (module 'network'): std::string ns3::Ipv6PrefixValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3894 cls.add_method('SerializeToString',
3895 'std::string',
3896 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3897 is_const=True, is_virtual=True)
3898 ## ipv6-address.h (module 'network'): void ns3::Ipv6PrefixValue::Set(ns3::Ipv6Prefix const & value) [member function]
3899 cls.add_method('Set',
3900 'void',
3901 [param('ns3::Ipv6Prefix const &', 'value')])
3902 return
3903
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07003904def register_Ns3MobilityModel_methods(root_module, cls):
3905 ## mobility-model.h (module 'mobility'): ns3::MobilityModel::MobilityModel(ns3::MobilityModel const & arg0) [copy constructor]
3906 cls.add_constructor([param('ns3::MobilityModel const &', 'arg0')])
3907 ## mobility-model.h (module 'mobility'): ns3::MobilityModel::MobilityModel() [constructor]
3908 cls.add_constructor([])
3909 ## mobility-model.h (module 'mobility'): double ns3::MobilityModel::GetDistanceFrom(ns3::Ptr<const ns3::MobilityModel> position) const [member function]
3910 cls.add_method('GetDistanceFrom',
3911 'double',
3912 [param('ns3::Ptr< ns3::MobilityModel const >', 'position')],
3913 is_const=True)
3914 ## mobility-model.h (module 'mobility'): static ns3::Ptr<ns3::MobilityModel> ns3::MobilityModel::GetMobilityModel(ns3::Ptr<ns3::Object> node) [member function]
3915 cls.add_method('GetMobilityModel',
3916 'ns3::Ptr< ns3::MobilityModel >',
3917 [param('ns3::Ptr< ns3::Object >', 'node')],
3918 is_static=True)
3919 ## mobility-model.h (module 'mobility'): ns3::Vector ns3::MobilityModel::GetPosition() const [member function]
3920 cls.add_method('GetPosition',
3921 'ns3::Vector',
3922 [],
3923 is_const=True)
3924 ## mobility-model.h (module 'mobility'): double ns3::MobilityModel::GetRelativeSpeed(ns3::Ptr<const ns3::MobilityModel> other) const [member function]
3925 cls.add_method('GetRelativeSpeed',
3926 'double',
3927 [param('ns3::Ptr< ns3::MobilityModel const >', 'other')],
3928 is_const=True)
3929 ## mobility-model.h (module 'mobility'): static ns3::TypeId ns3::MobilityModel::GetTypeId() [member function]
3930 cls.add_method('GetTypeId',
3931 'ns3::TypeId',
3932 [],
3933 is_static=True)
3934 ## mobility-model.h (module 'mobility'): ns3::Vector ns3::MobilityModel::GetVelocity() const [member function]
3935 cls.add_method('GetVelocity',
3936 'ns3::Vector',
3937 [],
3938 is_const=True)
3939 ## mobility-model.h (module 'mobility'): void ns3::MobilityModel::SetPosition(ns3::Vector const & position) [member function]
3940 cls.add_method('SetPosition',
3941 'void',
3942 [param('ns3::Vector const &', 'position')])
3943 ## mobility-model.h (module 'mobility'): void ns3::MobilityModel::NotifyCourseChange() const [member function]
3944 cls.add_method('NotifyCourseChange',
3945 'void',
3946 [],
3947 is_const=True, visibility='protected')
3948 ## mobility-model.h (module 'mobility'): ns3::Vector ns3::MobilityModel::DoGetPosition() const [member function]
3949 cls.add_method('DoGetPosition',
3950 'ns3::Vector',
3951 [],
3952 is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
3953 ## mobility-model.h (module 'mobility'): ns3::Vector ns3::MobilityModel::DoGetVelocity() const [member function]
3954 cls.add_method('DoGetVelocity',
3955 'ns3::Vector',
3956 [],
3957 is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
3958 ## mobility-model.h (module 'mobility'): void ns3::MobilityModel::DoSetPosition(ns3::Vector const & position) [member function]
3959 cls.add_method('DoSetPosition',
3960 'void',
3961 [param('ns3::Vector const &', 'position')],
3962 is_pure_virtual=True, visibility='private', is_virtual=True)
3963 return
3964
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003965def register_Ns3NetDevice_methods(root_module, cls):
3966 ## net-device.h (module 'network'): ns3::NetDevice::NetDevice() [constructor]
3967 cls.add_constructor([])
3968 ## net-device.h (module 'network'): ns3::NetDevice::NetDevice(ns3::NetDevice const & arg0) [copy constructor]
3969 cls.add_constructor([param('ns3::NetDevice const &', 'arg0')])
3970 ## 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]
3971 cls.add_method('AddLinkChangeCallback',
3972 'void',
3973 [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')],
3974 is_pure_virtual=True, is_virtual=True)
3975 ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetAddress() const [member function]
3976 cls.add_method('GetAddress',
3977 'ns3::Address',
3978 [],
3979 is_pure_virtual=True, is_const=True, is_virtual=True)
3980 ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetBroadcast() const [member function]
3981 cls.add_method('GetBroadcast',
3982 'ns3::Address',
3983 [],
3984 is_pure_virtual=True, is_const=True, is_virtual=True)
3985 ## net-device.h (module 'network'): ns3::Ptr<ns3::Channel> ns3::NetDevice::GetChannel() const [member function]
3986 cls.add_method('GetChannel',
3987 'ns3::Ptr< ns3::Channel >',
3988 [],
3989 is_pure_virtual=True, is_const=True, is_virtual=True)
3990 ## net-device.h (module 'network'): uint32_t ns3::NetDevice::GetIfIndex() const [member function]
3991 cls.add_method('GetIfIndex',
3992 'uint32_t',
3993 [],
3994 is_pure_virtual=True, is_const=True, is_virtual=True)
3995 ## net-device.h (module 'network'): uint16_t ns3::NetDevice::GetMtu() const [member function]
3996 cls.add_method('GetMtu',
3997 'uint16_t',
3998 [],
3999 is_pure_virtual=True, is_const=True, is_virtual=True)
4000 ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetMulticast(ns3::Ipv4Address multicastGroup) const [member function]
4001 cls.add_method('GetMulticast',
4002 'ns3::Address',
4003 [param('ns3::Ipv4Address', 'multicastGroup')],
4004 is_pure_virtual=True, is_const=True, is_virtual=True)
4005 ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetMulticast(ns3::Ipv6Address addr) const [member function]
4006 cls.add_method('GetMulticast',
4007 'ns3::Address',
4008 [param('ns3::Ipv6Address', 'addr')],
4009 is_pure_virtual=True, is_const=True, is_virtual=True)
4010 ## net-device.h (module 'network'): ns3::Ptr<ns3::Node> ns3::NetDevice::GetNode() const [member function]
4011 cls.add_method('GetNode',
4012 'ns3::Ptr< ns3::Node >',
4013 [],
4014 is_pure_virtual=True, is_const=True, is_virtual=True)
4015 ## net-device.h (module 'network'): static ns3::TypeId ns3::NetDevice::GetTypeId() [member function]
4016 cls.add_method('GetTypeId',
4017 'ns3::TypeId',
4018 [],
4019 is_static=True)
4020 ## net-device.h (module 'network'): bool ns3::NetDevice::IsBridge() const [member function]
4021 cls.add_method('IsBridge',
4022 'bool',
4023 [],
4024 is_pure_virtual=True, is_const=True, is_virtual=True)
4025 ## net-device.h (module 'network'): bool ns3::NetDevice::IsBroadcast() const [member function]
4026 cls.add_method('IsBroadcast',
4027 'bool',
4028 [],
4029 is_pure_virtual=True, is_const=True, is_virtual=True)
4030 ## net-device.h (module 'network'): bool ns3::NetDevice::IsLinkUp() const [member function]
4031 cls.add_method('IsLinkUp',
4032 'bool',
4033 [],
4034 is_pure_virtual=True, is_const=True, is_virtual=True)
4035 ## net-device.h (module 'network'): bool ns3::NetDevice::IsMulticast() const [member function]
4036 cls.add_method('IsMulticast',
4037 'bool',
4038 [],
4039 is_pure_virtual=True, is_const=True, is_virtual=True)
4040 ## net-device.h (module 'network'): bool ns3::NetDevice::IsPointToPoint() const [member function]
4041 cls.add_method('IsPointToPoint',
4042 'bool',
4043 [],
4044 is_pure_virtual=True, is_const=True, is_virtual=True)
4045 ## net-device.h (module 'network'): bool ns3::NetDevice::NeedsArp() const [member function]
4046 cls.add_method('NeedsArp',
4047 'bool',
4048 [],
4049 is_pure_virtual=True, is_const=True, is_virtual=True)
4050 ## net-device.h (module 'network'): bool ns3::NetDevice::Send(ns3::Ptr<ns3::Packet> packet, ns3::Address const & dest, uint16_t protocolNumber) [member function]
4051 cls.add_method('Send',
4052 'bool',
4053 [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')],
4054 is_pure_virtual=True, is_virtual=True)
4055 ## 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]
4056 cls.add_method('SendFrom',
4057 'bool',
4058 [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')],
4059 is_pure_virtual=True, is_virtual=True)
4060 ## net-device.h (module 'network'): void ns3::NetDevice::SetAddress(ns3::Address address) [member function]
4061 cls.add_method('SetAddress',
4062 'void',
4063 [param('ns3::Address', 'address')],
4064 is_pure_virtual=True, is_virtual=True)
4065 ## net-device.h (module 'network'): void ns3::NetDevice::SetIfIndex(uint32_t const index) [member function]
4066 cls.add_method('SetIfIndex',
4067 'void',
4068 [param('uint32_t const', 'index')],
4069 is_pure_virtual=True, is_virtual=True)
4070 ## net-device.h (module 'network'): bool ns3::NetDevice::SetMtu(uint16_t const mtu) [member function]
4071 cls.add_method('SetMtu',
4072 'bool',
4073 [param('uint16_t const', 'mtu')],
4074 is_pure_virtual=True, is_virtual=True)
4075 ## net-device.h (module 'network'): void ns3::NetDevice::SetNode(ns3::Ptr<ns3::Node> node) [member function]
4076 cls.add_method('SetNode',
4077 'void',
4078 [param('ns3::Ptr< ns3::Node >', 'node')],
4079 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyev07827182011-12-13 01:07:32 -08004080 ## 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 -07004081 cls.add_method('SetPromiscReceiveCallback',
4082 'void',
Alexander Afanasyev07827182011-12-13 01:07:32 -08004083 [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 -07004084 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyev07827182011-12-13 01:07:32 -08004085 ## 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 -07004086 cls.add_method('SetReceiveCallback',
4087 'void',
Alexander Afanasyev07827182011-12-13 01:07:32 -08004088 [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 -07004089 is_pure_virtual=True, is_virtual=True)
4090 ## net-device.h (module 'network'): bool ns3::NetDevice::SupportsSendFrom() const [member function]
4091 cls.add_method('SupportsSendFrom',
4092 'bool',
4093 [],
4094 is_pure_virtual=True, is_const=True, is_virtual=True)
4095 return
4096
4097def register_Ns3NixVector_methods(root_module, cls):
4098 cls.add_output_stream_operator()
4099 ## nix-vector.h (module 'network'): ns3::NixVector::NixVector() [constructor]
4100 cls.add_constructor([])
4101 ## nix-vector.h (module 'network'): ns3::NixVector::NixVector(ns3::NixVector const & o) [copy constructor]
4102 cls.add_constructor([param('ns3::NixVector const &', 'o')])
4103 ## nix-vector.h (module 'network'): void ns3::NixVector::AddNeighborIndex(uint32_t newBits, uint32_t numberOfBits) [member function]
4104 cls.add_method('AddNeighborIndex',
4105 'void',
4106 [param('uint32_t', 'newBits'), param('uint32_t', 'numberOfBits')])
4107 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::BitCount(uint32_t numberOfNeighbors) const [member function]
4108 cls.add_method('BitCount',
4109 'uint32_t',
4110 [param('uint32_t', 'numberOfNeighbors')],
4111 is_const=True)
4112 ## nix-vector.h (module 'network'): ns3::Ptr<ns3::NixVector> ns3::NixVector::Copy() const [member function]
4113 cls.add_method('Copy',
4114 'ns3::Ptr< ns3::NixVector >',
4115 [],
4116 is_const=True)
4117 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::Deserialize(uint32_t const * buffer, uint32_t size) [member function]
4118 cls.add_method('Deserialize',
4119 'uint32_t',
4120 [param('uint32_t const *', 'buffer'), param('uint32_t', 'size')])
4121 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::ExtractNeighborIndex(uint32_t numberOfBits) [member function]
4122 cls.add_method('ExtractNeighborIndex',
4123 'uint32_t',
4124 [param('uint32_t', 'numberOfBits')])
4125 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::GetRemainingBits() [member function]
4126 cls.add_method('GetRemainingBits',
4127 'uint32_t',
4128 [])
4129 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::GetSerializedSize() const [member function]
4130 cls.add_method('GetSerializedSize',
4131 'uint32_t',
4132 [],
4133 is_const=True)
4134 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::Serialize(uint32_t * buffer, uint32_t maxSize) const [member function]
4135 cls.add_method('Serialize',
4136 'uint32_t',
4137 [param('uint32_t *', 'buffer'), param('uint32_t', 'maxSize')],
4138 is_const=True)
4139 return
4140
4141def register_Ns3Node_methods(root_module, cls):
4142 ## node.h (module 'network'): ns3::Node::Node(ns3::Node const & arg0) [copy constructor]
4143 cls.add_constructor([param('ns3::Node const &', 'arg0')])
4144 ## node.h (module 'network'): ns3::Node::Node() [constructor]
4145 cls.add_constructor([])
4146 ## node.h (module 'network'): ns3::Node::Node(uint32_t systemId) [constructor]
4147 cls.add_constructor([param('uint32_t', 'systemId')])
4148 ## node.h (module 'network'): uint32_t ns3::Node::AddApplication(ns3::Ptr<ns3::Application> application) [member function]
4149 cls.add_method('AddApplication',
4150 'uint32_t',
4151 [param('ns3::Ptr< ns3::Application >', 'application')])
4152 ## node.h (module 'network'): uint32_t ns3::Node::AddDevice(ns3::Ptr<ns3::NetDevice> device) [member function]
4153 cls.add_method('AddDevice',
4154 'uint32_t',
4155 [param('ns3::Ptr< ns3::NetDevice >', 'device')])
4156 ## node.h (module 'network'): static bool ns3::Node::ChecksumEnabled() [member function]
4157 cls.add_method('ChecksumEnabled',
4158 'bool',
4159 [],
4160 is_static=True)
4161 ## node.h (module 'network'): ns3::Ptr<ns3::Application> ns3::Node::GetApplication(uint32_t index) const [member function]
4162 cls.add_method('GetApplication',
4163 'ns3::Ptr< ns3::Application >',
4164 [param('uint32_t', 'index')],
4165 is_const=True)
4166 ## node.h (module 'network'): ns3::Ptr<ns3::NetDevice> ns3::Node::GetDevice(uint32_t index) const [member function]
4167 cls.add_method('GetDevice',
4168 'ns3::Ptr< ns3::NetDevice >',
4169 [param('uint32_t', 'index')],
4170 is_const=True)
4171 ## node.h (module 'network'): uint32_t ns3::Node::GetId() const [member function]
4172 cls.add_method('GetId',
4173 'uint32_t',
4174 [],
4175 is_const=True)
4176 ## node.h (module 'network'): uint32_t ns3::Node::GetNApplications() const [member function]
4177 cls.add_method('GetNApplications',
4178 'uint32_t',
4179 [],
4180 is_const=True)
4181 ## node.h (module 'network'): uint32_t ns3::Node::GetNDevices() const [member function]
4182 cls.add_method('GetNDevices',
4183 'uint32_t',
4184 [],
4185 is_const=True)
4186 ## node.h (module 'network'): uint32_t ns3::Node::GetSystemId() const [member function]
4187 cls.add_method('GetSystemId',
4188 'uint32_t',
4189 [],
4190 is_const=True)
4191 ## node.h (module 'network'): static ns3::TypeId ns3::Node::GetTypeId() [member function]
4192 cls.add_method('GetTypeId',
4193 'ns3::TypeId',
4194 [],
4195 is_static=True)
4196 ## 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]
4197 cls.add_method('RegisterDeviceAdditionListener',
4198 'void',
4199 [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')])
4200 ## 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]
4201 cls.add_method('RegisterProtocolHandler',
4202 'void',
4203 [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')])
4204 ## 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]
4205 cls.add_method('UnregisterDeviceAdditionListener',
4206 'void',
4207 [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')])
4208 ## 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]
4209 cls.add_method('UnregisterProtocolHandler',
4210 'void',
4211 [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')])
4212 ## node.h (module 'network'): void ns3::Node::DoDispose() [member function]
4213 cls.add_method('DoDispose',
4214 'void',
4215 [],
4216 visibility='protected', is_virtual=True)
4217 ## node.h (module 'network'): void ns3::Node::DoStart() [member function]
4218 cls.add_method('DoStart',
4219 'void',
4220 [],
4221 visibility='protected', is_virtual=True)
4222 return
4223
4224def register_Ns3ObjectFactoryChecker_methods(root_module, cls):
4225 ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker::ObjectFactoryChecker() [constructor]
4226 cls.add_constructor([])
4227 ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker::ObjectFactoryChecker(ns3::ObjectFactoryChecker const & arg0) [copy constructor]
4228 cls.add_constructor([param('ns3::ObjectFactoryChecker const &', 'arg0')])
4229 return
4230
4231def register_Ns3ObjectFactoryValue_methods(root_module, cls):
4232 ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue() [constructor]
4233 cls.add_constructor([])
4234 ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue(ns3::ObjectFactoryValue const & arg0) [copy constructor]
4235 cls.add_constructor([param('ns3::ObjectFactoryValue const &', 'arg0')])
4236 ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue(ns3::ObjectFactory const & value) [constructor]
4237 cls.add_constructor([param('ns3::ObjectFactory const &', 'value')])
4238 ## object-factory.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::ObjectFactoryValue::Copy() const [member function]
4239 cls.add_method('Copy',
4240 'ns3::Ptr< ns3::AttributeValue >',
4241 [],
4242 is_const=True, is_virtual=True)
4243 ## object-factory.h (module 'core'): bool ns3::ObjectFactoryValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4244 cls.add_method('DeserializeFromString',
4245 'bool',
4246 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4247 is_virtual=True)
4248 ## object-factory.h (module 'core'): ns3::ObjectFactory ns3::ObjectFactoryValue::Get() const [member function]
4249 cls.add_method('Get',
4250 'ns3::ObjectFactory',
4251 [],
4252 is_const=True)
4253 ## object-factory.h (module 'core'): std::string ns3::ObjectFactoryValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4254 cls.add_method('SerializeToString',
4255 'std::string',
4256 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4257 is_const=True, is_virtual=True)
4258 ## object-factory.h (module 'core'): void ns3::ObjectFactoryValue::Set(ns3::ObjectFactory const & value) [member function]
4259 cls.add_method('Set',
4260 'void',
4261 [param('ns3::ObjectFactory const &', 'value')])
4262 return
4263
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004264def register_Ns3Packet_methods(root_module, cls):
4265 cls.add_output_stream_operator()
4266 ## packet.h (module 'network'): ns3::Packet::Packet() [constructor]
4267 cls.add_constructor([])
4268 ## packet.h (module 'network'): ns3::Packet::Packet(ns3::Packet const & o) [copy constructor]
4269 cls.add_constructor([param('ns3::Packet const &', 'o')])
4270 ## packet.h (module 'network'): ns3::Packet::Packet(uint32_t size) [constructor]
4271 cls.add_constructor([param('uint32_t', 'size')])
4272 ## packet.h (module 'network'): ns3::Packet::Packet(uint8_t const * buffer, uint32_t size, bool magic) [constructor]
4273 cls.add_constructor([param('uint8_t const *', 'buffer'), param('uint32_t', 'size'), param('bool', 'magic')])
4274 ## packet.h (module 'network'): ns3::Packet::Packet(uint8_t const * buffer, uint32_t size) [constructor]
4275 cls.add_constructor([param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
Alexander Afanasyev07827182011-12-13 01:07:32 -08004276 ## packet.h (module 'network'): void ns3::Packet::AddAtEnd(ns3::Ptr<const ns3::Packet> packet) [member function]
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004277 cls.add_method('AddAtEnd',
4278 'void',
4279 [param('ns3::Ptr< ns3::Packet const >', 'packet')])
4280 ## packet.h (module 'network'): void ns3::Packet::AddByteTag(ns3::Tag const & tag) const [member function]
4281 cls.add_method('AddByteTag',
4282 'void',
4283 [param('ns3::Tag const &', 'tag')],
4284 is_const=True)
4285 ## packet.h (module 'network'): void ns3::Packet::AddHeader(ns3::Header const & header) [member function]
4286 cls.add_method('AddHeader',
4287 'void',
4288 [param('ns3::Header const &', 'header')])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004289 ## packet.h (module 'network'): void ns3::Packet::AddPacketTag(ns3::Tag const & tag) const [member function]
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004290 cls.add_method('AddPacketTag',
4291 'void',
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004292 [param('ns3::Tag const &', 'tag')],
4293 is_const=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004294 ## packet.h (module 'network'): void ns3::Packet::AddPaddingAtEnd(uint32_t size) [member function]
4295 cls.add_method('AddPaddingAtEnd',
4296 'void',
4297 [param('uint32_t', 'size')])
4298 ## packet.h (module 'network'): void ns3::Packet::AddTrailer(ns3::Trailer const & trailer) [member function]
4299 cls.add_method('AddTrailer',
4300 'void',
4301 [param('ns3::Trailer const &', 'trailer')])
4302 ## packet.h (module 'network'): ns3::PacketMetadata::ItemIterator ns3::Packet::BeginItem() const [member function]
4303 cls.add_method('BeginItem',
4304 'ns3::PacketMetadata::ItemIterator',
4305 [],
4306 is_const=True)
4307 ## packet.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Packet::Copy() const [member function]
4308 cls.add_method('Copy',
4309 'ns3::Ptr< ns3::Packet >',
4310 [],
4311 is_const=True)
4312 ## packet.h (module 'network'): uint32_t ns3::Packet::CopyData(uint8_t * buffer, uint32_t size) const [member function]
4313 cls.add_method('CopyData',
4314 'uint32_t',
4315 [param('uint8_t *', 'buffer'), param('uint32_t', 'size')],
4316 is_const=True)
4317 ## packet.h (module 'network'): void ns3::Packet::CopyData(std::ostream * os, uint32_t size) const [member function]
4318 cls.add_method('CopyData',
4319 'void',
4320 [param('std::ostream *', 'os'), param('uint32_t', 'size')],
4321 is_const=True)
4322 ## packet.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Packet::CreateFragment(uint32_t start, uint32_t length) const [member function]
4323 cls.add_method('CreateFragment',
4324 'ns3::Ptr< ns3::Packet >',
4325 [param('uint32_t', 'start'), param('uint32_t', 'length')],
4326 is_const=True)
4327 ## packet.h (module 'network'): static void ns3::Packet::EnableChecking() [member function]
4328 cls.add_method('EnableChecking',
4329 'void',
4330 [],
4331 is_static=True)
4332 ## packet.h (module 'network'): static void ns3::Packet::EnablePrinting() [member function]
4333 cls.add_method('EnablePrinting',
4334 'void',
4335 [],
4336 is_static=True)
4337 ## packet.h (module 'network'): bool ns3::Packet::FindFirstMatchingByteTag(ns3::Tag & tag) const [member function]
4338 cls.add_method('FindFirstMatchingByteTag',
4339 'bool',
4340 [param('ns3::Tag &', 'tag')],
4341 is_const=True)
4342 ## packet.h (module 'network'): ns3::ByteTagIterator ns3::Packet::GetByteTagIterator() const [member function]
4343 cls.add_method('GetByteTagIterator',
4344 'ns3::ByteTagIterator',
4345 [],
4346 is_const=True)
4347 ## packet.h (module 'network'): ns3::Ptr<ns3::NixVector> ns3::Packet::GetNixVector() const [member function]
4348 cls.add_method('GetNixVector',
4349 'ns3::Ptr< ns3::NixVector >',
4350 [],
4351 is_const=True)
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004352 ## packet.h (module 'network'): ns3::PacketTagIterator ns3::Packet::GetPacketTagIterator() const [member function]
4353 cls.add_method('GetPacketTagIterator',
4354 'ns3::PacketTagIterator',
4355 [],
4356 is_const=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004357 ## packet.h (module 'network'): uint32_t ns3::Packet::GetSerializedSize() const [member function]
4358 cls.add_method('GetSerializedSize',
4359 'uint32_t',
4360 [],
4361 is_const=True)
4362 ## packet.h (module 'network'): uint32_t ns3::Packet::GetSize() const [member function]
4363 cls.add_method('GetSize',
4364 'uint32_t',
4365 [],
4366 is_const=True)
4367 ## packet.h (module 'network'): uint64_t ns3::Packet::GetUid() const [member function]
4368 cls.add_method('GetUid',
4369 'uint64_t',
4370 [],
4371 is_const=True)
4372 ## packet.h (module 'network'): uint8_t const * ns3::Packet::PeekData() const [member function]
4373 cls.add_method('PeekData',
4374 'uint8_t const *',
4375 [],
4376 deprecated=True, is_const=True)
4377 ## packet.h (module 'network'): uint32_t ns3::Packet::PeekHeader(ns3::Header & header) const [member function]
4378 cls.add_method('PeekHeader',
4379 'uint32_t',
4380 [param('ns3::Header &', 'header')],
4381 is_const=True)
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004382 ## packet.h (module 'network'): bool ns3::Packet::PeekPacketTag(ns3::Tag & tag) const [member function]
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004383 cls.add_method('PeekPacketTag',
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004384 'bool',
4385 [param('ns3::Tag &', 'tag')],
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004386 is_const=True)
4387 ## packet.h (module 'network'): uint32_t ns3::Packet::PeekTrailer(ns3::Trailer & trailer) [member function]
4388 cls.add_method('PeekTrailer',
4389 'uint32_t',
4390 [param('ns3::Trailer &', 'trailer')])
4391 ## packet.h (module 'network'): void ns3::Packet::Print(std::ostream & os) const [member function]
4392 cls.add_method('Print',
4393 'void',
4394 [param('std::ostream &', 'os')],
4395 is_const=True)
4396 ## packet.h (module 'network'): void ns3::Packet::PrintByteTags(std::ostream & os) const [member function]
4397 cls.add_method('PrintByteTags',
4398 'void',
4399 [param('std::ostream &', 'os')],
4400 is_const=True)
4401 ## packet.h (module 'network'): void ns3::Packet::PrintPacketTags(std::ostream & os) const [member function]
4402 cls.add_method('PrintPacketTags',
4403 'void',
4404 [param('std::ostream &', 'os')],
4405 is_const=True)
4406 ## packet.h (module 'network'): void ns3::Packet::RemoveAllByteTags() [member function]
4407 cls.add_method('RemoveAllByteTags',
4408 'void',
4409 [])
4410 ## packet.h (module 'network'): void ns3::Packet::RemoveAllPacketTags() [member function]
4411 cls.add_method('RemoveAllPacketTags',
4412 'void',
4413 [])
4414 ## packet.h (module 'network'): void ns3::Packet::RemoveAtEnd(uint32_t size) [member function]
4415 cls.add_method('RemoveAtEnd',
4416 'void',
4417 [param('uint32_t', 'size')])
4418 ## packet.h (module 'network'): void ns3::Packet::RemoveAtStart(uint32_t size) [member function]
4419 cls.add_method('RemoveAtStart',
4420 'void',
4421 [param('uint32_t', 'size')])
4422 ## packet.h (module 'network'): uint32_t ns3::Packet::RemoveHeader(ns3::Header & header) [member function]
4423 cls.add_method('RemoveHeader',
4424 'uint32_t',
4425 [param('ns3::Header &', 'header')])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004426 ## packet.h (module 'network'): bool ns3::Packet::RemovePacketTag(ns3::Tag & tag) [member function]
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004427 cls.add_method('RemovePacketTag',
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004428 'bool',
4429 [param('ns3::Tag &', 'tag')])
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004430 ## packet.h (module 'network'): uint32_t ns3::Packet::RemoveTrailer(ns3::Trailer & trailer) [member function]
4431 cls.add_method('RemoveTrailer',
4432 'uint32_t',
4433 [param('ns3::Trailer &', 'trailer')])
4434 ## packet.h (module 'network'): uint32_t ns3::Packet::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
4435 cls.add_method('Serialize',
4436 'uint32_t',
4437 [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')],
4438 is_const=True)
4439 ## packet.h (module 'network'): void ns3::Packet::SetNixVector(ns3::Ptr<ns3::NixVector> arg0) [member function]
4440 cls.add_method('SetNixVector',
4441 'void',
4442 [param('ns3::Ptr< ns3::NixVector >', 'arg0')])
4443 return
4444
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07004445def register_Ns3RandomVariableChecker_methods(root_module, cls):
4446 ## random-variable.h (module 'core'): ns3::RandomVariableChecker::RandomVariableChecker() [constructor]
4447 cls.add_constructor([])
4448 ## random-variable.h (module 'core'): ns3::RandomVariableChecker::RandomVariableChecker(ns3::RandomVariableChecker const & arg0) [copy constructor]
4449 cls.add_constructor([param('ns3::RandomVariableChecker const &', 'arg0')])
4450 return
4451
4452def register_Ns3RandomVariableValue_methods(root_module, cls):
4453 ## random-variable.h (module 'core'): ns3::RandomVariableValue::RandomVariableValue() [constructor]
4454 cls.add_constructor([])
4455 ## random-variable.h (module 'core'): ns3::RandomVariableValue::RandomVariableValue(ns3::RandomVariableValue const & arg0) [copy constructor]
4456 cls.add_constructor([param('ns3::RandomVariableValue const &', 'arg0')])
4457 ## random-variable.h (module 'core'): ns3::RandomVariableValue::RandomVariableValue(ns3::RandomVariable const & value) [constructor]
4458 cls.add_constructor([param('ns3::RandomVariable const &', 'value')])
4459 ## random-variable.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::RandomVariableValue::Copy() const [member function]
4460 cls.add_method('Copy',
4461 'ns3::Ptr< ns3::AttributeValue >',
4462 [],
4463 is_const=True, is_virtual=True)
4464 ## random-variable.h (module 'core'): bool ns3::RandomVariableValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4465 cls.add_method('DeserializeFromString',
4466 'bool',
4467 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4468 is_virtual=True)
4469 ## random-variable.h (module 'core'): ns3::RandomVariable ns3::RandomVariableValue::Get() const [member function]
4470 cls.add_method('Get',
4471 'ns3::RandomVariable',
4472 [],
4473 is_const=True)
4474 ## random-variable.h (module 'core'): std::string ns3::RandomVariableValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4475 cls.add_method('SerializeToString',
4476 'std::string',
4477 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4478 is_const=True, is_virtual=True)
4479 ## random-variable.h (module 'core'): void ns3::RandomVariableValue::Set(ns3::RandomVariable const & value) [member function]
4480 cls.add_method('Set',
4481 'void',
4482 [param('ns3::RandomVariable const &', 'value')])
4483 return
4484
4485def register_Ns3RocketfuelWeightsReader_methods(root_module, cls):
4486 ## rocketfuel-weights-reader.h (module 'ndnSIM'): ns3::RocketfuelWeightsReader::RocketfuelWeightsReader(std::string const & path="", double scale=1.0e+0) [constructor]
4487 cls.add_constructor([param('std::string const &', 'path', default_value='""'), param('double', 'scale', default_value='1.0e+0')])
4488 ## rocketfuel-weights-reader.h (module 'ndnSIM'): void ns3::RocketfuelWeightsReader::SetFileType(uint8_t inputType) [member function]
4489 cls.add_method('SetFileType',
4490 'void',
4491 [param('uint8_t', 'inputType')])
4492 ## rocketfuel-weights-reader.h (module 'ndnSIM'): ns3::NodeContainer ns3::RocketfuelWeightsReader::Read() [member function]
4493 cls.add_method('Read',
4494 'ns3::NodeContainer',
4495 [],
4496 is_virtual=True)
4497 ## rocketfuel-weights-reader.h (module 'ndnSIM'): void ns3::RocketfuelWeightsReader::Commit() [member function]
4498 cls.add_method('Commit',
4499 'void',
4500 [])
4501 return
4502
4503def register_Ns3SpringMobilityModel_methods(root_module, cls):
4504 ## spring-mobility-model.h (module 'ndnSIM'): ns3::SpringMobilityModel::SpringMobilityModel(ns3::SpringMobilityModel const & arg0) [copy constructor]
4505 cls.add_constructor([param('ns3::SpringMobilityModel const &', 'arg0')])
4506 ## spring-mobility-model.h (module 'ndnSIM'): ns3::SpringMobilityModel::SpringMobilityModel() [constructor]
4507 cls.add_constructor([])
4508 ## spring-mobility-model.h (module 'ndnSIM'): void ns3::SpringMobilityModel::AddSpring(ns3::Ptr<ns3::MobilityModel> node) [member function]
4509 cls.add_method('AddSpring',
4510 'void',
4511 [param('ns3::Ptr< ns3::MobilityModel >', 'node')])
4512 ## spring-mobility-model.h (module 'ndnSIM'): static ns3::TypeId ns3::SpringMobilityModel::GetTypeId() [member function]
4513 cls.add_method('GetTypeId',
4514 'ns3::TypeId',
4515 [],
4516 is_static=True)
4517 ## spring-mobility-model.h (module 'ndnSIM'): ns3::Vector ns3::SpringMobilityModel::DoGetPosition() const [member function]
4518 cls.add_method('DoGetPosition',
4519 'ns3::Vector',
4520 [],
4521 is_const=True, visibility='private', is_virtual=True)
4522 ## spring-mobility-model.h (module 'ndnSIM'): ns3::Vector ns3::SpringMobilityModel::DoGetVelocity() const [member function]
4523 cls.add_method('DoGetVelocity',
4524 'ns3::Vector',
4525 [],
4526 is_const=True, visibility='private', is_virtual=True)
4527 ## spring-mobility-model.h (module 'ndnSIM'): void ns3::SpringMobilityModel::DoSetPosition(ns3::Vector const & position) [member function]
4528 cls.add_method('DoSetPosition',
4529 'void',
4530 [param('ns3::Vector const &', 'position')],
4531 visibility='private', is_virtual=True)
4532 ## spring-mobility-model.h (module 'ndnSIM'): void ns3::SpringMobilityModel::DoStart() [member function]
4533 cls.add_method('DoStart',
4534 'void',
4535 [],
4536 visibility='private', is_virtual=True)
4537 return
4538
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004539def register_Ns3TimeChecker_methods(root_module, cls):
4540 ## nstime.h (module 'core'): ns3::TimeChecker::TimeChecker() [constructor]
4541 cls.add_constructor([])
4542 ## nstime.h (module 'core'): ns3::TimeChecker::TimeChecker(ns3::TimeChecker const & arg0) [copy constructor]
4543 cls.add_constructor([param('ns3::TimeChecker const &', 'arg0')])
4544 return
4545
4546def register_Ns3TimeValue_methods(root_module, cls):
4547 ## nstime.h (module 'core'): ns3::TimeValue::TimeValue() [constructor]
4548 cls.add_constructor([])
4549 ## nstime.h (module 'core'): ns3::TimeValue::TimeValue(ns3::TimeValue const & arg0) [copy constructor]
4550 cls.add_constructor([param('ns3::TimeValue const &', 'arg0')])
4551 ## nstime.h (module 'core'): ns3::TimeValue::TimeValue(ns3::Time const & value) [constructor]
4552 cls.add_constructor([param('ns3::Time const &', 'value')])
4553 ## nstime.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::TimeValue::Copy() const [member function]
4554 cls.add_method('Copy',
4555 'ns3::Ptr< ns3::AttributeValue >',
4556 [],
4557 is_const=True, is_virtual=True)
4558 ## nstime.h (module 'core'): bool ns3::TimeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4559 cls.add_method('DeserializeFromString',
4560 'bool',
4561 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4562 is_virtual=True)
4563 ## nstime.h (module 'core'): ns3::Time ns3::TimeValue::Get() const [member function]
4564 cls.add_method('Get',
4565 'ns3::Time',
4566 [],
4567 is_const=True)
4568 ## nstime.h (module 'core'): std::string ns3::TimeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4569 cls.add_method('SerializeToString',
4570 'std::string',
4571 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4572 is_const=True, is_virtual=True)
4573 ## nstime.h (module 'core'): void ns3::TimeValue::Set(ns3::Time const & value) [member function]
4574 cls.add_method('Set',
4575 'void',
4576 [param('ns3::Time const &', 'value')])
4577 return
4578
4579def register_Ns3TypeIdChecker_methods(root_module, cls):
4580 ## type-id.h (module 'core'): ns3::TypeIdChecker::TypeIdChecker() [constructor]
4581 cls.add_constructor([])
4582 ## type-id.h (module 'core'): ns3::TypeIdChecker::TypeIdChecker(ns3::TypeIdChecker const & arg0) [copy constructor]
4583 cls.add_constructor([param('ns3::TypeIdChecker const &', 'arg0')])
4584 return
4585
4586def register_Ns3TypeIdValue_methods(root_module, cls):
4587 ## type-id.h (module 'core'): ns3::TypeIdValue::TypeIdValue() [constructor]
4588 cls.add_constructor([])
4589 ## type-id.h (module 'core'): ns3::TypeIdValue::TypeIdValue(ns3::TypeIdValue const & arg0) [copy constructor]
4590 cls.add_constructor([param('ns3::TypeIdValue const &', 'arg0')])
4591 ## type-id.h (module 'core'): ns3::TypeIdValue::TypeIdValue(ns3::TypeId const & value) [constructor]
4592 cls.add_constructor([param('ns3::TypeId const &', 'value')])
4593 ## type-id.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::TypeIdValue::Copy() const [member function]
4594 cls.add_method('Copy',
4595 'ns3::Ptr< ns3::AttributeValue >',
4596 [],
4597 is_const=True, is_virtual=True)
4598 ## type-id.h (module 'core'): bool ns3::TypeIdValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4599 cls.add_method('DeserializeFromString',
4600 'bool',
4601 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4602 is_virtual=True)
4603 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeIdValue::Get() const [member function]
4604 cls.add_method('Get',
4605 'ns3::TypeId',
4606 [],
4607 is_const=True)
4608 ## type-id.h (module 'core'): std::string ns3::TypeIdValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4609 cls.add_method('SerializeToString',
4610 'std::string',
4611 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4612 is_const=True, is_virtual=True)
4613 ## type-id.h (module 'core'): void ns3::TypeIdValue::Set(ns3::TypeId const & value) [member function]
4614 cls.add_method('Set',
4615 'void',
4616 [param('ns3::TypeId const &', 'value')])
4617 return
4618
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07004619def register_Ns3Vector2DChecker_methods(root_module, cls):
4620 ## vector.h (module 'core'): ns3::Vector2DChecker::Vector2DChecker() [constructor]
4621 cls.add_constructor([])
4622 ## vector.h (module 'core'): ns3::Vector2DChecker::Vector2DChecker(ns3::Vector2DChecker const & arg0) [copy constructor]
4623 cls.add_constructor([param('ns3::Vector2DChecker const &', 'arg0')])
4624 return
4625
4626def register_Ns3Vector2DValue_methods(root_module, cls):
4627 ## vector.h (module 'core'): ns3::Vector2DValue::Vector2DValue() [constructor]
4628 cls.add_constructor([])
4629 ## vector.h (module 'core'): ns3::Vector2DValue::Vector2DValue(ns3::Vector2DValue const & arg0) [copy constructor]
4630 cls.add_constructor([param('ns3::Vector2DValue const &', 'arg0')])
4631 ## vector.h (module 'core'): ns3::Vector2DValue::Vector2DValue(ns3::Vector2D const & value) [constructor]
4632 cls.add_constructor([param('ns3::Vector2D const &', 'value')])
4633 ## vector.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::Vector2DValue::Copy() const [member function]
4634 cls.add_method('Copy',
4635 'ns3::Ptr< ns3::AttributeValue >',
4636 [],
4637 is_const=True, is_virtual=True)
4638 ## vector.h (module 'core'): bool ns3::Vector2DValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4639 cls.add_method('DeserializeFromString',
4640 'bool',
4641 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4642 is_virtual=True)
4643 ## vector.h (module 'core'): ns3::Vector2D ns3::Vector2DValue::Get() const [member function]
4644 cls.add_method('Get',
4645 'ns3::Vector2D',
4646 [],
4647 is_const=True)
4648 ## vector.h (module 'core'): std::string ns3::Vector2DValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4649 cls.add_method('SerializeToString',
4650 'std::string',
4651 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4652 is_const=True, is_virtual=True)
4653 ## vector.h (module 'core'): void ns3::Vector2DValue::Set(ns3::Vector2D const & value) [member function]
4654 cls.add_method('Set',
4655 'void',
4656 [param('ns3::Vector2D const &', 'value')])
4657 return
4658
4659def register_Ns3Vector3DChecker_methods(root_module, cls):
4660 ## vector.h (module 'core'): ns3::Vector3DChecker::Vector3DChecker() [constructor]
4661 cls.add_constructor([])
4662 ## vector.h (module 'core'): ns3::Vector3DChecker::Vector3DChecker(ns3::Vector3DChecker const & arg0) [copy constructor]
4663 cls.add_constructor([param('ns3::Vector3DChecker const &', 'arg0')])
4664 return
4665
4666def register_Ns3Vector3DValue_methods(root_module, cls):
4667 ## vector.h (module 'core'): ns3::Vector3DValue::Vector3DValue() [constructor]
4668 cls.add_constructor([])
4669 ## vector.h (module 'core'): ns3::Vector3DValue::Vector3DValue(ns3::Vector3DValue const & arg0) [copy constructor]
4670 cls.add_constructor([param('ns3::Vector3DValue const &', 'arg0')])
4671 ## vector.h (module 'core'): ns3::Vector3DValue::Vector3DValue(ns3::Vector3D const & value) [constructor]
4672 cls.add_constructor([param('ns3::Vector3D const &', 'value')])
4673 ## vector.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::Vector3DValue::Copy() const [member function]
4674 cls.add_method('Copy',
4675 'ns3::Ptr< ns3::AttributeValue >',
4676 [],
4677 is_const=True, is_virtual=True)
4678 ## vector.h (module 'core'): bool ns3::Vector3DValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4679 cls.add_method('DeserializeFromString',
4680 'bool',
4681 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4682 is_virtual=True)
4683 ## vector.h (module 'core'): ns3::Vector3D ns3::Vector3DValue::Get() const [member function]
4684 cls.add_method('Get',
4685 'ns3::Vector3D',
4686 [],
4687 is_const=True)
4688 ## vector.h (module 'core'): std::string ns3::Vector3DValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4689 cls.add_method('SerializeToString',
4690 'std::string',
4691 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4692 is_const=True, is_virtual=True)
4693 ## vector.h (module 'core'): void ns3::Vector3DValue::Set(ns3::Vector3D const & value) [member function]
4694 cls.add_method('Set',
4695 'void',
4696 [param('ns3::Vector3D const &', 'value')])
4697 return
4698
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004699def register_Ns3AddressChecker_methods(root_module, cls):
4700 ## address.h (module 'network'): ns3::AddressChecker::AddressChecker() [constructor]
4701 cls.add_constructor([])
4702 ## address.h (module 'network'): ns3::AddressChecker::AddressChecker(ns3::AddressChecker const & arg0) [copy constructor]
4703 cls.add_constructor([param('ns3::AddressChecker const &', 'arg0')])
4704 return
4705
4706def register_Ns3AddressValue_methods(root_module, cls):
4707 ## address.h (module 'network'): ns3::AddressValue::AddressValue() [constructor]
4708 cls.add_constructor([])
4709 ## address.h (module 'network'): ns3::AddressValue::AddressValue(ns3::AddressValue const & arg0) [copy constructor]
4710 cls.add_constructor([param('ns3::AddressValue const &', 'arg0')])
4711 ## address.h (module 'network'): ns3::AddressValue::AddressValue(ns3::Address const & value) [constructor]
4712 cls.add_constructor([param('ns3::Address const &', 'value')])
4713 ## address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::AddressValue::Copy() const [member function]
4714 cls.add_method('Copy',
4715 'ns3::Ptr< ns3::AttributeValue >',
4716 [],
4717 is_const=True, is_virtual=True)
4718 ## address.h (module 'network'): bool ns3::AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4719 cls.add_method('DeserializeFromString',
4720 'bool',
4721 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4722 is_virtual=True)
4723 ## address.h (module 'network'): ns3::Address ns3::AddressValue::Get() const [member function]
4724 cls.add_method('Get',
4725 'ns3::Address',
4726 [],
4727 is_const=True)
4728 ## address.h (module 'network'): std::string ns3::AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4729 cls.add_method('SerializeToString',
4730 'std::string',
4731 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4732 is_const=True, is_virtual=True)
4733 ## address.h (module 'network'): void ns3::AddressValue::Set(ns3::Address const & value) [member function]
4734 cls.add_method('Set',
4735 'void',
4736 [param('ns3::Address const &', 'value')])
4737 return
4738
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004739def register_Ns3NdnApp_methods(root_module, cls):
4740 ## ndn-app.h (module 'ndnSIM'): ns3::ndn::App::App(ns3::ndn::App const & arg0) [copy constructor]
4741 cls.add_constructor([param('ns3::ndn::App const &', 'arg0')])
4742 ## ndn-app.h (module 'ndnSIM'): ns3::ndn::App::App() [constructor]
4743 cls.add_constructor([])
4744 ## ndn-app.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::App::GetTypeId() [member function]
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07004745 cls.add_method('GetTypeId',
4746 'ns3::TypeId',
4747 [],
4748 is_static=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004749 ## ndn-app.h (module 'ndnSIM'): void ns3::ndn::App::OnContentObject(ns3::Ptr<ns3::ndn::ContentObjectHeader const> const & contentObject, ns3::Ptr<ns3::Packet> payload) [member function]
4750 cls.add_method('OnContentObject',
4751 'void',
4752 [param('ns3::Ptr< ns3::ndn::ContentObjectHeader const > const &', 'contentObject'), param('ns3::Ptr< ns3::Packet >', 'payload')],
4753 is_virtual=True)
4754 ## ndn-app.h (module 'ndnSIM'): void ns3::ndn::App::OnInterest(ns3::Ptr<const ns3::ndn::InterestHeader> const & interest, ns3::Ptr<ns3::Packet> packet) [member function]
4755 cls.add_method('OnInterest',
4756 'void',
4757 [param('ns3::Ptr< ns3::ndn::InterestHeader const > const &', 'interest'), param('ns3::Ptr< ns3::Packet >', 'packet')],
4758 is_virtual=True)
4759 ## ndn-app.h (module 'ndnSIM'): void ns3::ndn::App::OnNack(ns3::Ptr<const ns3::ndn::InterestHeader> const & interest, ns3::Ptr<ns3::Packet> packet) [member function]
4760 cls.add_method('OnNack',
4761 'void',
4762 [param('ns3::Ptr< ns3::ndn::InterestHeader const > const &', 'interest'), param('ns3::Ptr< ns3::Packet >', 'packet')],
4763 is_virtual=True)
4764 ## ndn-app.h (module 'ndnSIM'): void ns3::ndn::App::RegisterProtocolHandler(ns3::Callback<bool, ns3::Ptr<ns3::Packet const> const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> handler) [member function]
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07004765 cls.add_method('RegisterProtocolHandler',
4766 'void',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004767 [param('ns3::Callback< bool, ns3::Ptr< ns3::Packet const >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'handler')])
4768 ## ndn-app.h (module 'ndnSIM'): void ns3::ndn::App::DoDispose() [member function]
4769 cls.add_method('DoDispose',
4770 'void',
4771 [],
4772 visibility='protected', is_virtual=True)
4773 ## ndn-app.h (module 'ndnSIM'): void ns3::ndn::App::StartApplication() [member function]
4774 cls.add_method('StartApplication',
4775 'void',
4776 [],
4777 visibility='protected', is_virtual=True)
4778 ## ndn-app.h (module 'ndnSIM'): void ns3::ndn::App::StopApplication() [member function]
4779 cls.add_method('StopApplication',
4780 'void',
4781 [],
4782 visibility='protected', is_virtual=True)
4783 return
4784
4785def register_Ns3NdnAppHelper_methods(root_module, cls):
4786 ## ndn-app-helper.h (module 'ndnSIM'): ns3::ndn::AppHelper::AppHelper(ns3::ndn::AppHelper const & arg0) [copy constructor]
4787 cls.add_constructor([param('ns3::ndn::AppHelper const &', 'arg0')])
4788 ## ndn-app-helper.h (module 'ndnSIM'): ns3::ndn::AppHelper::AppHelper(std::string const & prefix) [constructor]
4789 cls.add_constructor([param('std::string const &', 'prefix')])
4790 ## ndn-app-helper.h (module 'ndnSIM'): ns3::ApplicationContainer ns3::ndn::AppHelper::Install(ns3::NodeContainer c) [member function]
4791 cls.add_method('Install',
4792 'ns3::ApplicationContainer',
4793 [param('ns3::NodeContainer', 'c')])
4794 ## ndn-app-helper.h (module 'ndnSIM'): ns3::ApplicationContainer ns3::ndn::AppHelper::Install(ns3::Ptr<ns3::Node> node) [member function]
4795 cls.add_method('Install',
4796 'ns3::ApplicationContainer',
4797 [param('ns3::Ptr< ns3::Node >', 'node')])
4798 ## ndn-app-helper.h (module 'ndnSIM'): ns3::ApplicationContainer ns3::ndn::AppHelper::Install(std::string nodeName) [member function]
4799 cls.add_method('Install',
4800 'ns3::ApplicationContainer',
4801 [param('std::string', 'nodeName')])
4802 ## ndn-app-helper.h (module 'ndnSIM'): void ns3::ndn::AppHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function]
4803 cls.add_method('SetAttribute',
4804 'void',
4805 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
4806 ## ndn-app-helper.h (module 'ndnSIM'): void ns3::ndn::AppHelper::SetPrefix(std::string const & prefix) [member function]
4807 cls.add_method('SetPrefix',
4808 'void',
4809 [param('std::string const &', 'prefix')])
4810 return
4811
4812def register_Ns3NdnContentObjectHeader_methods(root_module, cls):
4813 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeader::ContentObjectHeader(ns3::ndn::ContentObjectHeader const & arg0) [copy constructor]
4814 cls.add_constructor([param('ns3::ndn::ContentObjectHeader const &', 'arg0')])
4815 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeader::ContentObjectHeader() [constructor]
4816 cls.add_constructor([])
4817 ## ndn-content-object-header.h (module 'ndnSIM'): uint32_t ns3::ndn::ContentObjectHeader::Deserialize(ns3::Buffer::Iterator start) [member function]
4818 cls.add_method('Deserialize',
4819 'uint32_t',
4820 [param('ns3::Buffer::Iterator', 'start')],
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07004821 is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004822 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::TypeId ns3::ndn::ContentObjectHeader::GetInstanceTypeId() const [member function]
4823 cls.add_method('GetInstanceTypeId',
4824 'ns3::TypeId',
4825 [],
4826 is_const=True, is_virtual=True)
4827 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::NameComponents const & ns3::ndn::ContentObjectHeader::GetName() const [member function]
4828 cls.add_method('GetName',
4829 'ns3::ndn::NameComponents const &',
4830 [],
4831 is_const=True)
4832 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::NameComponents const> ns3::ndn::ContentObjectHeader::GetNamePtr() const [member function]
4833 cls.add_method('GetNamePtr',
4834 'ns3::Ptr< ns3::ndn::NameComponents const >',
4835 [],
4836 is_const=True)
4837 ## ndn-content-object-header.h (module 'ndnSIM'): uint32_t ns3::ndn::ContentObjectHeader::GetSerializedSize() const [member function]
4838 cls.add_method('GetSerializedSize',
4839 'uint32_t',
4840 [],
4841 is_const=True, is_virtual=True)
4842 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeader::Signature & ns3::ndn::ContentObjectHeader::GetSignature() [member function]
4843 cls.add_method('GetSignature',
4844 'ns3::ndn::ContentObjectHeader::Signature &',
4845 [])
4846 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeader::Signature const & ns3::ndn::ContentObjectHeader::GetSignature() const [member function]
4847 cls.add_method('GetSignature',
4848 'ns3::ndn::ContentObjectHeader::Signature const &',
4849 [],
4850 is_const=True)
4851 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeader::SignedInfo & ns3::ndn::ContentObjectHeader::GetSignedInfo() [member function]
4852 cls.add_method('GetSignedInfo',
4853 'ns3::ndn::ContentObjectHeader::SignedInfo &',
4854 [])
4855 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeader::SignedInfo const & ns3::ndn::ContentObjectHeader::GetSignedInfo() const [member function]
4856 cls.add_method('GetSignedInfo',
4857 'ns3::ndn::ContentObjectHeader::SignedInfo const &',
4858 [],
4859 is_const=True)
4860 ## ndn-content-object-header.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::ContentObjectHeader::GetTypeId() [member function]
4861 cls.add_method('GetTypeId',
4862 'ns3::TypeId',
4863 [],
4864 is_static=True)
4865 ## ndn-content-object-header.h (module 'ndnSIM'): void ns3::ndn::ContentObjectHeader::Print(std::ostream & os) const [member function]
4866 cls.add_method('Print',
4867 'void',
4868 [param('std::ostream &', 'os')],
4869 is_const=True, is_virtual=True)
4870 ## ndn-content-object-header.h (module 'ndnSIM'): void ns3::ndn::ContentObjectHeader::Serialize(ns3::Buffer::Iterator start) const [member function]
4871 cls.add_method('Serialize',
4872 'void',
4873 [param('ns3::Buffer::Iterator', 'start')],
4874 is_const=True, is_virtual=True)
4875 ## ndn-content-object-header.h (module 'ndnSIM'): void ns3::ndn::ContentObjectHeader::SetName(ns3::Ptr<ns3::ndn::NameComponents> const & name) [member function]
4876 cls.add_method('SetName',
4877 'void',
4878 [param('ns3::Ptr< ns3::ndn::NameComponents > const &', 'name')])
4879 return
4880
4881def register_Ns3NdnContentObjectHeaderSignature_methods(root_module, cls):
4882 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeader::Signature::Signature(ns3::ndn::ContentObjectHeader::Signature const & arg0) [copy constructor]
4883 cls.add_constructor([param('ns3::ndn::ContentObjectHeader::Signature const &', 'arg0')])
4884 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeader::Signature::Signature() [constructor]
4885 cls.add_constructor([])
4886 ## ndn-content-object-header.h (module 'ndnSIM'): std::string const & ns3::ndn::ContentObjectHeader::Signature::GetDigestAlgorithm() const [member function]
4887 cls.add_method('GetDigestAlgorithm',
4888 'std::string const &',
4889 [],
4890 is_const=True)
4891 ## ndn-content-object-header.h (module 'ndnSIM'): uint32_t ns3::ndn::ContentObjectHeader::Signature::GetSignatureBits() const [member function]
4892 cls.add_method('GetSignatureBits',
4893 'uint32_t',
4894 [],
4895 is_const=True)
4896 ## ndn-content-object-header.h (module 'ndnSIM'): void ns3::ndn::ContentObjectHeader::Signature::SetDigestAlgorithm(std::string const & digestAlgorithm) [member function]
4897 cls.add_method('SetDigestAlgorithm',
4898 'void',
4899 [param('std::string const &', 'digestAlgorithm')])
4900 ## ndn-content-object-header.h (module 'ndnSIM'): void ns3::ndn::ContentObjectHeader::Signature::SetSignatureBits(uint32_t signature) [member function]
4901 cls.add_method('SetSignatureBits',
4902 'void',
4903 [param('uint32_t', 'signature')])
4904 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeader::Signature::DefaultDigestAlgorithm [variable]
4905 cls.add_static_attribute('DefaultDigestAlgorithm', 'std::string const', is_const=True)
4906 return
4907
4908def register_Ns3NdnContentObjectHeaderSignedInfo_methods(root_module, cls):
4909 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeader::SignedInfo::SignedInfo(ns3::ndn::ContentObjectHeader::SignedInfo const & arg0) [copy constructor]
4910 cls.add_constructor([param('ns3::ndn::ContentObjectHeader::SignedInfo const &', 'arg0')])
4911 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeader::SignedInfo::SignedInfo() [constructor]
4912 cls.add_constructor([])
4913 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeader::ContentType ns3::ndn::ContentObjectHeader::SignedInfo::GetContentType() const [member function]
4914 cls.add_method('GetContentType',
4915 'ns3::ndn::ContentObjectHeader::ContentType',
4916 [],
4917 is_const=True)
4918 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::Time ns3::ndn::ContentObjectHeader::SignedInfo::GetFreshness() const [member function]
4919 cls.add_method('GetFreshness',
4920 'ns3::Time',
4921 [],
4922 is_const=True)
4923 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::NameComponents const> ns3::ndn::ContentObjectHeader::SignedInfo::GetKeyLocator() const [member function]
4924 cls.add_method('GetKeyLocator',
4925 'ns3::Ptr< ns3::ndn::NameComponents const >',
4926 [],
4927 is_const=True)
4928 ## ndn-content-object-header.h (module 'ndnSIM'): uint32_t ns3::ndn::ContentObjectHeader::SignedInfo::GetPublisherPublicKeyDigest() const [member function]
4929 cls.add_method('GetPublisherPublicKeyDigest',
4930 'uint32_t',
4931 [],
4932 is_const=True)
4933 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::Time ns3::ndn::ContentObjectHeader::SignedInfo::GetTimestamp() const [member function]
4934 cls.add_method('GetTimestamp',
4935 'ns3::Time',
4936 [],
4937 is_const=True)
4938 ## ndn-content-object-header.h (module 'ndnSIM'): void ns3::ndn::ContentObjectHeader::SignedInfo::SetContentType(ns3::ndn::ContentObjectHeader::ContentType type) [member function]
4939 cls.add_method('SetContentType',
4940 'void',
4941 [param('ns3::ndn::ContentObjectHeader::ContentType', 'type')])
4942 ## ndn-content-object-header.h (module 'ndnSIM'): void ns3::ndn::ContentObjectHeader::SignedInfo::SetFreshness(ns3::Time const & freshness) [member function]
4943 cls.add_method('SetFreshness',
4944 'void',
4945 [param('ns3::Time const &', 'freshness')])
4946 ## ndn-content-object-header.h (module 'ndnSIM'): void ns3::ndn::ContentObjectHeader::SignedInfo::SetKeyLocator(ns3::Ptr<ns3::ndn::NameComponents const> keyLocator) [member function]
4947 cls.add_method('SetKeyLocator',
4948 'void',
4949 [param('ns3::Ptr< ns3::ndn::NameComponents const >', 'keyLocator')])
4950 ## ndn-content-object-header.h (module 'ndnSIM'): void ns3::ndn::ContentObjectHeader::SignedInfo::SetPublisherPublicKeyDigest(uint32_t digest) [member function]
4951 cls.add_method('SetPublisherPublicKeyDigest',
4952 'void',
4953 [param('uint32_t', 'digest')])
4954 ## ndn-content-object-header.h (module 'ndnSIM'): void ns3::ndn::ContentObjectHeader::SignedInfo::SetTimestamp(ns3::Time const & timestamp) [member function]
4955 cls.add_method('SetTimestamp',
4956 'void',
4957 [param('ns3::Time const &', 'timestamp')])
4958 return
4959
4960def register_Ns3NdnContentObjectHeaderException_methods(root_module, cls):
4961 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeaderException::ContentObjectHeaderException() [constructor]
4962 cls.add_constructor([])
4963 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeaderException::ContentObjectHeaderException(ns3::ndn::ContentObjectHeaderException const & arg0) [copy constructor]
4964 cls.add_constructor([param('ns3::ndn::ContentObjectHeaderException const &', 'arg0')])
4965 return
4966
4967def register_Ns3NdnContentObjectTail_methods(root_module, cls):
4968 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectTail::ContentObjectTail(ns3::ndn::ContentObjectTail const & arg0) [copy constructor]
4969 cls.add_constructor([param('ns3::ndn::ContentObjectTail const &', 'arg0')])
4970 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectTail::ContentObjectTail() [constructor]
4971 cls.add_constructor([])
4972 ## ndn-content-object-header.h (module 'ndnSIM'): uint32_t ns3::ndn::ContentObjectTail::Deserialize(ns3::Buffer::Iterator start) [member function]
4973 cls.add_method('Deserialize',
4974 'uint32_t',
4975 [param('ns3::Buffer::Iterator', 'start')],
4976 is_virtual=True)
4977 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::TypeId ns3::ndn::ContentObjectTail::GetInstanceTypeId() const [member function]
4978 cls.add_method('GetInstanceTypeId',
4979 'ns3::TypeId',
4980 [],
4981 is_const=True, is_virtual=True)
4982 ## ndn-content-object-header.h (module 'ndnSIM'): uint32_t ns3::ndn::ContentObjectTail::GetSerializedSize() const [member function]
4983 cls.add_method('GetSerializedSize',
4984 'uint32_t',
4985 [],
4986 is_const=True, is_virtual=True)
4987 ## ndn-content-object-header.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::ContentObjectTail::GetTypeId() [member function]
4988 cls.add_method('GetTypeId',
4989 'ns3::TypeId',
4990 [],
4991 is_static=True)
4992 ## ndn-content-object-header.h (module 'ndnSIM'): void ns3::ndn::ContentObjectTail::Print(std::ostream & os) const [member function]
4993 cls.add_method('Print',
4994 'void',
4995 [param('std::ostream &', 'os')],
4996 is_const=True, is_virtual=True)
4997 ## ndn-content-object-header.h (module 'ndnSIM'): void ns3::ndn::ContentObjectTail::Serialize(ns3::Buffer::Iterator start) const [member function]
4998 cls.add_method('Serialize',
4999 'void',
5000 [param('ns3::Buffer::Iterator', 'start')],
5001 is_const=True, is_virtual=True)
5002 return
5003
5004def register_Ns3NdnContentStore_methods(root_module, cls):
5005 cls.add_output_stream_operator()
5006 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::ContentStore::ContentStore() [constructor]
5007 cls.add_constructor([])
5008 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::ContentStore::ContentStore(ns3::ndn::ContentStore const & arg0) [copy constructor]
5009 cls.add_constructor([param('ns3::ndn::ContentStore const &', 'arg0')])
5010 ## ndn-content-store.h (module 'ndnSIM'): bool ns3::ndn::ContentStore::Add(ns3::Ptr<ns3::ndn::ContentObjectHeader const> header, ns3::Ptr<const ns3::Packet> packet) [member function]
5011 cls.add_method('Add',
5012 'bool',
5013 [param('ns3::Ptr< ns3::ndn::ContentObjectHeader const >', 'header'), param('ns3::Ptr< ns3::Packet const >', 'packet')],
5014 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07005015 ## ndn-content-store.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::cs::Entry> ns3::ndn::ContentStore::Begin() [member function]
5016 cls.add_method('Begin',
5017 'ns3::Ptr< ns3::ndn::cs::Entry >',
5018 [],
5019 is_pure_virtual=True, is_virtual=True)
5020 ## ndn-content-store.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::cs::Entry> ns3::ndn::ContentStore::End() [member function]
5021 cls.add_method('End',
5022 'ns3::Ptr< ns3::ndn::cs::Entry >',
5023 [],
5024 is_pure_virtual=True, is_virtual=True)
5025 ## ndn-content-store.h (module 'ndnSIM'): static ns3::Ptr<ns3::ndn::ContentStore> ns3::ndn::ContentStore::GetContentStore(ns3::Ptr<ns3::Object> node) [member function]
5026 cls.add_method('GetContentStore',
5027 'ns3::Ptr< ns3::ndn::ContentStore >',
5028 [param('ns3::Ptr< ns3::Object >', 'node')],
5029 is_static=True)
5030 ## ndn-content-store.h (module 'ndnSIM'): uint32_t ns3::ndn::ContentStore::GetSize() const [member function]
5031 cls.add_method('GetSize',
5032 'uint32_t',
5033 [],
5034 is_pure_virtual=True, is_const=True, is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005035 ## ndn-content-store.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::ContentStore::GetTypeId() [member function]
5036 cls.add_method('GetTypeId',
5037 'ns3::TypeId',
5038 [],
5039 is_static=True)
5040 ## ndn-content-store.h (module 'ndnSIM'): boost::tuples::tuple<ns3::Ptr<ns3::Packet>,ns3::Ptr<const ns3::ndn::ContentObjectHeader>,ns3::Ptr<const ns3::Packet>,boost::tuples::null_type,boost::tuples::null_type,boost::tuples::null_type,boost::tuples::null_type,boost::tuples::null_type,boost::tuples::null_type,boost::tuples::null_type> ns3::ndn::ContentStore::Lookup(ns3::Ptr<const ns3::ndn::InterestHeader> interest) [member function]
5041 cls.add_method('Lookup',
5042 'boost::tuples::tuple< ns3::Ptr< ns3::Packet >, ns3::Ptr< ns3::ndn::ContentObjectHeader const >, ns3::Ptr< ns3::Packet const >, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type >',
5043 [param('ns3::Ptr< ns3::ndn::InterestHeader const >', 'interest')],
5044 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07005045 ## 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]
5046 cls.add_method('Next',
5047 'ns3::Ptr< ns3::ndn::cs::Entry >',
5048 [param('ns3::Ptr< ns3::ndn::cs::Entry >', 'arg0')],
5049 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005050 ## ndn-content-store.h (module 'ndnSIM'): void ns3::ndn::ContentStore::Print(std::ostream & os) const [member function]
5051 cls.add_method('Print',
5052 'void',
5053 [param('std::ostream &', 'os')],
5054 is_pure_virtual=True, is_const=True, is_virtual=True)
5055 return
5056
5057def register_Ns3NdnFace_methods(root_module, cls):
5058 cls.add_output_stream_operator()
5059 cls.add_binary_comparison_operator('!=')
5060 cls.add_binary_comparison_operator('<')
5061 cls.add_binary_comparison_operator('==')
5062 ## ndn-face.h (module 'ndnSIM'): ns3::ndn::Face::Face(ns3::Ptr<ns3::Node> node) [constructor]
5063 cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node')])
5064 ## ndn-face.h (module 'ndnSIM'): uint32_t ns3::ndn::Face::GetId() const [member function]
5065 cls.add_method('GetId',
5066 'uint32_t',
5067 [],
5068 is_const=True)
5069 ## ndn-face.h (module 'ndnSIM'): uint16_t ns3::ndn::Face::GetMetric() const [member function]
5070 cls.add_method('GetMetric',
5071 'uint16_t',
5072 [],
5073 is_const=True, is_virtual=True)
5074 ## ndn-face.h (module 'ndnSIM'): ns3::Ptr<ns3::Node> ns3::ndn::Face::GetNode() const [member function]
5075 cls.add_method('GetNode',
5076 'ns3::Ptr< ns3::Node >',
5077 [],
5078 is_const=True)
5079 ## ndn-face.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::Face::GetTypeId() [member function]
5080 cls.add_method('GetTypeId',
5081 'ns3::TypeId',
5082 [],
5083 is_static=True)
5084 ## ndn-face.h (module 'ndnSIM'): bool ns3::ndn::Face::IsBelowLimit() [member function]
5085 cls.add_method('IsBelowLimit',
5086 'bool',
5087 [])
5088 ## ndn-face.h (module 'ndnSIM'): bool ns3::ndn::Face::IsUp() const [member function]
5089 cls.add_method('IsUp',
5090 'bool',
5091 [],
5092 is_const=True, is_virtual=True)
5093 ## ndn-face.h (module 'ndnSIM'): void ns3::ndn::Face::LeakBucket() [member function]
5094 cls.add_method('LeakBucket',
5095 'void',
5096 [])
5097 ## ndn-face.h (module 'ndnSIM'): std::ostream & ns3::ndn::Face::Print(std::ostream & os) const [member function]
Alexander Afanasyev3073da82012-06-19 14:57:43 -07005098 cls.add_method('Print',
5099 'std::ostream &',
5100 [param('std::ostream &', 'os')],
5101 is_const=True, is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005102 ## ndn-face.h (module 'ndnSIM'): bool ns3::ndn::Face::Receive(ns3::Ptr<const ns3::Packet> const & p) [member function]
5103 cls.add_method('Receive',
5104 'bool',
5105 [param('ns3::Ptr< ns3::Packet const > const &', 'p')])
5106 ## ndn-face.h (module 'ndnSIM'): void ns3::ndn::Face::RegisterProtocolHandler(ns3::Callback<void, ns3::Ptr<ns3::ndn::Face> const&, ns3::Ptr<ns3::Packet const> const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> handler) [member function]
5107 cls.add_method('RegisterProtocolHandler',
5108 'void',
5109 [param('ns3::Callback< void, ns3::Ptr< ns3::ndn::Face >, ns3::Ptr< ns3::Packet const >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'handler')],
5110 is_virtual=True)
5111 ## ndn-face.h (module 'ndnSIM'): bool ns3::ndn::Face::Send(ns3::Ptr<ns3::Packet> p) [member function]
5112 cls.add_method('Send',
5113 'bool',
5114 [param('ns3::Ptr< ns3::Packet >', 'p')])
5115 ## ndn-face.h (module 'ndnSIM'): void ns3::ndn::Face::SetBucketLeak(double leak) [member function]
5116 cls.add_method('SetBucketLeak',
5117 'void',
5118 [param('double', 'leak')])
5119 ## ndn-face.h (module 'ndnSIM'): void ns3::ndn::Face::SetBucketMax(double bucket) [member function]
5120 cls.add_method('SetBucketMax',
5121 'void',
5122 [param('double', 'bucket')])
5123 ## ndn-face.h (module 'ndnSIM'): void ns3::ndn::Face::SetId(uint32_t id) [member function]
5124 cls.add_method('SetId',
5125 'void',
5126 [param('uint32_t', 'id')])
5127 ## ndn-face.h (module 'ndnSIM'): void ns3::ndn::Face::SetMetric(uint16_t metric) [member function]
5128 cls.add_method('SetMetric',
5129 'void',
5130 [param('uint16_t', 'metric')],
5131 is_virtual=True)
5132 ## ndn-face.h (module 'ndnSIM'): void ns3::ndn::Face::SetUp(bool up=true) [member function]
5133 cls.add_method('SetUp',
5134 'void',
5135 [param('bool', 'up', default_value='true')],
5136 is_virtual=True)
5137 ## ndn-face.h (module 'ndnSIM'): bool ns3::ndn::Face::SendImpl(ns3::Ptr<ns3::Packet> p) [member function]
5138 cls.add_method('SendImpl',
5139 'bool',
5140 [param('ns3::Ptr< ns3::Packet >', 'p')],
5141 is_pure_virtual=True, visibility='protected', is_virtual=True)
5142 return
5143
5144def register_Ns3NdnFaceContainer_methods(root_module, cls):
5145 ## ndn-face-container.h (module 'ndnSIM'): ns3::ndn::FaceContainer::FaceContainer() [constructor]
5146 cls.add_constructor([])
5147 ## ndn-face-container.h (module 'ndnSIM'): ns3::ndn::FaceContainer::FaceContainer(ns3::ndn::FaceContainer const & other) [copy constructor]
5148 cls.add_constructor([param('ns3::ndn::FaceContainer const &', 'other')])
5149 ## ndn-face-container.h (module 'ndnSIM'): void ns3::ndn::FaceContainer::Add(ns3::Ptr<ns3::ndn::Face> const & face) [member function]
5150 cls.add_method('Add',
5151 'void',
5152 [param('ns3::Ptr< ns3::ndn::Face > const &', 'face')])
5153 ## ndn-face-container.h (module 'ndnSIM'): void ns3::ndn::FaceContainer::AddAll(ns3::Ptr<ns3::ndn::FaceContainer> other) [member function]
5154 cls.add_method('AddAll',
5155 'void',
5156 [param('ns3::Ptr< ns3::ndn::FaceContainer >', 'other')])
5157 ## ndn-face-container.h (module 'ndnSIM'): void ns3::ndn::FaceContainer::AddAll(ns3::ndn::FaceContainer const & other) [member function]
5158 cls.add_method('AddAll',
5159 'void',
5160 [param('ns3::ndn::FaceContainer const &', 'other')])
5161 ## 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]
5162 cls.add_method('Begin',
5163 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::ndn::Face > const, std::vector< ns3::Ptr< ns3::ndn::Face > > >',
5164 [],
5165 is_const=True)
5166 ## 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]
5167 cls.add_method('End',
5168 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::ndn::Face > const, std::vector< ns3::Ptr< ns3::ndn::Face > > >',
5169 [],
5170 is_const=True)
5171 ## 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]
5172 cls.add_method('Get',
5173 'ns3::Ptr< ns3::ndn::Face >',
5174 [param('__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::ndn::Face > const, std::vector< ns3::Ptr< ns3::ndn::Face > > >', 'i')],
5175 is_const=True)
5176 ## ndn-face-container.h (module 'ndnSIM'): uint32_t ns3::ndn::FaceContainer::GetN() const [member function]
5177 cls.add_method('GetN',
5178 'uint32_t',
5179 [],
5180 is_const=True)
5181 return
5182
5183def register_Ns3NdnFib_methods(root_module, cls):
5184 cls.add_output_stream_operator()
5185 ## ndn-fib.h (module 'ndnSIM'): ns3::ndn::Fib::Fib() [constructor]
5186 cls.add_constructor([])
5187 ## ndn-fib.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::fib::Entry> ns3::ndn::Fib::Add(ns3::ndn::NameComponents const & prefix, ns3::Ptr<ns3::ndn::Face> face, int32_t metric) [member function]
5188 cls.add_method('Add',
5189 'ns3::Ptr< ns3::ndn::fib::Entry >',
5190 [param('ns3::ndn::NameComponents const &', 'prefix'), param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('int32_t', 'metric')],
5191 is_pure_virtual=True, is_virtual=True)
5192 ## ndn-fib.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::fib::Entry> ns3::ndn::Fib::Add(ns3::Ptr<ns3::ndn::NameComponents const> const & prefix, ns3::Ptr<ns3::ndn::Face> face, int32_t metric) [member function]
5193 cls.add_method('Add',
5194 'ns3::Ptr< ns3::ndn::fib::Entry >',
5195 [param('ns3::Ptr< ns3::ndn::NameComponents const > const &', 'prefix'), param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('int32_t', 'metric')],
5196 is_pure_virtual=True, is_virtual=True)
5197 ## ndn-fib.h (module 'ndnSIM'): ns3::Ptr<const ns3::ndn::fib::Entry> ns3::ndn::Fib::Begin() [member function]
5198 cls.add_method('Begin',
5199 'ns3::Ptr< ns3::ndn::fib::Entry const >',
5200 [],
5201 is_pure_virtual=True, is_virtual=True)
5202 ## ndn-fib.h (module 'ndnSIM'): ns3::Ptr<const ns3::ndn::fib::Entry> ns3::ndn::Fib::End() [member function]
5203 cls.add_method('End',
5204 'ns3::Ptr< ns3::ndn::fib::Entry const >',
5205 [],
5206 is_pure_virtual=True, is_virtual=True)
5207 ## ndn-fib.h (module 'ndnSIM'): static ns3::Ptr<ns3::ndn::Fib> ns3::ndn::Fib::GetFib(ns3::Ptr<ns3::Object> node) [member function]
5208 cls.add_method('GetFib',
5209 'ns3::Ptr< ns3::ndn::Fib >',
5210 [param('ns3::Ptr< ns3::Object >', 'node')],
5211 is_static=True)
5212 ## ndn-fib.h (module 'ndnSIM'): uint32_t ns3::ndn::Fib::GetSize() const [member function]
5213 cls.add_method('GetSize',
5214 'uint32_t',
5215 [],
5216 is_pure_virtual=True, is_const=True, is_virtual=True)
5217 ## ndn-fib.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::Fib::GetTypeId() [member function]
5218 cls.add_method('GetTypeId',
5219 'ns3::TypeId',
5220 [],
5221 is_static=True)
5222 ## ndn-fib.h (module 'ndnSIM'): void ns3::ndn::Fib::InvalidateAll() [member function]
5223 cls.add_method('InvalidateAll',
5224 'void',
5225 [],
5226 is_pure_virtual=True, is_virtual=True)
5227 ## ndn-fib.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::fib::Entry> ns3::ndn::Fib::LongestPrefixMatch(ns3::ndn::InterestHeader const & interest) [member function]
5228 cls.add_method('LongestPrefixMatch',
5229 'ns3::Ptr< ns3::ndn::fib::Entry >',
5230 [param('ns3::ndn::InterestHeader const &', 'interest')],
5231 is_pure_virtual=True, is_virtual=True)
5232 ## ndn-fib.h (module 'ndnSIM'): ns3::Ptr<const ns3::ndn::fib::Entry> ns3::ndn::Fib::Next(ns3::Ptr<const ns3::ndn::fib::Entry> arg0) [member function]
5233 cls.add_method('Next',
5234 'ns3::Ptr< ns3::ndn::fib::Entry const >',
5235 [param('ns3::Ptr< ns3::ndn::fib::Entry const >', 'arg0')],
5236 is_pure_virtual=True, is_virtual=True)
5237 ## ndn-fib.h (module 'ndnSIM'): void ns3::ndn::Fib::Print(std::ostream & os) const [member function]
5238 cls.add_method('Print',
5239 'void',
5240 [param('std::ostream &', 'os')],
5241 is_pure_virtual=True, is_const=True, is_virtual=True)
5242 ## ndn-fib.h (module 'ndnSIM'): void ns3::ndn::Fib::Remove(ns3::Ptr<ns3::ndn::NameComponents const> const & prefix) [member function]
5243 cls.add_method('Remove',
5244 'void',
5245 [param('ns3::Ptr< ns3::ndn::NameComponents const > const &', 'prefix')],
5246 is_pure_virtual=True, is_virtual=True)
5247 ## ndn-fib.h (module 'ndnSIM'): void ns3::ndn::Fib::RemoveFromAll(ns3::Ptr<ns3::ndn::Face> face) [member function]
5248 cls.add_method('RemoveFromAll',
5249 'void',
5250 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
5251 is_pure_virtual=True, is_virtual=True)
5252 return
5253
5254def register_Ns3NdnForwardingStrategy_methods(root_module, cls):
5255 ## ndn-forwarding-strategy.h (module 'ndnSIM'): ns3::ndn::ForwardingStrategy::ForwardingStrategy(ns3::ndn::ForwardingStrategy const & arg0) [copy constructor]
5256 cls.add_constructor([param('ns3::ndn::ForwardingStrategy const &', 'arg0')])
5257 ## ndn-forwarding-strategy.h (module 'ndnSIM'): ns3::ndn::ForwardingStrategy::ForwardingStrategy() [constructor]
5258 cls.add_constructor([])
5259 ## ndn-forwarding-strategy.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::ForwardingStrategy::GetTypeId() [member function]
5260 cls.add_method('GetTypeId',
5261 'ns3::TypeId',
5262 [],
5263 is_static=True)
5264 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::OnData(ns3::Ptr<ns3::ndn::Face> const & face, ns3::Ptr<ns3::ndn::ContentObjectHeader> & header, ns3::Ptr<ns3::Packet> & payload, ns3::Ptr<const ns3::Packet> const & packet) [member function]
5265 cls.add_method('OnData',
5266 'void',
5267 [param('ns3::Ptr< ns3::ndn::Face > const &', 'face'), param('ns3::Ptr< ns3::ndn::ContentObjectHeader > &', 'header'), param('ns3::Ptr< ns3::Packet > &', 'payload'), param('ns3::Ptr< ns3::Packet const > const &', 'packet')],
5268 is_virtual=True)
5269 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::OnInterest(ns3::Ptr<ns3::ndn::Face> const & face, ns3::Ptr<ns3::ndn::InterestHeader> & header, ns3::Ptr<const ns3::Packet> const & p) [member function]
5270 cls.add_method('OnInterest',
5271 'void',
5272 [param('ns3::Ptr< ns3::ndn::Face > const &', 'face'), param('ns3::Ptr< ns3::ndn::InterestHeader > &', 'header'), param('ns3::Ptr< ns3::Packet const > const &', 'p')],
5273 is_virtual=True)
5274 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::RemoveFace(ns3::Ptr<ns3::ndn::Face> face) [member function]
5275 cls.add_method('RemoveFace',
5276 'void',
5277 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
5278 is_virtual=True)
5279 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::WillErasePendingInterest(ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
5280 cls.add_method('WillErasePendingInterest',
5281 'void',
5282 [param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
5283 is_virtual=True)
5284 ## ndn-forwarding-strategy.h (module 'ndnSIM'): bool ns3::ndn::ForwardingStrategy::DetectRetransmittedInterest(ns3::Ptr<ns3::ndn::Face> const & incomingFace, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
5285 cls.add_method('DetectRetransmittedInterest',
5286 'bool',
5287 [param('ns3::Ptr< ns3::ndn::Face > const &', 'incomingFace'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
5288 visibility='protected', is_virtual=True)
5289 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DidCreatePitEntry(ns3::Ptr<ns3::ndn::Face> const & incomingFace, ns3::Ptr<ns3::ndn::InterestHeader> header, ns3::Ptr<const ns3::Packet> const & packet, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
5290 cls.add_method('DidCreatePitEntry',
5291 'void',
5292 [param('ns3::Ptr< ns3::ndn::Face > const &', 'incomingFace'), param('ns3::Ptr< ns3::ndn::InterestHeader >', 'header'), param('ns3::Ptr< ns3::Packet const > const &', 'packet'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
5293 visibility='protected', is_virtual=True)
5294 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DidExhaustForwardingOptions(ns3::Ptr<ns3::ndn::Face> const & incomingFace, ns3::Ptr<ns3::ndn::InterestHeader> header, ns3::Ptr<const ns3::Packet> const & packet, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
5295 cls.add_method('DidExhaustForwardingOptions',
5296 'void',
5297 [param('ns3::Ptr< ns3::ndn::Face > const &', 'incomingFace'), param('ns3::Ptr< ns3::ndn::InterestHeader >', 'header'), param('ns3::Ptr< ns3::Packet const > const &', 'packet'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
5298 visibility='protected', is_virtual=True)
5299 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DidReceiveDuplicateInterest(ns3::Ptr<ns3::ndn::Face> const & face, ns3::Ptr<ns3::ndn::InterestHeader> & header, ns3::Ptr<const ns3::Packet> const & packet, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
5300 cls.add_method('DidReceiveDuplicateInterest',
5301 'void',
5302 [param('ns3::Ptr< ns3::ndn::Face > const &', 'face'), param('ns3::Ptr< ns3::ndn::InterestHeader > &', 'header'), param('ns3::Ptr< ns3::Packet const > const &', 'packet'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
5303 visibility='protected', is_virtual=True)
5304 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DidReceiveUnsolicitedData(ns3::Ptr<ns3::ndn::Face> const & incomingFace, ns3::Ptr<ns3::ndn::ContentObjectHeader const> header, ns3::Ptr<const ns3::Packet> payload) [member function]
5305 cls.add_method('DidReceiveUnsolicitedData',
5306 'void',
5307 [param('ns3::Ptr< ns3::ndn::Face > const &', 'incomingFace'), param('ns3::Ptr< ns3::ndn::ContentObjectHeader const >', 'header'), param('ns3::Ptr< ns3::Packet const >', 'payload')],
5308 visibility='protected', is_virtual=True)
5309 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DidSendOutData(ns3::Ptr<ns3::ndn::Face> const & face, ns3::Ptr<ns3::ndn::ContentObjectHeader const> header, ns3::Ptr<const ns3::Packet> payload, ns3::Ptr<const ns3::Packet> const & packet) [member function]
5310 cls.add_method('DidSendOutData',
5311 'void',
5312 [param('ns3::Ptr< ns3::ndn::Face > const &', 'face'), param('ns3::Ptr< ns3::ndn::ContentObjectHeader const >', 'header'), param('ns3::Ptr< ns3::Packet const >', 'payload'), param('ns3::Ptr< ns3::Packet const > const &', 'packet')],
5313 visibility='protected', is_virtual=True)
5314 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DidSendOutInterest(ns3::Ptr<ns3::ndn::Face> const & outgoingFace, ns3::Ptr<ns3::ndn::InterestHeader> header, ns3::Ptr<const ns3::Packet> const & packet, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
5315 cls.add_method('DidSendOutInterest',
5316 'void',
5317 [param('ns3::Ptr< ns3::ndn::Face > const &', 'outgoingFace'), param('ns3::Ptr< ns3::ndn::InterestHeader >', 'header'), param('ns3::Ptr< ns3::Packet const > const &', 'packet'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
5318 visibility='protected', is_virtual=True)
5319 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DoDispose() [member function]
5320 cls.add_method('DoDispose',
5321 'void',
5322 [],
5323 visibility='protected', is_virtual=True)
5324 ## ndn-forwarding-strategy.h (module 'ndnSIM'): bool ns3::ndn::ForwardingStrategy::DoPropagateInterest(ns3::Ptr<ns3::ndn::Face> const & incomingFace, ns3::Ptr<ns3::ndn::InterestHeader> header, ns3::Ptr<const ns3::Packet> const & packet, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
5325 cls.add_method('DoPropagateInterest',
5326 'bool',
5327 [param('ns3::Ptr< ns3::ndn::Face > const &', 'incomingFace'), param('ns3::Ptr< ns3::ndn::InterestHeader >', 'header'), param('ns3::Ptr< ns3::Packet const > const &', 'packet'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
5328 is_pure_virtual=True, visibility='protected', is_virtual=True)
5329 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::FailedToCreatePitEntry(ns3::Ptr<ns3::ndn::Face> const & incomingFace, ns3::Ptr<ns3::ndn::InterestHeader> header, ns3::Ptr<const ns3::Packet> const & packet) [member function]
5330 cls.add_method('FailedToCreatePitEntry',
5331 'void',
5332 [param('ns3::Ptr< ns3::ndn::Face > const &', 'incomingFace'), param('ns3::Ptr< ns3::ndn::InterestHeader >', 'header'), param('ns3::Ptr< ns3::Packet const > const &', 'packet')],
5333 visibility='protected', is_virtual=True)
5334 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::NotifyNewAggregate() [member function]
5335 cls.add_method('NotifyNewAggregate',
5336 'void',
5337 [],
5338 visibility='protected', is_virtual=True)
5339 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::PropagateInterest(ns3::Ptr<ns3::ndn::Face> const & incomingFace, ns3::Ptr<ns3::ndn::InterestHeader> header, ns3::Ptr<const ns3::Packet> const & packet, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
5340 cls.add_method('PropagateInterest',
5341 'void',
5342 [param('ns3::Ptr< ns3::ndn::Face > const &', 'incomingFace'), param('ns3::Ptr< ns3::ndn::InterestHeader >', 'header'), param('ns3::Ptr< ns3::Packet const > const &', 'packet'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
5343 visibility='protected', is_virtual=True)
5344 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::SatisfyPendingInterest(ns3::Ptr<ns3::ndn::Face> const & incomingFace, ns3::Ptr<ns3::ndn::ContentObjectHeader const> header, ns3::Ptr<const ns3::Packet> payload, ns3::Ptr<const ns3::Packet> const & packet, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
5345 cls.add_method('SatisfyPendingInterest',
5346 'void',
5347 [param('ns3::Ptr< ns3::ndn::Face > const &', 'incomingFace'), param('ns3::Ptr< ns3::ndn::ContentObjectHeader const >', 'header'), param('ns3::Ptr< ns3::Packet const >', 'payload'), param('ns3::Ptr< ns3::Packet const > const &', 'packet'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
5348 visibility='protected', is_virtual=True)
5349 ## ndn-forwarding-strategy.h (module 'ndnSIM'): bool ns3::ndn::ForwardingStrategy::ShouldSuppressIncomingInterest(ns3::Ptr<ns3::ndn::Face> const & incomingFace, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
5350 cls.add_method('ShouldSuppressIncomingInterest',
5351 'bool',
5352 [param('ns3::Ptr< ns3::ndn::Face > const &', 'incomingFace'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
5353 visibility='protected', is_virtual=True)
5354 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::WillSatisfyPendingInterest(ns3::Ptr<ns3::ndn::Face> const & incomingFace, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
5355 cls.add_method('WillSatisfyPendingInterest',
5356 'void',
5357 [param('ns3::Ptr< ns3::ndn::Face > const &', 'incomingFace'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
5358 visibility='protected', is_virtual=True)
5359 ## ndn-forwarding-strategy.h (module 'ndnSIM'): bool ns3::ndn::ForwardingStrategy::WillSendOutInterest(ns3::Ptr<ns3::ndn::Face> const & outgoingFace, ns3::Ptr<ns3::ndn::InterestHeader> header, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
5360 cls.add_method('WillSendOutInterest',
5361 'bool',
5362 [param('ns3::Ptr< ns3::ndn::Face > const &', 'outgoingFace'), param('ns3::Ptr< ns3::ndn::InterestHeader >', 'header'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
5363 visibility='protected', is_virtual=True)
5364 return
5365
5366def register_Ns3NdnGlobalRoutingHelper_methods(root_module, cls):
5367 ## ndn-global-routing-helper.h (module 'ndnSIM'): ns3::ndn::GlobalRoutingHelper::GlobalRoutingHelper() [constructor]
5368 cls.add_constructor([])
5369 ## ndn-global-routing-helper.h (module 'ndnSIM'): ns3::ndn::GlobalRoutingHelper::GlobalRoutingHelper(ns3::ndn::GlobalRoutingHelper const & arg0) [copy constructor]
5370 cls.add_constructor([param('ns3::ndn::GlobalRoutingHelper const &', 'arg0')])
5371 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::AddOrigin(std::string const & prefix, ns3::Ptr<ns3::Node> node) [member function]
5372 cls.add_method('AddOrigin',
5373 'void',
5374 [param('std::string const &', 'prefix'), param('ns3::Ptr< ns3::Node >', 'node')])
5375 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::AddOrigin(std::string const & prefix, std::string const & nodeName) [member function]
5376 cls.add_method('AddOrigin',
5377 'void',
5378 [param('std::string const &', 'prefix'), param('std::string const &', 'nodeName')])
5379 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::AddOrigins(std::string const & prefix, ns3::NodeContainer const & nodes) [member function]
5380 cls.add_method('AddOrigins',
5381 'void',
5382 [param('std::string const &', 'prefix'), param('ns3::NodeContainer const &', 'nodes')])
5383 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::CalculateRoutes() [member function]
5384 cls.add_method('CalculateRoutes',
5385 'void',
5386 [])
5387 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::Install(ns3::Ptr<ns3::Node> node) [member function]
5388 cls.add_method('Install',
5389 'void',
5390 [param('ns3::Ptr< ns3::Node >', 'node')])
5391 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::Install(ns3::NodeContainer const & nodes) [member function]
5392 cls.add_method('Install',
5393 'void',
5394 [param('ns3::NodeContainer const &', 'nodes')])
5395 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::InstallAll() [member function]
5396 cls.add_method('InstallAll',
5397 'void',
5398 [])
5399 return
5400
5401def register_Ns3NdnHeaderHelper_methods(root_module, cls):
5402 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::HeaderHelper::HeaderHelper() [constructor]
5403 cls.add_constructor([])
5404 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::HeaderHelper::HeaderHelper(ns3::ndn::HeaderHelper const & arg0) [copy constructor]
5405 cls.add_constructor([param('ns3::ndn::HeaderHelper const &', 'arg0')])
5406 ## ndn-header-helper.h (module 'ndnSIM'): static ns3::ndn::HeaderHelper::Type ns3::ndn::HeaderHelper::GetNdnHeaderType(ns3::Ptr<const ns3::Packet> packet) [member function]
5407 cls.add_method('GetNdnHeaderType',
5408 'ns3::ndn::HeaderHelper::Type',
5409 [param('ns3::Ptr< ns3::Packet const >', 'packet')],
5410 is_static=True)
5411 return
5412
5413def register_Ns3NdnInterestHeader_methods(root_module, cls):
5414 ## ndn-interest-header.h (module 'ndnSIM'): ns3::ndn::InterestHeader::InterestHeader(ns3::ndn::InterestHeader const & arg0) [copy constructor]
5415 cls.add_constructor([param('ns3::ndn::InterestHeader const &', 'arg0')])
5416 ## ndn-interest-header.h (module 'ndnSIM'): ns3::ndn::InterestHeader::InterestHeader() [constructor]
5417 cls.add_constructor([])
5418 ## ndn-interest-header.h (module 'ndnSIM'): uint32_t ns3::ndn::InterestHeader::Deserialize(ns3::Buffer::Iterator start) [member function]
5419 cls.add_method('Deserialize',
5420 'uint32_t',
5421 [param('ns3::Buffer::Iterator', 'start')],
5422 is_virtual=True)
5423 ## ndn-interest-header.h (module 'ndnSIM'): ns3::ndn::NameComponents const & ns3::ndn::InterestHeader::GetExclude() const [member function]
5424 cls.add_method('GetExclude',
5425 'ns3::ndn::NameComponents const &',
5426 [],
5427 is_const=True)
5428 ## ndn-interest-header.h (module 'ndnSIM'): ns3::TypeId ns3::ndn::InterestHeader::GetInstanceTypeId() const [member function]
5429 cls.add_method('GetInstanceTypeId',
5430 'ns3::TypeId',
5431 [],
5432 is_const=True, is_virtual=True)
5433 ## ndn-interest-header.h (module 'ndnSIM'): ns3::Time ns3::ndn::InterestHeader::GetInterestLifetime() const [member function]
5434 cls.add_method('GetInterestLifetime',
5435 'ns3::Time',
5436 [],
5437 is_const=True)
5438 ## ndn-interest-header.h (module 'ndnSIM'): int32_t ns3::ndn::InterestHeader::GetMaxSuffixComponents() const [member function]
5439 cls.add_method('GetMaxSuffixComponents',
5440 'int32_t',
5441 [],
5442 is_const=True)
5443 ## ndn-interest-header.h (module 'ndnSIM'): int32_t ns3::ndn::InterestHeader::GetMinSuffixComponents() const [member function]
5444 cls.add_method('GetMinSuffixComponents',
5445 'int32_t',
5446 [],
5447 is_const=True)
5448 ## ndn-interest-header.h (module 'ndnSIM'): uint32_t ns3::ndn::InterestHeader::GetNack() const [member function]
5449 cls.add_method('GetNack',
5450 'uint32_t',
5451 [],
5452 is_const=True)
5453 ## ndn-interest-header.h (module 'ndnSIM'): ns3::ndn::NameComponents const & ns3::ndn::InterestHeader::GetName() const [member function]
5454 cls.add_method('GetName',
5455 'ns3::ndn::NameComponents const &',
5456 [],
5457 is_const=True)
5458 ## ndn-interest-header.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::NameComponents const> ns3::ndn::InterestHeader::GetNamePtr() const [member function]
5459 cls.add_method('GetNamePtr',
5460 'ns3::Ptr< ns3::ndn::NameComponents const >',
5461 [],
5462 is_const=True)
5463 ## ndn-interest-header.h (module 'ndnSIM'): uint32_t ns3::ndn::InterestHeader::GetNonce() const [member function]
5464 cls.add_method('GetNonce',
5465 'uint32_t',
5466 [],
5467 is_const=True)
5468 ## ndn-interest-header.h (module 'ndnSIM'): int8_t ns3::ndn::InterestHeader::GetScope() const [member function]
5469 cls.add_method('GetScope',
5470 'int8_t',
5471 [],
5472 is_const=True)
5473 ## ndn-interest-header.h (module 'ndnSIM'): uint32_t ns3::ndn::InterestHeader::GetSerializedSize() const [member function]
5474 cls.add_method('GetSerializedSize',
5475 'uint32_t',
5476 [],
5477 is_const=True, is_virtual=True)
5478 ## ndn-interest-header.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::InterestHeader::GetTypeId() [member function]
5479 cls.add_method('GetTypeId',
5480 'ns3::TypeId',
5481 [],
5482 is_static=True)
5483 ## ndn-interest-header.h (module 'ndnSIM'): bool ns3::ndn::InterestHeader::IsEnabledAnswerOriginKind() const [member function]
5484 cls.add_method('IsEnabledAnswerOriginKind',
5485 'bool',
5486 [],
5487 is_const=True)
5488 ## ndn-interest-header.h (module 'ndnSIM'): bool ns3::ndn::InterestHeader::IsEnabledChildSelector() const [member function]
5489 cls.add_method('IsEnabledChildSelector',
5490 'bool',
5491 [],
5492 is_const=True)
5493 ## ndn-interest-header.h (module 'ndnSIM'): bool ns3::ndn::InterestHeader::IsEnabledExclude() const [member function]
5494 cls.add_method('IsEnabledExclude',
5495 'bool',
5496 [],
5497 is_const=True)
5498 ## ndn-interest-header.h (module 'ndnSIM'): void ns3::ndn::InterestHeader::Print(std::ostream & os) const [member function]
5499 cls.add_method('Print',
5500 'void',
5501 [param('std::ostream &', 'os')],
5502 is_const=True, is_virtual=True)
5503 ## ndn-interest-header.h (module 'ndnSIM'): void ns3::ndn::InterestHeader::Serialize(ns3::Buffer::Iterator start) const [member function]
5504 cls.add_method('Serialize',
5505 'void',
5506 [param('ns3::Buffer::Iterator', 'start')],
5507 is_const=True, is_virtual=True)
5508 ## ndn-interest-header.h (module 'ndnSIM'): void ns3::ndn::InterestHeader::SetAnswerOriginKind(bool value) [member function]
5509 cls.add_method('SetAnswerOriginKind',
5510 'void',
5511 [param('bool', 'value')])
5512 ## ndn-interest-header.h (module 'ndnSIM'): void ns3::ndn::InterestHeader::SetChildSelector(bool value) [member function]
5513 cls.add_method('SetChildSelector',
5514 'void',
5515 [param('bool', 'value')])
5516 ## ndn-interest-header.h (module 'ndnSIM'): void ns3::ndn::InterestHeader::SetExclude(ns3::Ptr<ns3::ndn::NameComponents> const & exclude) [member function]
5517 cls.add_method('SetExclude',
5518 'void',
5519 [param('ns3::Ptr< ns3::ndn::NameComponents > const &', 'exclude')])
5520 ## ndn-interest-header.h (module 'ndnSIM'): void ns3::ndn::InterestHeader::SetInterestLifetime(ns3::Time time) [member function]
5521 cls.add_method('SetInterestLifetime',
5522 'void',
5523 [param('ns3::Time', 'time')])
5524 ## ndn-interest-header.h (module 'ndnSIM'): void ns3::ndn::InterestHeader::SetMaxSuffixComponents(int32_t value) [member function]
5525 cls.add_method('SetMaxSuffixComponents',
5526 'void',
5527 [param('int32_t', 'value')])
5528 ## ndn-interest-header.h (module 'ndnSIM'): void ns3::ndn::InterestHeader::SetMinSuffixComponents(int32_t value) [member function]
5529 cls.add_method('SetMinSuffixComponents',
5530 'void',
5531 [param('int32_t', 'value')])
5532 ## ndn-interest-header.h (module 'ndnSIM'): void ns3::ndn::InterestHeader::SetNack(uint32_t nackType) [member function]
5533 cls.add_method('SetNack',
5534 'void',
5535 [param('uint32_t', 'nackType')])
5536 ## ndn-interest-header.h (module 'ndnSIM'): void ns3::ndn::InterestHeader::SetName(ns3::Ptr<ns3::ndn::NameComponents> const & name) [member function]
5537 cls.add_method('SetName',
5538 'void',
5539 [param('ns3::Ptr< ns3::ndn::NameComponents > const &', 'name')])
5540 ## ndn-interest-header.h (module 'ndnSIM'): void ns3::ndn::InterestHeader::SetNonce(uint32_t nonce) [member function]
5541 cls.add_method('SetNonce',
5542 'void',
5543 [param('uint32_t', 'nonce')])
5544 ## ndn-interest-header.h (module 'ndnSIM'): void ns3::ndn::InterestHeader::SetScope(int8_t scope) [member function]
5545 cls.add_method('SetScope',
5546 'void',
5547 [param('int8_t', 'scope')])
5548 return
5549
5550def register_Ns3NdnInterestHeaderException_methods(root_module, cls):
5551 ## ndn-interest-header.h (module 'ndnSIM'): ns3::ndn::InterestHeaderException::InterestHeaderException() [constructor]
5552 cls.add_constructor([])
5553 ## ndn-interest-header.h (module 'ndnSIM'): ns3::ndn::InterestHeaderException::InterestHeaderException(ns3::ndn::InterestHeaderException const & arg0) [copy constructor]
5554 cls.add_constructor([param('ns3::ndn::InterestHeaderException const &', 'arg0')])
5555 return
5556
5557def register_Ns3NdnL3Protocol_methods(root_module, cls):
5558 ## ndn-l3-protocol.h (module 'ndnSIM'): ns3::ndn::L3Protocol::ETHERNET_FRAME_TYPE [variable]
5559 cls.add_static_attribute('ETHERNET_FRAME_TYPE', 'uint16_t const', is_const=True)
5560 ## ndn-l3-protocol.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::L3Protocol::GetTypeId() [member function]
5561 cls.add_method('GetTypeId',
5562 'ns3::TypeId',
5563 [],
5564 is_static=True)
5565 ## ndn-l3-protocol.h (module 'ndnSIM'): ns3::ndn::L3Protocol::L3Protocol() [constructor]
5566 cls.add_constructor([])
5567 ## ndn-l3-protocol.h (module 'ndnSIM'): uint32_t ns3::ndn::L3Protocol::AddFace(ns3::Ptr<ns3::ndn::Face> const & face) [member function]
5568 cls.add_method('AddFace',
5569 'uint32_t',
5570 [param('ns3::Ptr< ns3::ndn::Face > const &', 'face')],
5571 is_virtual=True)
5572 ## ndn-l3-protocol.h (module 'ndnSIM'): uint32_t ns3::ndn::L3Protocol::GetNFaces() const [member function]
5573 cls.add_method('GetNFaces',
5574 'uint32_t',
5575 [],
5576 is_const=True, is_virtual=True)
5577 ## ndn-l3-protocol.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::Face> ns3::ndn::L3Protocol::GetFace(uint32_t face) const [member function]
5578 cls.add_method('GetFace',
5579 'ns3::Ptr< ns3::ndn::Face >',
5580 [param('uint32_t', 'face')],
5581 is_const=True, is_virtual=True)
5582 ## ndn-l3-protocol.h (module 'ndnSIM'): void ns3::ndn::L3Protocol::RemoveFace(ns3::Ptr<ns3::ndn::Face> face) [member function]
5583 cls.add_method('RemoveFace',
5584 'void',
5585 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
5586 is_virtual=True)
5587 ## ndn-l3-protocol.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::Face> ns3::ndn::L3Protocol::GetFaceByNetDevice(ns3::Ptr<ns3::NetDevice> netDevice) const [member function]
5588 cls.add_method('GetFaceByNetDevice',
5589 'ns3::Ptr< ns3::ndn::Face >',
5590 [param('ns3::Ptr< ns3::NetDevice >', 'netDevice')],
5591 is_const=True, is_virtual=True)
5592 ## ndn-l3-protocol.h (module 'ndnSIM'): void ns3::ndn::L3Protocol::DoDispose() [member function]
5593 cls.add_method('DoDispose',
5594 'void',
5595 [],
5596 visibility='protected', is_virtual=True)
5597 ## ndn-l3-protocol.h (module 'ndnSIM'): void ns3::ndn::L3Protocol::NotifyNewAggregate() [member function]
5598 cls.add_method('NotifyNewAggregate',
5599 'void',
5600 [],
5601 visibility='protected', is_virtual=True)
5602 return
5603
5604def register_Ns3NdnNameComponents_methods(root_module, cls):
5605 cls.add_output_stream_operator()
5606 cls.add_binary_comparison_operator('<')
5607 cls.add_binary_comparison_operator('==')
5608 ## ndn-name-components.h (module 'ndnSIM'): ns3::ndn::NameComponents::NameComponents(ns3::ndn::NameComponents const & arg0) [copy constructor]
5609 cls.add_constructor([param('ns3::ndn::NameComponents const &', 'arg0')])
5610 ## ndn-name-components.h (module 'ndnSIM'): ns3::ndn::NameComponents::NameComponents() [constructor]
5611 cls.add_constructor([])
5612 ## ndn-name-components.h (module 'ndnSIM'): ns3::ndn::NameComponents::NameComponents(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]
5613 cls.add_constructor([param('std::list< boost::reference_wrapper< std::string const > > const &', 'components')])
5614 ## ndn-name-components.h (module 'ndnSIM'): ns3::ndn::NameComponents::NameComponents(std::string const & prefix) [constructor]
5615 cls.add_constructor([param('std::string const &', 'prefix')])
5616 ## ndn-name-components.h (module 'ndnSIM'): ns3::ndn::NameComponents::NameComponents(char const * prefix) [constructor]
5617 cls.add_constructor([param('char const *', 'prefix')])
5618 ## ndn-name-components.h (module 'ndnSIM'): std::list<std::string, std::allocator<std::string> > const & ns3::ndn::NameComponents::GetComponents() const [member function]
5619 cls.add_method('GetComponents',
5620 'std::list< std::string > const &',
5621 [],
5622 is_const=True)
5623 ## ndn-name-components.h (module 'ndnSIM'): std::string ns3::ndn::NameComponents::GetLastComponent() const [member function]
5624 cls.add_method('GetLastComponent',
5625 'std::string',
5626 [],
5627 is_const=True)
5628 ## ndn-name-components.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::NameComponents::GetSubComponents(size_t num) const [member function]
5629 cls.add_method('GetSubComponents',
5630 'std::list< boost::reference_wrapper< std::string const > >',
5631 [param('size_t', 'num')],
5632 is_const=True)
5633 ## ndn-name-components.h (module 'ndnSIM'): void ns3::ndn::NameComponents::Print(std::ostream & os) const [member function]
5634 cls.add_method('Print',
5635 'void',
5636 [param('std::ostream &', 'os')],
5637 is_const=True)
5638 ## ndn-name-components.h (module 'ndnSIM'): std::_List_iterator<std::string> ns3::ndn::NameComponents::begin() [member function]
5639 cls.add_method('begin',
5640 'std::_List_iterator< std::string >',
5641 [])
5642 ## ndn-name-components.h (module 'ndnSIM'): std::_List_const_iterator<std::string> ns3::ndn::NameComponents::begin() const [member function]
5643 cls.add_method('begin',
5644 'std::_List_const_iterator< std::string >',
5645 [],
5646 is_const=True)
5647 ## ndn-name-components.h (module 'ndnSIM'): ns3::ndn::NameComponents ns3::ndn::NameComponents::cut(size_t minusComponents) const [member function]
5648 cls.add_method('cut',
5649 'ns3::ndn::NameComponents',
5650 [param('size_t', 'minusComponents')],
5651 is_const=True)
5652 ## ndn-name-components.h (module 'ndnSIM'): std::_List_iterator<std::string> ns3::ndn::NameComponents::end() [member function]
5653 cls.add_method('end',
5654 'std::_List_iterator< std::string >',
5655 [])
5656 ## ndn-name-components.h (module 'ndnSIM'): std::_List_const_iterator<std::string> ns3::ndn::NameComponents::end() const [member function]
5657 cls.add_method('end',
5658 'std::_List_const_iterator< std::string >',
5659 [],
5660 is_const=True)
5661 ## ndn-name-components.h (module 'ndnSIM'): size_t ns3::ndn::NameComponents::size() const [member function]
5662 cls.add_method('size',
5663 'size_t',
5664 [],
5665 is_const=True)
5666 return
5667
5668def register_Ns3NdnNameComponentsChecker_methods(root_module, cls):
5669 ## ndn-name-components.h (module 'ndnSIM'): ns3::ndn::NameComponentsChecker::NameComponentsChecker() [constructor]
5670 cls.add_constructor([])
5671 ## ndn-name-components.h (module 'ndnSIM'): ns3::ndn::NameComponentsChecker::NameComponentsChecker(ns3::ndn::NameComponentsChecker const & arg0) [copy constructor]
5672 cls.add_constructor([param('ns3::ndn::NameComponentsChecker const &', 'arg0')])
5673 return
5674
5675def register_Ns3NdnNameComponentsValue_methods(root_module, cls):
5676 ## ndn-name-components.h (module 'ndnSIM'): ns3::ndn::NameComponentsValue::NameComponentsValue() [constructor]
5677 cls.add_constructor([])
5678 ## ndn-name-components.h (module 'ndnSIM'): ns3::ndn::NameComponentsValue::NameComponentsValue(ns3::ndn::NameComponentsValue const & arg0) [copy constructor]
5679 cls.add_constructor([param('ns3::ndn::NameComponentsValue const &', 'arg0')])
5680 ## ndn-name-components.h (module 'ndnSIM'): ns3::ndn::NameComponentsValue::NameComponentsValue(ns3::ndn::NameComponents const & value) [constructor]
5681 cls.add_constructor([param('ns3::ndn::NameComponents const &', 'value')])
5682 ## ndn-name-components.h (module 'ndnSIM'): ns3::Ptr<ns3::AttributeValue> ns3::ndn::NameComponentsValue::Copy() const [member function]
5683 cls.add_method('Copy',
5684 'ns3::Ptr< ns3::AttributeValue >',
5685 [],
5686 is_const=True, is_virtual=True)
5687 ## ndn-name-components.h (module 'ndnSIM'): bool ns3::ndn::NameComponentsValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
5688 cls.add_method('DeserializeFromString',
5689 'bool',
5690 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
5691 is_virtual=True)
5692 ## ndn-name-components.h (module 'ndnSIM'): ns3::ndn::NameComponents ns3::ndn::NameComponentsValue::Get() const [member function]
5693 cls.add_method('Get',
5694 'ns3::ndn::NameComponents',
5695 [],
5696 is_const=True)
5697 ## ndn-name-components.h (module 'ndnSIM'): std::string ns3::ndn::NameComponentsValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
5698 cls.add_method('SerializeToString',
5699 'std::string',
5700 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
5701 is_const=True, is_virtual=True)
5702 ## ndn-name-components.h (module 'ndnSIM'): void ns3::ndn::NameComponentsValue::Set(ns3::ndn::NameComponents const & value) [member function]
5703 cls.add_method('Set',
5704 'void',
5705 [param('ns3::ndn::NameComponents const &', 'value')])
5706 return
5707
5708def register_Ns3NdnNetDeviceFace_methods(root_module, cls):
5709 ## ndn-net-device-face.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::NetDeviceFace::GetTypeId() [member function]
5710 cls.add_method('GetTypeId',
5711 'ns3::TypeId',
5712 [],
5713 is_static=True)
5714 ## ndn-net-device-face.h (module 'ndnSIM'): ns3::ndn::NetDeviceFace::NetDeviceFace(ns3::Ptr<ns3::Node> node, ns3::Ptr<ns3::NetDevice> const & netDevice) [constructor]
5715 cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::Ptr< ns3::NetDevice > const &', 'netDevice')])
5716 ## ndn-net-device-face.h (module 'ndnSIM'): void ns3::ndn::NetDeviceFace::RegisterProtocolHandler(ns3::Callback<void, ns3::Ptr<ns3::ndn::Face> const&, ns3::Ptr<ns3::Packet const> const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> handler) [member function]
5717 cls.add_method('RegisterProtocolHandler',
5718 'void',
5719 [param('ns3::Callback< void, ns3::Ptr< ns3::ndn::Face >, ns3::Ptr< ns3::Packet const >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'handler')],
5720 is_virtual=True)
5721 ## ndn-net-device-face.h (module 'ndnSIM'): std::ostream & ns3::ndn::NetDeviceFace::Print(std::ostream & os) const [member function]
5722 cls.add_method('Print',
5723 'std::ostream &',
5724 [param('std::ostream &', 'os')],
5725 is_const=True, is_virtual=True)
5726 ## ndn-net-device-face.h (module 'ndnSIM'): ns3::Ptr<ns3::NetDevice> ns3::ndn::NetDeviceFace::GetNetDevice() const [member function]
5727 cls.add_method('GetNetDevice',
5728 'ns3::Ptr< ns3::NetDevice >',
5729 [],
5730 is_const=True)
5731 ## ndn-net-device-face.h (module 'ndnSIM'): bool ns3::ndn::NetDeviceFace::SendImpl(ns3::Ptr<ns3::Packet> p) [member function]
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07005732 cls.add_method('SendImpl',
Alexander Afanasyev1c0248b2012-07-24 15:59:50 -07005733 'bool',
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07005734 [param('ns3::Ptr< ns3::Packet >', 'p')],
5735 visibility='protected', is_virtual=True)
5736 return
5737
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005738def register_Ns3NdnPit_methods(root_module, cls):
5739 cls.add_output_stream_operator()
5740 ## ndn-pit.h (module 'ndnSIM'): ns3::ndn::Pit::Pit(ns3::ndn::Pit const & arg0) [copy constructor]
5741 cls.add_constructor([param('ns3::ndn::Pit const &', 'arg0')])
5742 ## ndn-pit.h (module 'ndnSIM'): ns3::ndn::Pit::Pit() [constructor]
5743 cls.add_constructor([])
5744 ## ndn-pit.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::pit::Entry> ns3::ndn::Pit::Begin() [member function]
5745 cls.add_method('Begin',
5746 'ns3::Ptr< ns3::ndn::pit::Entry >',
5747 [],
5748 is_pure_virtual=True, is_virtual=True)
5749 ## ndn-pit.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::pit::Entry> ns3::ndn::Pit::Create(ns3::Ptr<const ns3::ndn::InterestHeader> header) [member function]
5750 cls.add_method('Create',
5751 'ns3::Ptr< ns3::ndn::pit::Entry >',
5752 [param('ns3::Ptr< ns3::ndn::InterestHeader const >', 'header')],
5753 is_pure_virtual=True, is_virtual=True)
5754 ## ndn-pit.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::pit::Entry> ns3::ndn::Pit::End() [member function]
5755 cls.add_method('End',
5756 'ns3::Ptr< ns3::ndn::pit::Entry >',
5757 [],
5758 is_pure_virtual=True, is_virtual=True)
5759 ## ndn-pit.h (module 'ndnSIM'): static ns3::Ptr<ns3::ndn::Pit> ns3::ndn::Pit::GetPit(ns3::Ptr<ns3::Object> node) [member function]
5760 cls.add_method('GetPit',
5761 'ns3::Ptr< ns3::ndn::Pit >',
5762 [param('ns3::Ptr< ns3::Object >', 'node')],
5763 is_static=True)
5764 ## ndn-pit.h (module 'ndnSIM'): uint32_t ns3::ndn::Pit::GetSize() const [member function]
5765 cls.add_method('GetSize',
5766 'uint32_t',
5767 [],
5768 is_pure_virtual=True, is_const=True, is_virtual=True)
5769 ## ndn-pit.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::Pit::GetTypeId() [member function]
5770 cls.add_method('GetTypeId',
5771 'ns3::TypeId',
5772 [],
5773 is_static=True)
5774 ## ndn-pit.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::pit::Entry> ns3::ndn::Pit::Lookup(ns3::ndn::ContentObjectHeader const & header) [member function]
5775 cls.add_method('Lookup',
5776 'ns3::Ptr< ns3::ndn::pit::Entry >',
5777 [param('ns3::ndn::ContentObjectHeader const &', 'header')],
5778 is_pure_virtual=True, is_virtual=True)
5779 ## ndn-pit.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::pit::Entry> ns3::ndn::Pit::Lookup(ns3::ndn::InterestHeader const & header) [member function]
5780 cls.add_method('Lookup',
5781 'ns3::Ptr< ns3::ndn::pit::Entry >',
5782 [param('ns3::ndn::InterestHeader const &', 'header')],
5783 is_pure_virtual=True, is_virtual=True)
5784 ## ndn-pit.h (module 'ndnSIM'): void ns3::ndn::Pit::MarkErased(ns3::Ptr<ns3::ndn::pit::Entry> entry) [member function]
5785 cls.add_method('MarkErased',
5786 'void',
5787 [param('ns3::Ptr< ns3::ndn::pit::Entry >', 'entry')],
5788 is_pure_virtual=True, is_virtual=True)
5789 ## ndn-pit.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::pit::Entry> ns3::ndn::Pit::Next(ns3::Ptr<ns3::ndn::pit::Entry> arg0) [member function]
5790 cls.add_method('Next',
5791 'ns3::Ptr< ns3::ndn::pit::Entry >',
5792 [param('ns3::Ptr< ns3::ndn::pit::Entry >', 'arg0')],
5793 is_pure_virtual=True, is_virtual=True)
5794 ## ndn-pit.h (module 'ndnSIM'): void ns3::ndn::Pit::Print(std::ostream & os) const [member function]
5795 cls.add_method('Print',
5796 'void',
5797 [param('std::ostream &', 'os')],
5798 is_pure_virtual=True, is_const=True, is_virtual=True)
5799 return
5800
5801def register_Ns3NdnStackHelper_methods(root_module, cls):
5802 ## ndn-stack-helper.h (module 'ndnSIM'): ns3::ndn::StackHelper::StackHelper() [constructor]
5803 cls.add_constructor([])
5804 ## 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]
5805 cls.add_method('SetStackAttributes',
5806 'void',
5807 [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='""')])
5808 ## 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]
5809 cls.add_method('SetForwardingStrategy',
5810 'void',
5811 [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='""')])
5812 ## 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]
5813 cls.add_method('SetContentStore',
5814 'void',
5815 [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='""')])
5816 ## 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]
5817 cls.add_method('SetPit',
5818 'void',
5819 [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='""')])
5820 ## 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]
5821 cls.add_method('SetFib',
5822 'void',
5823 [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='""')])
5824 ## 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]
5825 cls.add_method('EnableLimits',
5826 'void',
5827 [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')])
5828 ## ndn-stack-helper.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::FaceContainer> ns3::ndn::StackHelper::Install(std::string nodeName) const [member function]
5829 cls.add_method('Install',
5830 'ns3::Ptr< ns3::ndn::FaceContainer >',
5831 [param('std::string', 'nodeName')],
5832 is_const=True)
5833 ## ndn-stack-helper.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::FaceContainer> ns3::ndn::StackHelper::Install(ns3::Ptr<ns3::Node> node) const [member function]
5834 cls.add_method('Install',
5835 'ns3::Ptr< ns3::ndn::FaceContainer >',
5836 [param('ns3::Ptr< ns3::Node >', 'node')],
5837 is_const=True)
5838 ## ndn-stack-helper.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::FaceContainer> ns3::ndn::StackHelper::Install(ns3::NodeContainer c) const [member function]
5839 cls.add_method('Install',
5840 'ns3::Ptr< ns3::ndn::FaceContainer >',
5841 [param('ns3::NodeContainer', 'c')],
5842 is_const=True)
5843 ## ndn-stack-helper.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::FaceContainer> ns3::ndn::StackHelper::InstallAll() const [member function]
5844 cls.add_method('InstallAll',
5845 'ns3::Ptr< ns3::ndn::FaceContainer >',
5846 [],
5847 is_const=True)
5848 ## ndn-stack-helper.h (module 'ndnSIM'): static void ns3::ndn::StackHelper::AddRoute(std::string nodeName, std::string prefix, uint32_t faceId, int32_t metric) [member function]
5849 cls.add_method('AddRoute',
5850 'void',
5851 [param('std::string', 'nodeName'), param('std::string', 'prefix'), param('uint32_t', 'faceId'), param('int32_t', 'metric')],
5852 is_static=True)
5853 ## ndn-stack-helper.h (module 'ndnSIM'): static void ns3::ndn::StackHelper::AddRoute(ns3::Ptr<ns3::Node> node, std::string prefix, uint32_t faceId, int32_t metric) [member function]
5854 cls.add_method('AddRoute',
5855 'void',
5856 [param('ns3::Ptr< ns3::Node >', 'node'), param('std::string', 'prefix'), param('uint32_t', 'faceId'), param('int32_t', 'metric')],
5857 is_static=True)
5858 ## ndn-stack-helper.h (module 'ndnSIM'): static void ns3::ndn::StackHelper::AddRoute(ns3::Ptr<ns3::Node> node, std::string prefix, ns3::Ptr<ns3::ndn::Face> face, int32_t metric) [member function]
5859 cls.add_method('AddRoute',
5860 'void',
5861 [param('ns3::Ptr< ns3::Node >', 'node'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('int32_t', 'metric')],
5862 is_static=True)
5863 ## ndn-stack-helper.h (module 'ndnSIM'): void ns3::ndn::StackHelper::SetDefaultRoutes(bool needSet) [member function]
5864 cls.add_method('SetDefaultRoutes',
5865 'void',
5866 [param('bool', 'needSet')])
5867 return
5868
5869def register_Ns3NdnUnknownHeaderException_methods(root_module, cls):
5870 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::UnknownHeaderException::UnknownHeaderException() [constructor]
5871 cls.add_constructor([])
5872 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::UnknownHeaderException::UnknownHeaderException(ns3::ndn::UnknownHeaderException const & arg0) [copy constructor]
5873 cls.add_constructor([param('ns3::ndn::UnknownHeaderException const &', 'arg0')])
5874 return
5875
5876def register_Ns3NdnAppFace_methods(root_module, cls):
5877 ## ndn-app-face.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::AppFace::GetTypeId() [member function]
5878 cls.add_method('GetTypeId',
5879 'ns3::TypeId',
5880 [],
5881 is_static=True)
5882 ## ndn-app-face.h (module 'ndnSIM'): ns3::ndn::AppFace::AppFace(ns3::Ptr<ns3::ndn::App> app) [constructor]
5883 cls.add_constructor([param('ns3::Ptr< ns3::ndn::App >', 'app')])
5884 ## ndn-app-face.h (module 'ndnSIM'): void ns3::ndn::AppFace::RegisterProtocolHandler(ns3::Callback<void, ns3::Ptr<ns3::ndn::Face> const&, ns3::Ptr<ns3::Packet const> const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> handler) [member function]
5885 cls.add_method('RegisterProtocolHandler',
5886 'void',
5887 [param('ns3::Callback< void, ns3::Ptr< ns3::ndn::Face >, ns3::Ptr< ns3::Packet const >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'handler')],
5888 is_virtual=True)
5889 ## ndn-app-face.h (module 'ndnSIM'): std::ostream & ns3::ndn::AppFace::Print(std::ostream & os) const [member function]
5890 cls.add_method('Print',
5891 'std::ostream &',
5892 [param('std::ostream &', 'os')],
5893 is_const=True, is_virtual=True)
5894 ## ndn-app-face.h (module 'ndnSIM'): bool ns3::ndn::AppFace::SendImpl(ns3::Ptr<ns3::Packet> p) [member function]
5895 cls.add_method('SendImpl',
5896 'bool',
5897 [param('ns3::Ptr< ns3::Packet >', 'p')],
5898 visibility='protected', is_virtual=True)
5899 return
5900
5901def register_Ns3NdnCsEntry_methods(root_module, cls):
5902 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::cs::Entry::Entry(ns3::ndn::cs::Entry const & arg0) [copy constructor]
5903 cls.add_constructor([param('ns3::ndn::cs::Entry const &', 'arg0')])
5904 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::cs::Entry::Entry(ns3::Ptr<ns3::ndn::ContentObjectHeader const> header, ns3::Ptr<const ns3::Packet> packet) [constructor]
5905 cls.add_constructor([param('ns3::Ptr< ns3::ndn::ContentObjectHeader const >', 'header'), param('ns3::Ptr< ns3::Packet const >', 'packet')])
5906 ## ndn-content-store.h (module 'ndnSIM'): ns3::Ptr<ns3::Packet> ns3::ndn::cs::Entry::GetFullyFormedNdnPacket() const [member function]
5907 cls.add_method('GetFullyFormedNdnPacket',
5908 'ns3::Ptr< ns3::Packet >',
5909 [],
5910 is_const=True)
5911 ## ndn-content-store.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::ContentObjectHeader const> ns3::ndn::cs::Entry::GetHeader() const [member function]
5912 cls.add_method('GetHeader',
5913 'ns3::Ptr< ns3::ndn::ContentObjectHeader const >',
5914 [],
5915 is_const=True)
5916 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::NameComponents const & ns3::ndn::cs::Entry::GetName() const [member function]
5917 cls.add_method('GetName',
5918 'ns3::ndn::NameComponents const &',
5919 [],
5920 is_const=True)
5921 ## ndn-content-store.h (module 'ndnSIM'): ns3::Ptr<const ns3::Packet> ns3::ndn::cs::Entry::GetPacket() const [member function]
5922 cls.add_method('GetPacket',
5923 'ns3::Ptr< ns3::Packet const >',
5924 [],
5925 is_const=True)
5926 return
5927
5928def register_Ns3NdnFibEntry_methods(root_module, cls):
5929 cls.add_output_stream_operator()
5930 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::Entry(ns3::ndn::fib::Entry const & arg0) [copy constructor]
5931 cls.add_constructor([param('ns3::ndn::fib::Entry const &', 'arg0')])
5932 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::Entry(ns3::Ptr<ns3::ndn::NameComponents const> const & prefix) [constructor]
5933 cls.add_constructor([param('ns3::Ptr< ns3::ndn::NameComponents const > const &', 'prefix')])
5934 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::Entry::AddOrUpdateRoutingMetric(ns3::Ptr<ns3::ndn::Face> face, int32_t metric) [member function]
5935 cls.add_method('AddOrUpdateRoutingMetric',
5936 'void',
5937 [param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('int32_t', 'metric')])
5938 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric const & ns3::ndn::fib::Entry::FindBestCandidate(uint32_t skip=0) const [member function]
5939 cls.add_method('FindBestCandidate',
5940 'ns3::ndn::fib::FaceMetric const &',
5941 [param('uint32_t', 'skip', default_value='0')],
5942 is_const=True)
5943 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::NameComponents const & ns3::ndn::fib::Entry::GetPrefix() const [member function]
5944 cls.add_method('GetPrefix',
5945 'ns3::ndn::NameComponents const &',
5946 [],
5947 is_const=True)
5948 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::Entry::Invalidate() [member function]
5949 cls.add_method('Invalidate',
5950 'void',
5951 [])
5952 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::Entry::RemoveFace(ns3::Ptr<ns3::ndn::Face> const & face) [member function]
5953 cls.add_method('RemoveFace',
5954 'void',
5955 [param('ns3::Ptr< ns3::ndn::Face > const &', 'face')])
5956 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::Entry::UpdateFaceRtt(ns3::Ptr<ns3::ndn::Face> face, ns3::Time const & sample) [member function]
5957 cls.add_method('UpdateFaceRtt',
5958 'void',
5959 [param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('ns3::Time const &', 'sample')])
5960 ## 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]
5961 cls.add_method('UpdateStatus',
5962 'void',
5963 [param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('ns3::ndn::fib::FaceMetric::Status', 'status')])
5964 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::m_faces [variable]
5965 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::member< ns3::ndn::fib::FaceMetric, ns3::Ptr< ns3::ndn::Face >, & ( ns3::ndn::fib::FaceMetric::m_face ) >, 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::member< ns3::ndn::fib::FaceMetric, ns3::ndn::fib::FaceMetric::Status, & ( ns3::ndn::fib::FaceMetric::m_status ) >, boost::multi_index::member< ns3::ndn::fib::FaceMetric, int, & ( ns3::ndn::fib::FaceMetric::m_routingCost ) >, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type >, mpl_::na >, boost::multi_index::random_access< boost::multi_index::tag< ns3::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)
5966 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::m_needsProbing [variable]
5967 cls.add_instance_attribute('m_needsProbing', 'bool', is_const=False)
5968 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::m_prefix [variable]
5969 cls.add_instance_attribute('m_prefix', 'ns3::Ptr< ns3::ndn::NameComponents const >', is_const=False)
5970 return
5971
5972def register_Ns3NdnFibEntryNoFaces_methods(root_module, cls):
5973 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::NoFaces::NoFaces() [constructor]
5974 cls.add_constructor([])
5975 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::NoFaces::NoFaces(ns3::ndn::fib::Entry::NoFaces const & arg0) [copy constructor]
5976 cls.add_constructor([param('ns3::ndn::fib::Entry::NoFaces const &', 'arg0')])
5977 return
5978
5979def register_Ns3NdnFibFaceMetric_methods(root_module, cls):
5980 cls.add_output_stream_operator()
5981 cls.add_binary_comparison_operator('<')
5982 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric::FaceMetric(ns3::ndn::fib::FaceMetric const & arg0) [copy constructor]
5983 cls.add_constructor([param('ns3::ndn::fib::FaceMetric const &', 'arg0')])
5984 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric::FaceMetric(ns3::Ptr<ns3::ndn::Face> face, int32_t cost) [constructor]
5985 cls.add_constructor([param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('int32_t', 'cost')])
5986 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::Face> ns3::ndn::fib::FaceMetric::GetFace() const [member function]
5987 cls.add_method('GetFace',
5988 'ns3::Ptr< ns3::ndn::Face >',
5989 [],
5990 is_const=True)
5991 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::FaceMetric::UpdateRtt(ns3::Time const & rttSample) [member function]
5992 cls.add_method('UpdateRtt',
5993 'void',
5994 [param('ns3::Time const &', 'rttSample')])
5995 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric::m_face [variable]
5996 cls.add_instance_attribute('m_face', 'ns3::Ptr< ns3::ndn::Face >', is_const=False)
5997 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric::m_routingCost [variable]
5998 cls.add_instance_attribute('m_routingCost', 'int32_t', is_const=False)
5999 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric::m_rttVar [variable]
6000 cls.add_instance_attribute('m_rttVar', 'ns3::Time', is_const=False)
6001 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric::m_sRtt [variable]
6002 cls.add_instance_attribute('m_sRtt', 'ns3::Time', is_const=False)
6003 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric::m_status [variable]
6004 cls.add_instance_attribute('m_status', 'ns3::ndn::fib::FaceMetric::Status', is_const=False)
6005 return
6006
6007def register_Ns3NdnFibFaceMetricContainer_methods(root_module, cls):
6008 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetricContainer::FaceMetricContainer() [constructor]
6009 cls.add_constructor([])
6010 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetricContainer::FaceMetricContainer(ns3::ndn::fib::FaceMetricContainer const & arg0) [copy constructor]
6011 cls.add_constructor([param('ns3::ndn::fib::FaceMetricContainer const &', 'arg0')])
6012 return
6013
6014def register_Ns3NdnFibI_face_methods(root_module, cls):
6015 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_face::i_face() [constructor]
6016 cls.add_constructor([])
6017 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_face::i_face(ns3::ndn::fib::i_face const & arg0) [copy constructor]
6018 cls.add_constructor([param('ns3::ndn::fib::i_face const &', 'arg0')])
6019 return
6020
6021def register_Ns3NdnFibI_metric_methods(root_module, cls):
6022 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_metric::i_metric() [constructor]
6023 cls.add_constructor([])
6024 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_metric::i_metric(ns3::ndn::fib::i_metric const & arg0) [copy constructor]
6025 cls.add_constructor([param('ns3::ndn::fib::i_metric const &', 'arg0')])
6026 return
6027
6028def register_Ns3NdnFibI_nth_methods(root_module, cls):
6029 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_nth::i_nth() [constructor]
6030 cls.add_constructor([])
6031 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_nth::i_nth(ns3::ndn::fib::i_nth const & arg0) [copy constructor]
6032 cls.add_constructor([param('ns3::ndn::fib::i_nth const &', 'arg0')])
6033 return
6034
6035def register_Ns3NdnPitEntry_methods(root_module, cls):
6036 cls.add_output_stream_operator()
6037 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::Entry::Entry(ns3::ndn::pit::Entry const & arg0) [copy constructor]
6038 cls.add_constructor([param('ns3::ndn::pit::Entry const &', 'arg0')])
6039 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::Entry::Entry(ns3::ndn::Pit & container, ns3::Ptr<const ns3::ndn::InterestHeader> header, ns3::Ptr<ns3::ndn::fib::Entry> fibEntry) [constructor]
6040 cls.add_constructor([param('ns3::ndn::Pit &', 'container'), param('ns3::Ptr< ns3::ndn::InterestHeader const >', 'header'), param('ns3::Ptr< ns3::ndn::fib::Entry >', 'fibEntry')])
6041 ## 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]
6042 cls.add_method('AddIncoming',
6043 'std::_Rb_tree_const_iterator< ns3::ndn::pit::IncomingFace >',
6044 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
6045 is_virtual=True)
Alexander Afanasyevc202fd92012-09-03 21:46:00 -07006046 ## 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 -07006047 cls.add_method('AddOutgoing',
Alexander Afanasyevc202fd92012-09-03 21:46:00 -07006048 'std::_Rb_tree_const_iterator< ns3::ndn::pit::OutgoingFace >',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006049 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
6050 is_virtual=True)
6051 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::AddSeenNonce(uint32_t nonce) [member function]
6052 cls.add_method('AddSeenNonce',
6053 'void',
6054 [param('uint32_t', 'nonce')],
6055 is_virtual=True)
6056 ## ndn-pit-entry.h (module 'ndnSIM'): bool ns3::ndn::pit::Entry::AreAllOutgoingInVain() const [member function]
6057 cls.add_method('AreAllOutgoingInVain',
6058 'bool',
6059 [],
6060 is_const=True)
6061 ## ndn-pit-entry.h (module 'ndnSIM'): bool ns3::ndn::pit::Entry::AreTherePromisingOutgoingFacesExcept(ns3::Ptr<ns3::ndn::Face> face) const [member function]
6062 cls.add_method('AreTherePromisingOutgoingFacesExcept',
6063 'bool',
6064 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
6065 is_const=True)
6066 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::ClearIncoming() [member function]
6067 cls.add_method('ClearIncoming',
6068 'void',
6069 [],
6070 is_virtual=True)
6071 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::ClearOutgoing() [member function]
6072 cls.add_method('ClearOutgoing',
6073 'void',
6074 [],
6075 is_virtual=True)
6076 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::Time const & ns3::ndn::pit::Entry::GetExpireTime() const [member function]
6077 cls.add_method('GetExpireTime',
6078 'ns3::Time const &',
6079 [],
6080 is_const=True)
6081 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::fib::Entry> ns3::ndn::pit::Entry::GetFibEntry() [member function]
6082 cls.add_method('GetFibEntry',
6083 'ns3::Ptr< ns3::ndn::fib::Entry >',
6084 [])
6085 ## 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]
6086 cls.add_method('GetIncoming',
6087 'std::set< ns3::ndn::pit::IncomingFace > const &',
6088 [],
6089 is_const=True)
6090 ## ndn-pit-entry.h (module 'ndnSIM'): uint32_t ns3::ndn::pit::Entry::GetMaxRetxCount() const [member function]
6091 cls.add_method('GetMaxRetxCount',
6092 'uint32_t',
6093 [],
6094 is_const=True)
Alexander Afanasyevc202fd92012-09-03 21:46:00 -07006095 ## 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 -07006096 cls.add_method('GetOutgoing',
Alexander Afanasyevc202fd92012-09-03 21:46:00 -07006097 'std::set< ns3::ndn::pit::OutgoingFace > const &',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006098 [],
6099 is_const=True)
6100 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::NameComponents const & ns3::ndn::pit::Entry::GetPrefix() const [member function]
6101 cls.add_method('GetPrefix',
6102 'ns3::ndn::NameComponents const &',
6103 [],
6104 is_const=True)
6105 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::IncreaseAllowedRetxCount() [member function]
6106 cls.add_method('IncreaseAllowedRetxCount',
6107 'void',
6108 [],
6109 is_virtual=True)
6110 ## ndn-pit-entry.h (module 'ndnSIM'): bool ns3::ndn::pit::Entry::IsNonceSeen(uint32_t nonce) const [member function]
6111 cls.add_method('IsNonceSeen',
6112 'bool',
6113 [param('uint32_t', 'nonce')],
6114 is_const=True)
6115 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::RemoveAllReferencesToFace(ns3::Ptr<ns3::ndn::Face> face) [member function]
6116 cls.add_method('RemoveAllReferencesToFace',
6117 'void',
6118 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
6119 is_virtual=True)
6120 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::RemoveIncoming(ns3::Ptr<ns3::ndn::Face> face) [member function]
6121 cls.add_method('RemoveIncoming',
6122 'void',
6123 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
6124 is_virtual=True)
6125 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::SetWaitingInVain(ns3::Ptr<ns3::ndn::Face> face) [member function]
6126 cls.add_method('SetWaitingInVain',
6127 'void',
6128 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
6129 is_virtual=True)
6130 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::UpdateLifetime(ns3::Time const & offsetTime) [member function]
6131 cls.add_method('UpdateLifetime',
6132 'void',
6133 [param('ns3::Time const &', 'offsetTime')],
6134 is_virtual=True)
6135 return
6136
6137def register_Ns3NdnPitIncomingFace_methods(root_module, cls):
6138 cls.add_binary_comparison_operator('==')
6139 cls.add_binary_comparison_operator('<')
6140 ## ndn-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::ndn::pit::IncomingFace::IncomingFace(ns3::ndn::pit::IncomingFace const & arg0) [copy constructor]
6141 cls.add_constructor([param('ns3::ndn::pit::IncomingFace const &', 'arg0')])
6142 ## ndn-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::ndn::pit::IncomingFace::IncomingFace(ns3::Ptr<ns3::ndn::Face> face) [constructor]
6143 cls.add_constructor([param('ns3::Ptr< ns3::ndn::Face >', 'face')])
6144 ## ndn-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::ndn::pit::IncomingFace::IncomingFace() [constructor]
6145 cls.add_constructor([])
6146 ## ndn-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::ndn::pit::IncomingFace::m_arrivalTime [variable]
6147 cls.add_instance_attribute('m_arrivalTime', 'ns3::Time', is_const=False)
6148 ## ndn-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::ndn::pit::IncomingFace::m_face [variable]
6149 cls.add_instance_attribute('m_face', 'ns3::Ptr< ns3::ndn::Face >', is_const=False)
6150 return
6151
6152def register_Ns3NdnPitOutgoingFace_methods(root_module, cls):
6153 cls.add_binary_comparison_operator('==')
6154 cls.add_binary_comparison_operator('<')
6155 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::OutgoingFace(ns3::ndn::pit::OutgoingFace const & arg0) [copy constructor]
6156 cls.add_constructor([param('ns3::ndn::pit::OutgoingFace const &', 'arg0')])
6157 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::OutgoingFace(ns3::Ptr<ns3::ndn::Face> face) [constructor]
6158 cls.add_constructor([param('ns3::Ptr< ns3::ndn::Face >', 'face')])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07006159 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::OutgoingFace() [constructor]
6160 cls.add_constructor([])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006161 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): void ns3::ndn::pit::OutgoingFace::UpdateOnRetransmit() [member function]
6162 cls.add_method('UpdateOnRetransmit',
6163 'void',
6164 [])
6165 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::m_face [variable]
6166 cls.add_instance_attribute('m_face', 'ns3::Ptr< ns3::ndn::Face >', is_const=False)
6167 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::m_retxCount [variable]
6168 cls.add_instance_attribute('m_retxCount', 'uint32_t', is_const=False)
6169 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::m_sendTime [variable]
6170 cls.add_instance_attribute('m_sendTime', 'ns3::Time', is_const=False)
6171 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::m_waitingInVain [variable]
6172 cls.add_instance_attribute('m_waitingInVain', 'bool', is_const=False)
6173 return
6174
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006175def register_Ns3NdnPitI_face_methods(root_module, cls):
6176 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::i_face::i_face() [constructor]
6177 cls.add_constructor([])
6178 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::i_face::i_face(ns3::ndn::pit::i_face const & arg0) [copy constructor]
6179 cls.add_constructor([param('ns3::ndn::pit::i_face const &', 'arg0')])
6180 return
6181
6182def register_Ns3NdnPitI_retx_methods(root_module, cls):
6183 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::i_retx::i_retx() [constructor]
6184 cls.add_constructor([])
6185 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::i_retx::i_retx(ns3::ndn::pit::i_retx const & arg0) [copy constructor]
6186 cls.add_constructor([param('ns3::ndn::pit::i_retx const &', 'arg0')])
6187 return
6188
Alexander Afanasyev381dea02011-11-03 08:33:26 -07006189def register_functions(root_module):
6190 module = root_module
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07006191 ## batches.h (module 'ndnSIM'): extern ns3::Ptr<ns3::AttributeChecker const> ns3::MakeBatchesChecker() [free function]
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08006192 module.add_function('MakeBatchesChecker',
6193 'ns3::Ptr< ns3::AttributeChecker const >',
6194 [])
Alexander Afanasyev381dea02011-11-03 08:33:26 -07006195 register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module)
6196 register_functions_ns3_internal(module.get_submodule('internal'), root_module)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006197 register_functions_ns3_ndn(module.get_submodule('ndn'), root_module)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07006198 return
6199
Alexander Afanasyev381dea02011-11-03 08:33:26 -07006200def register_functions_ns3_FatalImpl(module, root_module):
6201 return
6202
6203def register_functions_ns3_internal(module, root_module):
6204 return
6205
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006206def register_functions_ns3_ndn(module, root_module):
6207 ## ndn-name-components.h (module 'ndnSIM'): extern ns3::Ptr<ns3::AttributeChecker const> ns3::ndn::MakeNameComponentsChecker() [free function]
6208 module.add_function('MakeNameComponentsChecker',
6209 'ns3::Ptr< ns3::AttributeChecker const >',
6210 [])
6211 register_functions_ns3_ndn_cs(module.get_submodule('cs'), root_module)
6212 register_functions_ns3_ndn_fib(module.get_submodule('fib'), root_module)
6213 register_functions_ns3_ndn_pit(module.get_submodule('pit'), root_module)
6214 return
6215
6216def register_functions_ns3_ndn_cs(module, root_module):
6217 return
6218
6219def register_functions_ns3_ndn_fib(module, root_module):
6220 return
6221
6222def register_functions_ns3_ndn_pit(module, root_module):
6223 return
6224
Alexander Afanasyev381dea02011-11-03 08:33:26 -07006225def main():
6226 out = FileCodeSink(sys.stdout)
6227 root_module = module_init()
6228 register_types(root_module)
6229 register_methods(root_module)
6230 register_functions(root_module)
6231 root_module.generate(out)
6232
6233if __name__ == '__main__':
6234 main()
6235