blob: 92de4dbc3d46356a350d164d1cfc7c2b469aef08 [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 Afanasyevca5f6d12012-09-04 00:05:12 -0700103 ## traced-value.h (module 'core'): ns3::TracedValue<double> [class]
104 module.add_class('TracedValue', import_from_module='ns.core', template_parameters=['double'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700105 ## random-variable.h (module 'core'): ns3::TriangularVariable [class]
106 module.add_class('TriangularVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700107 ## type-id.h (module 'core'): ns3::TypeId [class]
108 module.add_class('TypeId', import_from_module='ns.core')
109 ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration]
110 module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core')
111 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct]
112 module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId'])
113 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct]
114 module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700115 ## random-variable.h (module 'core'): ns3::UniformVariable [class]
116 module.add_class('UniformVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
117 ## vector.h (module 'core'): ns3::Vector2D [class]
118 module.add_class('Vector2D', import_from_module='ns.core')
119 ## vector.h (module 'core'): ns3::Vector3D [class]
120 module.add_class('Vector3D', import_from_module='ns.core')
121 ## random-variable.h (module 'core'): ns3::WeibullVariable [class]
122 module.add_class('WeibullVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
123 ## random-variable.h (module 'core'): ns3::ZetaVariable [class]
124 module.add_class('ZetaVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
125 ## random-variable.h (module 'core'): ns3::ZipfVariable [class]
126 module.add_class('ZipfVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700127 ## empty.h (module 'core'): ns3::empty [class]
128 module.add_class('empty', import_from_module='ns.core')
129 ## int64x64-double.h (module 'core'): ns3::int64x64_t [class]
130 module.add_class('int64x64_t', import_from_module='ns.core')
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700131 ## chunk.h (module 'network'): ns3::Chunk [class]
Alexander Afanasyev4756b892012-04-18 14:48:43 -0700132 module.add_class('Chunk', import_from_module='ns.network', parent=root_module['ns3::ObjectBase'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700133 ## random-variable.h (module 'core'): ns3::ConstantVariable [class]
134 module.add_class('ConstantVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
135 ## random-variable.h (module 'core'): ns3::DeterministicVariable [class]
136 module.add_class('DeterministicVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
137 ## random-variable.h (module 'core'): ns3::EmpiricalVariable [class]
138 module.add_class('EmpiricalVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
139 ## random-variable.h (module 'core'): ns3::ErlangVariable [class]
140 module.add_class('ErlangVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
141 ## random-variable.h (module 'core'): ns3::ExponentialVariable [class]
142 module.add_class('ExponentialVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
143 ## random-variable.h (module 'core'): ns3::GammaVariable [class]
144 module.add_class('GammaVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700145 ## header.h (module 'network'): ns3::Header [class]
146 module.add_class('Header', import_from_module='ns.network', parent=root_module['ns3::Chunk'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700147 ## random-variable.h (module 'core'): ns3::IntEmpiricalVariable [class]
148 module.add_class('IntEmpiricalVariable', import_from_module='ns.core', parent=root_module['ns3::EmpiricalVariable'])
149 ## random-variable.h (module 'core'): ns3::LogNormalVariable [class]
150 module.add_class('LogNormalVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
151 ## random-variable.h (module 'core'): ns3::NormalVariable [class]
152 module.add_class('NormalVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700153 ## object.h (module 'core'): ns3::Object [class]
154 module.add_class('Object', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >'])
155 ## object.h (module 'core'): ns3::Object::AggregateIterator [class]
156 module.add_class('AggregateIterator', import_from_module='ns.core', outer_class=root_module['ns3::Object'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700157 ## random-variable.h (module 'core'): ns3::ParetoVariable [class]
158 module.add_class('ParetoVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700159 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> > [class]
160 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'))
161 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> > [class]
162 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'))
163 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> > [class]
164 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'))
165 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> > [class]
166 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 -0700167 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> > [class]
168 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'))
169 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> > [class]
170 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 -0700171 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> > [class]
172 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 -0700173 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter<ns3::TopologyReader> > [class]
174 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 -0700175 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> > [class]
176 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 -0700177 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::ContentObjectHeader, ns3::Header, ns3::DefaultDeleter<ns3::ndn::ContentObjectHeader> > [class]
178 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'))
179 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::FaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::ndn::FaceContainer> > [class]
180 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'))
181 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::InterestHeader, ns3::Header, ns3::DefaultDeleter<ns3::ndn::InterestHeader> > [class]
182 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'))
183 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::NameComponents, ns3::empty, ns3::DefaultDeleter<ns3::ndn::NameComponents> > [class]
184 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'))
185 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::cs::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::cs::Entry> > [class]
186 module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::ndn::cs::Entry', 'ns3::empty', 'ns3::DefaultDeleter<ns3::ndn::cs::Entry>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700187 ## 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 Afanasyevca5f6d12012-09-04 00:05:12 -0700213 ## boolean.h (module 'core'): ns3::BooleanChecker [class]
214 module.add_class('BooleanChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
215 ## boolean.h (module 'core'): ns3::BooleanValue [class]
216 module.add_class('BooleanValue', import_from_module='ns.core', 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 Afanasyevca5f6d12012-09-04 00:05:12 -0700223 ## double.h (module 'core'): ns3::DoubleValue [class]
224 module.add_class('DoubleValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700225 ## attribute.h (module 'core'): ns3::EmptyAttributeValue [class]
226 module.add_class('EmptyAttributeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700227 ## enum.h (module 'core'): ns3::EnumChecker [class]
228 module.add_class('EnumChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
229 ## enum.h (module 'core'): ns3::EnumValue [class]
230 module.add_class('EnumValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700231 ## event-impl.h (module 'core'): ns3::EventImpl [class]
232 module.add_class('EventImpl', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >'])
233 ## integer.h (module 'core'): ns3::IntegerValue [class]
234 module.add_class('IntegerValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
235 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker [class]
236 module.add_class('Ipv4AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
237 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue [class]
238 module.add_class('Ipv4AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
239 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker [class]
240 module.add_class('Ipv4MaskChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
241 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue [class]
242 module.add_class('Ipv4MaskValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
243 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker [class]
244 module.add_class('Ipv6AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
245 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue [class]
246 module.add_class('Ipv6AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
247 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker [class]
248 module.add_class('Ipv6PrefixChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
249 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue [class]
250 module.add_class('Ipv6PrefixValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700251 ## mobility-model.h (module 'mobility'): ns3::MobilityModel [class]
252 module.add_class('MobilityModel', import_from_module='ns.mobility', parent=root_module['ns3::Object'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700253 ## net-device.h (module 'network'): ns3::NetDevice [class]
254 module.add_class('NetDevice', import_from_module='ns.network', parent=root_module['ns3::Object'])
255 ## net-device.h (module 'network'): ns3::NetDevice::PacketType [enumeration]
256 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')
257 ## nix-vector.h (module 'network'): ns3::NixVector [class]
258 module.add_class('NixVector', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >'])
259 ## node.h (module 'network'): ns3::Node [class]
260 module.add_class('Node', import_from_module='ns.network', parent=root_module['ns3::Object'])
261 ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker [class]
262 module.add_class('ObjectFactoryChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
263 ## object-factory.h (module 'core'): ns3::ObjectFactoryValue [class]
264 module.add_class('ObjectFactoryValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700265 ## packet.h (module 'network'): ns3::Packet [class]
266 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 -0700267 ## random-variable.h (module 'core'): ns3::RandomVariableChecker [class]
268 module.add_class('RandomVariableChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
269 ## random-variable.h (module 'core'): ns3::RandomVariableValue [class]
270 module.add_class('RandomVariableValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
271 ## rocketfuel-weights-reader.h (module 'ndnSIM'): ns3::RocketfuelWeightsReader [class]
272 module.add_class('RocketfuelWeightsReader', parent=root_module['ns3::AnnotatedTopologyReader'])
273 ## rocketfuel-weights-reader.h (module 'ndnSIM'): ns3::RocketfuelWeightsReader [enumeration]
274 module.add_enum('', ['LINKS', 'WEIGHTS', 'LATENCIES', 'POSITIONS'], outer_class=root_module['ns3::RocketfuelWeightsReader'])
275 ## spring-mobility-model.h (module 'ndnSIM'): ns3::SpringMobilityModel [class]
276 module.add_class('SpringMobilityModel', parent=root_module['ns3::MobilityModel'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700277 ## nstime.h (module 'core'): ns3::TimeChecker [class]
278 module.add_class('TimeChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
279 ## nstime.h (module 'core'): ns3::TimeValue [class]
280 module.add_class('TimeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
281 ## type-id.h (module 'core'): ns3::TypeIdChecker [class]
282 module.add_class('TypeIdChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
283 ## type-id.h (module 'core'): ns3::TypeIdValue [class]
284 module.add_class('TypeIdValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700285 ## uinteger.h (module 'core'): ns3::UintegerValue [class]
286 module.add_class('UintegerValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700287 ## vector.h (module 'core'): ns3::Vector2DChecker [class]
288 module.add_class('Vector2DChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
289 ## vector.h (module 'core'): ns3::Vector2DValue [class]
290 module.add_class('Vector2DValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
291 ## vector.h (module 'core'): ns3::Vector3DChecker [class]
292 module.add_class('Vector3DChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
293 ## vector.h (module 'core'): ns3::Vector3DValue [class]
294 module.add_class('Vector3DValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700295 ## address.h (module 'network'): ns3::AddressChecker [class]
296 module.add_class('AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
297 ## address.h (module 'network'): ns3::AddressValue [class]
298 module.add_class('AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700299 module.add_container('std::map< std::string, std::string >', ('std::string', 'std::string'), container_type='map')
300 module.add_container('std::list< ns3::TopologyReader::Link >', 'ns3::TopologyReader::Link', container_type='list')
301 typehandlers.add_type_alias('ns3::Vector3DChecker', 'ns3::VectorChecker')
302 typehandlers.add_type_alias('ns3::Vector3DChecker*', 'ns3::VectorChecker*')
303 typehandlers.add_type_alias('ns3::Vector3DChecker&', 'ns3::VectorChecker&')
304 module.add_typedef(root_module['ns3::Vector3DChecker'], 'VectorChecker')
305 typehandlers.add_type_alias('ns3::RngSeedManager', 'ns3::SeedManager')
306 typehandlers.add_type_alias('ns3::RngSeedManager*', 'ns3::SeedManager*')
307 typehandlers.add_type_alias('ns3::RngSeedManager&', 'ns3::SeedManager&')
308 module.add_typedef(root_module['ns3::RngSeedManager'], 'SeedManager')
309 typehandlers.add_type_alias('ns3::Vector3D', 'ns3::Vector')
310 typehandlers.add_type_alias('ns3::Vector3D*', 'ns3::Vector*')
311 typehandlers.add_type_alias('ns3::Vector3D&', 'ns3::Vector&')
312 module.add_typedef(root_module['ns3::Vector3D'], 'Vector')
313 typehandlers.add_type_alias('ns3::Vector3DValue', 'ns3::VectorValue')
314 typehandlers.add_type_alias('ns3::Vector3DValue*', 'ns3::VectorValue*')
315 typehandlers.add_type_alias('ns3::Vector3DValue&', 'ns3::VectorValue&')
316 module.add_typedef(root_module['ns3::Vector3DValue'], 'VectorValue')
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700317
318 ## Register a nested module for the namespace FatalImpl
319
320 nested_module = module.add_cpp_namespace('FatalImpl')
321 register_types_ns3_FatalImpl(nested_module)
322
323
324 ## Register a nested module for the namespace internal
325
326 nested_module = module.add_cpp_namespace('internal')
327 register_types_ns3_internal(nested_module)
328
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700329
330 ## Register a nested module for the namespace ndn
331
332 nested_module = module.add_cpp_namespace('ndn')
333 register_types_ns3_ndn(nested_module)
334
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700335
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700336def register_types_ns3_FatalImpl(module):
337 root_module = module.get_root()
338
339
340def register_types_ns3_internal(module):
341 root_module = module.get_root()
342
343
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700344def register_types_ns3_ndn(module):
345 root_module = module.get_root()
346
347 ## ndn-app.h (module 'ndnSIM'): ns3::ndn::App [class]
348 module.add_class('App', parent=root_module['ns3::Application'])
349 ## ndn-app-helper.h (module 'ndnSIM'): ns3::ndn::AppHelper [class]
350 module.add_class('AppHelper')
351 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeader [class]
352 module.add_class('ContentObjectHeader', parent=root_module['ns3::SimpleRefCount< ns3::ndn::ContentObjectHeader, ns3::Header, ns3::DefaultDeleter<ns3::ndn::ContentObjectHeader> >'])
353 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeader::ContentType [enumeration]
354 module.add_enum('ContentType', ['DATA', 'ENCR', 'GONE', 'KEY', 'LINK', 'NACK'], outer_class=root_module['ns3::ndn::ContentObjectHeader'])
355 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeader::Signature [class]
356 module.add_class('Signature', outer_class=root_module['ns3::ndn::ContentObjectHeader'])
357 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeader::SignedInfo [class]
358 module.add_class('SignedInfo', outer_class=root_module['ns3::ndn::ContentObjectHeader'])
359 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeaderException [class]
360 module.add_class('ContentObjectHeaderException')
361 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectTail [class]
362 module.add_class('ContentObjectTail', parent=root_module['ns3::Trailer'])
363 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::ContentStore [class]
364 module.add_class('ContentStore', parent=root_module['ns3::Object'])
365 ## ndn-face.h (module 'ndnSIM'): ns3::ndn::Face [class]
366 module.add_class('Face', parent=root_module['ns3::Object'])
367 ## ndn-face-container.h (module 'ndnSIM'): ns3::ndn::FaceContainer [class]
368 module.add_class('FaceContainer', parent=root_module['ns3::SimpleRefCount< ns3::ndn::FaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::ndn::FaceContainer> >'])
369 ## ndn-fib.h (module 'ndnSIM'): ns3::ndn::Fib [class]
370 module.add_class('Fib', parent=root_module['ns3::Object'])
371 ## ndn-forwarding-strategy.h (module 'ndnSIM'): ns3::ndn::ForwardingStrategy [class]
372 module.add_class('ForwardingStrategy', parent=root_module['ns3::Object'])
373 ## ndn-global-routing-helper.h (module 'ndnSIM'): ns3::ndn::GlobalRoutingHelper [class]
374 module.add_class('GlobalRoutingHelper')
375 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::HeaderHelper [class]
376 module.add_class('HeaderHelper')
377 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::HeaderHelper::Type [enumeration]
378 module.add_enum('Type', ['INTEREST', 'CONTENT_OBJECT'], outer_class=root_module['ns3::ndn::HeaderHelper'])
379 ## ndn-interest-header.h (module 'ndnSIM'): ns3::ndn::InterestHeader [class]
380 module.add_class('InterestHeader', parent=root_module['ns3::SimpleRefCount< ns3::ndn::InterestHeader, ns3::Header, ns3::DefaultDeleter<ns3::ndn::InterestHeader> >'])
381 ## ndn-interest-header.h (module 'ndnSIM'): ns3::ndn::InterestHeader [enumeration]
382 module.add_enum('', ['NORMAL_INTEREST', 'NACK_LOOP', 'NACK_CONGESTION', 'NACK_GIVEUP_PIT'], outer_class=root_module['ns3::ndn::InterestHeader'])
383 ## ndn-interest-header.h (module 'ndnSIM'): ns3::ndn::InterestHeaderException [class]
384 module.add_class('InterestHeaderException')
385 ## ndn-l3-protocol.h (module 'ndnSIM'): ns3::ndn::L3Protocol [class]
386 module.add_class('L3Protocol', parent=root_module['ns3::Object'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700387 ## ndn-limits.h (module 'ndnSIM'): ns3::ndn::Limits [class]
388 module.add_class('Limits', parent=root_module['ns3::Object'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700389 ## ndn-name-components.h (module 'ndnSIM'): ns3::ndn::NameComponents [class]
390 module.add_class('NameComponents', parent=root_module['ns3::SimpleRefCount< ns3::ndn::NameComponents, ns3::empty, ns3::DefaultDeleter<ns3::ndn::NameComponents> >'])
391 ## ndn-name-components.h (module 'ndnSIM'): ns3::ndn::NameComponentsChecker [class]
392 module.add_class('NameComponentsChecker', parent=root_module['ns3::AttributeChecker'])
393 ## ndn-name-components.h (module 'ndnSIM'): ns3::ndn::NameComponentsValue [class]
394 module.add_class('NameComponentsValue', parent=root_module['ns3::AttributeValue'])
395 ## ndn-net-device-face.h (module 'ndnSIM'): ns3::ndn::NetDeviceFace [class]
396 module.add_class('NetDeviceFace', parent=root_module['ns3::ndn::Face'])
397 ## ndn-pit.h (module 'ndnSIM'): ns3::ndn::Pit [class]
398 module.add_class('Pit', parent=root_module['ns3::Object'])
399 ## ndn-stack-helper.h (module 'ndnSIM'): ns3::ndn::StackHelper [class]
400 module.add_class('StackHelper')
401 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::UnknownHeaderException [class]
402 module.add_class('UnknownHeaderException')
403 ## ndn-app-face.h (module 'ndnSIM'): ns3::ndn::AppFace [class]
404 module.add_class('AppFace', parent=root_module['ns3::ndn::Face'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700405 module.add_container('std::vector< ns3::Ptr< ns3::ndn::Face > >', 'ns3::Ptr< ns3::ndn::Face >', container_type='vector')
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700406 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')
407 module.add_container('std::list< std::string >', 'std::string', container_type='list')
408
409 ## Register a nested module for the namespace cs
410
411 nested_module = module.add_cpp_namespace('cs')
412 register_types_ns3_ndn_cs(nested_module)
413
414
415 ## Register a nested module for the namespace fib
416
417 nested_module = module.add_cpp_namespace('fib')
418 register_types_ns3_ndn_fib(nested_module)
419
420
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700421 ## Register a nested module for the namespace fw
422
423 nested_module = module.add_cpp_namespace('fw')
424 register_types_ns3_ndn_fw(nested_module)
425
426
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700427 ## Register a nested module for the namespace pit
428
429 nested_module = module.add_cpp_namespace('pit')
430 register_types_ns3_ndn_pit(nested_module)
431
432
433def register_types_ns3_ndn_cs(module):
434 root_module = module.get_root()
435
436 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::cs::Entry [class]
437 module.add_class('Entry', parent=root_module['ns3::SimpleRefCount< ns3::ndn::cs::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::cs::Entry> >'])
438
439def register_types_ns3_ndn_fib(module):
440 root_module = module.get_root()
441
442 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry [class]
Alexander Afanasyevf5c07742012-10-31 13:13:05 -0700443 module.add_class('Entry', parent=root_module['ns3::Object'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700444 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::NoFaces [class]
445 module.add_class('NoFaces', outer_class=root_module['ns3::ndn::fib::Entry'])
446 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric [class]
447 module.add_class('FaceMetric')
448 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric::Status [enumeration]
449 module.add_enum('Status', ['NDN_FIB_GREEN', 'NDN_FIB_YELLOW', 'NDN_FIB_RED'], outer_class=root_module['ns3::ndn::fib::FaceMetric'])
450 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetricContainer [struct]
451 module.add_class('FaceMetricContainer')
452 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_face [class]
453 module.add_class('i_face')
454 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_metric [class]
455 module.add_class('i_metric')
456 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_nth [class]
457 module.add_class('i_nth')
458
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700459def register_types_ns3_ndn_fw(module):
460 root_module = module.get_root()
461
462 ## ndn-fw-tag.h (module 'ndnSIM'): ns3::ndn::fw::Tag [class]
463 module.add_class('Tag')
464
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700465def register_types_ns3_ndn_pit(module):
466 root_module = module.get_root()
467
468 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::Entry [class]
469 module.add_class('Entry', parent=root_module['ns3::SimpleRefCount< ns3::ndn::pit::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::pit::Entry> >'])
470 ## ndn-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::ndn::pit::IncomingFace [struct]
471 module.add_class('IncomingFace')
472 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace [struct]
473 module.add_class('OutgoingFace')
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700474 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::i_face [class]
475 module.add_class('i_face')
476 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::i_retx [class]
477 module.add_class('i_retx')
478 module.add_container('std::set< ns3::ndn::pit::IncomingFace >', 'ns3::ndn::pit::IncomingFace', container_type='set')
Alexander Afanasyevc202fd92012-09-03 21:46:00 -0700479 module.add_container('std::set< ns3::ndn::pit::OutgoingFace >', 'ns3::ndn::pit::OutgoingFace', container_type='set')
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700480 module.add_container('std::set< unsigned int >', 'unsigned int', container_type='set')
481
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700482def register_methods(root_module):
483 register_Ns3Address_methods(root_module, root_module['ns3::Address'])
484 register_Ns3ApplicationContainer_methods(root_module, root_module['ns3::ApplicationContainer'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700485 register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList'])
486 register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item'])
487 register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer'])
488 register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator'])
489 register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator'])
490 register_Ns3ByteTagIteratorItem_methods(root_module, root_module['ns3::ByteTagIterator::Item'])
491 register_Ns3ByteTagList_methods(root_module, root_module['ns3::ByteTagList'])
492 register_Ns3ByteTagListIterator_methods(root_module, root_module['ns3::ByteTagList::Iterator'])
493 register_Ns3ByteTagListIteratorItem_methods(root_module, root_module['ns3::ByteTagList::Iterator::Item'])
494 register_Ns3CallbackBase_methods(root_module, root_module['ns3::CallbackBase'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700495 register_Ns3EventId_methods(root_module, root_module['ns3::EventId'])
496 register_Ns3Ipv4Address_methods(root_module, root_module['ns3::Ipv4Address'])
497 register_Ns3Ipv4Mask_methods(root_module, root_module['ns3::Ipv4Mask'])
498 register_Ns3Ipv6Address_methods(root_module, root_module['ns3::Ipv6Address'])
499 register_Ns3Ipv6Prefix_methods(root_module, root_module['ns3::Ipv6Prefix'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700500 register_Ns3NetDeviceContainer_methods(root_module, root_module['ns3::NetDeviceContainer'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700501 register_Ns3NodeContainer_methods(root_module, root_module['ns3::NodeContainer'])
502 register_Ns3ObjectBase_methods(root_module, root_module['ns3::ObjectBase'])
503 register_Ns3ObjectDeleter_methods(root_module, root_module['ns3::ObjectDeleter'])
504 register_Ns3ObjectFactory_methods(root_module, root_module['ns3::ObjectFactory'])
505 register_Ns3PacketMetadata_methods(root_module, root_module['ns3::PacketMetadata'])
506 register_Ns3PacketMetadataItem_methods(root_module, root_module['ns3::PacketMetadata::Item'])
507 register_Ns3PacketMetadataItemIterator_methods(root_module, root_module['ns3::PacketMetadata::ItemIterator'])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -0700508 register_Ns3PacketTagIterator_methods(root_module, root_module['ns3::PacketTagIterator'])
509 register_Ns3PacketTagIteratorItem_methods(root_module, root_module['ns3::PacketTagIterator::Item'])
510 register_Ns3PacketTagList_methods(root_module, root_module['ns3::PacketTagList'])
511 register_Ns3PacketTagListTagData_methods(root_module, root_module['ns3::PacketTagList::TagData'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700512 register_Ns3RandomVariable_methods(root_module, root_module['ns3::RandomVariable'])
513 register_Ns3RngSeedManager_methods(root_module, root_module['ns3::RngSeedManager'])
514 register_Ns3SequentialVariable_methods(root_module, root_module['ns3::SequentialVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700515 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 -0700516 register_Ns3SpringMobilityHelper_methods(root_module, root_module['ns3::SpringMobilityHelper'])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -0700517 register_Ns3Tag_methods(root_module, root_module['ns3::Tag'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700518 register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700519 register_Ns3TracedValue__Double_methods(root_module, root_module['ns3::TracedValue< double >'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700520 register_Ns3TriangularVariable_methods(root_module, root_module['ns3::TriangularVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700521 register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId'])
522 register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation'])
523 register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700524 register_Ns3UniformVariable_methods(root_module, root_module['ns3::UniformVariable'])
525 register_Ns3Vector2D_methods(root_module, root_module['ns3::Vector2D'])
526 register_Ns3Vector3D_methods(root_module, root_module['ns3::Vector3D'])
527 register_Ns3WeibullVariable_methods(root_module, root_module['ns3::WeibullVariable'])
528 register_Ns3ZetaVariable_methods(root_module, root_module['ns3::ZetaVariable'])
529 register_Ns3ZipfVariable_methods(root_module, root_module['ns3::ZipfVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700530 register_Ns3Empty_methods(root_module, root_module['ns3::empty'])
531 register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700532 register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700533 register_Ns3ConstantVariable_methods(root_module, root_module['ns3::ConstantVariable'])
534 register_Ns3DeterministicVariable_methods(root_module, root_module['ns3::DeterministicVariable'])
535 register_Ns3EmpiricalVariable_methods(root_module, root_module['ns3::EmpiricalVariable'])
536 register_Ns3ErlangVariable_methods(root_module, root_module['ns3::ErlangVariable'])
537 register_Ns3ExponentialVariable_methods(root_module, root_module['ns3::ExponentialVariable'])
538 register_Ns3GammaVariable_methods(root_module, root_module['ns3::GammaVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700539 register_Ns3Header_methods(root_module, root_module['ns3::Header'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700540 register_Ns3IntEmpiricalVariable_methods(root_module, root_module['ns3::IntEmpiricalVariable'])
541 register_Ns3LogNormalVariable_methods(root_module, root_module['ns3::LogNormalVariable'])
542 register_Ns3NormalVariable_methods(root_module, root_module['ns3::NormalVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700543 register_Ns3Object_methods(root_module, root_module['ns3::Object'])
544 register_Ns3ObjectAggregateIterator_methods(root_module, root_module['ns3::Object::AggregateIterator'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700545 register_Ns3ParetoVariable_methods(root_module, root_module['ns3::ParetoVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700546 register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >'])
547 register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeChecker__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >'])
548 register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >'])
549 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 -0700550 register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >'])
551 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 -0700552 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 -0700553 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 -0700554 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 -0700555 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> >'])
556 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> >'])
557 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> >'])
558 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> >'])
559 register_Ns3SimpleRefCount__Ns3NdnCsEntry_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnCsEntry__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::ndn::cs::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::cs::Entry> >'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700560 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 -0700561 register_Ns3Time_methods(root_module, root_module['ns3::Time'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700562 register_Ns3TopologyReader_methods(root_module, root_module['ns3::TopologyReader'])
563 register_Ns3TopologyReaderLink_methods(root_module, root_module['ns3::TopologyReader::Link'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700564 register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor'])
565 register_Ns3Trailer_methods(root_module, root_module['ns3::Trailer'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700566 register_Ns3AnnotatedTopologyReader_methods(root_module, root_module['ns3::AnnotatedTopologyReader'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700567 register_Ns3Application_methods(root_module, root_module['ns3::Application'])
568 register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor'])
569 register_Ns3AttributeChecker_methods(root_module, root_module['ns3::AttributeChecker'])
570 register_Ns3AttributeValue_methods(root_module, root_module['ns3::AttributeValue'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700571 register_Ns3BooleanChecker_methods(root_module, root_module['ns3::BooleanChecker'])
572 register_Ns3BooleanValue_methods(root_module, root_module['ns3::BooleanValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700573 register_Ns3CallbackChecker_methods(root_module, root_module['ns3::CallbackChecker'])
574 register_Ns3CallbackImplBase_methods(root_module, root_module['ns3::CallbackImplBase'])
575 register_Ns3CallbackValue_methods(root_module, root_module['ns3::CallbackValue'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700576 register_Ns3DoubleValue_methods(root_module, root_module['ns3::DoubleValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700577 register_Ns3EmptyAttributeValue_methods(root_module, root_module['ns3::EmptyAttributeValue'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700578 register_Ns3EnumChecker_methods(root_module, root_module['ns3::EnumChecker'])
579 register_Ns3EnumValue_methods(root_module, root_module['ns3::EnumValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700580 register_Ns3EventImpl_methods(root_module, root_module['ns3::EventImpl'])
581 register_Ns3IntegerValue_methods(root_module, root_module['ns3::IntegerValue'])
582 register_Ns3Ipv4AddressChecker_methods(root_module, root_module['ns3::Ipv4AddressChecker'])
583 register_Ns3Ipv4AddressValue_methods(root_module, root_module['ns3::Ipv4AddressValue'])
584 register_Ns3Ipv4MaskChecker_methods(root_module, root_module['ns3::Ipv4MaskChecker'])
585 register_Ns3Ipv4MaskValue_methods(root_module, root_module['ns3::Ipv4MaskValue'])
586 register_Ns3Ipv6AddressChecker_methods(root_module, root_module['ns3::Ipv6AddressChecker'])
587 register_Ns3Ipv6AddressValue_methods(root_module, root_module['ns3::Ipv6AddressValue'])
588 register_Ns3Ipv6PrefixChecker_methods(root_module, root_module['ns3::Ipv6PrefixChecker'])
589 register_Ns3Ipv6PrefixValue_methods(root_module, root_module['ns3::Ipv6PrefixValue'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700590 register_Ns3MobilityModel_methods(root_module, root_module['ns3::MobilityModel'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700591 register_Ns3NetDevice_methods(root_module, root_module['ns3::NetDevice'])
592 register_Ns3NixVector_methods(root_module, root_module['ns3::NixVector'])
593 register_Ns3Node_methods(root_module, root_module['ns3::Node'])
594 register_Ns3ObjectFactoryChecker_methods(root_module, root_module['ns3::ObjectFactoryChecker'])
595 register_Ns3ObjectFactoryValue_methods(root_module, root_module['ns3::ObjectFactoryValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700596 register_Ns3Packet_methods(root_module, root_module['ns3::Packet'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700597 register_Ns3RandomVariableChecker_methods(root_module, root_module['ns3::RandomVariableChecker'])
598 register_Ns3RandomVariableValue_methods(root_module, root_module['ns3::RandomVariableValue'])
599 register_Ns3RocketfuelWeightsReader_methods(root_module, root_module['ns3::RocketfuelWeightsReader'])
600 register_Ns3SpringMobilityModel_methods(root_module, root_module['ns3::SpringMobilityModel'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700601 register_Ns3TimeChecker_methods(root_module, root_module['ns3::TimeChecker'])
602 register_Ns3TimeValue_methods(root_module, root_module['ns3::TimeValue'])
603 register_Ns3TypeIdChecker_methods(root_module, root_module['ns3::TypeIdChecker'])
604 register_Ns3TypeIdValue_methods(root_module, root_module['ns3::TypeIdValue'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700605 register_Ns3UintegerValue_methods(root_module, root_module['ns3::UintegerValue'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700606 register_Ns3Vector2DChecker_methods(root_module, root_module['ns3::Vector2DChecker'])
607 register_Ns3Vector2DValue_methods(root_module, root_module['ns3::Vector2DValue'])
608 register_Ns3Vector3DChecker_methods(root_module, root_module['ns3::Vector3DChecker'])
609 register_Ns3Vector3DValue_methods(root_module, root_module['ns3::Vector3DValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700610 register_Ns3AddressChecker_methods(root_module, root_module['ns3::AddressChecker'])
611 register_Ns3AddressValue_methods(root_module, root_module['ns3::AddressValue'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700612 register_Ns3NdnApp_methods(root_module, root_module['ns3::ndn::App'])
613 register_Ns3NdnAppHelper_methods(root_module, root_module['ns3::ndn::AppHelper'])
614 register_Ns3NdnContentObjectHeader_methods(root_module, root_module['ns3::ndn::ContentObjectHeader'])
615 register_Ns3NdnContentObjectHeaderSignature_methods(root_module, root_module['ns3::ndn::ContentObjectHeader::Signature'])
616 register_Ns3NdnContentObjectHeaderSignedInfo_methods(root_module, root_module['ns3::ndn::ContentObjectHeader::SignedInfo'])
617 register_Ns3NdnContentObjectHeaderException_methods(root_module, root_module['ns3::ndn::ContentObjectHeaderException'])
618 register_Ns3NdnContentObjectTail_methods(root_module, root_module['ns3::ndn::ContentObjectTail'])
619 register_Ns3NdnContentStore_methods(root_module, root_module['ns3::ndn::ContentStore'])
620 register_Ns3NdnFace_methods(root_module, root_module['ns3::ndn::Face'])
621 register_Ns3NdnFaceContainer_methods(root_module, root_module['ns3::ndn::FaceContainer'])
622 register_Ns3NdnFib_methods(root_module, root_module['ns3::ndn::Fib'])
623 register_Ns3NdnForwardingStrategy_methods(root_module, root_module['ns3::ndn::ForwardingStrategy'])
624 register_Ns3NdnGlobalRoutingHelper_methods(root_module, root_module['ns3::ndn::GlobalRoutingHelper'])
625 register_Ns3NdnHeaderHelper_methods(root_module, root_module['ns3::ndn::HeaderHelper'])
626 register_Ns3NdnInterestHeader_methods(root_module, root_module['ns3::ndn::InterestHeader'])
627 register_Ns3NdnInterestHeaderException_methods(root_module, root_module['ns3::ndn::InterestHeaderException'])
628 register_Ns3NdnL3Protocol_methods(root_module, root_module['ns3::ndn::L3Protocol'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700629 register_Ns3NdnLimits_methods(root_module, root_module['ns3::ndn::Limits'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700630 register_Ns3NdnNameComponents_methods(root_module, root_module['ns3::ndn::NameComponents'])
631 register_Ns3NdnNameComponentsChecker_methods(root_module, root_module['ns3::ndn::NameComponentsChecker'])
632 register_Ns3NdnNameComponentsValue_methods(root_module, root_module['ns3::ndn::NameComponentsValue'])
633 register_Ns3NdnNetDeviceFace_methods(root_module, root_module['ns3::ndn::NetDeviceFace'])
634 register_Ns3NdnPit_methods(root_module, root_module['ns3::ndn::Pit'])
635 register_Ns3NdnStackHelper_methods(root_module, root_module['ns3::ndn::StackHelper'])
636 register_Ns3NdnUnknownHeaderException_methods(root_module, root_module['ns3::ndn::UnknownHeaderException'])
637 register_Ns3NdnAppFace_methods(root_module, root_module['ns3::ndn::AppFace'])
638 register_Ns3NdnCsEntry_methods(root_module, root_module['ns3::ndn::cs::Entry'])
639 register_Ns3NdnFibEntry_methods(root_module, root_module['ns3::ndn::fib::Entry'])
640 register_Ns3NdnFibEntryNoFaces_methods(root_module, root_module['ns3::ndn::fib::Entry::NoFaces'])
641 register_Ns3NdnFibFaceMetric_methods(root_module, root_module['ns3::ndn::fib::FaceMetric'])
642 register_Ns3NdnFibFaceMetricContainer_methods(root_module, root_module['ns3::ndn::fib::FaceMetricContainer'])
643 register_Ns3NdnFibI_face_methods(root_module, root_module['ns3::ndn::fib::i_face'])
644 register_Ns3NdnFibI_metric_methods(root_module, root_module['ns3::ndn::fib::i_metric'])
645 register_Ns3NdnFibI_nth_methods(root_module, root_module['ns3::ndn::fib::i_nth'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700646 register_Ns3NdnFwTag_methods(root_module, root_module['ns3::ndn::fw::Tag'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700647 register_Ns3NdnPitEntry_methods(root_module, root_module['ns3::ndn::pit::Entry'])
648 register_Ns3NdnPitIncomingFace_methods(root_module, root_module['ns3::ndn::pit::IncomingFace'])
649 register_Ns3NdnPitOutgoingFace_methods(root_module, root_module['ns3::ndn::pit::OutgoingFace'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700650 register_Ns3NdnPitI_face_methods(root_module, root_module['ns3::ndn::pit::i_face'])
651 register_Ns3NdnPitI_retx_methods(root_module, root_module['ns3::ndn::pit::i_retx'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700652 return
653
654def register_Ns3Address_methods(root_module, cls):
655 cls.add_binary_comparison_operator('!=')
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700656 cls.add_output_stream_operator()
Alexander Afanasyeva28ec562012-10-25 14:07:32 -0700657 cls.add_binary_comparison_operator('==')
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700658 cls.add_binary_comparison_operator('<')
659 ## address.h (module 'network'): ns3::Address::Address() [constructor]
660 cls.add_constructor([])
661 ## address.h (module 'network'): ns3::Address::Address(uint8_t type, uint8_t const * buffer, uint8_t len) [constructor]
662 cls.add_constructor([param('uint8_t', 'type'), param('uint8_t const *', 'buffer'), param('uint8_t', 'len')])
663 ## address.h (module 'network'): ns3::Address::Address(ns3::Address const & address) [copy constructor]
664 cls.add_constructor([param('ns3::Address const &', 'address')])
665 ## address.h (module 'network'): bool ns3::Address::CheckCompatible(uint8_t type, uint8_t len) const [member function]
666 cls.add_method('CheckCompatible',
667 'bool',
668 [param('uint8_t', 'type'), param('uint8_t', 'len')],
669 is_const=True)
670 ## address.h (module 'network'): uint32_t ns3::Address::CopyAllFrom(uint8_t const * buffer, uint8_t len) [member function]
671 cls.add_method('CopyAllFrom',
672 'uint32_t',
673 [param('uint8_t const *', 'buffer'), param('uint8_t', 'len')])
674 ## address.h (module 'network'): uint32_t ns3::Address::CopyAllTo(uint8_t * buffer, uint8_t len) const [member function]
675 cls.add_method('CopyAllTo',
676 'uint32_t',
677 [param('uint8_t *', 'buffer'), param('uint8_t', 'len')],
678 is_const=True)
679 ## address.h (module 'network'): uint32_t ns3::Address::CopyFrom(uint8_t const * buffer, uint8_t len) [member function]
680 cls.add_method('CopyFrom',
681 'uint32_t',
682 [param('uint8_t const *', 'buffer'), param('uint8_t', 'len')])
683 ## address.h (module 'network'): uint32_t ns3::Address::CopyTo(uint8_t * buffer) const [member function]
684 cls.add_method('CopyTo',
685 'uint32_t',
686 [param('uint8_t *', 'buffer')],
687 is_const=True)
688 ## address.h (module 'network'): void ns3::Address::Deserialize(ns3::TagBuffer buffer) [member function]
689 cls.add_method('Deserialize',
690 'void',
691 [param('ns3::TagBuffer', 'buffer')])
692 ## address.h (module 'network'): uint8_t ns3::Address::GetLength() const [member function]
693 cls.add_method('GetLength',
694 'uint8_t',
695 [],
696 is_const=True)
697 ## address.h (module 'network'): uint32_t ns3::Address::GetSerializedSize() const [member function]
698 cls.add_method('GetSerializedSize',
699 'uint32_t',
700 [],
701 is_const=True)
702 ## address.h (module 'network'): bool ns3::Address::IsInvalid() const [member function]
703 cls.add_method('IsInvalid',
704 'bool',
705 [],
706 is_const=True)
707 ## address.h (module 'network'): bool ns3::Address::IsMatchingType(uint8_t type) const [member function]
708 cls.add_method('IsMatchingType',
709 'bool',
710 [param('uint8_t', 'type')],
711 is_const=True)
712 ## address.h (module 'network'): static uint8_t ns3::Address::Register() [member function]
713 cls.add_method('Register',
714 'uint8_t',
715 [],
716 is_static=True)
717 ## address.h (module 'network'): void ns3::Address::Serialize(ns3::TagBuffer buffer) const [member function]
718 cls.add_method('Serialize',
719 'void',
720 [param('ns3::TagBuffer', 'buffer')],
721 is_const=True)
722 return
723
724def register_Ns3ApplicationContainer_methods(root_module, cls):
725 ## application-container.h (module 'network'): ns3::ApplicationContainer::ApplicationContainer(ns3::ApplicationContainer const & arg0) [copy constructor]
726 cls.add_constructor([param('ns3::ApplicationContainer const &', 'arg0')])
727 ## application-container.h (module 'network'): ns3::ApplicationContainer::ApplicationContainer() [constructor]
728 cls.add_constructor([])
729 ## application-container.h (module 'network'): ns3::ApplicationContainer::ApplicationContainer(ns3::Ptr<ns3::Application> application) [constructor]
730 cls.add_constructor([param('ns3::Ptr< ns3::Application >', 'application')])
731 ## application-container.h (module 'network'): ns3::ApplicationContainer::ApplicationContainer(std::string name) [constructor]
732 cls.add_constructor([param('std::string', 'name')])
733 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Add(ns3::ApplicationContainer other) [member function]
734 cls.add_method('Add',
735 'void',
736 [param('ns3::ApplicationContainer', 'other')])
737 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Add(ns3::Ptr<ns3::Application> application) [member function]
738 cls.add_method('Add',
739 'void',
740 [param('ns3::Ptr< ns3::Application >', 'application')])
741 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Add(std::string name) [member function]
742 cls.add_method('Add',
743 'void',
744 [param('std::string', 'name')])
745 ## 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]
746 cls.add_method('Begin',
747 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Application > const, std::vector< ns3::Ptr< ns3::Application > > >',
748 [],
749 is_const=True)
750 ## 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]
751 cls.add_method('End',
752 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Application > const, std::vector< ns3::Ptr< ns3::Application > > >',
753 [],
754 is_const=True)
755 ## application-container.h (module 'network'): ns3::Ptr<ns3::Application> ns3::ApplicationContainer::Get(uint32_t i) const [member function]
756 cls.add_method('Get',
757 'ns3::Ptr< ns3::Application >',
758 [param('uint32_t', 'i')],
759 is_const=True)
760 ## application-container.h (module 'network'): uint32_t ns3::ApplicationContainer::GetN() const [member function]
761 cls.add_method('GetN',
762 'uint32_t',
763 [],
764 is_const=True)
765 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Start(ns3::Time start) [member function]
766 cls.add_method('Start',
767 'void',
768 [param('ns3::Time', 'start')])
769 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Stop(ns3::Time stop) [member function]
770 cls.add_method('Stop',
771 'void',
772 [param('ns3::Time', 'stop')])
773 return
774
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700775def register_Ns3AttributeConstructionList_methods(root_module, cls):
776 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor]
777 cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')])
778 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor]
779 cls.add_constructor([])
780 ## 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]
781 cls.add_method('Add',
782 'void',
783 [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')])
784 ## attribute-construction-list.h (module 'core'): std::_List_const_iterator<ns3::AttributeConstructionList::Item> ns3::AttributeConstructionList::Begin() const [member function]
785 cls.add_method('Begin',
786 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >',
787 [],
788 is_const=True)
789 ## attribute-construction-list.h (module 'core'): std::_List_const_iterator<ns3::AttributeConstructionList::Item> ns3::AttributeConstructionList::End() const [member function]
790 cls.add_method('End',
791 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >',
792 [],
793 is_const=True)
794 ## attribute-construction-list.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeConstructionList::Find(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
795 cls.add_method('Find',
796 'ns3::Ptr< ns3::AttributeValue >',
797 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
798 is_const=True)
799 return
800
801def register_Ns3AttributeConstructionListItem_methods(root_module, cls):
802 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor]
803 cls.add_constructor([])
804 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor]
805 cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')])
806 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable]
807 cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False)
808 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable]
809 cls.add_instance_attribute('name', 'std::string', is_const=False)
810 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable]
811 cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False)
812 return
813
814def register_Ns3Buffer_methods(root_module, cls):
815 ## buffer.h (module 'network'): ns3::Buffer::Buffer() [constructor]
816 cls.add_constructor([])
817 ## buffer.h (module 'network'): ns3::Buffer::Buffer(uint32_t dataSize) [constructor]
818 cls.add_constructor([param('uint32_t', 'dataSize')])
819 ## buffer.h (module 'network'): ns3::Buffer::Buffer(uint32_t dataSize, bool initialize) [constructor]
820 cls.add_constructor([param('uint32_t', 'dataSize'), param('bool', 'initialize')])
821 ## buffer.h (module 'network'): ns3::Buffer::Buffer(ns3::Buffer const & o) [copy constructor]
822 cls.add_constructor([param('ns3::Buffer const &', 'o')])
823 ## buffer.h (module 'network'): bool ns3::Buffer::AddAtEnd(uint32_t end) [member function]
824 cls.add_method('AddAtEnd',
825 'bool',
826 [param('uint32_t', 'end')])
827 ## buffer.h (module 'network'): void ns3::Buffer::AddAtEnd(ns3::Buffer const & o) [member function]
828 cls.add_method('AddAtEnd',
829 'void',
830 [param('ns3::Buffer const &', 'o')])
831 ## buffer.h (module 'network'): bool ns3::Buffer::AddAtStart(uint32_t start) [member function]
832 cls.add_method('AddAtStart',
833 'bool',
834 [param('uint32_t', 'start')])
835 ## buffer.h (module 'network'): ns3::Buffer::Iterator ns3::Buffer::Begin() const [member function]
836 cls.add_method('Begin',
837 'ns3::Buffer::Iterator',
838 [],
839 is_const=True)
840 ## buffer.h (module 'network'): void ns3::Buffer::CopyData(std::ostream * os, uint32_t size) const [member function]
841 cls.add_method('CopyData',
842 'void',
843 [param('std::ostream *', 'os'), param('uint32_t', 'size')],
844 is_const=True)
845 ## buffer.h (module 'network'): uint32_t ns3::Buffer::CopyData(uint8_t * buffer, uint32_t size) const [member function]
846 cls.add_method('CopyData',
847 'uint32_t',
848 [param('uint8_t *', 'buffer'), param('uint32_t', 'size')],
849 is_const=True)
850 ## buffer.h (module 'network'): ns3::Buffer ns3::Buffer::CreateFragment(uint32_t start, uint32_t length) const [member function]
851 cls.add_method('CreateFragment',
852 'ns3::Buffer',
853 [param('uint32_t', 'start'), param('uint32_t', 'length')],
854 is_const=True)
855 ## buffer.h (module 'network'): ns3::Buffer ns3::Buffer::CreateFullCopy() const [member function]
856 cls.add_method('CreateFullCopy',
857 'ns3::Buffer',
858 [],
859 is_const=True)
860 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Deserialize(uint8_t const * buffer, uint32_t size) [member function]
861 cls.add_method('Deserialize',
862 'uint32_t',
863 [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
864 ## buffer.h (module 'network'): ns3::Buffer::Iterator ns3::Buffer::End() const [member function]
865 cls.add_method('End',
866 'ns3::Buffer::Iterator',
867 [],
868 is_const=True)
869 ## buffer.h (module 'network'): int32_t ns3::Buffer::GetCurrentEndOffset() const [member function]
870 cls.add_method('GetCurrentEndOffset',
871 'int32_t',
872 [],
873 is_const=True)
874 ## buffer.h (module 'network'): int32_t ns3::Buffer::GetCurrentStartOffset() const [member function]
875 cls.add_method('GetCurrentStartOffset',
876 'int32_t',
877 [],
878 is_const=True)
879 ## buffer.h (module 'network'): uint32_t ns3::Buffer::GetSerializedSize() const [member function]
880 cls.add_method('GetSerializedSize',
881 'uint32_t',
882 [],
883 is_const=True)
884 ## buffer.h (module 'network'): uint32_t ns3::Buffer::GetSize() const [member function]
885 cls.add_method('GetSize',
886 'uint32_t',
887 [],
888 is_const=True)
889 ## buffer.h (module 'network'): uint8_t const * ns3::Buffer::PeekData() const [member function]
890 cls.add_method('PeekData',
891 'uint8_t const *',
892 [],
893 is_const=True)
894 ## buffer.h (module 'network'): void ns3::Buffer::RemoveAtEnd(uint32_t end) [member function]
895 cls.add_method('RemoveAtEnd',
896 'void',
897 [param('uint32_t', 'end')])
898 ## buffer.h (module 'network'): void ns3::Buffer::RemoveAtStart(uint32_t start) [member function]
899 cls.add_method('RemoveAtStart',
900 'void',
901 [param('uint32_t', 'start')])
902 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
903 cls.add_method('Serialize',
904 'uint32_t',
905 [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')],
906 is_const=True)
907 return
908
909def register_Ns3BufferIterator_methods(root_module, cls):
910 ## buffer.h (module 'network'): ns3::Buffer::Iterator::Iterator(ns3::Buffer::Iterator const & arg0) [copy constructor]
911 cls.add_constructor([param('ns3::Buffer::Iterator const &', 'arg0')])
912 ## buffer.h (module 'network'): ns3::Buffer::Iterator::Iterator() [constructor]
913 cls.add_constructor([])
914 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::CalculateIpChecksum(uint16_t size) [member function]
915 cls.add_method('CalculateIpChecksum',
916 'uint16_t',
917 [param('uint16_t', 'size')])
918 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::CalculateIpChecksum(uint16_t size, uint32_t initialChecksum) [member function]
919 cls.add_method('CalculateIpChecksum',
920 'uint16_t',
921 [param('uint16_t', 'size'), param('uint32_t', 'initialChecksum')])
922 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::GetDistanceFrom(ns3::Buffer::Iterator const & o) const [member function]
923 cls.add_method('GetDistanceFrom',
924 'uint32_t',
925 [param('ns3::Buffer::Iterator const &', 'o')],
926 is_const=True)
927 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::GetSize() const [member function]
928 cls.add_method('GetSize',
929 'uint32_t',
930 [],
931 is_const=True)
932 ## buffer.h (module 'network'): bool ns3::Buffer::Iterator::IsEnd() const [member function]
933 cls.add_method('IsEnd',
934 'bool',
935 [],
936 is_const=True)
937 ## buffer.h (module 'network'): bool ns3::Buffer::Iterator::IsStart() const [member function]
938 cls.add_method('IsStart',
939 'bool',
940 [],
941 is_const=True)
942 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Next() [member function]
943 cls.add_method('Next',
944 'void',
945 [])
946 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Next(uint32_t delta) [member function]
947 cls.add_method('Next',
948 'void',
949 [param('uint32_t', 'delta')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -0700950 ## buffer.h (module 'network'): uint8_t ns3::Buffer::Iterator::PeekU8() [member function]
951 cls.add_method('PeekU8',
952 'uint8_t',
953 [])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700954 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Prev() [member function]
955 cls.add_method('Prev',
956 'void',
957 [])
958 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Prev(uint32_t delta) [member function]
959 cls.add_method('Prev',
960 'void',
961 [param('uint32_t', 'delta')])
962 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Read(uint8_t * buffer, uint32_t size) [member function]
963 cls.add_method('Read',
964 'void',
965 [param('uint8_t *', 'buffer'), param('uint32_t', 'size')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -0700966 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Read(ns3::Buffer::Iterator start, uint32_t size) [member function]
967 cls.add_method('Read',
968 'void',
969 [param('ns3::Buffer::Iterator', 'start'), param('uint32_t', 'size')])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700970 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadLsbtohU16() [member function]
971 cls.add_method('ReadLsbtohU16',
972 'uint16_t',
973 [])
974 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadLsbtohU32() [member function]
975 cls.add_method('ReadLsbtohU32',
976 'uint32_t',
977 [])
978 ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadLsbtohU64() [member function]
979 cls.add_method('ReadLsbtohU64',
980 'uint64_t',
981 [])
982 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadNtohU16() [member function]
983 cls.add_method('ReadNtohU16',
984 'uint16_t',
985 [])
986 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadNtohU32() [member function]
987 cls.add_method('ReadNtohU32',
988 'uint32_t',
989 [])
990 ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadNtohU64() [member function]
991 cls.add_method('ReadNtohU64',
992 'uint64_t',
993 [])
994 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadU16() [member function]
995 cls.add_method('ReadU16',
996 'uint16_t',
997 [])
998 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadU32() [member function]
999 cls.add_method('ReadU32',
1000 'uint32_t',
1001 [])
1002 ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadU64() [member function]
1003 cls.add_method('ReadU64',
1004 'uint64_t',
1005 [])
1006 ## buffer.h (module 'network'): uint8_t ns3::Buffer::Iterator::ReadU8() [member function]
1007 cls.add_method('ReadU8',
1008 'uint8_t',
1009 [])
1010 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Write(uint8_t const * buffer, uint32_t size) [member function]
1011 cls.add_method('Write',
1012 'void',
1013 [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
1014 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Write(ns3::Buffer::Iterator start, ns3::Buffer::Iterator end) [member function]
1015 cls.add_method('Write',
1016 'void',
1017 [param('ns3::Buffer::Iterator', 'start'), param('ns3::Buffer::Iterator', 'end')])
1018 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU16(uint16_t data) [member function]
1019 cls.add_method('WriteHtolsbU16',
1020 'void',
1021 [param('uint16_t', 'data')])
1022 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU32(uint32_t data) [member function]
1023 cls.add_method('WriteHtolsbU32',
1024 'void',
1025 [param('uint32_t', 'data')])
1026 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU64(uint64_t data) [member function]
1027 cls.add_method('WriteHtolsbU64',
1028 'void',
1029 [param('uint64_t', 'data')])
1030 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU16(uint16_t data) [member function]
1031 cls.add_method('WriteHtonU16',
1032 'void',
1033 [param('uint16_t', 'data')])
1034 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU32(uint32_t data) [member function]
1035 cls.add_method('WriteHtonU32',
1036 'void',
1037 [param('uint32_t', 'data')])
1038 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU64(uint64_t data) [member function]
1039 cls.add_method('WriteHtonU64',
1040 'void',
1041 [param('uint64_t', 'data')])
1042 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU16(uint16_t data) [member function]
1043 cls.add_method('WriteU16',
1044 'void',
1045 [param('uint16_t', 'data')])
1046 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU32(uint32_t data) [member function]
1047 cls.add_method('WriteU32',
1048 'void',
1049 [param('uint32_t', 'data')])
1050 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU64(uint64_t data) [member function]
1051 cls.add_method('WriteU64',
1052 'void',
1053 [param('uint64_t', 'data')])
1054 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU8(uint8_t data) [member function]
1055 cls.add_method('WriteU8',
1056 'void',
1057 [param('uint8_t', 'data')])
1058 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU8(uint8_t data, uint32_t len) [member function]
1059 cls.add_method('WriteU8',
1060 'void',
1061 [param('uint8_t', 'data'), param('uint32_t', 'len')])
1062 return
1063
1064def register_Ns3ByteTagIterator_methods(root_module, cls):
1065 ## packet.h (module 'network'): ns3::ByteTagIterator::ByteTagIterator(ns3::ByteTagIterator const & arg0) [copy constructor]
1066 cls.add_constructor([param('ns3::ByteTagIterator const &', 'arg0')])
1067 ## packet.h (module 'network'): bool ns3::ByteTagIterator::HasNext() const [member function]
1068 cls.add_method('HasNext',
1069 'bool',
1070 [],
1071 is_const=True)
1072 ## packet.h (module 'network'): ns3::ByteTagIterator::Item ns3::ByteTagIterator::Next() [member function]
1073 cls.add_method('Next',
1074 'ns3::ByteTagIterator::Item',
1075 [])
1076 return
1077
1078def register_Ns3ByteTagIteratorItem_methods(root_module, cls):
1079 ## packet.h (module 'network'): ns3::ByteTagIterator::Item::Item(ns3::ByteTagIterator::Item const & arg0) [copy constructor]
1080 cls.add_constructor([param('ns3::ByteTagIterator::Item const &', 'arg0')])
1081 ## packet.h (module 'network'): uint32_t ns3::ByteTagIterator::Item::GetEnd() const [member function]
1082 cls.add_method('GetEnd',
1083 'uint32_t',
1084 [],
1085 is_const=True)
1086 ## packet.h (module 'network'): uint32_t ns3::ByteTagIterator::Item::GetStart() const [member function]
1087 cls.add_method('GetStart',
1088 'uint32_t',
1089 [],
1090 is_const=True)
1091 ## packet.h (module 'network'): void ns3::ByteTagIterator::Item::GetTag(ns3::Tag & tag) const [member function]
1092 cls.add_method('GetTag',
1093 'void',
1094 [param('ns3::Tag &', 'tag')],
1095 is_const=True)
1096 ## packet.h (module 'network'): ns3::TypeId ns3::ByteTagIterator::Item::GetTypeId() const [member function]
1097 cls.add_method('GetTypeId',
1098 'ns3::TypeId',
1099 [],
1100 is_const=True)
1101 return
1102
1103def register_Ns3ByteTagList_methods(root_module, cls):
1104 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::ByteTagList() [constructor]
1105 cls.add_constructor([])
1106 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::ByteTagList(ns3::ByteTagList const & o) [copy constructor]
1107 cls.add_constructor([param('ns3::ByteTagList const &', 'o')])
1108 ## 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]
1109 cls.add_method('Add',
1110 'ns3::TagBuffer',
1111 [param('ns3::TypeId', 'tid'), param('uint32_t', 'bufferSize'), param('int32_t', 'start'), param('int32_t', 'end')])
1112 ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::Add(ns3::ByteTagList const & o) [member function]
1113 cls.add_method('Add',
1114 'void',
1115 [param('ns3::ByteTagList const &', 'o')])
1116 ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::AddAtEnd(int32_t adjustment, int32_t appendOffset) [member function]
1117 cls.add_method('AddAtEnd',
1118 'void',
1119 [param('int32_t', 'adjustment'), param('int32_t', 'appendOffset')])
1120 ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::AddAtStart(int32_t adjustment, int32_t prependOffset) [member function]
1121 cls.add_method('AddAtStart',
1122 'void',
1123 [param('int32_t', 'adjustment'), param('int32_t', 'prependOffset')])
1124 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator ns3::ByteTagList::Begin(int32_t offsetStart, int32_t offsetEnd) const [member function]
1125 cls.add_method('Begin',
1126 'ns3::ByteTagList::Iterator',
1127 [param('int32_t', 'offsetStart'), param('int32_t', 'offsetEnd')],
1128 is_const=True)
1129 ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::RemoveAll() [member function]
1130 cls.add_method('RemoveAll',
1131 'void',
1132 [])
1133 return
1134
1135def register_Ns3ByteTagListIterator_methods(root_module, cls):
1136 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Iterator(ns3::ByteTagList::Iterator const & arg0) [copy constructor]
1137 cls.add_constructor([param('ns3::ByteTagList::Iterator const &', 'arg0')])
1138 ## byte-tag-list.h (module 'network'): uint32_t ns3::ByteTagList::Iterator::GetOffsetStart() const [member function]
1139 cls.add_method('GetOffsetStart',
1140 'uint32_t',
1141 [],
1142 is_const=True)
1143 ## byte-tag-list.h (module 'network'): bool ns3::ByteTagList::Iterator::HasNext() const [member function]
1144 cls.add_method('HasNext',
1145 'bool',
1146 [],
1147 is_const=True)
1148 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item ns3::ByteTagList::Iterator::Next() [member function]
1149 cls.add_method('Next',
1150 'ns3::ByteTagList::Iterator::Item',
1151 [])
1152 return
1153
1154def register_Ns3ByteTagListIteratorItem_methods(root_module, cls):
1155 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::Item(ns3::ByteTagList::Iterator::Item const & arg0) [copy constructor]
1156 cls.add_constructor([param('ns3::ByteTagList::Iterator::Item const &', 'arg0')])
1157 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::Item(ns3::TagBuffer buf) [constructor]
1158 cls.add_constructor([param('ns3::TagBuffer', 'buf')])
1159 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::buf [variable]
1160 cls.add_instance_attribute('buf', 'ns3::TagBuffer', is_const=False)
1161 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::end [variable]
1162 cls.add_instance_attribute('end', 'int32_t', is_const=False)
1163 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::size [variable]
1164 cls.add_instance_attribute('size', 'uint32_t', is_const=False)
1165 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::start [variable]
1166 cls.add_instance_attribute('start', 'int32_t', is_const=False)
1167 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::tid [variable]
1168 cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
1169 return
1170
1171def register_Ns3CallbackBase_methods(root_module, cls):
1172 ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase(ns3::CallbackBase const & arg0) [copy constructor]
1173 cls.add_constructor([param('ns3::CallbackBase const &', 'arg0')])
1174 ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase() [constructor]
1175 cls.add_constructor([])
1176 ## callback.h (module 'core'): ns3::Ptr<ns3::CallbackImplBase> ns3::CallbackBase::GetImpl() const [member function]
1177 cls.add_method('GetImpl',
1178 'ns3::Ptr< ns3::CallbackImplBase >',
1179 [],
1180 is_const=True)
1181 ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase(ns3::Ptr<ns3::CallbackImplBase> impl) [constructor]
1182 cls.add_constructor([param('ns3::Ptr< ns3::CallbackImplBase >', 'impl')],
1183 visibility='protected')
1184 ## callback.h (module 'core'): static std::string ns3::CallbackBase::Demangle(std::string const & mangled) [member function]
1185 cls.add_method('Demangle',
1186 'std::string',
1187 [param('std::string const &', 'mangled')],
1188 is_static=True, visibility='protected')
1189 return
1190
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001191def register_Ns3EventId_methods(root_module, cls):
1192 cls.add_binary_comparison_operator('!=')
1193 cls.add_binary_comparison_operator('==')
1194 ## event-id.h (module 'core'): ns3::EventId::EventId(ns3::EventId const & arg0) [copy constructor]
1195 cls.add_constructor([param('ns3::EventId const &', 'arg0')])
1196 ## event-id.h (module 'core'): ns3::EventId::EventId() [constructor]
1197 cls.add_constructor([])
1198 ## event-id.h (module 'core'): ns3::EventId::EventId(ns3::Ptr<ns3::EventImpl> const & impl, uint64_t ts, uint32_t context, uint32_t uid) [constructor]
1199 cls.add_constructor([param('ns3::Ptr< ns3::EventImpl > const &', 'impl'), param('uint64_t', 'ts'), param('uint32_t', 'context'), param('uint32_t', 'uid')])
1200 ## event-id.h (module 'core'): void ns3::EventId::Cancel() [member function]
1201 cls.add_method('Cancel',
1202 'void',
1203 [])
1204 ## event-id.h (module 'core'): uint32_t ns3::EventId::GetContext() const [member function]
1205 cls.add_method('GetContext',
1206 'uint32_t',
1207 [],
1208 is_const=True)
1209 ## event-id.h (module 'core'): uint64_t ns3::EventId::GetTs() const [member function]
1210 cls.add_method('GetTs',
1211 'uint64_t',
1212 [],
1213 is_const=True)
1214 ## event-id.h (module 'core'): uint32_t ns3::EventId::GetUid() const [member function]
1215 cls.add_method('GetUid',
1216 'uint32_t',
1217 [],
1218 is_const=True)
1219 ## event-id.h (module 'core'): bool ns3::EventId::IsExpired() const [member function]
1220 cls.add_method('IsExpired',
1221 'bool',
1222 [],
1223 is_const=True)
1224 ## event-id.h (module 'core'): bool ns3::EventId::IsRunning() const [member function]
1225 cls.add_method('IsRunning',
1226 'bool',
1227 [],
1228 is_const=True)
1229 ## event-id.h (module 'core'): ns3::EventImpl * ns3::EventId::PeekEventImpl() const [member function]
1230 cls.add_method('PeekEventImpl',
1231 'ns3::EventImpl *',
1232 [],
1233 is_const=True)
1234 return
1235
1236def register_Ns3Ipv4Address_methods(root_module, cls):
1237 cls.add_binary_comparison_operator('!=')
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07001238 cls.add_output_stream_operator()
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07001239 cls.add_binary_comparison_operator('==')
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001240 cls.add_binary_comparison_operator('<')
1241 ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(ns3::Ipv4Address const & arg0) [copy constructor]
1242 cls.add_constructor([param('ns3::Ipv4Address const &', 'arg0')])
1243 ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address() [constructor]
1244 cls.add_constructor([])
1245 ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(uint32_t address) [constructor]
1246 cls.add_constructor([param('uint32_t', 'address')])
1247 ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(char const * address) [constructor]
1248 cls.add_constructor([param('char const *', 'address')])
1249 ## ipv4-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv4Address::CombineMask(ns3::Ipv4Mask const & mask) const [member function]
1250 cls.add_method('CombineMask',
1251 'ns3::Ipv4Address',
1252 [param('ns3::Ipv4Mask const &', 'mask')],
1253 is_const=True)
1254 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::ConvertFrom(ns3::Address const & address) [member function]
1255 cls.add_method('ConvertFrom',
1256 'ns3::Ipv4Address',
1257 [param('ns3::Address const &', 'address')],
1258 is_static=True)
1259 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::Deserialize(uint8_t const * buf) [member function]
1260 cls.add_method('Deserialize',
1261 'ns3::Ipv4Address',
1262 [param('uint8_t const *', 'buf')],
1263 is_static=True)
Alexander Afanasyev4052f952012-06-08 17:57:59 -07001264 ## ipv4-address.h (module 'network'): uint32_t ns3::Ipv4Address::Get() const [member function]
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001265 cls.add_method('Get',
Alexander Afanasyev4052f952012-06-08 17:57:59 -07001266 'uint32_t',
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001267 [],
1268 is_const=True)
1269 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetAny() [member function]
1270 cls.add_method('GetAny',
1271 'ns3::Ipv4Address',
1272 [],
1273 is_static=True)
1274 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetBroadcast() [member function]
1275 cls.add_method('GetBroadcast',
1276 'ns3::Ipv4Address',
1277 [],
1278 is_static=True)
1279 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetLoopback() [member function]
1280 cls.add_method('GetLoopback',
1281 'ns3::Ipv4Address',
1282 [],
1283 is_static=True)
1284 ## ipv4-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv4Address::GetSubnetDirectedBroadcast(ns3::Ipv4Mask const & mask) const [member function]
1285 cls.add_method('GetSubnetDirectedBroadcast',
1286 'ns3::Ipv4Address',
1287 [param('ns3::Ipv4Mask const &', 'mask')],
1288 is_const=True)
1289 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetZero() [member function]
1290 cls.add_method('GetZero',
1291 'ns3::Ipv4Address',
1292 [],
1293 is_static=True)
1294 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsBroadcast() const [member function]
1295 cls.add_method('IsBroadcast',
1296 'bool',
1297 [],
1298 is_const=True)
1299 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsEqual(ns3::Ipv4Address const & other) const [member function]
1300 cls.add_method('IsEqual',
1301 'bool',
1302 [param('ns3::Ipv4Address const &', 'other')],
1303 is_const=True)
1304 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsLocalMulticast() const [member function]
1305 cls.add_method('IsLocalMulticast',
1306 'bool',
1307 [],
1308 is_const=True)
1309 ## ipv4-address.h (module 'network'): static bool ns3::Ipv4Address::IsMatchingType(ns3::Address const & address) [member function]
1310 cls.add_method('IsMatchingType',
1311 'bool',
1312 [param('ns3::Address const &', 'address')],
1313 is_static=True)
1314 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsMulticast() const [member function]
1315 cls.add_method('IsMulticast',
1316 'bool',
1317 [],
1318 is_const=True)
1319 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsSubnetDirectedBroadcast(ns3::Ipv4Mask const & mask) const [member function]
1320 cls.add_method('IsSubnetDirectedBroadcast',
1321 'bool',
1322 [param('ns3::Ipv4Mask const &', 'mask')],
1323 is_const=True)
1324 ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Print(std::ostream & os) const [member function]
1325 cls.add_method('Print',
1326 'void',
1327 [param('std::ostream &', 'os')],
1328 is_const=True)
1329 ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Serialize(uint8_t * buf) const [member function]
1330 cls.add_method('Serialize',
1331 'void',
1332 [param('uint8_t *', 'buf')],
1333 is_const=True)
1334 ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Set(uint32_t address) [member function]
1335 cls.add_method('Set',
1336 'void',
1337 [param('uint32_t', 'address')])
1338 ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Set(char const * address) [member function]
1339 cls.add_method('Set',
1340 'void',
1341 [param('char const *', 'address')])
1342 return
1343
1344def register_Ns3Ipv4Mask_methods(root_module, cls):
1345 cls.add_binary_comparison_operator('!=')
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07001346 cls.add_output_stream_operator()
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07001347 cls.add_binary_comparison_operator('==')
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001348 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask(ns3::Ipv4Mask const & arg0) [copy constructor]
1349 cls.add_constructor([param('ns3::Ipv4Mask const &', 'arg0')])
1350 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask() [constructor]
1351 cls.add_constructor([])
1352 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask(uint32_t mask) [constructor]
1353 cls.add_constructor([param('uint32_t', 'mask')])
1354 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask(char const * mask) [constructor]
1355 cls.add_constructor([param('char const *', 'mask')])
1356 ## ipv4-address.h (module 'network'): uint32_t ns3::Ipv4Mask::Get() const [member function]
1357 cls.add_method('Get',
1358 'uint32_t',
1359 [],
1360 is_const=True)
1361 ## ipv4-address.h (module 'network'): uint32_t ns3::Ipv4Mask::GetInverse() const [member function]
1362 cls.add_method('GetInverse',
1363 'uint32_t',
1364 [],
1365 is_const=True)
1366 ## ipv4-address.h (module 'network'): static ns3::Ipv4Mask ns3::Ipv4Mask::GetLoopback() [member function]
1367 cls.add_method('GetLoopback',
1368 'ns3::Ipv4Mask',
1369 [],
1370 is_static=True)
1371 ## ipv4-address.h (module 'network'): static ns3::Ipv4Mask ns3::Ipv4Mask::GetOnes() [member function]
1372 cls.add_method('GetOnes',
1373 'ns3::Ipv4Mask',
1374 [],
1375 is_static=True)
1376 ## ipv4-address.h (module 'network'): uint16_t ns3::Ipv4Mask::GetPrefixLength() const [member function]
1377 cls.add_method('GetPrefixLength',
1378 'uint16_t',
1379 [],
1380 is_const=True)
1381 ## ipv4-address.h (module 'network'): static ns3::Ipv4Mask ns3::Ipv4Mask::GetZero() [member function]
1382 cls.add_method('GetZero',
1383 'ns3::Ipv4Mask',
1384 [],
1385 is_static=True)
1386 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Mask::IsEqual(ns3::Ipv4Mask other) const [member function]
1387 cls.add_method('IsEqual',
1388 'bool',
1389 [param('ns3::Ipv4Mask', 'other')],
1390 is_const=True)
1391 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Mask::IsMatch(ns3::Ipv4Address a, ns3::Ipv4Address b) const [member function]
1392 cls.add_method('IsMatch',
1393 'bool',
1394 [param('ns3::Ipv4Address', 'a'), param('ns3::Ipv4Address', 'b')],
1395 is_const=True)
1396 ## ipv4-address.h (module 'network'): void ns3::Ipv4Mask::Print(std::ostream & os) const [member function]
1397 cls.add_method('Print',
1398 'void',
1399 [param('std::ostream &', 'os')],
1400 is_const=True)
1401 ## ipv4-address.h (module 'network'): void ns3::Ipv4Mask::Set(uint32_t mask) [member function]
1402 cls.add_method('Set',
1403 'void',
1404 [param('uint32_t', 'mask')])
1405 return
1406
1407def register_Ns3Ipv6Address_methods(root_module, cls):
1408 cls.add_binary_comparison_operator('!=')
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07001409 cls.add_output_stream_operator()
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07001410 cls.add_binary_comparison_operator('==')
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001411 cls.add_binary_comparison_operator('<')
1412 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address() [constructor]
1413 cls.add_constructor([])
1414 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(char const * address) [constructor]
1415 cls.add_constructor([param('char const *', 'address')])
1416 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(uint8_t * address) [constructor]
1417 cls.add_constructor([param('uint8_t *', 'address')])
1418 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(ns3::Ipv6Address const & addr) [copy constructor]
1419 cls.add_constructor([param('ns3::Ipv6Address const &', 'addr')])
1420 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(ns3::Ipv6Address const * addr) [constructor]
1421 cls.add_constructor([param('ns3::Ipv6Address const *', 'addr')])
1422 ## ipv6-address.h (module 'network'): ns3::Ipv6Address ns3::Ipv6Address::CombinePrefix(ns3::Ipv6Prefix const & prefix) [member function]
1423 cls.add_method('CombinePrefix',
1424 'ns3::Ipv6Address',
1425 [param('ns3::Ipv6Prefix const &', 'prefix')])
1426 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::ConvertFrom(ns3::Address const & address) [member function]
1427 cls.add_method('ConvertFrom',
1428 'ns3::Ipv6Address',
1429 [param('ns3::Address const &', 'address')],
1430 is_static=True)
1431 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::Deserialize(uint8_t const * buf) [member function]
1432 cls.add_method('Deserialize',
1433 'ns3::Ipv6Address',
1434 [param('uint8_t const *', 'buf')],
1435 is_static=True)
1436 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAllHostsMulticast() [member function]
1437 cls.add_method('GetAllHostsMulticast',
1438 'ns3::Ipv6Address',
1439 [],
1440 is_static=True)
1441 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAllNodesMulticast() [member function]
1442 cls.add_method('GetAllNodesMulticast',
1443 'ns3::Ipv6Address',
1444 [],
1445 is_static=True)
1446 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAllRoutersMulticast() [member function]
1447 cls.add_method('GetAllRoutersMulticast',
1448 'ns3::Ipv6Address',
1449 [],
1450 is_static=True)
1451 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAny() [member function]
1452 cls.add_method('GetAny',
1453 'ns3::Ipv6Address',
1454 [],
1455 is_static=True)
1456 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::GetBytes(uint8_t * buf) const [member function]
1457 cls.add_method('GetBytes',
1458 'void',
1459 [param('uint8_t *', 'buf')],
1460 is_const=True)
Alexander Afanasyev6f933532012-02-29 13:30:37 -08001461 ## ipv6-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv6Address::GetIpv4MappedAddress() const [member function]
1462 cls.add_method('GetIpv4MappedAddress',
1463 'ns3::Ipv4Address',
1464 [],
1465 is_const=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001466 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetLoopback() [member function]
1467 cls.add_method('GetLoopback',
1468 'ns3::Ipv6Address',
1469 [],
1470 is_static=True)
1471 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetOnes() [member function]
1472 cls.add_method('GetOnes',
1473 'ns3::Ipv6Address',
1474 [],
1475 is_static=True)
1476 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetZero() [member function]
1477 cls.add_method('GetZero',
1478 'ns3::Ipv6Address',
1479 [],
1480 is_static=True)
1481 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAllHostsMulticast() const [member function]
1482 cls.add_method('IsAllHostsMulticast',
1483 'bool',
1484 [],
1485 is_const=True)
1486 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAllNodesMulticast() const [member function]
1487 cls.add_method('IsAllNodesMulticast',
1488 'bool',
1489 [],
1490 is_const=True)
1491 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAllRoutersMulticast() const [member function]
1492 cls.add_method('IsAllRoutersMulticast',
1493 'bool',
1494 [],
1495 is_const=True)
1496 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAny() const [member function]
1497 cls.add_method('IsAny',
1498 'bool',
1499 [],
1500 is_const=True)
1501 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsEqual(ns3::Ipv6Address const & other) const [member function]
1502 cls.add_method('IsEqual',
1503 'bool',
1504 [param('ns3::Ipv6Address const &', 'other')],
1505 is_const=True)
Alexander Afanasyev6f933532012-02-29 13:30:37 -08001506 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsIpv4MappedAddress() [member function]
1507 cls.add_method('IsIpv4MappedAddress',
1508 'bool',
1509 [])
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001510 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsLinkLocal() const [member function]
1511 cls.add_method('IsLinkLocal',
1512 'bool',
1513 [],
1514 is_const=True)
Alexander Afanasyev6f933532012-02-29 13:30:37 -08001515 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsLinkLocalMulticast() const [member function]
1516 cls.add_method('IsLinkLocalMulticast',
1517 'bool',
1518 [],
1519 is_const=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001520 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsLocalhost() const [member function]
1521 cls.add_method('IsLocalhost',
1522 'bool',
1523 [],
1524 is_const=True)
1525 ## ipv6-address.h (module 'network'): static bool ns3::Ipv6Address::IsMatchingType(ns3::Address const & address) [member function]
1526 cls.add_method('IsMatchingType',
1527 'bool',
1528 [param('ns3::Address const &', 'address')],
1529 is_static=True)
1530 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsMulticast() const [member function]
1531 cls.add_method('IsMulticast',
1532 'bool',
1533 [],
1534 is_const=True)
1535 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsSolicitedMulticast() const [member function]
1536 cls.add_method('IsSolicitedMulticast',
1537 'bool',
1538 [],
1539 is_const=True)
1540 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredAddress(ns3::Mac48Address addr, ns3::Ipv6Address prefix) [member function]
1541 cls.add_method('MakeAutoconfiguredAddress',
1542 'ns3::Ipv6Address',
1543 [param('ns3::Mac48Address', 'addr'), param('ns3::Ipv6Address', 'prefix')],
1544 is_static=True)
1545 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredLinkLocalAddress(ns3::Mac48Address mac) [member function]
1546 cls.add_method('MakeAutoconfiguredLinkLocalAddress',
1547 'ns3::Ipv6Address',
1548 [param('ns3::Mac48Address', 'mac')],
1549 is_static=True)
Alexander Afanasyev6f933532012-02-29 13:30:37 -08001550 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeIpv4MappedAddress(ns3::Ipv4Address addr) [member function]
1551 cls.add_method('MakeIpv4MappedAddress',
1552 'ns3::Ipv6Address',
1553 [param('ns3::Ipv4Address', 'addr')],
1554 is_static=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001555 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeSolicitedAddress(ns3::Ipv6Address addr) [member function]
1556 cls.add_method('MakeSolicitedAddress',
1557 'ns3::Ipv6Address',
1558 [param('ns3::Ipv6Address', 'addr')],
1559 is_static=True)
1560 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Print(std::ostream & os) const [member function]
1561 cls.add_method('Print',
1562 'void',
1563 [param('std::ostream &', 'os')],
1564 is_const=True)
1565 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Serialize(uint8_t * buf) const [member function]
1566 cls.add_method('Serialize',
1567 'void',
1568 [param('uint8_t *', 'buf')],
1569 is_const=True)
1570 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Set(char const * address) [member function]
1571 cls.add_method('Set',
1572 'void',
1573 [param('char const *', 'address')])
1574 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Set(uint8_t * address) [member function]
1575 cls.add_method('Set',
1576 'void',
1577 [param('uint8_t *', 'address')])
1578 return
1579
1580def register_Ns3Ipv6Prefix_methods(root_module, cls):
1581 cls.add_binary_comparison_operator('!=')
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07001582 cls.add_output_stream_operator()
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07001583 cls.add_binary_comparison_operator('==')
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001584 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix() [constructor]
1585 cls.add_constructor([])
1586 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(uint8_t * prefix) [constructor]
1587 cls.add_constructor([param('uint8_t *', 'prefix')])
1588 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(char const * prefix) [constructor]
1589 cls.add_constructor([param('char const *', 'prefix')])
1590 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(uint8_t prefix) [constructor]
1591 cls.add_constructor([param('uint8_t', 'prefix')])
1592 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(ns3::Ipv6Prefix const & prefix) [copy constructor]
1593 cls.add_constructor([param('ns3::Ipv6Prefix const &', 'prefix')])
1594 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(ns3::Ipv6Prefix const * prefix) [constructor]
1595 cls.add_constructor([param('ns3::Ipv6Prefix const *', 'prefix')])
1596 ## ipv6-address.h (module 'network'): void ns3::Ipv6Prefix::GetBytes(uint8_t * buf) const [member function]
1597 cls.add_method('GetBytes',
1598 'void',
1599 [param('uint8_t *', 'buf')],
1600 is_const=True)
1601 ## ipv6-address.h (module 'network'): static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetLoopback() [member function]
1602 cls.add_method('GetLoopback',
1603 'ns3::Ipv6Prefix',
1604 [],
1605 is_static=True)
1606 ## ipv6-address.h (module 'network'): static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetOnes() [member function]
1607 cls.add_method('GetOnes',
1608 'ns3::Ipv6Prefix',
1609 [],
1610 is_static=True)
1611 ## ipv6-address.h (module 'network'): uint8_t ns3::Ipv6Prefix::GetPrefixLength() const [member function]
1612 cls.add_method('GetPrefixLength',
1613 'uint8_t',
1614 [],
1615 is_const=True)
1616 ## ipv6-address.h (module 'network'): static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetZero() [member function]
1617 cls.add_method('GetZero',
1618 'ns3::Ipv6Prefix',
1619 [],
1620 is_static=True)
1621 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Prefix::IsEqual(ns3::Ipv6Prefix const & other) const [member function]
1622 cls.add_method('IsEqual',
1623 'bool',
1624 [param('ns3::Ipv6Prefix const &', 'other')],
1625 is_const=True)
1626 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Prefix::IsMatch(ns3::Ipv6Address a, ns3::Ipv6Address b) const [member function]
1627 cls.add_method('IsMatch',
1628 'bool',
1629 [param('ns3::Ipv6Address', 'a'), param('ns3::Ipv6Address', 'b')],
1630 is_const=True)
1631 ## ipv6-address.h (module 'network'): void ns3::Ipv6Prefix::Print(std::ostream & os) const [member function]
1632 cls.add_method('Print',
1633 'void',
1634 [param('std::ostream &', 'os')],
1635 is_const=True)
1636 return
1637
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07001638def register_Ns3NetDeviceContainer_methods(root_module, cls):
1639 ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(ns3::NetDeviceContainer const & arg0) [copy constructor]
1640 cls.add_constructor([param('ns3::NetDeviceContainer const &', 'arg0')])
1641 ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer() [constructor]
1642 cls.add_constructor([])
1643 ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(ns3::Ptr<ns3::NetDevice> dev) [constructor]
1644 cls.add_constructor([param('ns3::Ptr< ns3::NetDevice >', 'dev')])
1645 ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(std::string devName) [constructor]
1646 cls.add_constructor([param('std::string', 'devName')])
1647 ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(ns3::NetDeviceContainer const & a, ns3::NetDeviceContainer const & b) [constructor]
1648 cls.add_constructor([param('ns3::NetDeviceContainer const &', 'a'), param('ns3::NetDeviceContainer const &', 'b')])
1649 ## net-device-container.h (module 'network'): void ns3::NetDeviceContainer::Add(ns3::NetDeviceContainer other) [member function]
1650 cls.add_method('Add',
1651 'void',
1652 [param('ns3::NetDeviceContainer', 'other')])
1653 ## net-device-container.h (module 'network'): void ns3::NetDeviceContainer::Add(ns3::Ptr<ns3::NetDevice> device) [member function]
1654 cls.add_method('Add',
1655 'void',
1656 [param('ns3::Ptr< ns3::NetDevice >', 'device')])
1657 ## net-device-container.h (module 'network'): void ns3::NetDeviceContainer::Add(std::string deviceName) [member function]
1658 cls.add_method('Add',
1659 'void',
1660 [param('std::string', 'deviceName')])
1661 ## 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]
1662 cls.add_method('Begin',
1663 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::NetDevice > const, std::vector< ns3::Ptr< ns3::NetDevice > > >',
1664 [],
1665 is_const=True)
1666 ## 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]
1667 cls.add_method('End',
1668 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::NetDevice > const, std::vector< ns3::Ptr< ns3::NetDevice > > >',
1669 [],
1670 is_const=True)
1671 ## net-device-container.h (module 'network'): ns3::Ptr<ns3::NetDevice> ns3::NetDeviceContainer::Get(uint32_t i) const [member function]
1672 cls.add_method('Get',
1673 'ns3::Ptr< ns3::NetDevice >',
1674 [param('uint32_t', 'i')],
1675 is_const=True)
1676 ## net-device-container.h (module 'network'): uint32_t ns3::NetDeviceContainer::GetN() const [member function]
1677 cls.add_method('GetN',
1678 'uint32_t',
1679 [],
1680 is_const=True)
1681 return
1682
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001683def register_Ns3NodeContainer_methods(root_module, cls):
1684 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & arg0) [copy constructor]
1685 cls.add_constructor([param('ns3::NodeContainer const &', 'arg0')])
1686 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer() [constructor]
1687 cls.add_constructor([])
1688 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::Ptr<ns3::Node> node) [constructor]
1689 cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node')])
1690 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(std::string nodeName) [constructor]
1691 cls.add_constructor([param('std::string', 'nodeName')])
1692 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b) [constructor]
1693 cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b')])
1694 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b, ns3::NodeContainer const & c) [constructor]
1695 cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b'), param('ns3::NodeContainer const &', 'c')])
1696 ## 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]
1697 cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b'), param('ns3::NodeContainer const &', 'c'), param('ns3::NodeContainer const &', 'd')])
1698 ## 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]
1699 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')])
1700 ## node-container.h (module 'network'): void ns3::NodeContainer::Add(ns3::NodeContainer other) [member function]
1701 cls.add_method('Add',
1702 'void',
1703 [param('ns3::NodeContainer', 'other')])
1704 ## node-container.h (module 'network'): void ns3::NodeContainer::Add(ns3::Ptr<ns3::Node> node) [member function]
1705 cls.add_method('Add',
1706 'void',
1707 [param('ns3::Ptr< ns3::Node >', 'node')])
1708 ## node-container.h (module 'network'): void ns3::NodeContainer::Add(std::string nodeName) [member function]
1709 cls.add_method('Add',
1710 'void',
1711 [param('std::string', 'nodeName')])
1712 ## 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]
1713 cls.add_method('Begin',
1714 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >',
1715 [],
1716 is_const=True)
1717 ## node-container.h (module 'network'): void ns3::NodeContainer::Create(uint32_t n) [member function]
1718 cls.add_method('Create',
1719 'void',
1720 [param('uint32_t', 'n')])
1721 ## node-container.h (module 'network'): void ns3::NodeContainer::Create(uint32_t n, uint32_t systemId) [member function]
1722 cls.add_method('Create',
1723 'void',
1724 [param('uint32_t', 'n'), param('uint32_t', 'systemId')])
1725 ## 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]
1726 cls.add_method('End',
1727 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >',
1728 [],
1729 is_const=True)
1730 ## node-container.h (module 'network'): ns3::Ptr<ns3::Node> ns3::NodeContainer::Get(uint32_t i) const [member function]
1731 cls.add_method('Get',
1732 'ns3::Ptr< ns3::Node >',
1733 [param('uint32_t', 'i')],
1734 is_const=True)
1735 ## node-container.h (module 'network'): static ns3::NodeContainer ns3::NodeContainer::GetGlobal() [member function]
1736 cls.add_method('GetGlobal',
1737 'ns3::NodeContainer',
1738 [],
1739 is_static=True)
1740 ## node-container.h (module 'network'): uint32_t ns3::NodeContainer::GetN() const [member function]
1741 cls.add_method('GetN',
1742 'uint32_t',
1743 [],
1744 is_const=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001745 return
1746
1747def register_Ns3ObjectBase_methods(root_module, cls):
1748 ## object-base.h (module 'core'): ns3::ObjectBase::ObjectBase() [constructor]
1749 cls.add_constructor([])
1750 ## object-base.h (module 'core'): ns3::ObjectBase::ObjectBase(ns3::ObjectBase const & arg0) [copy constructor]
1751 cls.add_constructor([param('ns3::ObjectBase const &', 'arg0')])
1752 ## object-base.h (module 'core'): void ns3::ObjectBase::GetAttribute(std::string name, ns3::AttributeValue & value) const [member function]
1753 cls.add_method('GetAttribute',
1754 'void',
1755 [param('std::string', 'name'), param('ns3::AttributeValue &', 'value')],
1756 is_const=True)
1757 ## object-base.h (module 'core'): bool ns3::ObjectBase::GetAttributeFailSafe(std::string name, ns3::AttributeValue & attribute) const [member function]
1758 cls.add_method('GetAttributeFailSafe',
1759 'bool',
1760 [param('std::string', 'name'), param('ns3::AttributeValue &', 'attribute')],
1761 is_const=True)
1762 ## object-base.h (module 'core'): ns3::TypeId ns3::ObjectBase::GetInstanceTypeId() const [member function]
1763 cls.add_method('GetInstanceTypeId',
1764 'ns3::TypeId',
1765 [],
1766 is_pure_virtual=True, is_const=True, is_virtual=True)
1767 ## object-base.h (module 'core'): static ns3::TypeId ns3::ObjectBase::GetTypeId() [member function]
1768 cls.add_method('GetTypeId',
1769 'ns3::TypeId',
1770 [],
1771 is_static=True)
1772 ## object-base.h (module 'core'): void ns3::ObjectBase::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function]
1773 cls.add_method('SetAttribute',
1774 'void',
1775 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
1776 ## object-base.h (module 'core'): bool ns3::ObjectBase::SetAttributeFailSafe(std::string name, ns3::AttributeValue const & value) [member function]
1777 cls.add_method('SetAttributeFailSafe',
1778 'bool',
1779 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
1780 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceConnect(std::string name, std::string context, ns3::CallbackBase const & cb) [member function]
1781 cls.add_method('TraceConnect',
1782 'bool',
1783 [param('std::string', 'name'), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')])
1784 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceConnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function]
1785 cls.add_method('TraceConnectWithoutContext',
1786 'bool',
1787 [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')])
1788 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceDisconnect(std::string name, std::string context, ns3::CallbackBase const & cb) [member function]
1789 cls.add_method('TraceDisconnect',
1790 'bool',
1791 [param('std::string', 'name'), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')])
1792 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceDisconnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function]
1793 cls.add_method('TraceDisconnectWithoutContext',
1794 'bool',
1795 [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')])
1796 ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function]
1797 cls.add_method('ConstructSelf',
1798 'void',
1799 [param('ns3::AttributeConstructionList const &', 'attributes')],
1800 visibility='protected')
1801 ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function]
1802 cls.add_method('NotifyConstructionCompleted',
1803 'void',
1804 [],
1805 visibility='protected', is_virtual=True)
1806 return
1807
1808def register_Ns3ObjectDeleter_methods(root_module, cls):
1809 ## object.h (module 'core'): ns3::ObjectDeleter::ObjectDeleter() [constructor]
1810 cls.add_constructor([])
1811 ## object.h (module 'core'): ns3::ObjectDeleter::ObjectDeleter(ns3::ObjectDeleter const & arg0) [copy constructor]
1812 cls.add_constructor([param('ns3::ObjectDeleter const &', 'arg0')])
1813 ## object.h (module 'core'): static void ns3::ObjectDeleter::Delete(ns3::Object * object) [member function]
1814 cls.add_method('Delete',
1815 'void',
1816 [param('ns3::Object *', 'object')],
1817 is_static=True)
1818 return
1819
1820def register_Ns3ObjectFactory_methods(root_module, cls):
1821 cls.add_output_stream_operator()
1822 ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(ns3::ObjectFactory const & arg0) [copy constructor]
1823 cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')])
1824 ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor]
1825 cls.add_constructor([])
1826 ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor]
1827 cls.add_constructor([param('std::string', 'typeId')])
1828 ## object-factory.h (module 'core'): ns3::Ptr<ns3::Object> ns3::ObjectFactory::Create() const [member function]
1829 cls.add_method('Create',
1830 'ns3::Ptr< ns3::Object >',
1831 [],
1832 is_const=True)
1833 ## object-factory.h (module 'core'): ns3::TypeId ns3::ObjectFactory::GetTypeId() const [member function]
1834 cls.add_method('GetTypeId',
1835 'ns3::TypeId',
1836 [],
1837 is_const=True)
1838 ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(std::string name, ns3::AttributeValue const & value) [member function]
1839 cls.add_method('Set',
1840 'void',
1841 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
1842 ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function]
1843 cls.add_method('SetTypeId',
1844 'void',
1845 [param('ns3::TypeId', 'tid')])
1846 ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(char const * tid) [member function]
1847 cls.add_method('SetTypeId',
1848 'void',
1849 [param('char const *', 'tid')])
1850 ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(std::string tid) [member function]
1851 cls.add_method('SetTypeId',
1852 'void',
1853 [param('std::string', 'tid')])
1854 return
1855
1856def register_Ns3PacketMetadata_methods(root_module, cls):
1857 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::PacketMetadata(uint64_t uid, uint32_t size) [constructor]
1858 cls.add_constructor([param('uint64_t', 'uid'), param('uint32_t', 'size')])
1859 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::PacketMetadata(ns3::PacketMetadata const & o) [copy constructor]
1860 cls.add_constructor([param('ns3::PacketMetadata const &', 'o')])
1861 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddAtEnd(ns3::PacketMetadata const & o) [member function]
1862 cls.add_method('AddAtEnd',
1863 'void',
1864 [param('ns3::PacketMetadata const &', 'o')])
1865 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddHeader(ns3::Header const & header, uint32_t size) [member function]
1866 cls.add_method('AddHeader',
1867 'void',
1868 [param('ns3::Header const &', 'header'), param('uint32_t', 'size')])
1869 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddPaddingAtEnd(uint32_t end) [member function]
1870 cls.add_method('AddPaddingAtEnd',
1871 'void',
1872 [param('uint32_t', 'end')])
1873 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddTrailer(ns3::Trailer const & trailer, uint32_t size) [member function]
1874 cls.add_method('AddTrailer',
1875 'void',
1876 [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')])
1877 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator ns3::PacketMetadata::BeginItem(ns3::Buffer buffer) const [member function]
1878 cls.add_method('BeginItem',
1879 'ns3::PacketMetadata::ItemIterator',
1880 [param('ns3::Buffer', 'buffer')],
1881 is_const=True)
1882 ## packet-metadata.h (module 'network'): ns3::PacketMetadata ns3::PacketMetadata::CreateFragment(uint32_t start, uint32_t end) const [member function]
1883 cls.add_method('CreateFragment',
1884 'ns3::PacketMetadata',
1885 [param('uint32_t', 'start'), param('uint32_t', 'end')],
1886 is_const=True)
1887 ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::Deserialize(uint8_t const * buffer, uint32_t size) [member function]
1888 cls.add_method('Deserialize',
1889 'uint32_t',
1890 [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
1891 ## packet-metadata.h (module 'network'): static void ns3::PacketMetadata::Enable() [member function]
1892 cls.add_method('Enable',
1893 'void',
1894 [],
1895 is_static=True)
1896 ## packet-metadata.h (module 'network'): static void ns3::PacketMetadata::EnableChecking() [member function]
1897 cls.add_method('EnableChecking',
1898 'void',
1899 [],
1900 is_static=True)
1901 ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::GetSerializedSize() const [member function]
1902 cls.add_method('GetSerializedSize',
1903 'uint32_t',
1904 [],
1905 is_const=True)
1906 ## packet-metadata.h (module 'network'): uint64_t ns3::PacketMetadata::GetUid() const [member function]
1907 cls.add_method('GetUid',
1908 'uint64_t',
1909 [],
1910 is_const=True)
1911 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveAtEnd(uint32_t end) [member function]
1912 cls.add_method('RemoveAtEnd',
1913 'void',
1914 [param('uint32_t', 'end')])
1915 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveAtStart(uint32_t start) [member function]
1916 cls.add_method('RemoveAtStart',
1917 'void',
1918 [param('uint32_t', 'start')])
1919 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveHeader(ns3::Header const & header, uint32_t size) [member function]
1920 cls.add_method('RemoveHeader',
1921 'void',
1922 [param('ns3::Header const &', 'header'), param('uint32_t', 'size')])
1923 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveTrailer(ns3::Trailer const & trailer, uint32_t size) [member function]
1924 cls.add_method('RemoveTrailer',
1925 'void',
1926 [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')])
1927 ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
1928 cls.add_method('Serialize',
1929 'uint32_t',
1930 [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')],
1931 is_const=True)
1932 return
1933
1934def register_Ns3PacketMetadataItem_methods(root_module, cls):
1935 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::Item() [constructor]
1936 cls.add_constructor([])
1937 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::Item(ns3::PacketMetadata::Item const & arg0) [copy constructor]
1938 cls.add_constructor([param('ns3::PacketMetadata::Item const &', 'arg0')])
1939 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::current [variable]
1940 cls.add_instance_attribute('current', 'ns3::Buffer::Iterator', is_const=False)
1941 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentSize [variable]
1942 cls.add_instance_attribute('currentSize', 'uint32_t', is_const=False)
1943 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentTrimedFromEnd [variable]
1944 cls.add_instance_attribute('currentTrimedFromEnd', 'uint32_t', is_const=False)
1945 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentTrimedFromStart [variable]
1946 cls.add_instance_attribute('currentTrimedFromStart', 'uint32_t', is_const=False)
1947 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::isFragment [variable]
1948 cls.add_instance_attribute('isFragment', 'bool', is_const=False)
1949 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::tid [variable]
1950 cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
1951 return
1952
1953def register_Ns3PacketMetadataItemIterator_methods(root_module, cls):
1954 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata::ItemIterator const & arg0) [copy constructor]
1955 cls.add_constructor([param('ns3::PacketMetadata::ItemIterator const &', 'arg0')])
1956 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata const * metadata, ns3::Buffer buffer) [constructor]
1957 cls.add_constructor([param('ns3::PacketMetadata const *', 'metadata'), param('ns3::Buffer', 'buffer')])
1958 ## packet-metadata.h (module 'network'): bool ns3::PacketMetadata::ItemIterator::HasNext() const [member function]
1959 cls.add_method('HasNext',
1960 'bool',
1961 [],
1962 is_const=True)
1963 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item ns3::PacketMetadata::ItemIterator::Next() [member function]
1964 cls.add_method('Next',
1965 'ns3::PacketMetadata::Item',
1966 [])
1967 return
1968
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001969def register_Ns3PacketTagIterator_methods(root_module, cls):
1970 ## packet.h (module 'network'): ns3::PacketTagIterator::PacketTagIterator(ns3::PacketTagIterator const & arg0) [copy constructor]
1971 cls.add_constructor([param('ns3::PacketTagIterator const &', 'arg0')])
1972 ## packet.h (module 'network'): bool ns3::PacketTagIterator::HasNext() const [member function]
1973 cls.add_method('HasNext',
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001974 'bool',
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001975 [],
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001976 is_const=True)
1977 ## packet.h (module 'network'): ns3::PacketTagIterator::Item ns3::PacketTagIterator::Next() [member function]
1978 cls.add_method('Next',
1979 'ns3::PacketTagIterator::Item',
1980 [])
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001981 return
1982
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001983def register_Ns3PacketTagIteratorItem_methods(root_module, cls):
1984 ## packet.h (module 'network'): ns3::PacketTagIterator::Item::Item(ns3::PacketTagIterator::Item const & arg0) [copy constructor]
1985 cls.add_constructor([param('ns3::PacketTagIterator::Item const &', 'arg0')])
1986 ## packet.h (module 'network'): void ns3::PacketTagIterator::Item::GetTag(ns3::Tag & tag) const [member function]
1987 cls.add_method('GetTag',
1988 'void',
1989 [param('ns3::Tag &', 'tag')],
1990 is_const=True)
1991 ## packet.h (module 'network'): ns3::TypeId ns3::PacketTagIterator::Item::GetTypeId() const [member function]
1992 cls.add_method('GetTypeId',
1993 'ns3::TypeId',
1994 [],
1995 is_const=True)
1996 return
1997
1998def register_Ns3PacketTagList_methods(root_module, cls):
1999 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::PacketTagList() [constructor]
2000 cls.add_constructor([])
2001 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::PacketTagList(ns3::PacketTagList const & o) [copy constructor]
2002 cls.add_constructor([param('ns3::PacketTagList const &', 'o')])
2003 ## packet-tag-list.h (module 'network'): void ns3::PacketTagList::Add(ns3::Tag const & tag) const [member function]
2004 cls.add_method('Add',
2005 'void',
2006 [param('ns3::Tag const &', 'tag')],
2007 is_const=True)
2008 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData const * ns3::PacketTagList::Head() const [member function]
2009 cls.add_method('Head',
2010 'ns3::PacketTagList::TagData const *',
2011 [],
2012 is_const=True)
2013 ## packet-tag-list.h (module 'network'): bool ns3::PacketTagList::Peek(ns3::Tag & tag) const [member function]
2014 cls.add_method('Peek',
2015 'bool',
2016 [param('ns3::Tag &', 'tag')],
2017 is_const=True)
2018 ## packet-tag-list.h (module 'network'): bool ns3::PacketTagList::Remove(ns3::Tag & tag) [member function]
2019 cls.add_method('Remove',
2020 'bool',
2021 [param('ns3::Tag &', 'tag')])
2022 ## packet-tag-list.h (module 'network'): void ns3::PacketTagList::RemoveAll() [member function]
2023 cls.add_method('RemoveAll',
2024 'void',
2025 [])
2026 return
2027
2028def register_Ns3PacketTagListTagData_methods(root_module, cls):
2029 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::TagData() [constructor]
2030 cls.add_constructor([])
2031 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::TagData(ns3::PacketTagList::TagData const & arg0) [copy constructor]
2032 cls.add_constructor([param('ns3::PacketTagList::TagData const &', 'arg0')])
2033 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::count [variable]
2034 cls.add_instance_attribute('count', 'uint32_t', is_const=False)
2035 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::data [variable]
2036 cls.add_instance_attribute('data', 'uint8_t [ 20 ]', is_const=False)
2037 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::next [variable]
2038 cls.add_instance_attribute('next', 'ns3::PacketTagList::TagData *', is_const=False)
2039 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::tid [variable]
2040 cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002041 return
2042
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002043def register_Ns3RandomVariable_methods(root_module, cls):
2044 cls.add_output_stream_operator()
2045 ## random-variable.h (module 'core'): ns3::RandomVariable::RandomVariable() [constructor]
2046 cls.add_constructor([])
2047 ## random-variable.h (module 'core'): ns3::RandomVariable::RandomVariable(ns3::RandomVariable const & o) [copy constructor]
2048 cls.add_constructor([param('ns3::RandomVariable const &', 'o')])
2049 ## random-variable.h (module 'core'): uint32_t ns3::RandomVariable::GetInteger() const [member function]
2050 cls.add_method('GetInteger',
2051 'uint32_t',
2052 [],
2053 is_const=True)
2054 ## random-variable.h (module 'core'): double ns3::RandomVariable::GetValue() const [member function]
2055 cls.add_method('GetValue',
2056 'double',
2057 [],
2058 is_const=True)
2059 return
2060
2061def register_Ns3RngSeedManager_methods(root_module, cls):
2062 ## rng-seed-manager.h (module 'core'): ns3::RngSeedManager::RngSeedManager() [constructor]
2063 cls.add_constructor([])
2064 ## rng-seed-manager.h (module 'core'): ns3::RngSeedManager::RngSeedManager(ns3::RngSeedManager const & arg0) [copy constructor]
2065 cls.add_constructor([param('ns3::RngSeedManager const &', 'arg0')])
2066 ## rng-seed-manager.h (module 'core'): static uint64_t ns3::RngSeedManager::GetNextStreamIndex() [member function]
2067 cls.add_method('GetNextStreamIndex',
2068 'uint64_t',
2069 [],
2070 is_static=True)
2071 ## rng-seed-manager.h (module 'core'): static uint64_t ns3::RngSeedManager::GetRun() [member function]
2072 cls.add_method('GetRun',
2073 'uint64_t',
2074 [],
2075 is_static=True)
2076 ## rng-seed-manager.h (module 'core'): static uint32_t ns3::RngSeedManager::GetSeed() [member function]
2077 cls.add_method('GetSeed',
2078 'uint32_t',
2079 [],
2080 is_static=True)
2081 ## rng-seed-manager.h (module 'core'): static void ns3::RngSeedManager::SetRun(uint64_t run) [member function]
2082 cls.add_method('SetRun',
2083 'void',
2084 [param('uint64_t', 'run')],
2085 is_static=True)
2086 ## rng-seed-manager.h (module 'core'): static void ns3::RngSeedManager::SetSeed(uint32_t seed) [member function]
2087 cls.add_method('SetSeed',
2088 'void',
2089 [param('uint32_t', 'seed')],
2090 is_static=True)
2091 return
2092
2093def register_Ns3SequentialVariable_methods(root_module, cls):
2094 ## random-variable.h (module 'core'): ns3::SequentialVariable::SequentialVariable(ns3::SequentialVariable const & arg0) [copy constructor]
2095 cls.add_constructor([param('ns3::SequentialVariable const &', 'arg0')])
2096 ## random-variable.h (module 'core'): ns3::SequentialVariable::SequentialVariable(double f, double l, double i=1, uint32_t c=1) [constructor]
2097 cls.add_constructor([param('double', 'f'), param('double', 'l'), param('double', 'i', default_value='1'), param('uint32_t', 'c', default_value='1')])
2098 ## random-variable.h (module 'core'): ns3::SequentialVariable::SequentialVariable(double f, double l, ns3::RandomVariable const & i, uint32_t c=1) [constructor]
2099 cls.add_constructor([param('double', 'f'), param('double', 'l'), param('ns3::RandomVariable const &', 'i'), param('uint32_t', 'c', default_value='1')])
2100 return
2101
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002102def register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, cls):
2103 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter>::SimpleRefCount() [constructor]
2104 cls.add_constructor([])
2105 ## 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]
2106 cls.add_constructor([param('ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter > const &', 'o')])
2107 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter>::Cleanup() [member function]
2108 cls.add_method('Cleanup',
2109 'void',
2110 [],
2111 is_static=True)
2112 return
2113
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002114def register_Ns3SpringMobilityHelper_methods(root_module, cls):
2115 ## spring-mobility-helper.h (module 'ndnSIM'): ns3::SpringMobilityHelper::SpringMobilityHelper() [constructor]
2116 cls.add_constructor([])
2117 ## spring-mobility-helper.h (module 'ndnSIM'): ns3::SpringMobilityHelper::SpringMobilityHelper(ns3::SpringMobilityHelper const & arg0) [copy constructor]
2118 cls.add_constructor([param('ns3::SpringMobilityHelper const &', 'arg0')])
2119 ## spring-mobility-helper.h (module 'ndnSIM'): static void ns3::SpringMobilityHelper::InstallSprings(ns3::Ptr<ns3::Node> node1, ns3::Ptr<ns3::Node> node2) [member function]
2120 cls.add_method('InstallSprings',
2121 'void',
2122 [param('ns3::Ptr< ns3::Node >', 'node1'), param('ns3::Ptr< ns3::Node >', 'node2')],
2123 is_static=True)
2124 ## 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]
2125 cls.add_method('InstallSprings',
2126 'void',
2127 [param('std::_List_const_iterator< ns3::TopologyReader::Link >', 'first'), param('std::_List_const_iterator< ns3::TopologyReader::Link >', 'end')],
2128 is_static=True)
2129 return
2130
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002131def register_Ns3Tag_methods(root_module, cls):
2132 ## tag.h (module 'network'): ns3::Tag::Tag() [constructor]
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002133 cls.add_constructor([])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002134 ## tag.h (module 'network'): ns3::Tag::Tag(ns3::Tag const & arg0) [copy constructor]
2135 cls.add_constructor([param('ns3::Tag const &', 'arg0')])
2136 ## tag.h (module 'network'): void ns3::Tag::Deserialize(ns3::TagBuffer i) [member function]
2137 cls.add_method('Deserialize',
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002138 'void',
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002139 [param('ns3::TagBuffer', 'i')],
2140 is_pure_virtual=True, is_virtual=True)
2141 ## tag.h (module 'network'): uint32_t ns3::Tag::GetSerializedSize() const [member function]
2142 cls.add_method('GetSerializedSize',
2143 'uint32_t',
2144 [],
2145 is_pure_virtual=True, is_const=True, is_virtual=True)
2146 ## tag.h (module 'network'): static ns3::TypeId ns3::Tag::GetTypeId() [member function]
2147 cls.add_method('GetTypeId',
2148 'ns3::TypeId',
2149 [],
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002150 is_static=True)
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002151 ## tag.h (module 'network'): void ns3::Tag::Print(std::ostream & os) const [member function]
2152 cls.add_method('Print',
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002153 'void',
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002154 [param('std::ostream &', 'os')],
2155 is_pure_virtual=True, is_const=True, is_virtual=True)
2156 ## tag.h (module 'network'): void ns3::Tag::Serialize(ns3::TagBuffer i) const [member function]
2157 cls.add_method('Serialize',
2158 'void',
2159 [param('ns3::TagBuffer', 'i')],
2160 is_pure_virtual=True, is_const=True, is_virtual=True)
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002161 return
2162
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002163def register_Ns3TagBuffer_methods(root_module, cls):
2164 ## tag-buffer.h (module 'network'): ns3::TagBuffer::TagBuffer(ns3::TagBuffer const & arg0) [copy constructor]
2165 cls.add_constructor([param('ns3::TagBuffer const &', 'arg0')])
2166 ## tag-buffer.h (module 'network'): ns3::TagBuffer::TagBuffer(uint8_t * start, uint8_t * end) [constructor]
2167 cls.add_constructor([param('uint8_t *', 'start'), param('uint8_t *', 'end')])
2168 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::CopyFrom(ns3::TagBuffer o) [member function]
2169 cls.add_method('CopyFrom',
2170 'void',
2171 [param('ns3::TagBuffer', 'o')])
2172 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::Read(uint8_t * buffer, uint32_t size) [member function]
2173 cls.add_method('Read',
2174 'void',
2175 [param('uint8_t *', 'buffer'), param('uint32_t', 'size')])
2176 ## tag-buffer.h (module 'network'): double ns3::TagBuffer::ReadDouble() [member function]
2177 cls.add_method('ReadDouble',
2178 'double',
2179 [])
2180 ## tag-buffer.h (module 'network'): uint16_t ns3::TagBuffer::ReadU16() [member function]
2181 cls.add_method('ReadU16',
2182 'uint16_t',
2183 [])
2184 ## tag-buffer.h (module 'network'): uint32_t ns3::TagBuffer::ReadU32() [member function]
2185 cls.add_method('ReadU32',
2186 'uint32_t',
2187 [])
2188 ## tag-buffer.h (module 'network'): uint64_t ns3::TagBuffer::ReadU64() [member function]
2189 cls.add_method('ReadU64',
2190 'uint64_t',
2191 [])
2192 ## tag-buffer.h (module 'network'): uint8_t ns3::TagBuffer::ReadU8() [member function]
2193 cls.add_method('ReadU8',
2194 'uint8_t',
2195 [])
2196 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::TrimAtEnd(uint32_t trim) [member function]
2197 cls.add_method('TrimAtEnd',
2198 'void',
2199 [param('uint32_t', 'trim')])
2200 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::Write(uint8_t const * buffer, uint32_t size) [member function]
2201 cls.add_method('Write',
2202 'void',
2203 [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
2204 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteDouble(double v) [member function]
2205 cls.add_method('WriteDouble',
2206 'void',
2207 [param('double', 'v')])
2208 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU16(uint16_t data) [member function]
2209 cls.add_method('WriteU16',
2210 'void',
2211 [param('uint16_t', 'data')])
2212 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU32(uint32_t data) [member function]
2213 cls.add_method('WriteU32',
2214 'void',
2215 [param('uint32_t', 'data')])
2216 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU64(uint64_t v) [member function]
2217 cls.add_method('WriteU64',
2218 'void',
2219 [param('uint64_t', 'v')])
2220 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU8(uint8_t v) [member function]
2221 cls.add_method('WriteU8',
2222 'void',
2223 [param('uint8_t', 'v')])
2224 return
2225
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07002226def register_Ns3TracedValue__Double_methods(root_module, cls):
2227 ## traced-value.h (module 'core'): ns3::TracedValue<double>::TracedValue() [constructor]
2228 cls.add_constructor([])
2229 ## traced-value.h (module 'core'): ns3::TracedValue<double>::TracedValue(ns3::TracedValue<double> const & o) [copy constructor]
2230 cls.add_constructor([param('ns3::TracedValue< double > const &', 'o')])
2231 ## traced-value.h (module 'core'): ns3::TracedValue<double>::TracedValue(double const & v) [constructor]
2232 cls.add_constructor([param('double const &', 'v')])
2233 ## traced-value.h (module 'core'): void ns3::TracedValue<double>::Connect(ns3::CallbackBase const & cb, std::basic_string<char,std::char_traits<char>,std::allocator<char> > path) [member function]
2234 cls.add_method('Connect',
2235 'void',
2236 [param('ns3::CallbackBase const &', 'cb'), param('std::string', 'path')])
2237 ## traced-value.h (module 'core'): void ns3::TracedValue<double>::ConnectWithoutContext(ns3::CallbackBase const & cb) [member function]
2238 cls.add_method('ConnectWithoutContext',
2239 'void',
2240 [param('ns3::CallbackBase const &', 'cb')])
2241 ## traced-value.h (module 'core'): void ns3::TracedValue<double>::Disconnect(ns3::CallbackBase const & cb, std::basic_string<char,std::char_traits<char>,std::allocator<char> > path) [member function]
2242 cls.add_method('Disconnect',
2243 'void',
2244 [param('ns3::CallbackBase const &', 'cb'), param('std::string', 'path')])
2245 ## traced-value.h (module 'core'): void ns3::TracedValue<double>::DisconnectWithoutContext(ns3::CallbackBase const & cb) [member function]
2246 cls.add_method('DisconnectWithoutContext',
2247 'void',
2248 [param('ns3::CallbackBase const &', 'cb')])
2249 ## traced-value.h (module 'core'): double ns3::TracedValue<double>::Get() const [member function]
2250 cls.add_method('Get',
2251 'double',
2252 [],
2253 is_const=True)
2254 ## traced-value.h (module 'core'): void ns3::TracedValue<double>::Set(double const & v) [member function]
2255 cls.add_method('Set',
2256 'void',
2257 [param('double const &', 'v')])
2258 return
2259
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002260def register_Ns3TriangularVariable_methods(root_module, cls):
2261 ## random-variable.h (module 'core'): ns3::TriangularVariable::TriangularVariable(ns3::TriangularVariable const & arg0) [copy constructor]
2262 cls.add_constructor([param('ns3::TriangularVariable const &', 'arg0')])
2263 ## random-variable.h (module 'core'): ns3::TriangularVariable::TriangularVariable() [constructor]
2264 cls.add_constructor([])
2265 ## random-variable.h (module 'core'): ns3::TriangularVariable::TriangularVariable(double s, double l, double mean) [constructor]
2266 cls.add_constructor([param('double', 's'), param('double', 'l'), param('double', 'mean')])
2267 return
2268
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002269def register_Ns3TypeId_methods(root_module, cls):
2270 cls.add_binary_comparison_operator('!=')
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07002271 cls.add_output_stream_operator()
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07002272 cls.add_binary_comparison_operator('==')
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002273 cls.add_binary_comparison_operator('<')
2274 ## type-id.h (module 'core'): ns3::TypeId::TypeId(char const * name) [constructor]
2275 cls.add_constructor([param('char const *', 'name')])
2276 ## type-id.h (module 'core'): ns3::TypeId::TypeId() [constructor]
2277 cls.add_constructor([])
2278 ## type-id.h (module 'core'): ns3::TypeId::TypeId(ns3::TypeId const & o) [copy constructor]
2279 cls.add_constructor([param('ns3::TypeId const &', 'o')])
2280 ## 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]
2281 cls.add_method('AddAttribute',
2282 'ns3::TypeId',
2283 [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')])
2284 ## 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]
2285 cls.add_method('AddAttribute',
2286 'ns3::TypeId',
2287 [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')])
2288 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr<ns3::TraceSourceAccessor const> accessor) [member function]
2289 cls.add_method('AddTraceSource',
2290 'ns3::TypeId',
2291 [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')])
2292 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function]
2293 cls.add_method('GetAttribute',
2294 'ns3::TypeId::AttributeInformation',
2295 [param('uint32_t', 'i')],
2296 is_const=True)
2297 ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function]
2298 cls.add_method('GetAttributeFullName',
2299 'std::string',
2300 [param('uint32_t', 'i')],
2301 is_const=True)
2302 ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function]
2303 cls.add_method('GetAttributeN',
2304 'uint32_t',
2305 [],
2306 is_const=True)
2307 ## 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]
2308 cls.add_method('GetConstructor',
2309 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >',
2310 [],
2311 is_const=True)
2312 ## type-id.h (module 'core'): std::string ns3::TypeId::GetGroupName() const [member function]
2313 cls.add_method('GetGroupName',
2314 'std::string',
2315 [],
2316 is_const=True)
2317 ## type-id.h (module 'core'): std::string ns3::TypeId::GetName() const [member function]
2318 cls.add_method('GetName',
2319 'std::string',
2320 [],
2321 is_const=True)
2322 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::GetParent() const [member function]
2323 cls.add_method('GetParent',
2324 'ns3::TypeId',
2325 [],
2326 is_const=True)
2327 ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::GetRegistered(uint32_t i) [member function]
2328 cls.add_method('GetRegistered',
2329 'ns3::TypeId',
2330 [param('uint32_t', 'i')],
2331 is_static=True)
2332 ## type-id.h (module 'core'): static uint32_t ns3::TypeId::GetRegisteredN() [member function]
2333 cls.add_method('GetRegisteredN',
2334 'uint32_t',
2335 [],
2336 is_static=True)
2337 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function]
2338 cls.add_method('GetTraceSource',
2339 'ns3::TypeId::TraceSourceInformation',
2340 [param('uint32_t', 'i')],
2341 is_const=True)
2342 ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function]
2343 cls.add_method('GetTraceSourceN',
2344 'uint32_t',
2345 [],
2346 is_const=True)
2347 ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function]
2348 cls.add_method('GetUid',
2349 'uint16_t',
2350 [],
2351 is_const=True)
2352 ## type-id.h (module 'core'): bool ns3::TypeId::HasConstructor() const [member function]
2353 cls.add_method('HasConstructor',
2354 'bool',
2355 [],
2356 is_const=True)
2357 ## type-id.h (module 'core'): bool ns3::TypeId::HasParent() const [member function]
2358 cls.add_method('HasParent',
2359 'bool',
2360 [],
2361 is_const=True)
2362 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::HideFromDocumentation() [member function]
2363 cls.add_method('HideFromDocumentation',
2364 'ns3::TypeId',
2365 [])
2366 ## type-id.h (module 'core'): bool ns3::TypeId::IsChildOf(ns3::TypeId other) const [member function]
2367 cls.add_method('IsChildOf',
2368 'bool',
2369 [param('ns3::TypeId', 'other')],
2370 is_const=True)
2371 ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function]
2372 cls.add_method('LookupAttributeByName',
2373 'bool',
Alexander Afanasyev6f933532012-02-29 13:30:37 -08002374 [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info', transfer_ownership=False)],
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002375 is_const=True)
2376 ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function]
2377 cls.add_method('LookupByName',
2378 'ns3::TypeId',
2379 [param('std::string', 'name')],
2380 is_static=True)
2381 ## type-id.h (module 'core'): ns3::Ptr<ns3::TraceSourceAccessor const> ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function]
2382 cls.add_method('LookupTraceSourceByName',
2383 'ns3::Ptr< ns3::TraceSourceAccessor const >',
2384 [param('std::string', 'name')],
2385 is_const=True)
2386 ## type-id.h (module 'core'): bool ns3::TypeId::MustHideFromDocumentation() const [member function]
2387 cls.add_method('MustHideFromDocumentation',
2388 'bool',
2389 [],
2390 is_const=True)
2391 ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr<ns3::AttributeValue const> initialValue) [member function]
2392 cls.add_method('SetAttributeInitialValue',
2393 'bool',
2394 [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')])
2395 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function]
2396 cls.add_method('SetGroupName',
2397 'ns3::TypeId',
2398 [param('std::string', 'groupName')])
2399 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetParent(ns3::TypeId tid) [member function]
2400 cls.add_method('SetParent',
2401 'ns3::TypeId',
2402 [param('ns3::TypeId', 'tid')])
2403 ## type-id.h (module 'core'): void ns3::TypeId::SetUid(uint16_t tid) [member function]
2404 cls.add_method('SetUid',
2405 'void',
2406 [param('uint16_t', 'tid')])
2407 return
2408
2409def register_Ns3TypeIdAttributeInformation_methods(root_module, cls):
2410 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor]
2411 cls.add_constructor([])
2412 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor]
2413 cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')])
2414 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable]
2415 cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False)
2416 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable]
2417 cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False)
2418 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable]
2419 cls.add_instance_attribute('flags', 'uint32_t', is_const=False)
2420 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable]
2421 cls.add_instance_attribute('help', 'std::string', is_const=False)
2422 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable]
2423 cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False)
2424 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable]
2425 cls.add_instance_attribute('name', 'std::string', is_const=False)
2426 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable]
2427 cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False)
2428 return
2429
2430def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls):
2431 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor]
2432 cls.add_constructor([])
2433 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor]
2434 cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')])
2435 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable]
2436 cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False)
2437 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable]
2438 cls.add_instance_attribute('help', 'std::string', is_const=False)
2439 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable]
2440 cls.add_instance_attribute('name', 'std::string', is_const=False)
2441 return
2442
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002443def register_Ns3UniformVariable_methods(root_module, cls):
2444 ## random-variable.h (module 'core'): ns3::UniformVariable::UniformVariable(ns3::UniformVariable const & arg0) [copy constructor]
2445 cls.add_constructor([param('ns3::UniformVariable const &', 'arg0')])
2446 ## random-variable.h (module 'core'): ns3::UniformVariable::UniformVariable() [constructor]
2447 cls.add_constructor([])
2448 ## random-variable.h (module 'core'): ns3::UniformVariable::UniformVariable(double s, double l) [constructor]
2449 cls.add_constructor([param('double', 's'), param('double', 'l')])
2450 ## random-variable.h (module 'core'): uint32_t ns3::UniformVariable::GetInteger(uint32_t s, uint32_t l) [member function]
2451 cls.add_method('GetInteger',
2452 'uint32_t',
2453 [param('uint32_t', 's'), param('uint32_t', 'l')])
2454 ## random-variable.h (module 'core'): double ns3::UniformVariable::GetValue() const [member function]
2455 cls.add_method('GetValue',
2456 'double',
2457 [],
2458 is_const=True)
2459 ## random-variable.h (module 'core'): double ns3::UniformVariable::GetValue(double s, double l) [member function]
2460 cls.add_method('GetValue',
2461 'double',
2462 [param('double', 's'), param('double', 'l')])
2463 return
2464
2465def register_Ns3Vector2D_methods(root_module, cls):
2466 cls.add_output_stream_operator()
2467 cls.add_binary_numeric_operator('*', root_module['ns3::Vector2D'], root_module['ns3::Vector2D'], param('ns3::Vector2D const &', 'right'))
2468 cls.add_binary_numeric_operator('*', root_module['ns3::Vector2D'], root_module['ns3::Vector2D'], param('double', 'right'))
2469 cls.add_binary_numeric_operator('+', root_module['ns3::Vector2D'], root_module['ns3::Vector2D'], param('ns3::Vector2D const &', 'right'))
2470 cls.add_binary_numeric_operator('+', root_module['ns3::Vector2D'], root_module['ns3::Vector2D'], param('double', 'right'))
2471 cls.add_inplace_numeric_operator('+=', param('ns3::Vector2D const &', 'right'))
2472 cls.add_inplace_numeric_operator('+=', param('double', 'right'))
2473 cls.add_binary_numeric_operator('-', root_module['ns3::Vector2D'], root_module['ns3::Vector2D'], param('ns3::Vector2D const &', 'right'))
2474 cls.add_binary_numeric_operator('/', root_module['ns3::Vector2D'], root_module['ns3::Vector2D'], param('double', 'right'))
2475 ## vector.h (module 'core'): ns3::Vector2D::Vector2D(ns3::Vector2D const & arg0) [copy constructor]
2476 cls.add_constructor([param('ns3::Vector2D const &', 'arg0')])
2477 ## vector.h (module 'core'): ns3::Vector2D::Vector2D(double _x, double _y) [constructor]
2478 cls.add_constructor([param('double', '_x'), param('double', '_y')])
2479 ## vector.h (module 'core'): ns3::Vector2D::Vector2D() [constructor]
2480 cls.add_constructor([])
2481 ## vector.h (module 'core'): double ns3::Vector2D::GetLength() const [member function]
2482 cls.add_method('GetLength',
2483 'double',
2484 [],
2485 is_const=True)
2486 ## vector.h (module 'core'): ns3::Vector2D::x [variable]
2487 cls.add_instance_attribute('x', 'double', is_const=False)
2488 ## vector.h (module 'core'): ns3::Vector2D::y [variable]
2489 cls.add_instance_attribute('y', 'double', is_const=False)
2490 return
2491
2492def register_Ns3Vector3D_methods(root_module, cls):
2493 cls.add_output_stream_operator()
2494 cls.add_binary_numeric_operator('*', root_module['ns3::Vector3D'], root_module['ns3::Vector3D'], param('ns3::Vector3D const &', 'right'))
2495 cls.add_binary_numeric_operator('*', root_module['ns3::Vector3D'], root_module['ns3::Vector3D'], param('double', 'right'))
2496 cls.add_binary_numeric_operator('+', root_module['ns3::Vector3D'], root_module['ns3::Vector3D'], param('ns3::Vector3D const &', 'right'))
2497 cls.add_binary_numeric_operator('+', root_module['ns3::Vector3D'], root_module['ns3::Vector3D'], param('double', 'right'))
2498 cls.add_inplace_numeric_operator('+=', param('ns3::Vector3D const &', 'right'))
2499 cls.add_inplace_numeric_operator('+=', param('double', 'right'))
2500 cls.add_binary_numeric_operator('-', root_module['ns3::Vector3D'], root_module['ns3::Vector3D'], param('ns3::Vector3D const &', 'right'))
2501 cls.add_binary_numeric_operator('/', root_module['ns3::Vector3D'], root_module['ns3::Vector3D'], param('double', 'right'))
2502 ## vector.h (module 'core'): ns3::Vector3D::Vector3D(ns3::Vector3D const & arg0) [copy constructor]
2503 cls.add_constructor([param('ns3::Vector3D const &', 'arg0')])
2504 ## vector.h (module 'core'): ns3::Vector3D::Vector3D(double _x, double _y, double _z) [constructor]
2505 cls.add_constructor([param('double', '_x'), param('double', '_y'), param('double', '_z')])
2506 ## vector.h (module 'core'): ns3::Vector3D::Vector3D() [constructor]
2507 cls.add_constructor([])
2508 ## vector.h (module 'core'): double ns3::Vector3D::GetLength() const [member function]
2509 cls.add_method('GetLength',
2510 'double',
2511 [],
2512 is_const=True)
2513 ## vector.h (module 'core'): ns3::Vector3D::x [variable]
2514 cls.add_instance_attribute('x', 'double', is_const=False)
2515 ## vector.h (module 'core'): ns3::Vector3D::y [variable]
2516 cls.add_instance_attribute('y', 'double', is_const=False)
2517 ## vector.h (module 'core'): ns3::Vector3D::z [variable]
2518 cls.add_instance_attribute('z', 'double', is_const=False)
2519 return
2520
2521def register_Ns3WeibullVariable_methods(root_module, cls):
2522 ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(ns3::WeibullVariable const & arg0) [copy constructor]
2523 cls.add_constructor([param('ns3::WeibullVariable const &', 'arg0')])
2524 ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable() [constructor]
2525 cls.add_constructor([])
2526 ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(double m) [constructor]
2527 cls.add_constructor([param('double', 'm')])
2528 ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(double m, double s) [constructor]
2529 cls.add_constructor([param('double', 'm'), param('double', 's')])
2530 ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(double m, double s, double b) [constructor]
2531 cls.add_constructor([param('double', 'm'), param('double', 's'), param('double', 'b')])
2532 return
2533
2534def register_Ns3ZetaVariable_methods(root_module, cls):
2535 ## random-variable.h (module 'core'): ns3::ZetaVariable::ZetaVariable(ns3::ZetaVariable const & arg0) [copy constructor]
2536 cls.add_constructor([param('ns3::ZetaVariable const &', 'arg0')])
2537 ## random-variable.h (module 'core'): ns3::ZetaVariable::ZetaVariable(double alpha) [constructor]
2538 cls.add_constructor([param('double', 'alpha')])
2539 ## random-variable.h (module 'core'): ns3::ZetaVariable::ZetaVariable() [constructor]
2540 cls.add_constructor([])
2541 return
2542
2543def register_Ns3ZipfVariable_methods(root_module, cls):
2544 ## random-variable.h (module 'core'): ns3::ZipfVariable::ZipfVariable(ns3::ZipfVariable const & arg0) [copy constructor]
2545 cls.add_constructor([param('ns3::ZipfVariable const &', 'arg0')])
2546 ## random-variable.h (module 'core'): ns3::ZipfVariable::ZipfVariable(long int N, double alpha) [constructor]
2547 cls.add_constructor([param('long int', 'N'), param('double', 'alpha')])
2548 ## random-variable.h (module 'core'): ns3::ZipfVariable::ZipfVariable() [constructor]
2549 cls.add_constructor([])
2550 return
2551
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002552def register_Ns3Empty_methods(root_module, cls):
2553 ## empty.h (module 'core'): ns3::empty::empty() [constructor]
2554 cls.add_constructor([])
2555 ## empty.h (module 'core'): ns3::empty::empty(ns3::empty const & arg0) [copy constructor]
2556 cls.add_constructor([param('ns3::empty const &', 'arg0')])
2557 return
2558
2559def register_Ns3Int64x64_t_methods(root_module, cls):
Alexander Afanasyev1ba09b82012-07-09 09:16:14 -07002560 cls.add_binary_comparison_operator('<=')
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002561 cls.add_binary_comparison_operator('!=')
2562 cls.add_inplace_numeric_operator('*=', param('ns3::int64x64_t const &', 'right'))
2563 cls.add_inplace_numeric_operator('+=', param('ns3::int64x64_t const &', 'right'))
2564 cls.add_inplace_numeric_operator('-=', param('ns3::int64x64_t const &', 'right'))
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07002565 cls.add_output_stream_operator()
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002566 cls.add_binary_comparison_operator('==')
2567 cls.add_binary_comparison_operator('>=')
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002568 cls.add_inplace_numeric_operator('/=', param('ns3::int64x64_t const &', 'right'))
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002569 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
2570 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
2571 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
2572 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
2573 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
2574 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
2575 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
2576 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
2577 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
2578 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
2579 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
2580 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
2581 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
2582 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
2583 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
2584 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
2585 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
2586 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
2587 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
2588 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
2589 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
2590 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
2591 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
2592 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
2593 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
2594 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
2595 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
2596 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
2597 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
2598 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
2599 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
2600 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
2601 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
2602 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
2603 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
2604 cls.add_unary_numeric_operator('-')
2605 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
2606 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
2607 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
2608 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
2609 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
2610 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
2611 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
2612 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
2613 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
2614 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
2615 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
2616 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
2617 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
2618 cls.add_binary_comparison_operator('<')
2619 cls.add_binary_comparison_operator('>')
2620 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t() [constructor]
2621 cls.add_constructor([])
2622 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(double v) [constructor]
2623 cls.add_constructor([param('double', 'v')])
2624 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(int v) [constructor]
2625 cls.add_constructor([param('int', 'v')])
2626 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long int v) [constructor]
2627 cls.add_constructor([param('long int', 'v')])
2628 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long long int v) [constructor]
2629 cls.add_constructor([param('long long int', 'v')])
2630 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(unsigned int v) [constructor]
2631 cls.add_constructor([param('unsigned int', 'v')])
2632 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long unsigned int v) [constructor]
2633 cls.add_constructor([param('long unsigned int', 'v')])
2634 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long long unsigned int v) [constructor]
2635 cls.add_constructor([param('long long unsigned int', 'v')])
2636 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(int64_t hi, uint64_t lo) [constructor]
2637 cls.add_constructor([param('int64_t', 'hi'), param('uint64_t', 'lo')])
2638 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(ns3::int64x64_t const & o) [copy constructor]
2639 cls.add_constructor([param('ns3::int64x64_t const &', 'o')])
2640 ## int64x64-double.h (module 'core'): double ns3::int64x64_t::GetDouble() const [member function]
2641 cls.add_method('GetDouble',
2642 'double',
2643 [],
2644 is_const=True)
2645 ## int64x64-double.h (module 'core'): int64_t ns3::int64x64_t::GetHigh() const [member function]
2646 cls.add_method('GetHigh',
2647 'int64_t',
2648 [],
2649 is_const=True)
2650 ## int64x64-double.h (module 'core'): uint64_t ns3::int64x64_t::GetLow() const [member function]
2651 cls.add_method('GetLow',
2652 'uint64_t',
2653 [],
2654 is_const=True)
2655 ## int64x64-double.h (module 'core'): static ns3::int64x64_t ns3::int64x64_t::Invert(uint64_t v) [member function]
2656 cls.add_method('Invert',
2657 'ns3::int64x64_t',
2658 [param('uint64_t', 'v')],
2659 is_static=True)
2660 ## int64x64-double.h (module 'core'): void ns3::int64x64_t::MulByInvert(ns3::int64x64_t const & o) [member function]
2661 cls.add_method('MulByInvert',
2662 'void',
2663 [param('ns3::int64x64_t const &', 'o')])
2664 return
2665
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002666def register_Ns3Chunk_methods(root_module, cls):
2667 ## chunk.h (module 'network'): ns3::Chunk::Chunk() [constructor]
2668 cls.add_constructor([])
2669 ## chunk.h (module 'network'): ns3::Chunk::Chunk(ns3::Chunk const & arg0) [copy constructor]
2670 cls.add_constructor([param('ns3::Chunk const &', 'arg0')])
2671 ## chunk.h (module 'network'): uint32_t ns3::Chunk::Deserialize(ns3::Buffer::Iterator start) [member function]
2672 cls.add_method('Deserialize',
2673 'uint32_t',
2674 [param('ns3::Buffer::Iterator', 'start')],
2675 is_pure_virtual=True, is_virtual=True)
2676 ## chunk.h (module 'network'): static ns3::TypeId ns3::Chunk::GetTypeId() [member function]
2677 cls.add_method('GetTypeId',
2678 'ns3::TypeId',
2679 [],
2680 is_static=True)
2681 ## chunk.h (module 'network'): void ns3::Chunk::Print(std::ostream & os) const [member function]
2682 cls.add_method('Print',
2683 'void',
2684 [param('std::ostream &', 'os')],
2685 is_pure_virtual=True, is_const=True, is_virtual=True)
2686 return
2687
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002688def register_Ns3ConstantVariable_methods(root_module, cls):
2689 ## random-variable.h (module 'core'): ns3::ConstantVariable::ConstantVariable(ns3::ConstantVariable const & arg0) [copy constructor]
2690 cls.add_constructor([param('ns3::ConstantVariable const &', 'arg0')])
2691 ## random-variable.h (module 'core'): ns3::ConstantVariable::ConstantVariable() [constructor]
2692 cls.add_constructor([])
2693 ## random-variable.h (module 'core'): ns3::ConstantVariable::ConstantVariable(double c) [constructor]
2694 cls.add_constructor([param('double', 'c')])
2695 ## random-variable.h (module 'core'): void ns3::ConstantVariable::SetConstant(double c) [member function]
2696 cls.add_method('SetConstant',
2697 'void',
2698 [param('double', 'c')])
2699 return
2700
2701def register_Ns3DeterministicVariable_methods(root_module, cls):
2702 ## random-variable.h (module 'core'): ns3::DeterministicVariable::DeterministicVariable(ns3::DeterministicVariable const & arg0) [copy constructor]
2703 cls.add_constructor([param('ns3::DeterministicVariable const &', 'arg0')])
2704 ## random-variable.h (module 'core'): ns3::DeterministicVariable::DeterministicVariable(double * d, uint32_t c) [constructor]
2705 cls.add_constructor([param('double *', 'd'), param('uint32_t', 'c')])
2706 return
2707
2708def register_Ns3EmpiricalVariable_methods(root_module, cls):
2709 ## random-variable.h (module 'core'): ns3::EmpiricalVariable::EmpiricalVariable(ns3::EmpiricalVariable const & arg0) [copy constructor]
2710 cls.add_constructor([param('ns3::EmpiricalVariable const &', 'arg0')])
2711 ## random-variable.h (module 'core'): ns3::EmpiricalVariable::EmpiricalVariable() [constructor]
2712 cls.add_constructor([])
2713 ## random-variable.h (module 'core'): void ns3::EmpiricalVariable::CDF(double v, double c) [member function]
2714 cls.add_method('CDF',
2715 'void',
2716 [param('double', 'v'), param('double', 'c')])
2717 return
2718
2719def register_Ns3ErlangVariable_methods(root_module, cls):
2720 ## random-variable.h (module 'core'): ns3::ErlangVariable::ErlangVariable(ns3::ErlangVariable const & arg0) [copy constructor]
2721 cls.add_constructor([param('ns3::ErlangVariable const &', 'arg0')])
2722 ## random-variable.h (module 'core'): ns3::ErlangVariable::ErlangVariable() [constructor]
2723 cls.add_constructor([])
2724 ## random-variable.h (module 'core'): ns3::ErlangVariable::ErlangVariable(unsigned int k, double lambda) [constructor]
2725 cls.add_constructor([param('unsigned int', 'k'), param('double', 'lambda')])
2726 ## random-variable.h (module 'core'): double ns3::ErlangVariable::GetValue() const [member function]
2727 cls.add_method('GetValue',
2728 'double',
2729 [],
2730 is_const=True)
2731 ## random-variable.h (module 'core'): double ns3::ErlangVariable::GetValue(unsigned int k, double lambda) const [member function]
2732 cls.add_method('GetValue',
2733 'double',
2734 [param('unsigned int', 'k'), param('double', 'lambda')],
2735 is_const=True)
2736 return
2737
2738def register_Ns3ExponentialVariable_methods(root_module, cls):
2739 ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable(ns3::ExponentialVariable const & arg0) [copy constructor]
2740 cls.add_constructor([param('ns3::ExponentialVariable const &', 'arg0')])
2741 ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable() [constructor]
2742 cls.add_constructor([])
2743 ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable(double m) [constructor]
2744 cls.add_constructor([param('double', 'm')])
2745 ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable(double m, double b) [constructor]
2746 cls.add_constructor([param('double', 'm'), param('double', 'b')])
2747 return
2748
2749def register_Ns3GammaVariable_methods(root_module, cls):
2750 ## random-variable.h (module 'core'): ns3::GammaVariable::GammaVariable(ns3::GammaVariable const & arg0) [copy constructor]
2751 cls.add_constructor([param('ns3::GammaVariable const &', 'arg0')])
2752 ## random-variable.h (module 'core'): ns3::GammaVariable::GammaVariable() [constructor]
2753 cls.add_constructor([])
2754 ## random-variable.h (module 'core'): ns3::GammaVariable::GammaVariable(double alpha, double beta) [constructor]
2755 cls.add_constructor([param('double', 'alpha'), param('double', 'beta')])
2756 ## random-variable.h (module 'core'): double ns3::GammaVariable::GetValue() const [member function]
2757 cls.add_method('GetValue',
2758 'double',
2759 [],
2760 is_const=True)
2761 ## random-variable.h (module 'core'): double ns3::GammaVariable::GetValue(double alpha, double beta) const [member function]
2762 cls.add_method('GetValue',
2763 'double',
2764 [param('double', 'alpha'), param('double', 'beta')],
2765 is_const=True)
2766 return
2767
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002768def register_Ns3Header_methods(root_module, cls):
2769 cls.add_output_stream_operator()
2770 ## header.h (module 'network'): ns3::Header::Header() [constructor]
2771 cls.add_constructor([])
2772 ## header.h (module 'network'): ns3::Header::Header(ns3::Header const & arg0) [copy constructor]
2773 cls.add_constructor([param('ns3::Header const &', 'arg0')])
2774 ## header.h (module 'network'): uint32_t ns3::Header::Deserialize(ns3::Buffer::Iterator start) [member function]
2775 cls.add_method('Deserialize',
2776 'uint32_t',
2777 [param('ns3::Buffer::Iterator', 'start')],
2778 is_pure_virtual=True, is_virtual=True)
2779 ## header.h (module 'network'): uint32_t ns3::Header::GetSerializedSize() const [member function]
2780 cls.add_method('GetSerializedSize',
2781 'uint32_t',
2782 [],
2783 is_pure_virtual=True, is_const=True, is_virtual=True)
2784 ## header.h (module 'network'): static ns3::TypeId ns3::Header::GetTypeId() [member function]
2785 cls.add_method('GetTypeId',
2786 'ns3::TypeId',
2787 [],
2788 is_static=True)
2789 ## header.h (module 'network'): void ns3::Header::Print(std::ostream & os) const [member function]
2790 cls.add_method('Print',
2791 'void',
2792 [param('std::ostream &', 'os')],
2793 is_pure_virtual=True, is_const=True, is_virtual=True)
2794 ## header.h (module 'network'): void ns3::Header::Serialize(ns3::Buffer::Iterator start) const [member function]
2795 cls.add_method('Serialize',
2796 'void',
2797 [param('ns3::Buffer::Iterator', 'start')],
2798 is_pure_virtual=True, is_const=True, is_virtual=True)
2799 return
2800
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002801def register_Ns3IntEmpiricalVariable_methods(root_module, cls):
2802 ## random-variable.h (module 'core'): ns3::IntEmpiricalVariable::IntEmpiricalVariable(ns3::IntEmpiricalVariable const & arg0) [copy constructor]
2803 cls.add_constructor([param('ns3::IntEmpiricalVariable const &', 'arg0')])
2804 ## random-variable.h (module 'core'): ns3::IntEmpiricalVariable::IntEmpiricalVariable() [constructor]
2805 cls.add_constructor([])
2806 return
2807
2808def register_Ns3LogNormalVariable_methods(root_module, cls):
2809 ## random-variable.h (module 'core'): ns3::LogNormalVariable::LogNormalVariable(ns3::LogNormalVariable const & arg0) [copy constructor]
2810 cls.add_constructor([param('ns3::LogNormalVariable const &', 'arg0')])
2811 ## random-variable.h (module 'core'): ns3::LogNormalVariable::LogNormalVariable(double mu, double sigma) [constructor]
2812 cls.add_constructor([param('double', 'mu'), param('double', 'sigma')])
2813 return
2814
2815def register_Ns3NormalVariable_methods(root_module, cls):
2816 ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable(ns3::NormalVariable const & arg0) [copy constructor]
2817 cls.add_constructor([param('ns3::NormalVariable const &', 'arg0')])
2818 ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable() [constructor]
2819 cls.add_constructor([])
2820 ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable(double m, double v) [constructor]
2821 cls.add_constructor([param('double', 'm'), param('double', 'v')])
2822 ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable(double m, double v, double b) [constructor]
2823 cls.add_constructor([param('double', 'm'), param('double', 'v'), param('double', 'b')])
2824 return
2825
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002826def register_Ns3Object_methods(root_module, cls):
2827 ## object.h (module 'core'): ns3::Object::Object() [constructor]
2828 cls.add_constructor([])
2829 ## object.h (module 'core'): void ns3::Object::AggregateObject(ns3::Ptr<ns3::Object> other) [member function]
2830 cls.add_method('AggregateObject',
2831 'void',
2832 [param('ns3::Ptr< ns3::Object >', 'other')])
2833 ## object.h (module 'core'): void ns3::Object::Dispose() [member function]
2834 cls.add_method('Dispose',
2835 'void',
2836 [])
2837 ## object.h (module 'core'): ns3::Object::AggregateIterator ns3::Object::GetAggregateIterator() const [member function]
2838 cls.add_method('GetAggregateIterator',
2839 'ns3::Object::AggregateIterator',
2840 [],
2841 is_const=True)
2842 ## object.h (module 'core'): ns3::TypeId ns3::Object::GetInstanceTypeId() const [member function]
2843 cls.add_method('GetInstanceTypeId',
2844 'ns3::TypeId',
2845 [],
2846 is_const=True, is_virtual=True)
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002847 ## object.h (module 'core'): ns3::Ptr<ns3::MobilityModel> ns3::Object::GetObject() const [member function]
2848 cls.add_method('GetObject',
2849 'ns3::Ptr< ns3::MobilityModel >',
2850 [],
2851 is_const=True, template_parameters=['ns3::MobilityModel'])
2852 ## object.h (module 'core'): ns3::Ptr<ns3::ndn::ContentStore> ns3::Object::GetObject() const [member function]
2853 cls.add_method('GetObject',
2854 'ns3::Ptr< ns3::ndn::ContentStore >',
2855 [],
2856 is_const=True, template_parameters=['ns3::ndn::ContentStore'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07002857 ## object.h (module 'core'): ns3::Ptr<ns3::ndn::Fib> ns3::Object::GetObject() const [member function]
Alexander Afanasyev1c0248b2012-07-24 15:59:50 -07002858 cls.add_method('GetObject',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07002859 'ns3::Ptr< ns3::ndn::Fib >',
Alexander Afanasyev1c0248b2012-07-24 15:59:50 -07002860 [],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07002861 is_const=True, template_parameters=['ns3::ndn::Fib'])
2862 ## object.h (module 'core'): ns3::Ptr<ns3::ndn::Pit> ns3::Object::GetObject() const [member function]
Alexander Afanasyev5feb38b2012-08-09 11:01:43 -07002863 cls.add_method('GetObject',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07002864 'ns3::Ptr< ns3::ndn::Pit >',
Alexander Afanasyev5feb38b2012-08-09 11:01:43 -07002865 [],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07002866 is_const=True, template_parameters=['ns3::ndn::Pit'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002867 ## object.h (module 'core'): static ns3::TypeId ns3::Object::GetTypeId() [member function]
2868 cls.add_method('GetTypeId',
2869 'ns3::TypeId',
2870 [],
2871 is_static=True)
2872 ## object.h (module 'core'): void ns3::Object::Start() [member function]
2873 cls.add_method('Start',
2874 'void',
2875 [])
2876 ## object.h (module 'core'): ns3::Object::Object(ns3::Object const & o) [copy constructor]
2877 cls.add_constructor([param('ns3::Object const &', 'o')],
2878 visibility='protected')
2879 ## object.h (module 'core'): void ns3::Object::DoDispose() [member function]
2880 cls.add_method('DoDispose',
2881 'void',
2882 [],
2883 visibility='protected', is_virtual=True)
2884 ## object.h (module 'core'): void ns3::Object::DoStart() [member function]
2885 cls.add_method('DoStart',
2886 'void',
2887 [],
2888 visibility='protected', is_virtual=True)
2889 ## object.h (module 'core'): void ns3::Object::NotifyNewAggregate() [member function]
2890 cls.add_method('NotifyNewAggregate',
2891 'void',
2892 [],
2893 visibility='protected', is_virtual=True)
2894 return
2895
2896def register_Ns3ObjectAggregateIterator_methods(root_module, cls):
2897 ## object.h (module 'core'): ns3::Object::AggregateIterator::AggregateIterator(ns3::Object::AggregateIterator const & arg0) [copy constructor]
2898 cls.add_constructor([param('ns3::Object::AggregateIterator const &', 'arg0')])
2899 ## object.h (module 'core'): ns3::Object::AggregateIterator::AggregateIterator() [constructor]
2900 cls.add_constructor([])
2901 ## object.h (module 'core'): bool ns3::Object::AggregateIterator::HasNext() const [member function]
2902 cls.add_method('HasNext',
2903 'bool',
2904 [],
2905 is_const=True)
2906 ## object.h (module 'core'): ns3::Ptr<ns3::Object const> ns3::Object::AggregateIterator::Next() [member function]
2907 cls.add_method('Next',
2908 'ns3::Ptr< ns3::Object const >',
2909 [])
2910 return
2911
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002912def register_Ns3ParetoVariable_methods(root_module, cls):
2913 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(ns3::ParetoVariable const & arg0) [copy constructor]
2914 cls.add_constructor([param('ns3::ParetoVariable const &', 'arg0')])
2915 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable() [constructor]
2916 cls.add_constructor([])
2917 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(double m) [constructor]
2918 cls.add_constructor([param('double', 'm')])
2919 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(double m, double s) [constructor]
2920 cls.add_constructor([param('double', 'm'), param('double', 's')])
2921 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(double m, double s, double b) [constructor]
2922 cls.add_constructor([param('double', 'm'), param('double', 's'), param('double', 'b')])
2923 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(std::pair<double,double> params) [constructor]
2924 cls.add_constructor([param('std::pair< double, double >', 'params')])
2925 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(std::pair<double,double> params, double b) [constructor]
2926 cls.add_constructor([param('std::pair< double, double >', 'params'), param('double', 'b')])
2927 return
2928
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002929def register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, cls):
2930 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >::SimpleRefCount() [constructor]
2931 cls.add_constructor([])
2932 ## 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]
2933 cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter< ns3::AttributeAccessor > > const &', 'o')])
2934 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >::Cleanup() [member function]
2935 cls.add_method('Cleanup',
2936 'void',
2937 [],
2938 is_static=True)
2939 return
2940
2941def register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeChecker__gt___methods(root_module, cls):
2942 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >::SimpleRefCount() [constructor]
2943 cls.add_constructor([])
2944 ## 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]
2945 cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter< ns3::AttributeChecker > > const &', 'o')])
2946 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >::Cleanup() [member function]
2947 cls.add_method('Cleanup',
2948 'void',
2949 [],
2950 is_static=True)
2951 return
2952
2953def register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, cls):
2954 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >::SimpleRefCount() [constructor]
2955 cls.add_constructor([])
2956 ## 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]
2957 cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter< ns3::AttributeValue > > const &', 'o')])
2958 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >::Cleanup() [member function]
2959 cls.add_method('Cleanup',
2960 'void',
2961 [],
2962 is_static=True)
2963 return
2964
2965def register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, cls):
2966 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >::SimpleRefCount() [constructor]
2967 cls.add_constructor([])
2968 ## 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]
2969 cls.add_constructor([param('ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter< ns3::CallbackImplBase > > const &', 'o')])
2970 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >::Cleanup() [member function]
2971 cls.add_method('Cleanup',
2972 'void',
2973 [],
2974 is_static=True)
2975 return
2976
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002977def register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, cls):
2978 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >::SimpleRefCount() [constructor]
2979 cls.add_constructor([])
2980 ## 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]
2981 cls.add_constructor([param('ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter< ns3::EventImpl > > const &', 'o')])
2982 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >::Cleanup() [member function]
2983 cls.add_method('Cleanup',
2984 'void',
2985 [],
2986 is_static=True)
2987 return
2988
2989def register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, cls):
2990 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >::SimpleRefCount() [constructor]
2991 cls.add_constructor([])
2992 ## 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]
2993 cls.add_constructor([param('ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter< ns3::NixVector > > const &', 'o')])
2994 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >::Cleanup() [member function]
2995 cls.add_method('Cleanup',
2996 'void',
2997 [],
2998 is_static=True)
2999 return
3000
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003001def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, cls):
3002 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >::SimpleRefCount() [constructor]
3003 cls.add_constructor([])
3004 ## 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]
3005 cls.add_constructor([param('ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter< ns3::Packet > > const &', 'o')])
3006 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >::Cleanup() [member function]
3007 cls.add_method('Cleanup',
3008 'void',
3009 [],
3010 is_static=True)
3011 return
3012
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07003013def register_Ns3SimpleRefCount__Ns3TopologyReader_Ns3Empty_Ns3DefaultDeleter__lt__ns3TopologyReader__gt___methods(root_module, cls):
3014 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter<ns3::TopologyReader> >::SimpleRefCount() [constructor]
3015 cls.add_constructor([])
3016 ## 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]
3017 cls.add_constructor([param('ns3::SimpleRefCount< ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter< ns3::TopologyReader > > const &', 'o')])
3018 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter<ns3::TopologyReader> >::Cleanup() [member function]
3019 cls.add_method('Cleanup',
3020 'void',
3021 [],
3022 is_static=True)
3023 return
3024
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003025def register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, cls):
3026 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >::SimpleRefCount() [constructor]
3027 cls.add_constructor([])
3028 ## 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]
3029 cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > const &', 'o')])
3030 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >::Cleanup() [member function]
3031 cls.add_method('Cleanup',
3032 'void',
3033 [],
3034 is_static=True)
3035 return
3036
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07003037def register_Ns3SimpleRefCount__Ns3NdnContentObjectHeader_Ns3Header_Ns3DefaultDeleter__lt__ns3NdnContentObjectHeader__gt___methods(root_module, cls):
3038 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::ContentObjectHeader, ns3::Header, ns3::DefaultDeleter<ns3::ndn::ContentObjectHeader> >::SimpleRefCount() [constructor]
3039 cls.add_constructor([])
3040 ## 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]
3041 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::ContentObjectHeader, ns3::Header, ns3::DefaultDeleter< ns3::ndn::ContentObjectHeader > > const &', 'o')])
3042 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::ndn::ContentObjectHeader, ns3::Header, ns3::DefaultDeleter<ns3::ndn::ContentObjectHeader> >::Cleanup() [member function]
3043 cls.add_method('Cleanup',
3044 'void',
3045 [],
3046 is_static=True)
3047 return
3048
3049def register_Ns3SimpleRefCount__Ns3NdnFaceContainer_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnFaceContainer__gt___methods(root_module, cls):
3050 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::FaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::ndn::FaceContainer> >::SimpleRefCount() [constructor]
3051 cls.add_constructor([])
3052 ## 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]
3053 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::FaceContainer, ns3::empty, ns3::DefaultDeleter< ns3::ndn::FaceContainer > > const &', 'o')])
3054 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::ndn::FaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::ndn::FaceContainer> >::Cleanup() [member function]
3055 cls.add_method('Cleanup',
3056 'void',
3057 [],
3058 is_static=True)
3059 return
3060
3061def register_Ns3SimpleRefCount__Ns3NdnInterestHeader_Ns3Header_Ns3DefaultDeleter__lt__ns3NdnInterestHeader__gt___methods(root_module, cls):
3062 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::InterestHeader, ns3::Header, ns3::DefaultDeleter<ns3::ndn::InterestHeader> >::SimpleRefCount() [constructor]
3063 cls.add_constructor([])
3064 ## 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]
3065 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::InterestHeader, ns3::Header, ns3::DefaultDeleter< ns3::ndn::InterestHeader > > const &', 'o')])
3066 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::ndn::InterestHeader, ns3::Header, ns3::DefaultDeleter<ns3::ndn::InterestHeader> >::Cleanup() [member function]
3067 cls.add_method('Cleanup',
3068 'void',
3069 [],
3070 is_static=True)
3071 return
3072
3073def register_Ns3SimpleRefCount__Ns3NdnNameComponents_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnNameComponents__gt___methods(root_module, cls):
3074 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::NameComponents, ns3::empty, ns3::DefaultDeleter<ns3::ndn::NameComponents> >::SimpleRefCount() [constructor]
3075 cls.add_constructor([])
3076 ## 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]
3077 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::NameComponents, ns3::empty, ns3::DefaultDeleter< ns3::ndn::NameComponents > > const &', 'o')])
3078 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::ndn::NameComponents, ns3::empty, ns3::DefaultDeleter<ns3::ndn::NameComponents> >::Cleanup() [member function]
3079 cls.add_method('Cleanup',
3080 'void',
3081 [],
3082 is_static=True)
3083 return
3084
3085def register_Ns3SimpleRefCount__Ns3NdnCsEntry_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnCsEntry__gt___methods(root_module, cls):
3086 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::cs::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::cs::Entry> >::SimpleRefCount() [constructor]
3087 cls.add_constructor([])
3088 ## 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]
3089 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::cs::Entry, ns3::empty, ns3::DefaultDeleter< ns3::ndn::cs::Entry > > const &', 'o')])
3090 ## 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]
3091 cls.add_method('Cleanup',
3092 'void',
3093 [],
3094 is_static=True)
3095 return
3096
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07003097def register_Ns3SimpleRefCount__Ns3NdnPitEntry_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnPitEntry__gt___methods(root_module, cls):
3098 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::pit::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::pit::Entry> >::SimpleRefCount() [constructor]
3099 cls.add_constructor([])
3100 ## 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]
3101 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::pit::Entry, ns3::empty, ns3::DefaultDeleter< ns3::ndn::pit::Entry > > const &', 'o')])
3102 ## 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]
3103 cls.add_method('Cleanup',
3104 'void',
3105 [],
3106 is_static=True)
3107 return
3108
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003109def register_Ns3Time_methods(root_module, cls):
Alexander Afanasyev1ba09b82012-07-09 09:16:14 -07003110 cls.add_binary_comparison_operator('<=')
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003111 cls.add_binary_comparison_operator('!=')
3112 cls.add_inplace_numeric_operator('+=', param('ns3::Time const &', 'right'))
3113 cls.add_inplace_numeric_operator('-=', param('ns3::Time const &', 'right'))
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07003114 cls.add_output_stream_operator()
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003115 cls.add_binary_comparison_operator('==')
3116 cls.add_binary_comparison_operator('>=')
3117 cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right'))
3118 cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right'))
3119 cls.add_binary_comparison_operator('<')
3120 cls.add_binary_comparison_operator('>')
3121 ## nstime.h (module 'core'): ns3::Time::Time() [constructor]
3122 cls.add_constructor([])
3123 ## nstime.h (module 'core'): ns3::Time::Time(ns3::Time const & o) [copy constructor]
3124 cls.add_constructor([param('ns3::Time const &', 'o')])
3125 ## nstime.h (module 'core'): ns3::Time::Time(double v) [constructor]
3126 cls.add_constructor([param('double', 'v')])
3127 ## nstime.h (module 'core'): ns3::Time::Time(int v) [constructor]
3128 cls.add_constructor([param('int', 'v')])
3129 ## nstime.h (module 'core'): ns3::Time::Time(long int v) [constructor]
3130 cls.add_constructor([param('long int', 'v')])
3131 ## nstime.h (module 'core'): ns3::Time::Time(long long int v) [constructor]
3132 cls.add_constructor([param('long long int', 'v')])
3133 ## nstime.h (module 'core'): ns3::Time::Time(unsigned int v) [constructor]
3134 cls.add_constructor([param('unsigned int', 'v')])
3135 ## nstime.h (module 'core'): ns3::Time::Time(long unsigned int v) [constructor]
3136 cls.add_constructor([param('long unsigned int', 'v')])
3137 ## nstime.h (module 'core'): ns3::Time::Time(long long unsigned int v) [constructor]
3138 cls.add_constructor([param('long long unsigned int', 'v')])
3139 ## nstime.h (module 'core'): ns3::Time::Time(std::string const & s) [constructor]
3140 cls.add_constructor([param('std::string const &', 's')])
3141 ## nstime.h (module 'core'): ns3::Time::Time(ns3::int64x64_t const & value) [constructor]
3142 cls.add_constructor([param('ns3::int64x64_t const &', 'value')])
3143 ## nstime.h (module 'core'): int ns3::Time::Compare(ns3::Time const & o) const [member function]
3144 cls.add_method('Compare',
3145 'int',
3146 [param('ns3::Time const &', 'o')],
3147 is_const=True)
3148 ## nstime.h (module 'core'): static ns3::Time ns3::Time::From(ns3::int64x64_t const & from, ns3::Time::Unit timeUnit) [member function]
3149 cls.add_method('From',
3150 'ns3::Time',
3151 [param('ns3::int64x64_t const &', 'from'), param('ns3::Time::Unit', 'timeUnit')],
3152 is_static=True)
3153 ## nstime.h (module 'core'): static ns3::Time ns3::Time::From(ns3::int64x64_t const & value) [member function]
3154 cls.add_method('From',
3155 'ns3::Time',
3156 [param('ns3::int64x64_t const &', 'value')],
3157 is_static=True)
3158 ## nstime.h (module 'core'): static ns3::Time ns3::Time::FromDouble(double value, ns3::Time::Unit timeUnit) [member function]
3159 cls.add_method('FromDouble',
3160 'ns3::Time',
3161 [param('double', 'value'), param('ns3::Time::Unit', 'timeUnit')],
3162 is_static=True)
3163 ## nstime.h (module 'core'): static ns3::Time ns3::Time::FromInteger(uint64_t value, ns3::Time::Unit timeUnit) [member function]
3164 cls.add_method('FromInteger',
3165 'ns3::Time',
3166 [param('uint64_t', 'value'), param('ns3::Time::Unit', 'timeUnit')],
3167 is_static=True)
3168 ## nstime.h (module 'core'): double ns3::Time::GetDouble() const [member function]
3169 cls.add_method('GetDouble',
3170 'double',
3171 [],
3172 is_const=True)
3173 ## nstime.h (module 'core'): int64_t ns3::Time::GetFemtoSeconds() const [member function]
3174 cls.add_method('GetFemtoSeconds',
3175 'int64_t',
3176 [],
3177 is_const=True)
3178 ## nstime.h (module 'core'): int64_t ns3::Time::GetInteger() const [member function]
3179 cls.add_method('GetInteger',
3180 'int64_t',
3181 [],
3182 is_const=True)
3183 ## nstime.h (module 'core'): int64_t ns3::Time::GetMicroSeconds() const [member function]
3184 cls.add_method('GetMicroSeconds',
3185 'int64_t',
3186 [],
3187 is_const=True)
3188 ## nstime.h (module 'core'): int64_t ns3::Time::GetMilliSeconds() const [member function]
3189 cls.add_method('GetMilliSeconds',
3190 'int64_t',
3191 [],
3192 is_const=True)
3193 ## nstime.h (module 'core'): int64_t ns3::Time::GetNanoSeconds() const [member function]
3194 cls.add_method('GetNanoSeconds',
3195 'int64_t',
3196 [],
3197 is_const=True)
3198 ## nstime.h (module 'core'): int64_t ns3::Time::GetPicoSeconds() const [member function]
3199 cls.add_method('GetPicoSeconds',
3200 'int64_t',
3201 [],
3202 is_const=True)
3203 ## nstime.h (module 'core'): static ns3::Time::Unit ns3::Time::GetResolution() [member function]
3204 cls.add_method('GetResolution',
3205 'ns3::Time::Unit',
3206 [],
3207 is_static=True)
3208 ## nstime.h (module 'core'): double ns3::Time::GetSeconds() const [member function]
3209 cls.add_method('GetSeconds',
3210 'double',
3211 [],
3212 is_const=True)
3213 ## nstime.h (module 'core'): int64_t ns3::Time::GetTimeStep() const [member function]
3214 cls.add_method('GetTimeStep',
3215 'int64_t',
3216 [],
3217 is_const=True)
3218 ## nstime.h (module 'core'): bool ns3::Time::IsNegative() const [member function]
3219 cls.add_method('IsNegative',
3220 'bool',
3221 [],
3222 is_const=True)
3223 ## nstime.h (module 'core'): bool ns3::Time::IsPositive() const [member function]
3224 cls.add_method('IsPositive',
3225 'bool',
3226 [],
3227 is_const=True)
3228 ## nstime.h (module 'core'): bool ns3::Time::IsStrictlyNegative() const [member function]
3229 cls.add_method('IsStrictlyNegative',
3230 'bool',
3231 [],
3232 is_const=True)
3233 ## nstime.h (module 'core'): bool ns3::Time::IsStrictlyPositive() const [member function]
3234 cls.add_method('IsStrictlyPositive',
3235 'bool',
3236 [],
3237 is_const=True)
3238 ## nstime.h (module 'core'): bool ns3::Time::IsZero() const [member function]
3239 cls.add_method('IsZero',
3240 'bool',
3241 [],
3242 is_const=True)
3243 ## nstime.h (module 'core'): static void ns3::Time::SetResolution(ns3::Time::Unit resolution) [member function]
3244 cls.add_method('SetResolution',
3245 'void',
3246 [param('ns3::Time::Unit', 'resolution')],
3247 is_static=True)
3248 ## nstime.h (module 'core'): ns3::int64x64_t ns3::Time::To(ns3::Time::Unit timeUnit) const [member function]
3249 cls.add_method('To',
3250 'ns3::int64x64_t',
3251 [param('ns3::Time::Unit', 'timeUnit')],
3252 is_const=True)
3253 ## nstime.h (module 'core'): double ns3::Time::ToDouble(ns3::Time::Unit timeUnit) const [member function]
3254 cls.add_method('ToDouble',
3255 'double',
3256 [param('ns3::Time::Unit', 'timeUnit')],
3257 is_const=True)
3258 ## nstime.h (module 'core'): int64_t ns3::Time::ToInteger(ns3::Time::Unit timeUnit) const [member function]
3259 cls.add_method('ToInteger',
3260 'int64_t',
3261 [param('ns3::Time::Unit', 'timeUnit')],
3262 is_const=True)
3263 return
3264
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07003265def register_Ns3TopologyReader_methods(root_module, cls):
3266 ## topology-reader.h (module 'topology-read'): ns3::TopologyReader::TopologyReader() [constructor]
3267 cls.add_constructor([])
3268 ## topology-reader.h (module 'topology-read'): void ns3::TopologyReader::AddLink(ns3::TopologyReader::Link link) [member function]
3269 cls.add_method('AddLink',
3270 'void',
3271 [param('ns3::TopologyReader::Link', 'link')])
3272 ## topology-reader.h (module 'topology-read'): std::string ns3::TopologyReader::GetFileName() const [member function]
3273 cls.add_method('GetFileName',
3274 'std::string',
3275 [],
3276 is_const=True)
3277 ## topology-reader.h (module 'topology-read'): std::_List_const_iterator<ns3::TopologyReader::Link> ns3::TopologyReader::LinksBegin() const [member function]
3278 cls.add_method('LinksBegin',
3279 'std::_List_const_iterator< ns3::TopologyReader::Link >',
3280 [],
3281 is_const=True)
3282 ## topology-reader.h (module 'topology-read'): bool ns3::TopologyReader::LinksEmpty() const [member function]
3283 cls.add_method('LinksEmpty',
3284 'bool',
3285 [],
3286 is_const=True)
3287 ## topology-reader.h (module 'topology-read'): std::_List_const_iterator<ns3::TopologyReader::Link> ns3::TopologyReader::LinksEnd() const [member function]
3288 cls.add_method('LinksEnd',
3289 'std::_List_const_iterator< ns3::TopologyReader::Link >',
3290 [],
3291 is_const=True)
3292 ## topology-reader.h (module 'topology-read'): int ns3::TopologyReader::LinksSize() const [member function]
3293 cls.add_method('LinksSize',
3294 'int',
3295 [],
3296 is_const=True)
3297 ## topology-reader.h (module 'topology-read'): ns3::NodeContainer ns3::TopologyReader::Read() [member function]
3298 cls.add_method('Read',
3299 'ns3::NodeContainer',
3300 [],
3301 is_pure_virtual=True, is_virtual=True)
3302 ## topology-reader.h (module 'topology-read'): void ns3::TopologyReader::SetFileName(std::string const & fileName) [member function]
3303 cls.add_method('SetFileName',
3304 'void',
3305 [param('std::string const &', 'fileName')])
3306 return
3307
3308def register_Ns3TopologyReaderLink_methods(root_module, cls):
3309 ## topology-reader.h (module 'topology-read'): ns3::TopologyReader::Link::Link(ns3::TopologyReader::Link const & arg0) [copy constructor]
3310 cls.add_constructor([param('ns3::TopologyReader::Link const &', 'arg0')])
3311 ## topology-reader.h (module 'topology-read'): ns3::TopologyReader::Link::Link() [constructor]
3312 cls.add_constructor([])
3313 ## 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]
3314 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')])
3315 ## 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]
3316 cls.add_method('AttributesBegin',
3317 '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 > > > >',
3318 [])
3319 ## 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]
3320 cls.add_method('AttributesEnd',
3321 '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 > > > >',
3322 [])
3323 ## topology-reader.h (module 'topology-read'): std::string ns3::TopologyReader::Link::GetAttribute(std::string const & name) const [member function]
3324 cls.add_method('GetAttribute',
3325 'std::string',
3326 [param('std::string const &', 'name')],
3327 is_const=True)
3328 ## topology-reader.h (module 'topology-read'): bool ns3::TopologyReader::Link::GetAttributeFailSafe(std::string const & name, std::string & value) const [member function]
3329 cls.add_method('GetAttributeFailSafe',
3330 'bool',
3331 [param('std::string const &', 'name'), param('std::string &', 'value')],
3332 is_const=True)
3333 ## topology-reader.h (module 'topology-read'): ns3::Ptr<ns3::NetDevice> ns3::TopologyReader::Link::GetFromNetDevice() const [member function]
3334 cls.add_method('GetFromNetDevice',
3335 'ns3::Ptr< ns3::NetDevice >',
3336 [],
3337 is_const=True)
3338 ## topology-reader.h (module 'topology-read'): ns3::Ptr<ns3::Node> ns3::TopologyReader::Link::GetFromNode() const [member function]
3339 cls.add_method('GetFromNode',
3340 'ns3::Ptr< ns3::Node >',
3341 [],
3342 is_const=True)
3343 ## topology-reader.h (module 'topology-read'): std::string ns3::TopologyReader::Link::GetFromNodeName() const [member function]
3344 cls.add_method('GetFromNodeName',
3345 'std::string',
3346 [],
3347 is_const=True)
3348 ## topology-reader.h (module 'topology-read'): ns3::Ptr<ns3::NetDevice> ns3::TopologyReader::Link::GetToNetDevice() const [member function]
3349 cls.add_method('GetToNetDevice',
3350 'ns3::Ptr< ns3::NetDevice >',
3351 [],
3352 is_const=True)
3353 ## topology-reader.h (module 'topology-read'): ns3::Ptr<ns3::Node> ns3::TopologyReader::Link::GetToNode() const [member function]
3354 cls.add_method('GetToNode',
3355 'ns3::Ptr< ns3::Node >',
3356 [],
3357 is_const=True)
3358 ## topology-reader.h (module 'topology-read'): std::string ns3::TopologyReader::Link::GetToNodeName() const [member function]
3359 cls.add_method('GetToNodeName',
3360 'std::string',
3361 [],
3362 is_const=True)
3363 ## topology-reader.h (module 'topology-read'): void ns3::TopologyReader::Link::SetAttribute(std::string const & name, std::string const & value) [member function]
3364 cls.add_method('SetAttribute',
3365 'void',
3366 [param('std::string const &', 'name'), param('std::string const &', 'value')])
3367 ## topology-reader.h (module 'topology-read'): void ns3::TopologyReader::Link::SetNetDevices(ns3::Ptr<ns3::NetDevice> from, ns3::Ptr<ns3::NetDevice> to) [member function]
3368 cls.add_method('SetNetDevices',
3369 'void',
3370 [param('ns3::Ptr< ns3::NetDevice >', 'from'), param('ns3::Ptr< ns3::NetDevice >', 'to')])
3371 return
3372
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003373def register_Ns3TraceSourceAccessor_methods(root_module, cls):
3374 ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor]
3375 cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')])
3376 ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor]
3377 cls.add_constructor([])
3378 ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function]
3379 cls.add_method('Connect',
3380 'bool',
3381 [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')],
3382 is_pure_virtual=True, is_const=True, is_virtual=True)
3383 ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function]
3384 cls.add_method('ConnectWithoutContext',
3385 'bool',
3386 [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')],
3387 is_pure_virtual=True, is_const=True, is_virtual=True)
3388 ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function]
3389 cls.add_method('Disconnect',
3390 'bool',
3391 [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')],
3392 is_pure_virtual=True, is_const=True, is_virtual=True)
3393 ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function]
3394 cls.add_method('DisconnectWithoutContext',
3395 'bool',
3396 [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')],
3397 is_pure_virtual=True, is_const=True, is_virtual=True)
3398 return
3399
3400def register_Ns3Trailer_methods(root_module, cls):
3401 cls.add_output_stream_operator()
3402 ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor]
3403 cls.add_constructor([])
3404 ## trailer.h (module 'network'): ns3::Trailer::Trailer(ns3::Trailer const & arg0) [copy constructor]
3405 cls.add_constructor([param('ns3::Trailer const &', 'arg0')])
3406 ## trailer.h (module 'network'): uint32_t ns3::Trailer::Deserialize(ns3::Buffer::Iterator end) [member function]
3407 cls.add_method('Deserialize',
3408 'uint32_t',
3409 [param('ns3::Buffer::Iterator', 'end')],
3410 is_pure_virtual=True, is_virtual=True)
3411 ## trailer.h (module 'network'): uint32_t ns3::Trailer::GetSerializedSize() const [member function]
3412 cls.add_method('GetSerializedSize',
3413 'uint32_t',
3414 [],
3415 is_pure_virtual=True, is_const=True, is_virtual=True)
3416 ## trailer.h (module 'network'): static ns3::TypeId ns3::Trailer::GetTypeId() [member function]
3417 cls.add_method('GetTypeId',
3418 'ns3::TypeId',
3419 [],
3420 is_static=True)
3421 ## trailer.h (module 'network'): void ns3::Trailer::Print(std::ostream & os) const [member function]
3422 cls.add_method('Print',
3423 'void',
3424 [param('std::ostream &', 'os')],
3425 is_pure_virtual=True, is_const=True, is_virtual=True)
3426 ## trailer.h (module 'network'): void ns3::Trailer::Serialize(ns3::Buffer::Iterator start) const [member function]
3427 cls.add_method('Serialize',
3428 'void',
3429 [param('ns3::Buffer::Iterator', 'start')],
3430 is_pure_virtual=True, is_const=True, is_virtual=True)
3431 return
3432
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07003433def register_Ns3AnnotatedTopologyReader_methods(root_module, cls):
3434 ## annotated-topology-reader.h (module 'ndnSIM'): ns3::AnnotatedTopologyReader::AnnotatedTopologyReader(std::string const & path="", double scale=1.0e+0) [constructor]
3435 cls.add_constructor([param('std::string const &', 'path', default_value='""'), param('double', 'scale', default_value='1.0e+0')])
3436 ## annotated-topology-reader.h (module 'ndnSIM'): ns3::NodeContainer ns3::AnnotatedTopologyReader::Read() [member function]
3437 cls.add_method('Read',
3438 'ns3::NodeContainer',
3439 [],
3440 is_virtual=True)
3441 ## annotated-topology-reader.h (module 'ndnSIM'): ns3::NodeContainer ns3::AnnotatedTopologyReader::GetNodes() const [member function]
3442 cls.add_method('GetNodes',
3443 'ns3::NodeContainer',
3444 [],
3445 is_const=True)
3446 ## annotated-topology-reader.h (module 'ndnSIM'): std::list<ns3::TopologyReader::Link, std::allocator<ns3::TopologyReader::Link> > const & ns3::AnnotatedTopologyReader::GetLinks() const [member function]
3447 cls.add_method('GetLinks',
3448 'std::list< ns3::TopologyReader::Link > const &',
3449 [],
3450 is_const=True)
3451 ## annotated-topology-reader.h (module 'ndnSIM'): void ns3::AnnotatedTopologyReader::AssignIpv4Addresses(ns3::Ipv4Address base) [member function]
3452 cls.add_method('AssignIpv4Addresses',
3453 'void',
3454 [param('ns3::Ipv4Address', 'base')])
3455 ## annotated-topology-reader.h (module 'ndnSIM'): void ns3::AnnotatedTopologyReader::SetBoundingBox(double ulx, double uly, double lrx, double lry) [member function]
3456 cls.add_method('SetBoundingBox',
3457 'void',
3458 [param('double', 'ulx'), param('double', 'uly'), param('double', 'lrx'), param('double', 'lry')])
3459 ## annotated-topology-reader.h (module 'ndnSIM'): void ns3::AnnotatedTopologyReader::SetMobilityModel(std::string const & model) [member function]
3460 cls.add_method('SetMobilityModel',
3461 'void',
3462 [param('std::string const &', 'model')])
3463 ## annotated-topology-reader.h (module 'ndnSIM'): void ns3::AnnotatedTopologyReader::ApplyOspfMetric() [member function]
3464 cls.add_method('ApplyOspfMetric',
3465 'void',
3466 [])
3467 ## annotated-topology-reader.h (module 'ndnSIM'): void ns3::AnnotatedTopologyReader::SavePositions(std::string const & file) const [member function]
3468 cls.add_method('SavePositions',
3469 'void',
3470 [param('std::string const &', 'file')],
3471 is_const=True)
3472 ## annotated-topology-reader.h (module 'ndnSIM'): ns3::Ptr<ns3::Node> ns3::AnnotatedTopologyReader::CreateNode(std::string const name, uint32_t systemId) [member function]
3473 cls.add_method('CreateNode',
3474 'ns3::Ptr< ns3::Node >',
3475 [param('std::string const', 'name'), param('uint32_t', 'systemId')],
3476 visibility='protected')
3477 ## 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]
3478 cls.add_method('CreateNode',
3479 'ns3::Ptr< ns3::Node >',
3480 [param('std::string const', 'name'), param('double', 'posX'), param('double', 'posY'), param('uint32_t', 'systemId')],
3481 visibility='protected')
3482 ## annotated-topology-reader.h (module 'ndnSIM'): void ns3::AnnotatedTopologyReader::ApplySettings() [member function]
3483 cls.add_method('ApplySettings',
3484 'void',
3485 [],
3486 visibility='protected')
3487 return
3488
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003489def register_Ns3Application_methods(root_module, cls):
3490 ## application.h (module 'network'): ns3::Application::Application(ns3::Application const & arg0) [copy constructor]
3491 cls.add_constructor([param('ns3::Application const &', 'arg0')])
3492 ## application.h (module 'network'): ns3::Application::Application() [constructor]
3493 cls.add_constructor([])
3494 ## application.h (module 'network'): ns3::Ptr<ns3::Node> ns3::Application::GetNode() const [member function]
3495 cls.add_method('GetNode',
3496 'ns3::Ptr< ns3::Node >',
3497 [],
3498 is_const=True)
3499 ## application.h (module 'network'): static ns3::TypeId ns3::Application::GetTypeId() [member function]
3500 cls.add_method('GetTypeId',
3501 'ns3::TypeId',
3502 [],
3503 is_static=True)
3504 ## application.h (module 'network'): void ns3::Application::SetNode(ns3::Ptr<ns3::Node> node) [member function]
3505 cls.add_method('SetNode',
3506 'void',
3507 [param('ns3::Ptr< ns3::Node >', 'node')])
3508 ## application.h (module 'network'): void ns3::Application::SetStartTime(ns3::Time start) [member function]
3509 cls.add_method('SetStartTime',
3510 'void',
3511 [param('ns3::Time', 'start')])
3512 ## application.h (module 'network'): void ns3::Application::SetStopTime(ns3::Time stop) [member function]
3513 cls.add_method('SetStopTime',
3514 'void',
3515 [param('ns3::Time', 'stop')])
3516 ## application.h (module 'network'): void ns3::Application::DoDispose() [member function]
3517 cls.add_method('DoDispose',
3518 'void',
3519 [],
3520 visibility='protected', is_virtual=True)
3521 ## application.h (module 'network'): void ns3::Application::DoStart() [member function]
3522 cls.add_method('DoStart',
3523 'void',
3524 [],
3525 visibility='protected', is_virtual=True)
3526 ## application.h (module 'network'): void ns3::Application::StartApplication() [member function]
3527 cls.add_method('StartApplication',
3528 'void',
3529 [],
Alexander Afanasyev4756b892012-04-18 14:48:43 -07003530 visibility='private', is_virtual=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003531 ## application.h (module 'network'): void ns3::Application::StopApplication() [member function]
3532 cls.add_method('StopApplication',
3533 'void',
3534 [],
Alexander Afanasyev4756b892012-04-18 14:48:43 -07003535 visibility='private', is_virtual=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003536 return
3537
3538def register_Ns3AttributeAccessor_methods(root_module, cls):
3539 ## attribute.h (module 'core'): ns3::AttributeAccessor::AttributeAccessor(ns3::AttributeAccessor const & arg0) [copy constructor]
3540 cls.add_constructor([param('ns3::AttributeAccessor const &', 'arg0')])
3541 ## attribute.h (module 'core'): ns3::AttributeAccessor::AttributeAccessor() [constructor]
3542 cls.add_constructor([])
3543 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::Get(ns3::ObjectBase const * object, ns3::AttributeValue & attribute) const [member function]
3544 cls.add_method('Get',
3545 'bool',
3546 [param('ns3::ObjectBase const *', 'object'), param('ns3::AttributeValue &', 'attribute')],
3547 is_pure_virtual=True, is_const=True, is_virtual=True)
3548 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::HasGetter() const [member function]
3549 cls.add_method('HasGetter',
3550 'bool',
3551 [],
3552 is_pure_virtual=True, is_const=True, is_virtual=True)
3553 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::HasSetter() const [member function]
3554 cls.add_method('HasSetter',
3555 'bool',
3556 [],
3557 is_pure_virtual=True, is_const=True, is_virtual=True)
3558 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::Set(ns3::ObjectBase * object, ns3::AttributeValue const & value) const [member function]
3559 cls.add_method('Set',
3560 'bool',
3561 [param('ns3::ObjectBase *', 'object', transfer_ownership=False), param('ns3::AttributeValue const &', 'value')],
3562 is_pure_virtual=True, is_const=True, is_virtual=True)
3563 return
3564
3565def register_Ns3AttributeChecker_methods(root_module, cls):
3566 ## attribute.h (module 'core'): ns3::AttributeChecker::AttributeChecker(ns3::AttributeChecker const & arg0) [copy constructor]
3567 cls.add_constructor([param('ns3::AttributeChecker const &', 'arg0')])
3568 ## attribute.h (module 'core'): ns3::AttributeChecker::AttributeChecker() [constructor]
3569 cls.add_constructor([])
3570 ## attribute.h (module 'core'): bool ns3::AttributeChecker::Check(ns3::AttributeValue const & value) const [member function]
3571 cls.add_method('Check',
3572 'bool',
3573 [param('ns3::AttributeValue const &', 'value')],
3574 is_pure_virtual=True, is_const=True, is_virtual=True)
3575 ## attribute.h (module 'core'): bool ns3::AttributeChecker::Copy(ns3::AttributeValue const & source, ns3::AttributeValue & destination) const [member function]
3576 cls.add_method('Copy',
3577 'bool',
3578 [param('ns3::AttributeValue const &', 'source'), param('ns3::AttributeValue &', 'destination')],
3579 is_pure_virtual=True, is_const=True, is_virtual=True)
3580 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeChecker::Create() const [member function]
3581 cls.add_method('Create',
3582 'ns3::Ptr< ns3::AttributeValue >',
3583 [],
3584 is_pure_virtual=True, is_const=True, is_virtual=True)
3585 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function]
3586 cls.add_method('CreateValidValue',
3587 'ns3::Ptr< ns3::AttributeValue >',
3588 [param('ns3::AttributeValue const &', 'value')],
3589 is_const=True)
3590 ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function]
3591 cls.add_method('GetUnderlyingTypeInformation',
3592 'std::string',
3593 [],
3594 is_pure_virtual=True, is_const=True, is_virtual=True)
3595 ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetValueTypeName() const [member function]
3596 cls.add_method('GetValueTypeName',
3597 'std::string',
3598 [],
3599 is_pure_virtual=True, is_const=True, is_virtual=True)
3600 ## attribute.h (module 'core'): bool ns3::AttributeChecker::HasUnderlyingTypeInformation() const [member function]
3601 cls.add_method('HasUnderlyingTypeInformation',
3602 'bool',
3603 [],
3604 is_pure_virtual=True, is_const=True, is_virtual=True)
3605 return
3606
3607def register_Ns3AttributeValue_methods(root_module, cls):
3608 ## attribute.h (module 'core'): ns3::AttributeValue::AttributeValue(ns3::AttributeValue const & arg0) [copy constructor]
3609 cls.add_constructor([param('ns3::AttributeValue const &', 'arg0')])
3610 ## attribute.h (module 'core'): ns3::AttributeValue::AttributeValue() [constructor]
3611 cls.add_constructor([])
3612 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeValue::Copy() const [member function]
3613 cls.add_method('Copy',
3614 'ns3::Ptr< ns3::AttributeValue >',
3615 [],
3616 is_pure_virtual=True, is_const=True, is_virtual=True)
3617 ## attribute.h (module 'core'): bool ns3::AttributeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3618 cls.add_method('DeserializeFromString',
3619 'bool',
3620 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3621 is_pure_virtual=True, is_virtual=True)
3622 ## attribute.h (module 'core'): std::string ns3::AttributeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3623 cls.add_method('SerializeToString',
3624 'std::string',
3625 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3626 is_pure_virtual=True, is_const=True, is_virtual=True)
3627 return
3628
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07003629def register_Ns3BooleanChecker_methods(root_module, cls):
3630 ## boolean.h (module 'core'): ns3::BooleanChecker::BooleanChecker() [constructor]
3631 cls.add_constructor([])
3632 ## boolean.h (module 'core'): ns3::BooleanChecker::BooleanChecker(ns3::BooleanChecker const & arg0) [copy constructor]
3633 cls.add_constructor([param('ns3::BooleanChecker const &', 'arg0')])
3634 return
3635
3636def register_Ns3BooleanValue_methods(root_module, cls):
3637 cls.add_output_stream_operator()
3638 ## boolean.h (module 'core'): ns3::BooleanValue::BooleanValue(ns3::BooleanValue const & arg0) [copy constructor]
3639 cls.add_constructor([param('ns3::BooleanValue const &', 'arg0')])
3640 ## boolean.h (module 'core'): ns3::BooleanValue::BooleanValue() [constructor]
3641 cls.add_constructor([])
3642 ## boolean.h (module 'core'): ns3::BooleanValue::BooleanValue(bool value) [constructor]
3643 cls.add_constructor([param('bool', 'value')])
3644 ## boolean.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::BooleanValue::Copy() const [member function]
3645 cls.add_method('Copy',
3646 'ns3::Ptr< ns3::AttributeValue >',
3647 [],
3648 is_const=True, is_virtual=True)
3649 ## boolean.h (module 'core'): bool ns3::BooleanValue::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 ## boolean.h (module 'core'): bool ns3::BooleanValue::Get() const [member function]
3655 cls.add_method('Get',
3656 'bool',
3657 [],
3658 is_const=True)
3659 ## boolean.h (module 'core'): std::string ns3::BooleanValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3660 cls.add_method('SerializeToString',
3661 'std::string',
3662 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3663 is_const=True, is_virtual=True)
3664 ## boolean.h (module 'core'): void ns3::BooleanValue::Set(bool value) [member function]
3665 cls.add_method('Set',
3666 'void',
3667 [param('bool', 'value')])
3668 return
3669
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003670def register_Ns3CallbackChecker_methods(root_module, cls):
3671 ## callback.h (module 'core'): ns3::CallbackChecker::CallbackChecker() [constructor]
3672 cls.add_constructor([])
3673 ## callback.h (module 'core'): ns3::CallbackChecker::CallbackChecker(ns3::CallbackChecker const & arg0) [copy constructor]
3674 cls.add_constructor([param('ns3::CallbackChecker const &', 'arg0')])
3675 return
3676
3677def register_Ns3CallbackImplBase_methods(root_module, cls):
3678 ## callback.h (module 'core'): ns3::CallbackImplBase::CallbackImplBase() [constructor]
3679 cls.add_constructor([])
3680 ## callback.h (module 'core'): ns3::CallbackImplBase::CallbackImplBase(ns3::CallbackImplBase const & arg0) [copy constructor]
3681 cls.add_constructor([param('ns3::CallbackImplBase const &', 'arg0')])
3682 ## callback.h (module 'core'): bool ns3::CallbackImplBase::IsEqual(ns3::Ptr<ns3::CallbackImplBase const> other) const [member function]
3683 cls.add_method('IsEqual',
3684 'bool',
3685 [param('ns3::Ptr< ns3::CallbackImplBase const >', 'other')],
3686 is_pure_virtual=True, is_const=True, is_virtual=True)
3687 return
3688
3689def register_Ns3CallbackValue_methods(root_module, cls):
3690 ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue(ns3::CallbackValue const & arg0) [copy constructor]
3691 cls.add_constructor([param('ns3::CallbackValue const &', 'arg0')])
3692 ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue() [constructor]
3693 cls.add_constructor([])
3694 ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue(ns3::CallbackBase const & base) [constructor]
3695 cls.add_constructor([param('ns3::CallbackBase const &', 'base')])
3696 ## callback.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::CallbackValue::Copy() const [member function]
3697 cls.add_method('Copy',
3698 'ns3::Ptr< ns3::AttributeValue >',
3699 [],
3700 is_const=True, is_virtual=True)
3701 ## callback.h (module 'core'): bool ns3::CallbackValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3702 cls.add_method('DeserializeFromString',
3703 'bool',
3704 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3705 is_virtual=True)
3706 ## callback.h (module 'core'): std::string ns3::CallbackValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3707 cls.add_method('SerializeToString',
3708 'std::string',
3709 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3710 is_const=True, is_virtual=True)
3711 ## callback.h (module 'core'): void ns3::CallbackValue::Set(ns3::CallbackBase base) [member function]
3712 cls.add_method('Set',
3713 'void',
3714 [param('ns3::CallbackBase', 'base')])
3715 return
3716
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07003717def register_Ns3DoubleValue_methods(root_module, cls):
3718 ## double.h (module 'core'): ns3::DoubleValue::DoubleValue() [constructor]
3719 cls.add_constructor([])
3720 ## double.h (module 'core'): ns3::DoubleValue::DoubleValue(ns3::DoubleValue const & arg0) [copy constructor]
3721 cls.add_constructor([param('ns3::DoubleValue const &', 'arg0')])
3722 ## double.h (module 'core'): ns3::DoubleValue::DoubleValue(double const & value) [constructor]
3723 cls.add_constructor([param('double const &', 'value')])
3724 ## double.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::DoubleValue::Copy() const [member function]
3725 cls.add_method('Copy',
3726 'ns3::Ptr< ns3::AttributeValue >',
3727 [],
3728 is_const=True, is_virtual=True)
3729 ## double.h (module 'core'): bool ns3::DoubleValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3730 cls.add_method('DeserializeFromString',
3731 'bool',
3732 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3733 is_virtual=True)
3734 ## double.h (module 'core'): double ns3::DoubleValue::Get() const [member function]
3735 cls.add_method('Get',
3736 'double',
3737 [],
3738 is_const=True)
3739 ## double.h (module 'core'): std::string ns3::DoubleValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3740 cls.add_method('SerializeToString',
3741 'std::string',
3742 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3743 is_const=True, is_virtual=True)
3744 ## double.h (module 'core'): void ns3::DoubleValue::Set(double const & value) [member function]
3745 cls.add_method('Set',
3746 'void',
3747 [param('double const &', 'value')])
3748 return
3749
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003750def register_Ns3EmptyAttributeValue_methods(root_module, cls):
3751 ## attribute.h (module 'core'): ns3::EmptyAttributeValue::EmptyAttributeValue(ns3::EmptyAttributeValue const & arg0) [copy constructor]
3752 cls.add_constructor([param('ns3::EmptyAttributeValue const &', 'arg0')])
3753 ## attribute.h (module 'core'): ns3::EmptyAttributeValue::EmptyAttributeValue() [constructor]
3754 cls.add_constructor([])
3755 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::EmptyAttributeValue::Copy() const [member function]
3756 cls.add_method('Copy',
3757 'ns3::Ptr< ns3::AttributeValue >',
3758 [],
3759 is_const=True, visibility='private', is_virtual=True)
3760 ## attribute.h (module 'core'): bool ns3::EmptyAttributeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3761 cls.add_method('DeserializeFromString',
3762 'bool',
3763 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3764 visibility='private', is_virtual=True)
3765 ## attribute.h (module 'core'): std::string ns3::EmptyAttributeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3766 cls.add_method('SerializeToString',
3767 'std::string',
3768 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3769 is_const=True, visibility='private', is_virtual=True)
3770 return
3771
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07003772def register_Ns3EnumChecker_methods(root_module, cls):
3773 ## enum.h (module 'core'): ns3::EnumChecker::EnumChecker(ns3::EnumChecker const & arg0) [copy constructor]
3774 cls.add_constructor([param('ns3::EnumChecker const &', 'arg0')])
3775 ## enum.h (module 'core'): ns3::EnumChecker::EnumChecker() [constructor]
3776 cls.add_constructor([])
3777 ## enum.h (module 'core'): void ns3::EnumChecker::Add(int v, std::string name) [member function]
3778 cls.add_method('Add',
3779 'void',
3780 [param('int', 'v'), param('std::string', 'name')])
3781 ## enum.h (module 'core'): void ns3::EnumChecker::AddDefault(int v, std::string name) [member function]
3782 cls.add_method('AddDefault',
3783 'void',
3784 [param('int', 'v'), param('std::string', 'name')])
3785 ## enum.h (module 'core'): bool ns3::EnumChecker::Check(ns3::AttributeValue const & value) const [member function]
3786 cls.add_method('Check',
3787 'bool',
3788 [param('ns3::AttributeValue const &', 'value')],
3789 is_const=True, is_virtual=True)
3790 ## enum.h (module 'core'): bool ns3::EnumChecker::Copy(ns3::AttributeValue const & src, ns3::AttributeValue & dst) const [member function]
3791 cls.add_method('Copy',
3792 'bool',
3793 [param('ns3::AttributeValue const &', 'src'), param('ns3::AttributeValue &', 'dst')],
3794 is_const=True, is_virtual=True)
3795 ## enum.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::EnumChecker::Create() const [member function]
3796 cls.add_method('Create',
3797 'ns3::Ptr< ns3::AttributeValue >',
3798 [],
3799 is_const=True, is_virtual=True)
3800 ## enum.h (module 'core'): std::string ns3::EnumChecker::GetUnderlyingTypeInformation() const [member function]
3801 cls.add_method('GetUnderlyingTypeInformation',
3802 'std::string',
3803 [],
3804 is_const=True, is_virtual=True)
3805 ## enum.h (module 'core'): std::string ns3::EnumChecker::GetValueTypeName() const [member function]
3806 cls.add_method('GetValueTypeName',
3807 'std::string',
3808 [],
3809 is_const=True, is_virtual=True)
3810 ## enum.h (module 'core'): bool ns3::EnumChecker::HasUnderlyingTypeInformation() const [member function]
3811 cls.add_method('HasUnderlyingTypeInformation',
3812 'bool',
3813 [],
3814 is_const=True, is_virtual=True)
3815 return
3816
3817def register_Ns3EnumValue_methods(root_module, cls):
3818 ## enum.h (module 'core'): ns3::EnumValue::EnumValue(ns3::EnumValue const & arg0) [copy constructor]
3819 cls.add_constructor([param('ns3::EnumValue const &', 'arg0')])
3820 ## enum.h (module 'core'): ns3::EnumValue::EnumValue() [constructor]
3821 cls.add_constructor([])
3822 ## enum.h (module 'core'): ns3::EnumValue::EnumValue(int v) [constructor]
3823 cls.add_constructor([param('int', 'v')])
3824 ## enum.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::EnumValue::Copy() const [member function]
3825 cls.add_method('Copy',
3826 'ns3::Ptr< ns3::AttributeValue >',
3827 [],
3828 is_const=True, is_virtual=True)
3829 ## enum.h (module 'core'): bool ns3::EnumValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3830 cls.add_method('DeserializeFromString',
3831 'bool',
3832 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3833 is_virtual=True)
3834 ## enum.h (module 'core'): int ns3::EnumValue::Get() const [member function]
3835 cls.add_method('Get',
3836 'int',
3837 [],
3838 is_const=True)
3839 ## enum.h (module 'core'): std::string ns3::EnumValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3840 cls.add_method('SerializeToString',
3841 'std::string',
3842 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3843 is_const=True, is_virtual=True)
3844 ## enum.h (module 'core'): void ns3::EnumValue::Set(int v) [member function]
3845 cls.add_method('Set',
3846 'void',
3847 [param('int', 'v')])
3848 return
3849
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003850def register_Ns3EventImpl_methods(root_module, cls):
3851 ## event-impl.h (module 'core'): ns3::EventImpl::EventImpl(ns3::EventImpl const & arg0) [copy constructor]
3852 cls.add_constructor([param('ns3::EventImpl const &', 'arg0')])
3853 ## event-impl.h (module 'core'): ns3::EventImpl::EventImpl() [constructor]
3854 cls.add_constructor([])
3855 ## event-impl.h (module 'core'): void ns3::EventImpl::Cancel() [member function]
3856 cls.add_method('Cancel',
3857 'void',
3858 [])
3859 ## event-impl.h (module 'core'): void ns3::EventImpl::Invoke() [member function]
3860 cls.add_method('Invoke',
3861 'void',
3862 [])
3863 ## event-impl.h (module 'core'): bool ns3::EventImpl::IsCancelled() [member function]
3864 cls.add_method('IsCancelled',
3865 'bool',
3866 [])
3867 ## event-impl.h (module 'core'): void ns3::EventImpl::Notify() [member function]
3868 cls.add_method('Notify',
3869 'void',
3870 [],
3871 is_pure_virtual=True, visibility='protected', is_virtual=True)
3872 return
3873
3874def register_Ns3IntegerValue_methods(root_module, cls):
3875 ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue() [constructor]
3876 cls.add_constructor([])
3877 ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue(ns3::IntegerValue const & arg0) [copy constructor]
3878 cls.add_constructor([param('ns3::IntegerValue const &', 'arg0')])
3879 ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue(int64_t const & value) [constructor]
3880 cls.add_constructor([param('int64_t const &', 'value')])
3881 ## integer.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::IntegerValue::Copy() const [member function]
3882 cls.add_method('Copy',
3883 'ns3::Ptr< ns3::AttributeValue >',
3884 [],
3885 is_const=True, is_virtual=True)
3886 ## integer.h (module 'core'): bool ns3::IntegerValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3887 cls.add_method('DeserializeFromString',
3888 'bool',
3889 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3890 is_virtual=True)
3891 ## integer.h (module 'core'): int64_t ns3::IntegerValue::Get() const [member function]
3892 cls.add_method('Get',
3893 'int64_t',
3894 [],
3895 is_const=True)
3896 ## integer.h (module 'core'): std::string ns3::IntegerValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3897 cls.add_method('SerializeToString',
3898 'std::string',
3899 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3900 is_const=True, is_virtual=True)
3901 ## integer.h (module 'core'): void ns3::IntegerValue::Set(int64_t const & value) [member function]
3902 cls.add_method('Set',
3903 'void',
3904 [param('int64_t const &', 'value')])
3905 return
3906
3907def register_Ns3Ipv4AddressChecker_methods(root_module, cls):
3908 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker::Ipv4AddressChecker() [constructor]
3909 cls.add_constructor([])
3910 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker::Ipv4AddressChecker(ns3::Ipv4AddressChecker const & arg0) [copy constructor]
3911 cls.add_constructor([param('ns3::Ipv4AddressChecker const &', 'arg0')])
3912 return
3913
3914def register_Ns3Ipv4AddressValue_methods(root_module, cls):
3915 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue::Ipv4AddressValue() [constructor]
3916 cls.add_constructor([])
3917 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue::Ipv4AddressValue(ns3::Ipv4AddressValue const & arg0) [copy constructor]
3918 cls.add_constructor([param('ns3::Ipv4AddressValue const &', 'arg0')])
3919 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue::Ipv4AddressValue(ns3::Ipv4Address const & value) [constructor]
3920 cls.add_constructor([param('ns3::Ipv4Address const &', 'value')])
3921 ## ipv4-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv4AddressValue::Copy() const [member function]
3922 cls.add_method('Copy',
3923 'ns3::Ptr< ns3::AttributeValue >',
3924 [],
3925 is_const=True, is_virtual=True)
3926 ## ipv4-address.h (module 'network'): bool ns3::Ipv4AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3927 cls.add_method('DeserializeFromString',
3928 'bool',
3929 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3930 is_virtual=True)
3931 ## ipv4-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv4AddressValue::Get() const [member function]
3932 cls.add_method('Get',
3933 'ns3::Ipv4Address',
3934 [],
3935 is_const=True)
3936 ## ipv4-address.h (module 'network'): std::string ns3::Ipv4AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3937 cls.add_method('SerializeToString',
3938 'std::string',
3939 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3940 is_const=True, is_virtual=True)
3941 ## ipv4-address.h (module 'network'): void ns3::Ipv4AddressValue::Set(ns3::Ipv4Address const & value) [member function]
3942 cls.add_method('Set',
3943 'void',
3944 [param('ns3::Ipv4Address const &', 'value')])
3945 return
3946
3947def register_Ns3Ipv4MaskChecker_methods(root_module, cls):
3948 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker::Ipv4MaskChecker() [constructor]
3949 cls.add_constructor([])
3950 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker::Ipv4MaskChecker(ns3::Ipv4MaskChecker const & arg0) [copy constructor]
3951 cls.add_constructor([param('ns3::Ipv4MaskChecker const &', 'arg0')])
3952 return
3953
3954def register_Ns3Ipv4MaskValue_methods(root_module, cls):
3955 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue::Ipv4MaskValue() [constructor]
3956 cls.add_constructor([])
3957 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue::Ipv4MaskValue(ns3::Ipv4MaskValue const & arg0) [copy constructor]
3958 cls.add_constructor([param('ns3::Ipv4MaskValue const &', 'arg0')])
3959 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue::Ipv4MaskValue(ns3::Ipv4Mask const & value) [constructor]
3960 cls.add_constructor([param('ns3::Ipv4Mask const &', 'value')])
3961 ## ipv4-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv4MaskValue::Copy() const [member function]
3962 cls.add_method('Copy',
3963 'ns3::Ptr< ns3::AttributeValue >',
3964 [],
3965 is_const=True, is_virtual=True)
3966 ## ipv4-address.h (module 'network'): bool ns3::Ipv4MaskValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3967 cls.add_method('DeserializeFromString',
3968 'bool',
3969 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3970 is_virtual=True)
3971 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask ns3::Ipv4MaskValue::Get() const [member function]
3972 cls.add_method('Get',
3973 'ns3::Ipv4Mask',
3974 [],
3975 is_const=True)
3976 ## ipv4-address.h (module 'network'): std::string ns3::Ipv4MaskValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3977 cls.add_method('SerializeToString',
3978 'std::string',
3979 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3980 is_const=True, is_virtual=True)
3981 ## ipv4-address.h (module 'network'): void ns3::Ipv4MaskValue::Set(ns3::Ipv4Mask const & value) [member function]
3982 cls.add_method('Set',
3983 'void',
3984 [param('ns3::Ipv4Mask const &', 'value')])
3985 return
3986
3987def register_Ns3Ipv6AddressChecker_methods(root_module, cls):
3988 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker::Ipv6AddressChecker() [constructor]
3989 cls.add_constructor([])
3990 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker::Ipv6AddressChecker(ns3::Ipv6AddressChecker const & arg0) [copy constructor]
3991 cls.add_constructor([param('ns3::Ipv6AddressChecker const &', 'arg0')])
3992 return
3993
3994def register_Ns3Ipv6AddressValue_methods(root_module, cls):
3995 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue::Ipv6AddressValue() [constructor]
3996 cls.add_constructor([])
3997 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue::Ipv6AddressValue(ns3::Ipv6AddressValue const & arg0) [copy constructor]
3998 cls.add_constructor([param('ns3::Ipv6AddressValue const &', 'arg0')])
3999 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue::Ipv6AddressValue(ns3::Ipv6Address const & value) [constructor]
4000 cls.add_constructor([param('ns3::Ipv6Address const &', 'value')])
4001 ## ipv6-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv6AddressValue::Copy() const [member function]
4002 cls.add_method('Copy',
4003 'ns3::Ptr< ns3::AttributeValue >',
4004 [],
4005 is_const=True, is_virtual=True)
4006 ## ipv6-address.h (module 'network'): bool ns3::Ipv6AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4007 cls.add_method('DeserializeFromString',
4008 'bool',
4009 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4010 is_virtual=True)
4011 ## ipv6-address.h (module 'network'): ns3::Ipv6Address ns3::Ipv6AddressValue::Get() const [member function]
4012 cls.add_method('Get',
4013 'ns3::Ipv6Address',
4014 [],
4015 is_const=True)
4016 ## ipv6-address.h (module 'network'): std::string ns3::Ipv6AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4017 cls.add_method('SerializeToString',
4018 'std::string',
4019 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4020 is_const=True, is_virtual=True)
4021 ## ipv6-address.h (module 'network'): void ns3::Ipv6AddressValue::Set(ns3::Ipv6Address const & value) [member function]
4022 cls.add_method('Set',
4023 'void',
4024 [param('ns3::Ipv6Address const &', 'value')])
4025 return
4026
4027def register_Ns3Ipv6PrefixChecker_methods(root_module, cls):
4028 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker::Ipv6PrefixChecker() [constructor]
4029 cls.add_constructor([])
4030 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker::Ipv6PrefixChecker(ns3::Ipv6PrefixChecker const & arg0) [copy constructor]
4031 cls.add_constructor([param('ns3::Ipv6PrefixChecker const &', 'arg0')])
4032 return
4033
4034def register_Ns3Ipv6PrefixValue_methods(root_module, cls):
4035 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue::Ipv6PrefixValue() [constructor]
4036 cls.add_constructor([])
4037 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue::Ipv6PrefixValue(ns3::Ipv6PrefixValue const & arg0) [copy constructor]
4038 cls.add_constructor([param('ns3::Ipv6PrefixValue const &', 'arg0')])
4039 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue::Ipv6PrefixValue(ns3::Ipv6Prefix const & value) [constructor]
4040 cls.add_constructor([param('ns3::Ipv6Prefix const &', 'value')])
4041 ## ipv6-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv6PrefixValue::Copy() const [member function]
4042 cls.add_method('Copy',
4043 'ns3::Ptr< ns3::AttributeValue >',
4044 [],
4045 is_const=True, is_virtual=True)
4046 ## ipv6-address.h (module 'network'): bool ns3::Ipv6PrefixValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4047 cls.add_method('DeserializeFromString',
4048 'bool',
4049 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4050 is_virtual=True)
4051 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix ns3::Ipv6PrefixValue::Get() const [member function]
4052 cls.add_method('Get',
4053 'ns3::Ipv6Prefix',
4054 [],
4055 is_const=True)
4056 ## ipv6-address.h (module 'network'): std::string ns3::Ipv6PrefixValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4057 cls.add_method('SerializeToString',
4058 'std::string',
4059 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4060 is_const=True, is_virtual=True)
4061 ## ipv6-address.h (module 'network'): void ns3::Ipv6PrefixValue::Set(ns3::Ipv6Prefix const & value) [member function]
4062 cls.add_method('Set',
4063 'void',
4064 [param('ns3::Ipv6Prefix const &', 'value')])
4065 return
4066
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07004067def register_Ns3MobilityModel_methods(root_module, cls):
4068 ## mobility-model.h (module 'mobility'): ns3::MobilityModel::MobilityModel(ns3::MobilityModel const & arg0) [copy constructor]
4069 cls.add_constructor([param('ns3::MobilityModel const &', 'arg0')])
4070 ## mobility-model.h (module 'mobility'): ns3::MobilityModel::MobilityModel() [constructor]
4071 cls.add_constructor([])
4072 ## mobility-model.h (module 'mobility'): double ns3::MobilityModel::GetDistanceFrom(ns3::Ptr<const ns3::MobilityModel> position) const [member function]
4073 cls.add_method('GetDistanceFrom',
4074 'double',
4075 [param('ns3::Ptr< ns3::MobilityModel const >', 'position')],
4076 is_const=True)
4077 ## mobility-model.h (module 'mobility'): static ns3::Ptr<ns3::MobilityModel> ns3::MobilityModel::GetMobilityModel(ns3::Ptr<ns3::Object> node) [member function]
4078 cls.add_method('GetMobilityModel',
4079 'ns3::Ptr< ns3::MobilityModel >',
4080 [param('ns3::Ptr< ns3::Object >', 'node')],
4081 is_static=True)
4082 ## mobility-model.h (module 'mobility'): ns3::Vector ns3::MobilityModel::GetPosition() const [member function]
4083 cls.add_method('GetPosition',
4084 'ns3::Vector',
4085 [],
4086 is_const=True)
4087 ## mobility-model.h (module 'mobility'): double ns3::MobilityModel::GetRelativeSpeed(ns3::Ptr<const ns3::MobilityModel> other) const [member function]
4088 cls.add_method('GetRelativeSpeed',
4089 'double',
4090 [param('ns3::Ptr< ns3::MobilityModel const >', 'other')],
4091 is_const=True)
4092 ## mobility-model.h (module 'mobility'): static ns3::TypeId ns3::MobilityModel::GetTypeId() [member function]
4093 cls.add_method('GetTypeId',
4094 'ns3::TypeId',
4095 [],
4096 is_static=True)
4097 ## mobility-model.h (module 'mobility'): ns3::Vector ns3::MobilityModel::GetVelocity() const [member function]
4098 cls.add_method('GetVelocity',
4099 'ns3::Vector',
4100 [],
4101 is_const=True)
4102 ## mobility-model.h (module 'mobility'): void ns3::MobilityModel::SetPosition(ns3::Vector const & position) [member function]
4103 cls.add_method('SetPosition',
4104 'void',
4105 [param('ns3::Vector const &', 'position')])
4106 ## mobility-model.h (module 'mobility'): void ns3::MobilityModel::NotifyCourseChange() const [member function]
4107 cls.add_method('NotifyCourseChange',
4108 'void',
4109 [],
4110 is_const=True, visibility='protected')
4111 ## mobility-model.h (module 'mobility'): ns3::Vector ns3::MobilityModel::DoGetPosition() const [member function]
4112 cls.add_method('DoGetPosition',
4113 'ns3::Vector',
4114 [],
4115 is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
4116 ## mobility-model.h (module 'mobility'): ns3::Vector ns3::MobilityModel::DoGetVelocity() const [member function]
4117 cls.add_method('DoGetVelocity',
4118 'ns3::Vector',
4119 [],
4120 is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
4121 ## mobility-model.h (module 'mobility'): void ns3::MobilityModel::DoSetPosition(ns3::Vector const & position) [member function]
4122 cls.add_method('DoSetPosition',
4123 'void',
4124 [param('ns3::Vector const &', 'position')],
4125 is_pure_virtual=True, visibility='private', is_virtual=True)
4126 return
4127
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004128def register_Ns3NetDevice_methods(root_module, cls):
4129 ## net-device.h (module 'network'): ns3::NetDevice::NetDevice() [constructor]
4130 cls.add_constructor([])
4131 ## net-device.h (module 'network'): ns3::NetDevice::NetDevice(ns3::NetDevice const & arg0) [copy constructor]
4132 cls.add_constructor([param('ns3::NetDevice const &', 'arg0')])
4133 ## 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]
4134 cls.add_method('AddLinkChangeCallback',
4135 'void',
4136 [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')],
4137 is_pure_virtual=True, is_virtual=True)
4138 ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetAddress() const [member function]
4139 cls.add_method('GetAddress',
4140 'ns3::Address',
4141 [],
4142 is_pure_virtual=True, is_const=True, is_virtual=True)
4143 ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetBroadcast() const [member function]
4144 cls.add_method('GetBroadcast',
4145 'ns3::Address',
4146 [],
4147 is_pure_virtual=True, is_const=True, is_virtual=True)
4148 ## net-device.h (module 'network'): ns3::Ptr<ns3::Channel> ns3::NetDevice::GetChannel() const [member function]
4149 cls.add_method('GetChannel',
4150 'ns3::Ptr< ns3::Channel >',
4151 [],
4152 is_pure_virtual=True, is_const=True, is_virtual=True)
4153 ## net-device.h (module 'network'): uint32_t ns3::NetDevice::GetIfIndex() const [member function]
4154 cls.add_method('GetIfIndex',
4155 'uint32_t',
4156 [],
4157 is_pure_virtual=True, is_const=True, is_virtual=True)
4158 ## net-device.h (module 'network'): uint16_t ns3::NetDevice::GetMtu() const [member function]
4159 cls.add_method('GetMtu',
4160 'uint16_t',
4161 [],
4162 is_pure_virtual=True, is_const=True, is_virtual=True)
4163 ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetMulticast(ns3::Ipv4Address multicastGroup) const [member function]
4164 cls.add_method('GetMulticast',
4165 'ns3::Address',
4166 [param('ns3::Ipv4Address', 'multicastGroup')],
4167 is_pure_virtual=True, is_const=True, is_virtual=True)
4168 ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetMulticast(ns3::Ipv6Address addr) const [member function]
4169 cls.add_method('GetMulticast',
4170 'ns3::Address',
4171 [param('ns3::Ipv6Address', 'addr')],
4172 is_pure_virtual=True, is_const=True, is_virtual=True)
4173 ## net-device.h (module 'network'): ns3::Ptr<ns3::Node> ns3::NetDevice::GetNode() const [member function]
4174 cls.add_method('GetNode',
4175 'ns3::Ptr< ns3::Node >',
4176 [],
4177 is_pure_virtual=True, is_const=True, is_virtual=True)
4178 ## net-device.h (module 'network'): static ns3::TypeId ns3::NetDevice::GetTypeId() [member function]
4179 cls.add_method('GetTypeId',
4180 'ns3::TypeId',
4181 [],
4182 is_static=True)
4183 ## net-device.h (module 'network'): bool ns3::NetDevice::IsBridge() const [member function]
4184 cls.add_method('IsBridge',
4185 'bool',
4186 [],
4187 is_pure_virtual=True, is_const=True, is_virtual=True)
4188 ## net-device.h (module 'network'): bool ns3::NetDevice::IsBroadcast() const [member function]
4189 cls.add_method('IsBroadcast',
4190 'bool',
4191 [],
4192 is_pure_virtual=True, is_const=True, is_virtual=True)
4193 ## net-device.h (module 'network'): bool ns3::NetDevice::IsLinkUp() const [member function]
4194 cls.add_method('IsLinkUp',
4195 'bool',
4196 [],
4197 is_pure_virtual=True, is_const=True, is_virtual=True)
4198 ## net-device.h (module 'network'): bool ns3::NetDevice::IsMulticast() const [member function]
4199 cls.add_method('IsMulticast',
4200 'bool',
4201 [],
4202 is_pure_virtual=True, is_const=True, is_virtual=True)
4203 ## net-device.h (module 'network'): bool ns3::NetDevice::IsPointToPoint() const [member function]
4204 cls.add_method('IsPointToPoint',
4205 'bool',
4206 [],
4207 is_pure_virtual=True, is_const=True, is_virtual=True)
4208 ## net-device.h (module 'network'): bool ns3::NetDevice::NeedsArp() const [member function]
4209 cls.add_method('NeedsArp',
4210 'bool',
4211 [],
4212 is_pure_virtual=True, is_const=True, is_virtual=True)
4213 ## net-device.h (module 'network'): bool ns3::NetDevice::Send(ns3::Ptr<ns3::Packet> packet, ns3::Address const & dest, uint16_t protocolNumber) [member function]
4214 cls.add_method('Send',
4215 'bool',
4216 [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')],
4217 is_pure_virtual=True, is_virtual=True)
4218 ## 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]
4219 cls.add_method('SendFrom',
4220 'bool',
4221 [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')],
4222 is_pure_virtual=True, is_virtual=True)
4223 ## net-device.h (module 'network'): void ns3::NetDevice::SetAddress(ns3::Address address) [member function]
4224 cls.add_method('SetAddress',
4225 'void',
4226 [param('ns3::Address', 'address')],
4227 is_pure_virtual=True, is_virtual=True)
4228 ## net-device.h (module 'network'): void ns3::NetDevice::SetIfIndex(uint32_t const index) [member function]
4229 cls.add_method('SetIfIndex',
4230 'void',
4231 [param('uint32_t const', 'index')],
4232 is_pure_virtual=True, is_virtual=True)
4233 ## net-device.h (module 'network'): bool ns3::NetDevice::SetMtu(uint16_t const mtu) [member function]
4234 cls.add_method('SetMtu',
4235 'bool',
4236 [param('uint16_t const', 'mtu')],
4237 is_pure_virtual=True, is_virtual=True)
4238 ## net-device.h (module 'network'): void ns3::NetDevice::SetNode(ns3::Ptr<ns3::Node> node) [member function]
4239 cls.add_method('SetNode',
4240 'void',
4241 [param('ns3::Ptr< ns3::Node >', 'node')],
4242 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyev07827182011-12-13 01:07:32 -08004243 ## 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 -07004244 cls.add_method('SetPromiscReceiveCallback',
4245 'void',
Alexander Afanasyev07827182011-12-13 01:07:32 -08004246 [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 -07004247 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyev07827182011-12-13 01:07:32 -08004248 ## 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 -07004249 cls.add_method('SetReceiveCallback',
4250 'void',
Alexander Afanasyev07827182011-12-13 01:07:32 -08004251 [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 -07004252 is_pure_virtual=True, is_virtual=True)
4253 ## net-device.h (module 'network'): bool ns3::NetDevice::SupportsSendFrom() const [member function]
4254 cls.add_method('SupportsSendFrom',
4255 'bool',
4256 [],
4257 is_pure_virtual=True, is_const=True, is_virtual=True)
4258 return
4259
4260def register_Ns3NixVector_methods(root_module, cls):
4261 cls.add_output_stream_operator()
4262 ## nix-vector.h (module 'network'): ns3::NixVector::NixVector() [constructor]
4263 cls.add_constructor([])
4264 ## nix-vector.h (module 'network'): ns3::NixVector::NixVector(ns3::NixVector const & o) [copy constructor]
4265 cls.add_constructor([param('ns3::NixVector const &', 'o')])
4266 ## nix-vector.h (module 'network'): void ns3::NixVector::AddNeighborIndex(uint32_t newBits, uint32_t numberOfBits) [member function]
4267 cls.add_method('AddNeighborIndex',
4268 'void',
4269 [param('uint32_t', 'newBits'), param('uint32_t', 'numberOfBits')])
4270 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::BitCount(uint32_t numberOfNeighbors) const [member function]
4271 cls.add_method('BitCount',
4272 'uint32_t',
4273 [param('uint32_t', 'numberOfNeighbors')],
4274 is_const=True)
4275 ## nix-vector.h (module 'network'): ns3::Ptr<ns3::NixVector> ns3::NixVector::Copy() const [member function]
4276 cls.add_method('Copy',
4277 'ns3::Ptr< ns3::NixVector >',
4278 [],
4279 is_const=True)
4280 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::Deserialize(uint32_t const * buffer, uint32_t size) [member function]
4281 cls.add_method('Deserialize',
4282 'uint32_t',
4283 [param('uint32_t const *', 'buffer'), param('uint32_t', 'size')])
4284 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::ExtractNeighborIndex(uint32_t numberOfBits) [member function]
4285 cls.add_method('ExtractNeighborIndex',
4286 'uint32_t',
4287 [param('uint32_t', 'numberOfBits')])
4288 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::GetRemainingBits() [member function]
4289 cls.add_method('GetRemainingBits',
4290 'uint32_t',
4291 [])
4292 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::GetSerializedSize() const [member function]
4293 cls.add_method('GetSerializedSize',
4294 'uint32_t',
4295 [],
4296 is_const=True)
4297 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::Serialize(uint32_t * buffer, uint32_t maxSize) const [member function]
4298 cls.add_method('Serialize',
4299 'uint32_t',
4300 [param('uint32_t *', 'buffer'), param('uint32_t', 'maxSize')],
4301 is_const=True)
4302 return
4303
4304def register_Ns3Node_methods(root_module, cls):
4305 ## node.h (module 'network'): ns3::Node::Node(ns3::Node const & arg0) [copy constructor]
4306 cls.add_constructor([param('ns3::Node const &', 'arg0')])
4307 ## node.h (module 'network'): ns3::Node::Node() [constructor]
4308 cls.add_constructor([])
4309 ## node.h (module 'network'): ns3::Node::Node(uint32_t systemId) [constructor]
4310 cls.add_constructor([param('uint32_t', 'systemId')])
4311 ## node.h (module 'network'): uint32_t ns3::Node::AddApplication(ns3::Ptr<ns3::Application> application) [member function]
4312 cls.add_method('AddApplication',
4313 'uint32_t',
4314 [param('ns3::Ptr< ns3::Application >', 'application')])
4315 ## node.h (module 'network'): uint32_t ns3::Node::AddDevice(ns3::Ptr<ns3::NetDevice> device) [member function]
4316 cls.add_method('AddDevice',
4317 'uint32_t',
4318 [param('ns3::Ptr< ns3::NetDevice >', 'device')])
4319 ## node.h (module 'network'): static bool ns3::Node::ChecksumEnabled() [member function]
4320 cls.add_method('ChecksumEnabled',
4321 'bool',
4322 [],
4323 is_static=True)
4324 ## node.h (module 'network'): ns3::Ptr<ns3::Application> ns3::Node::GetApplication(uint32_t index) const [member function]
4325 cls.add_method('GetApplication',
4326 'ns3::Ptr< ns3::Application >',
4327 [param('uint32_t', 'index')],
4328 is_const=True)
4329 ## node.h (module 'network'): ns3::Ptr<ns3::NetDevice> ns3::Node::GetDevice(uint32_t index) const [member function]
4330 cls.add_method('GetDevice',
4331 'ns3::Ptr< ns3::NetDevice >',
4332 [param('uint32_t', 'index')],
4333 is_const=True)
4334 ## node.h (module 'network'): uint32_t ns3::Node::GetId() const [member function]
4335 cls.add_method('GetId',
4336 'uint32_t',
4337 [],
4338 is_const=True)
4339 ## node.h (module 'network'): uint32_t ns3::Node::GetNApplications() const [member function]
4340 cls.add_method('GetNApplications',
4341 'uint32_t',
4342 [],
4343 is_const=True)
4344 ## node.h (module 'network'): uint32_t ns3::Node::GetNDevices() const [member function]
4345 cls.add_method('GetNDevices',
4346 'uint32_t',
4347 [],
4348 is_const=True)
4349 ## node.h (module 'network'): uint32_t ns3::Node::GetSystemId() const [member function]
4350 cls.add_method('GetSystemId',
4351 'uint32_t',
4352 [],
4353 is_const=True)
4354 ## node.h (module 'network'): static ns3::TypeId ns3::Node::GetTypeId() [member function]
4355 cls.add_method('GetTypeId',
4356 'ns3::TypeId',
4357 [],
4358 is_static=True)
4359 ## 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]
4360 cls.add_method('RegisterDeviceAdditionListener',
4361 'void',
4362 [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')])
4363 ## 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]
4364 cls.add_method('RegisterProtocolHandler',
4365 'void',
4366 [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')])
4367 ## 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]
4368 cls.add_method('UnregisterDeviceAdditionListener',
4369 'void',
4370 [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')])
4371 ## 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]
4372 cls.add_method('UnregisterProtocolHandler',
4373 'void',
4374 [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')])
4375 ## node.h (module 'network'): void ns3::Node::DoDispose() [member function]
4376 cls.add_method('DoDispose',
4377 'void',
4378 [],
4379 visibility='protected', is_virtual=True)
4380 ## node.h (module 'network'): void ns3::Node::DoStart() [member function]
4381 cls.add_method('DoStart',
4382 'void',
4383 [],
4384 visibility='protected', is_virtual=True)
4385 return
4386
4387def register_Ns3ObjectFactoryChecker_methods(root_module, cls):
4388 ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker::ObjectFactoryChecker() [constructor]
4389 cls.add_constructor([])
4390 ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker::ObjectFactoryChecker(ns3::ObjectFactoryChecker const & arg0) [copy constructor]
4391 cls.add_constructor([param('ns3::ObjectFactoryChecker const &', 'arg0')])
4392 return
4393
4394def register_Ns3ObjectFactoryValue_methods(root_module, cls):
4395 ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue() [constructor]
4396 cls.add_constructor([])
4397 ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue(ns3::ObjectFactoryValue const & arg0) [copy constructor]
4398 cls.add_constructor([param('ns3::ObjectFactoryValue const &', 'arg0')])
4399 ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue(ns3::ObjectFactory const & value) [constructor]
4400 cls.add_constructor([param('ns3::ObjectFactory const &', 'value')])
4401 ## object-factory.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::ObjectFactoryValue::Copy() const [member function]
4402 cls.add_method('Copy',
4403 'ns3::Ptr< ns3::AttributeValue >',
4404 [],
4405 is_const=True, is_virtual=True)
4406 ## object-factory.h (module 'core'): bool ns3::ObjectFactoryValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4407 cls.add_method('DeserializeFromString',
4408 'bool',
4409 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4410 is_virtual=True)
4411 ## object-factory.h (module 'core'): ns3::ObjectFactory ns3::ObjectFactoryValue::Get() const [member function]
4412 cls.add_method('Get',
4413 'ns3::ObjectFactory',
4414 [],
4415 is_const=True)
4416 ## object-factory.h (module 'core'): std::string ns3::ObjectFactoryValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4417 cls.add_method('SerializeToString',
4418 'std::string',
4419 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4420 is_const=True, is_virtual=True)
4421 ## object-factory.h (module 'core'): void ns3::ObjectFactoryValue::Set(ns3::ObjectFactory const & value) [member function]
4422 cls.add_method('Set',
4423 'void',
4424 [param('ns3::ObjectFactory const &', 'value')])
4425 return
4426
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004427def register_Ns3Packet_methods(root_module, cls):
4428 cls.add_output_stream_operator()
4429 ## packet.h (module 'network'): ns3::Packet::Packet() [constructor]
4430 cls.add_constructor([])
4431 ## packet.h (module 'network'): ns3::Packet::Packet(ns3::Packet const & o) [copy constructor]
4432 cls.add_constructor([param('ns3::Packet const &', 'o')])
4433 ## packet.h (module 'network'): ns3::Packet::Packet(uint32_t size) [constructor]
4434 cls.add_constructor([param('uint32_t', 'size')])
4435 ## packet.h (module 'network'): ns3::Packet::Packet(uint8_t const * buffer, uint32_t size, bool magic) [constructor]
4436 cls.add_constructor([param('uint8_t const *', 'buffer'), param('uint32_t', 'size'), param('bool', 'magic')])
4437 ## packet.h (module 'network'): ns3::Packet::Packet(uint8_t const * buffer, uint32_t size) [constructor]
4438 cls.add_constructor([param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
Alexander Afanasyev07827182011-12-13 01:07:32 -08004439 ## packet.h (module 'network'): void ns3::Packet::AddAtEnd(ns3::Ptr<const ns3::Packet> packet) [member function]
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004440 cls.add_method('AddAtEnd',
4441 'void',
4442 [param('ns3::Ptr< ns3::Packet const >', 'packet')])
4443 ## packet.h (module 'network'): void ns3::Packet::AddByteTag(ns3::Tag const & tag) const [member function]
4444 cls.add_method('AddByteTag',
4445 'void',
4446 [param('ns3::Tag const &', 'tag')],
4447 is_const=True)
4448 ## packet.h (module 'network'): void ns3::Packet::AddHeader(ns3::Header const & header) [member function]
4449 cls.add_method('AddHeader',
4450 'void',
4451 [param('ns3::Header const &', 'header')])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004452 ## packet.h (module 'network'): void ns3::Packet::AddPacketTag(ns3::Tag const & tag) const [member function]
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004453 cls.add_method('AddPacketTag',
4454 'void',
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004455 [param('ns3::Tag const &', 'tag')],
4456 is_const=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004457 ## packet.h (module 'network'): void ns3::Packet::AddPaddingAtEnd(uint32_t size) [member function]
4458 cls.add_method('AddPaddingAtEnd',
4459 'void',
4460 [param('uint32_t', 'size')])
4461 ## packet.h (module 'network'): void ns3::Packet::AddTrailer(ns3::Trailer const & trailer) [member function]
4462 cls.add_method('AddTrailer',
4463 'void',
4464 [param('ns3::Trailer const &', 'trailer')])
4465 ## packet.h (module 'network'): ns3::PacketMetadata::ItemIterator ns3::Packet::BeginItem() const [member function]
4466 cls.add_method('BeginItem',
4467 'ns3::PacketMetadata::ItemIterator',
4468 [],
4469 is_const=True)
4470 ## packet.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Packet::Copy() const [member function]
4471 cls.add_method('Copy',
4472 'ns3::Ptr< ns3::Packet >',
4473 [],
4474 is_const=True)
4475 ## packet.h (module 'network'): uint32_t ns3::Packet::CopyData(uint8_t * buffer, uint32_t size) const [member function]
4476 cls.add_method('CopyData',
4477 'uint32_t',
4478 [param('uint8_t *', 'buffer'), param('uint32_t', 'size')],
4479 is_const=True)
4480 ## packet.h (module 'network'): void ns3::Packet::CopyData(std::ostream * os, uint32_t size) const [member function]
4481 cls.add_method('CopyData',
4482 'void',
4483 [param('std::ostream *', 'os'), param('uint32_t', 'size')],
4484 is_const=True)
4485 ## packet.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Packet::CreateFragment(uint32_t start, uint32_t length) const [member function]
4486 cls.add_method('CreateFragment',
4487 'ns3::Ptr< ns3::Packet >',
4488 [param('uint32_t', 'start'), param('uint32_t', 'length')],
4489 is_const=True)
4490 ## packet.h (module 'network'): static void ns3::Packet::EnableChecking() [member function]
4491 cls.add_method('EnableChecking',
4492 'void',
4493 [],
4494 is_static=True)
4495 ## packet.h (module 'network'): static void ns3::Packet::EnablePrinting() [member function]
4496 cls.add_method('EnablePrinting',
4497 'void',
4498 [],
4499 is_static=True)
4500 ## packet.h (module 'network'): bool ns3::Packet::FindFirstMatchingByteTag(ns3::Tag & tag) const [member function]
4501 cls.add_method('FindFirstMatchingByteTag',
4502 'bool',
4503 [param('ns3::Tag &', 'tag')],
4504 is_const=True)
4505 ## packet.h (module 'network'): ns3::ByteTagIterator ns3::Packet::GetByteTagIterator() const [member function]
4506 cls.add_method('GetByteTagIterator',
4507 'ns3::ByteTagIterator',
4508 [],
4509 is_const=True)
4510 ## packet.h (module 'network'): ns3::Ptr<ns3::NixVector> ns3::Packet::GetNixVector() const [member function]
4511 cls.add_method('GetNixVector',
4512 'ns3::Ptr< ns3::NixVector >',
4513 [],
4514 is_const=True)
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004515 ## packet.h (module 'network'): ns3::PacketTagIterator ns3::Packet::GetPacketTagIterator() const [member function]
4516 cls.add_method('GetPacketTagIterator',
4517 'ns3::PacketTagIterator',
4518 [],
4519 is_const=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004520 ## packet.h (module 'network'): uint32_t ns3::Packet::GetSerializedSize() const [member function]
4521 cls.add_method('GetSerializedSize',
4522 'uint32_t',
4523 [],
4524 is_const=True)
4525 ## packet.h (module 'network'): uint32_t ns3::Packet::GetSize() const [member function]
4526 cls.add_method('GetSize',
4527 'uint32_t',
4528 [],
4529 is_const=True)
4530 ## packet.h (module 'network'): uint64_t ns3::Packet::GetUid() const [member function]
4531 cls.add_method('GetUid',
4532 'uint64_t',
4533 [],
4534 is_const=True)
4535 ## packet.h (module 'network'): uint8_t const * ns3::Packet::PeekData() const [member function]
4536 cls.add_method('PeekData',
4537 'uint8_t const *',
4538 [],
4539 deprecated=True, is_const=True)
4540 ## packet.h (module 'network'): uint32_t ns3::Packet::PeekHeader(ns3::Header & header) const [member function]
4541 cls.add_method('PeekHeader',
4542 'uint32_t',
4543 [param('ns3::Header &', 'header')],
4544 is_const=True)
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004545 ## packet.h (module 'network'): bool ns3::Packet::PeekPacketTag(ns3::Tag & tag) const [member function]
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004546 cls.add_method('PeekPacketTag',
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004547 'bool',
4548 [param('ns3::Tag &', 'tag')],
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004549 is_const=True)
4550 ## packet.h (module 'network'): uint32_t ns3::Packet::PeekTrailer(ns3::Trailer & trailer) [member function]
4551 cls.add_method('PeekTrailer',
4552 'uint32_t',
4553 [param('ns3::Trailer &', 'trailer')])
4554 ## packet.h (module 'network'): void ns3::Packet::Print(std::ostream & os) const [member function]
4555 cls.add_method('Print',
4556 'void',
4557 [param('std::ostream &', 'os')],
4558 is_const=True)
4559 ## packet.h (module 'network'): void ns3::Packet::PrintByteTags(std::ostream & os) const [member function]
4560 cls.add_method('PrintByteTags',
4561 'void',
4562 [param('std::ostream &', 'os')],
4563 is_const=True)
4564 ## packet.h (module 'network'): void ns3::Packet::PrintPacketTags(std::ostream & os) const [member function]
4565 cls.add_method('PrintPacketTags',
4566 'void',
4567 [param('std::ostream &', 'os')],
4568 is_const=True)
4569 ## packet.h (module 'network'): void ns3::Packet::RemoveAllByteTags() [member function]
4570 cls.add_method('RemoveAllByteTags',
4571 'void',
4572 [])
4573 ## packet.h (module 'network'): void ns3::Packet::RemoveAllPacketTags() [member function]
4574 cls.add_method('RemoveAllPacketTags',
4575 'void',
4576 [])
4577 ## packet.h (module 'network'): void ns3::Packet::RemoveAtEnd(uint32_t size) [member function]
4578 cls.add_method('RemoveAtEnd',
4579 'void',
4580 [param('uint32_t', 'size')])
4581 ## packet.h (module 'network'): void ns3::Packet::RemoveAtStart(uint32_t size) [member function]
4582 cls.add_method('RemoveAtStart',
4583 'void',
4584 [param('uint32_t', 'size')])
4585 ## packet.h (module 'network'): uint32_t ns3::Packet::RemoveHeader(ns3::Header & header) [member function]
4586 cls.add_method('RemoveHeader',
4587 'uint32_t',
4588 [param('ns3::Header &', 'header')])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004589 ## packet.h (module 'network'): bool ns3::Packet::RemovePacketTag(ns3::Tag & tag) [member function]
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004590 cls.add_method('RemovePacketTag',
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004591 'bool',
4592 [param('ns3::Tag &', 'tag')])
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004593 ## packet.h (module 'network'): uint32_t ns3::Packet::RemoveTrailer(ns3::Trailer & trailer) [member function]
4594 cls.add_method('RemoveTrailer',
4595 'uint32_t',
4596 [param('ns3::Trailer &', 'trailer')])
4597 ## packet.h (module 'network'): uint32_t ns3::Packet::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
4598 cls.add_method('Serialize',
4599 'uint32_t',
4600 [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')],
4601 is_const=True)
4602 ## packet.h (module 'network'): void ns3::Packet::SetNixVector(ns3::Ptr<ns3::NixVector> arg0) [member function]
4603 cls.add_method('SetNixVector',
4604 'void',
4605 [param('ns3::Ptr< ns3::NixVector >', 'arg0')])
4606 return
4607
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07004608def register_Ns3RandomVariableChecker_methods(root_module, cls):
4609 ## random-variable.h (module 'core'): ns3::RandomVariableChecker::RandomVariableChecker() [constructor]
4610 cls.add_constructor([])
4611 ## random-variable.h (module 'core'): ns3::RandomVariableChecker::RandomVariableChecker(ns3::RandomVariableChecker const & arg0) [copy constructor]
4612 cls.add_constructor([param('ns3::RandomVariableChecker const &', 'arg0')])
4613 return
4614
4615def register_Ns3RandomVariableValue_methods(root_module, cls):
4616 ## random-variable.h (module 'core'): ns3::RandomVariableValue::RandomVariableValue() [constructor]
4617 cls.add_constructor([])
4618 ## random-variable.h (module 'core'): ns3::RandomVariableValue::RandomVariableValue(ns3::RandomVariableValue const & arg0) [copy constructor]
4619 cls.add_constructor([param('ns3::RandomVariableValue const &', 'arg0')])
4620 ## random-variable.h (module 'core'): ns3::RandomVariableValue::RandomVariableValue(ns3::RandomVariable const & value) [constructor]
4621 cls.add_constructor([param('ns3::RandomVariable const &', 'value')])
4622 ## random-variable.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::RandomVariableValue::Copy() const [member function]
4623 cls.add_method('Copy',
4624 'ns3::Ptr< ns3::AttributeValue >',
4625 [],
4626 is_const=True, is_virtual=True)
4627 ## random-variable.h (module 'core'): bool ns3::RandomVariableValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4628 cls.add_method('DeserializeFromString',
4629 'bool',
4630 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4631 is_virtual=True)
4632 ## random-variable.h (module 'core'): ns3::RandomVariable ns3::RandomVariableValue::Get() const [member function]
4633 cls.add_method('Get',
4634 'ns3::RandomVariable',
4635 [],
4636 is_const=True)
4637 ## random-variable.h (module 'core'): std::string ns3::RandomVariableValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4638 cls.add_method('SerializeToString',
4639 'std::string',
4640 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4641 is_const=True, is_virtual=True)
4642 ## random-variable.h (module 'core'): void ns3::RandomVariableValue::Set(ns3::RandomVariable const & value) [member function]
4643 cls.add_method('Set',
4644 'void',
4645 [param('ns3::RandomVariable const &', 'value')])
4646 return
4647
4648def register_Ns3RocketfuelWeightsReader_methods(root_module, cls):
4649 ## rocketfuel-weights-reader.h (module 'ndnSIM'): ns3::RocketfuelWeightsReader::RocketfuelWeightsReader(std::string const & path="", double scale=1.0e+0) [constructor]
4650 cls.add_constructor([param('std::string const &', 'path', default_value='""'), param('double', 'scale', default_value='1.0e+0')])
4651 ## rocketfuel-weights-reader.h (module 'ndnSIM'): void ns3::RocketfuelWeightsReader::SetFileType(uint8_t inputType) [member function]
4652 cls.add_method('SetFileType',
4653 'void',
4654 [param('uint8_t', 'inputType')])
4655 ## rocketfuel-weights-reader.h (module 'ndnSIM'): ns3::NodeContainer ns3::RocketfuelWeightsReader::Read() [member function]
4656 cls.add_method('Read',
4657 'ns3::NodeContainer',
4658 [],
4659 is_virtual=True)
4660 ## rocketfuel-weights-reader.h (module 'ndnSIM'): void ns3::RocketfuelWeightsReader::Commit() [member function]
4661 cls.add_method('Commit',
4662 'void',
4663 [])
4664 return
4665
4666def register_Ns3SpringMobilityModel_methods(root_module, cls):
4667 ## spring-mobility-model.h (module 'ndnSIM'): ns3::SpringMobilityModel::SpringMobilityModel(ns3::SpringMobilityModel const & arg0) [copy constructor]
4668 cls.add_constructor([param('ns3::SpringMobilityModel const &', 'arg0')])
4669 ## spring-mobility-model.h (module 'ndnSIM'): ns3::SpringMobilityModel::SpringMobilityModel() [constructor]
4670 cls.add_constructor([])
4671 ## spring-mobility-model.h (module 'ndnSIM'): void ns3::SpringMobilityModel::AddSpring(ns3::Ptr<ns3::MobilityModel> node) [member function]
4672 cls.add_method('AddSpring',
4673 'void',
4674 [param('ns3::Ptr< ns3::MobilityModel >', 'node')])
4675 ## spring-mobility-model.h (module 'ndnSIM'): static ns3::TypeId ns3::SpringMobilityModel::GetTypeId() [member function]
4676 cls.add_method('GetTypeId',
4677 'ns3::TypeId',
4678 [],
4679 is_static=True)
4680 ## spring-mobility-model.h (module 'ndnSIM'): ns3::Vector ns3::SpringMobilityModel::DoGetPosition() const [member function]
4681 cls.add_method('DoGetPosition',
4682 'ns3::Vector',
4683 [],
4684 is_const=True, visibility='private', is_virtual=True)
4685 ## spring-mobility-model.h (module 'ndnSIM'): ns3::Vector ns3::SpringMobilityModel::DoGetVelocity() const [member function]
4686 cls.add_method('DoGetVelocity',
4687 'ns3::Vector',
4688 [],
4689 is_const=True, visibility='private', is_virtual=True)
4690 ## spring-mobility-model.h (module 'ndnSIM'): void ns3::SpringMobilityModel::DoSetPosition(ns3::Vector const & position) [member function]
4691 cls.add_method('DoSetPosition',
4692 'void',
4693 [param('ns3::Vector const &', 'position')],
4694 visibility='private', is_virtual=True)
4695 ## spring-mobility-model.h (module 'ndnSIM'): void ns3::SpringMobilityModel::DoStart() [member function]
4696 cls.add_method('DoStart',
4697 'void',
4698 [],
4699 visibility='private', is_virtual=True)
4700 return
4701
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004702def register_Ns3TimeChecker_methods(root_module, cls):
4703 ## nstime.h (module 'core'): ns3::TimeChecker::TimeChecker() [constructor]
4704 cls.add_constructor([])
4705 ## nstime.h (module 'core'): ns3::TimeChecker::TimeChecker(ns3::TimeChecker const & arg0) [copy constructor]
4706 cls.add_constructor([param('ns3::TimeChecker const &', 'arg0')])
4707 return
4708
4709def register_Ns3TimeValue_methods(root_module, cls):
4710 ## nstime.h (module 'core'): ns3::TimeValue::TimeValue() [constructor]
4711 cls.add_constructor([])
4712 ## nstime.h (module 'core'): ns3::TimeValue::TimeValue(ns3::TimeValue const & arg0) [copy constructor]
4713 cls.add_constructor([param('ns3::TimeValue const &', 'arg0')])
4714 ## nstime.h (module 'core'): ns3::TimeValue::TimeValue(ns3::Time const & value) [constructor]
4715 cls.add_constructor([param('ns3::Time const &', 'value')])
4716 ## nstime.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::TimeValue::Copy() const [member function]
4717 cls.add_method('Copy',
4718 'ns3::Ptr< ns3::AttributeValue >',
4719 [],
4720 is_const=True, is_virtual=True)
4721 ## nstime.h (module 'core'): bool ns3::TimeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4722 cls.add_method('DeserializeFromString',
4723 'bool',
4724 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4725 is_virtual=True)
4726 ## nstime.h (module 'core'): ns3::Time ns3::TimeValue::Get() const [member function]
4727 cls.add_method('Get',
4728 'ns3::Time',
4729 [],
4730 is_const=True)
4731 ## nstime.h (module 'core'): std::string ns3::TimeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4732 cls.add_method('SerializeToString',
4733 'std::string',
4734 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4735 is_const=True, is_virtual=True)
4736 ## nstime.h (module 'core'): void ns3::TimeValue::Set(ns3::Time const & value) [member function]
4737 cls.add_method('Set',
4738 'void',
4739 [param('ns3::Time const &', 'value')])
4740 return
4741
4742def register_Ns3TypeIdChecker_methods(root_module, cls):
4743 ## type-id.h (module 'core'): ns3::TypeIdChecker::TypeIdChecker() [constructor]
4744 cls.add_constructor([])
4745 ## type-id.h (module 'core'): ns3::TypeIdChecker::TypeIdChecker(ns3::TypeIdChecker const & arg0) [copy constructor]
4746 cls.add_constructor([param('ns3::TypeIdChecker const &', 'arg0')])
4747 return
4748
4749def register_Ns3TypeIdValue_methods(root_module, cls):
4750 ## type-id.h (module 'core'): ns3::TypeIdValue::TypeIdValue() [constructor]
4751 cls.add_constructor([])
4752 ## type-id.h (module 'core'): ns3::TypeIdValue::TypeIdValue(ns3::TypeIdValue const & arg0) [copy constructor]
4753 cls.add_constructor([param('ns3::TypeIdValue const &', 'arg0')])
4754 ## type-id.h (module 'core'): ns3::TypeIdValue::TypeIdValue(ns3::TypeId const & value) [constructor]
4755 cls.add_constructor([param('ns3::TypeId const &', 'value')])
4756 ## type-id.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::TypeIdValue::Copy() const [member function]
4757 cls.add_method('Copy',
4758 'ns3::Ptr< ns3::AttributeValue >',
4759 [],
4760 is_const=True, is_virtual=True)
4761 ## type-id.h (module 'core'): bool ns3::TypeIdValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4762 cls.add_method('DeserializeFromString',
4763 'bool',
4764 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4765 is_virtual=True)
4766 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeIdValue::Get() const [member function]
4767 cls.add_method('Get',
4768 'ns3::TypeId',
4769 [],
4770 is_const=True)
4771 ## type-id.h (module 'core'): std::string ns3::TypeIdValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4772 cls.add_method('SerializeToString',
4773 'std::string',
4774 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4775 is_const=True, is_virtual=True)
4776 ## type-id.h (module 'core'): void ns3::TypeIdValue::Set(ns3::TypeId const & value) [member function]
4777 cls.add_method('Set',
4778 'void',
4779 [param('ns3::TypeId const &', 'value')])
4780 return
4781
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07004782def register_Ns3UintegerValue_methods(root_module, cls):
4783 ## uinteger.h (module 'core'): ns3::UintegerValue::UintegerValue() [constructor]
4784 cls.add_constructor([])
4785 ## uinteger.h (module 'core'): ns3::UintegerValue::UintegerValue(ns3::UintegerValue const & arg0) [copy constructor]
4786 cls.add_constructor([param('ns3::UintegerValue const &', 'arg0')])
4787 ## uinteger.h (module 'core'): ns3::UintegerValue::UintegerValue(uint64_t const & value) [constructor]
4788 cls.add_constructor([param('uint64_t const &', 'value')])
4789 ## uinteger.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::UintegerValue::Copy() const [member function]
4790 cls.add_method('Copy',
4791 'ns3::Ptr< ns3::AttributeValue >',
4792 [],
4793 is_const=True, is_virtual=True)
4794 ## uinteger.h (module 'core'): bool ns3::UintegerValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4795 cls.add_method('DeserializeFromString',
4796 'bool',
4797 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4798 is_virtual=True)
4799 ## uinteger.h (module 'core'): uint64_t ns3::UintegerValue::Get() const [member function]
4800 cls.add_method('Get',
4801 'uint64_t',
4802 [],
4803 is_const=True)
4804 ## uinteger.h (module 'core'): std::string ns3::UintegerValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4805 cls.add_method('SerializeToString',
4806 'std::string',
4807 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4808 is_const=True, is_virtual=True)
4809 ## uinteger.h (module 'core'): void ns3::UintegerValue::Set(uint64_t const & value) [member function]
4810 cls.add_method('Set',
4811 'void',
4812 [param('uint64_t const &', 'value')])
4813 return
4814
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07004815def register_Ns3Vector2DChecker_methods(root_module, cls):
4816 ## vector.h (module 'core'): ns3::Vector2DChecker::Vector2DChecker() [constructor]
4817 cls.add_constructor([])
4818 ## vector.h (module 'core'): ns3::Vector2DChecker::Vector2DChecker(ns3::Vector2DChecker const & arg0) [copy constructor]
4819 cls.add_constructor([param('ns3::Vector2DChecker const &', 'arg0')])
4820 return
4821
4822def register_Ns3Vector2DValue_methods(root_module, cls):
4823 ## vector.h (module 'core'): ns3::Vector2DValue::Vector2DValue() [constructor]
4824 cls.add_constructor([])
4825 ## vector.h (module 'core'): ns3::Vector2DValue::Vector2DValue(ns3::Vector2DValue const & arg0) [copy constructor]
4826 cls.add_constructor([param('ns3::Vector2DValue const &', 'arg0')])
4827 ## vector.h (module 'core'): ns3::Vector2DValue::Vector2DValue(ns3::Vector2D const & value) [constructor]
4828 cls.add_constructor([param('ns3::Vector2D const &', 'value')])
4829 ## vector.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::Vector2DValue::Copy() const [member function]
4830 cls.add_method('Copy',
4831 'ns3::Ptr< ns3::AttributeValue >',
4832 [],
4833 is_const=True, is_virtual=True)
4834 ## vector.h (module 'core'): bool ns3::Vector2DValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4835 cls.add_method('DeserializeFromString',
4836 'bool',
4837 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4838 is_virtual=True)
4839 ## vector.h (module 'core'): ns3::Vector2D ns3::Vector2DValue::Get() const [member function]
4840 cls.add_method('Get',
4841 'ns3::Vector2D',
4842 [],
4843 is_const=True)
4844 ## vector.h (module 'core'): std::string ns3::Vector2DValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4845 cls.add_method('SerializeToString',
4846 'std::string',
4847 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4848 is_const=True, is_virtual=True)
4849 ## vector.h (module 'core'): void ns3::Vector2DValue::Set(ns3::Vector2D const & value) [member function]
4850 cls.add_method('Set',
4851 'void',
4852 [param('ns3::Vector2D const &', 'value')])
4853 return
4854
4855def register_Ns3Vector3DChecker_methods(root_module, cls):
4856 ## vector.h (module 'core'): ns3::Vector3DChecker::Vector3DChecker() [constructor]
4857 cls.add_constructor([])
4858 ## vector.h (module 'core'): ns3::Vector3DChecker::Vector3DChecker(ns3::Vector3DChecker const & arg0) [copy constructor]
4859 cls.add_constructor([param('ns3::Vector3DChecker const &', 'arg0')])
4860 return
4861
4862def register_Ns3Vector3DValue_methods(root_module, cls):
4863 ## vector.h (module 'core'): ns3::Vector3DValue::Vector3DValue() [constructor]
4864 cls.add_constructor([])
4865 ## vector.h (module 'core'): ns3::Vector3DValue::Vector3DValue(ns3::Vector3DValue const & arg0) [copy constructor]
4866 cls.add_constructor([param('ns3::Vector3DValue const &', 'arg0')])
4867 ## vector.h (module 'core'): ns3::Vector3DValue::Vector3DValue(ns3::Vector3D const & value) [constructor]
4868 cls.add_constructor([param('ns3::Vector3D const &', 'value')])
4869 ## vector.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::Vector3DValue::Copy() const [member function]
4870 cls.add_method('Copy',
4871 'ns3::Ptr< ns3::AttributeValue >',
4872 [],
4873 is_const=True, is_virtual=True)
4874 ## vector.h (module 'core'): bool ns3::Vector3DValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4875 cls.add_method('DeserializeFromString',
4876 'bool',
4877 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4878 is_virtual=True)
4879 ## vector.h (module 'core'): ns3::Vector3D ns3::Vector3DValue::Get() const [member function]
4880 cls.add_method('Get',
4881 'ns3::Vector3D',
4882 [],
4883 is_const=True)
4884 ## vector.h (module 'core'): std::string ns3::Vector3DValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4885 cls.add_method('SerializeToString',
4886 'std::string',
4887 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4888 is_const=True, is_virtual=True)
4889 ## vector.h (module 'core'): void ns3::Vector3DValue::Set(ns3::Vector3D const & value) [member function]
4890 cls.add_method('Set',
4891 'void',
4892 [param('ns3::Vector3D const &', 'value')])
4893 return
4894
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004895def register_Ns3AddressChecker_methods(root_module, cls):
4896 ## address.h (module 'network'): ns3::AddressChecker::AddressChecker() [constructor]
4897 cls.add_constructor([])
4898 ## address.h (module 'network'): ns3::AddressChecker::AddressChecker(ns3::AddressChecker const & arg0) [copy constructor]
4899 cls.add_constructor([param('ns3::AddressChecker const &', 'arg0')])
4900 return
4901
4902def register_Ns3AddressValue_methods(root_module, cls):
4903 ## address.h (module 'network'): ns3::AddressValue::AddressValue() [constructor]
4904 cls.add_constructor([])
4905 ## address.h (module 'network'): ns3::AddressValue::AddressValue(ns3::AddressValue const & arg0) [copy constructor]
4906 cls.add_constructor([param('ns3::AddressValue const &', 'arg0')])
4907 ## address.h (module 'network'): ns3::AddressValue::AddressValue(ns3::Address const & value) [constructor]
4908 cls.add_constructor([param('ns3::Address const &', 'value')])
4909 ## address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::AddressValue::Copy() const [member function]
4910 cls.add_method('Copy',
4911 'ns3::Ptr< ns3::AttributeValue >',
4912 [],
4913 is_const=True, is_virtual=True)
4914 ## address.h (module 'network'): bool ns3::AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4915 cls.add_method('DeserializeFromString',
4916 'bool',
4917 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4918 is_virtual=True)
4919 ## address.h (module 'network'): ns3::Address ns3::AddressValue::Get() const [member function]
4920 cls.add_method('Get',
4921 'ns3::Address',
4922 [],
4923 is_const=True)
4924 ## address.h (module 'network'): std::string ns3::AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4925 cls.add_method('SerializeToString',
4926 'std::string',
4927 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4928 is_const=True, is_virtual=True)
4929 ## address.h (module 'network'): void ns3::AddressValue::Set(ns3::Address const & value) [member function]
4930 cls.add_method('Set',
4931 'void',
4932 [param('ns3::Address const &', 'value')])
4933 return
4934
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004935def register_Ns3NdnApp_methods(root_module, cls):
4936 ## ndn-app.h (module 'ndnSIM'): ns3::ndn::App::App(ns3::ndn::App const & arg0) [copy constructor]
4937 cls.add_constructor([param('ns3::ndn::App const &', 'arg0')])
4938 ## ndn-app.h (module 'ndnSIM'): ns3::ndn::App::App() [constructor]
4939 cls.add_constructor([])
4940 ## ndn-app.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::App::GetTypeId() [member function]
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07004941 cls.add_method('GetTypeId',
4942 'ns3::TypeId',
4943 [],
4944 is_static=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004945 ## 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]
4946 cls.add_method('OnContentObject',
4947 'void',
4948 [param('ns3::Ptr< ns3::ndn::ContentObjectHeader const > const &', 'contentObject'), param('ns3::Ptr< ns3::Packet >', 'payload')],
4949 is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07004950 ## ndn-app.h (module 'ndnSIM'): void ns3::ndn::App::OnInterest(ns3::Ptr<ns3::ndn::InterestHeader const> const & interest, ns3::Ptr<ns3::Packet> packet) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004951 cls.add_method('OnInterest',
4952 'void',
4953 [param('ns3::Ptr< ns3::ndn::InterestHeader const > const &', 'interest'), param('ns3::Ptr< ns3::Packet >', 'packet')],
4954 is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07004955 ## ndn-app.h (module 'ndnSIM'): void ns3::ndn::App::OnNack(ns3::Ptr<ns3::ndn::InterestHeader const> const & interest, ns3::Ptr<ns3::Packet> packet) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004956 cls.add_method('OnNack',
4957 'void',
4958 [param('ns3::Ptr< ns3::ndn::InterestHeader const > const &', 'interest'), param('ns3::Ptr< ns3::Packet >', 'packet')],
4959 is_virtual=True)
4960 ## 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 -07004961 cls.add_method('RegisterProtocolHandler',
4962 'void',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004963 [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')])
4964 ## ndn-app.h (module 'ndnSIM'): void ns3::ndn::App::DoDispose() [member function]
4965 cls.add_method('DoDispose',
4966 'void',
4967 [],
4968 visibility='protected', is_virtual=True)
4969 ## ndn-app.h (module 'ndnSIM'): void ns3::ndn::App::StartApplication() [member function]
4970 cls.add_method('StartApplication',
4971 'void',
4972 [],
4973 visibility='protected', is_virtual=True)
4974 ## ndn-app.h (module 'ndnSIM'): void ns3::ndn::App::StopApplication() [member function]
4975 cls.add_method('StopApplication',
4976 'void',
4977 [],
4978 visibility='protected', is_virtual=True)
4979 return
4980
4981def register_Ns3NdnAppHelper_methods(root_module, cls):
4982 ## ndn-app-helper.h (module 'ndnSIM'): ns3::ndn::AppHelper::AppHelper(ns3::ndn::AppHelper const & arg0) [copy constructor]
4983 cls.add_constructor([param('ns3::ndn::AppHelper const &', 'arg0')])
4984 ## ndn-app-helper.h (module 'ndnSIM'): ns3::ndn::AppHelper::AppHelper(std::string const & prefix) [constructor]
4985 cls.add_constructor([param('std::string const &', 'prefix')])
4986 ## ndn-app-helper.h (module 'ndnSIM'): ns3::ApplicationContainer ns3::ndn::AppHelper::Install(ns3::NodeContainer c) [member function]
4987 cls.add_method('Install',
4988 'ns3::ApplicationContainer',
4989 [param('ns3::NodeContainer', 'c')])
4990 ## ndn-app-helper.h (module 'ndnSIM'): ns3::ApplicationContainer ns3::ndn::AppHelper::Install(ns3::Ptr<ns3::Node> node) [member function]
4991 cls.add_method('Install',
4992 'ns3::ApplicationContainer',
4993 [param('ns3::Ptr< ns3::Node >', 'node')])
4994 ## ndn-app-helper.h (module 'ndnSIM'): ns3::ApplicationContainer ns3::ndn::AppHelper::Install(std::string nodeName) [member function]
4995 cls.add_method('Install',
4996 'ns3::ApplicationContainer',
4997 [param('std::string', 'nodeName')])
4998 ## ndn-app-helper.h (module 'ndnSIM'): void ns3::ndn::AppHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function]
4999 cls.add_method('SetAttribute',
5000 'void',
5001 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
5002 ## ndn-app-helper.h (module 'ndnSIM'): void ns3::ndn::AppHelper::SetPrefix(std::string const & prefix) [member function]
5003 cls.add_method('SetPrefix',
5004 'void',
5005 [param('std::string const &', 'prefix')])
5006 return
5007
5008def register_Ns3NdnContentObjectHeader_methods(root_module, cls):
5009 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeader::ContentObjectHeader(ns3::ndn::ContentObjectHeader const & arg0) [copy constructor]
5010 cls.add_constructor([param('ns3::ndn::ContentObjectHeader const &', 'arg0')])
5011 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeader::ContentObjectHeader() [constructor]
5012 cls.add_constructor([])
5013 ## ndn-content-object-header.h (module 'ndnSIM'): uint32_t ns3::ndn::ContentObjectHeader::Deserialize(ns3::Buffer::Iterator start) [member function]
5014 cls.add_method('Deserialize',
5015 'uint32_t',
5016 [param('ns3::Buffer::Iterator', 'start')],
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07005017 is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005018 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::TypeId ns3::ndn::ContentObjectHeader::GetInstanceTypeId() const [member function]
5019 cls.add_method('GetInstanceTypeId',
5020 'ns3::TypeId',
5021 [],
5022 is_const=True, is_virtual=True)
5023 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::NameComponents const & ns3::ndn::ContentObjectHeader::GetName() const [member function]
5024 cls.add_method('GetName',
5025 'ns3::ndn::NameComponents const &',
5026 [],
5027 is_const=True)
5028 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::NameComponents const> ns3::ndn::ContentObjectHeader::GetNamePtr() const [member function]
5029 cls.add_method('GetNamePtr',
5030 'ns3::Ptr< ns3::ndn::NameComponents const >',
5031 [],
5032 is_const=True)
5033 ## ndn-content-object-header.h (module 'ndnSIM'): uint32_t ns3::ndn::ContentObjectHeader::GetSerializedSize() const [member function]
5034 cls.add_method('GetSerializedSize',
5035 'uint32_t',
5036 [],
5037 is_const=True, is_virtual=True)
5038 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeader::Signature & ns3::ndn::ContentObjectHeader::GetSignature() [member function]
5039 cls.add_method('GetSignature',
5040 'ns3::ndn::ContentObjectHeader::Signature &',
5041 [])
5042 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeader::Signature const & ns3::ndn::ContentObjectHeader::GetSignature() const [member function]
5043 cls.add_method('GetSignature',
5044 'ns3::ndn::ContentObjectHeader::Signature const &',
5045 [],
5046 is_const=True)
5047 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeader::SignedInfo & ns3::ndn::ContentObjectHeader::GetSignedInfo() [member function]
5048 cls.add_method('GetSignedInfo',
5049 'ns3::ndn::ContentObjectHeader::SignedInfo &',
5050 [])
5051 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeader::SignedInfo const & ns3::ndn::ContentObjectHeader::GetSignedInfo() const [member function]
5052 cls.add_method('GetSignedInfo',
5053 'ns3::ndn::ContentObjectHeader::SignedInfo const &',
5054 [],
5055 is_const=True)
5056 ## ndn-content-object-header.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::ContentObjectHeader::GetTypeId() [member function]
5057 cls.add_method('GetTypeId',
5058 'ns3::TypeId',
5059 [],
5060 is_static=True)
5061 ## ndn-content-object-header.h (module 'ndnSIM'): void ns3::ndn::ContentObjectHeader::Print(std::ostream & os) const [member function]
5062 cls.add_method('Print',
5063 'void',
5064 [param('std::ostream &', 'os')],
5065 is_const=True, is_virtual=True)
5066 ## ndn-content-object-header.h (module 'ndnSIM'): void ns3::ndn::ContentObjectHeader::Serialize(ns3::Buffer::Iterator start) const [member function]
5067 cls.add_method('Serialize',
5068 'void',
5069 [param('ns3::Buffer::Iterator', 'start')],
5070 is_const=True, is_virtual=True)
5071 ## ndn-content-object-header.h (module 'ndnSIM'): void ns3::ndn::ContentObjectHeader::SetName(ns3::Ptr<ns3::ndn::NameComponents> const & name) [member function]
5072 cls.add_method('SetName',
5073 'void',
5074 [param('ns3::Ptr< ns3::ndn::NameComponents > const &', 'name')])
5075 return
5076
5077def register_Ns3NdnContentObjectHeaderSignature_methods(root_module, cls):
5078 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeader::Signature::Signature(ns3::ndn::ContentObjectHeader::Signature const & arg0) [copy constructor]
5079 cls.add_constructor([param('ns3::ndn::ContentObjectHeader::Signature const &', 'arg0')])
5080 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeader::Signature::Signature() [constructor]
5081 cls.add_constructor([])
5082 ## ndn-content-object-header.h (module 'ndnSIM'): std::string const & ns3::ndn::ContentObjectHeader::Signature::GetDigestAlgorithm() const [member function]
5083 cls.add_method('GetDigestAlgorithm',
5084 'std::string const &',
5085 [],
5086 is_const=True)
5087 ## ndn-content-object-header.h (module 'ndnSIM'): uint32_t ns3::ndn::ContentObjectHeader::Signature::GetSignatureBits() const [member function]
5088 cls.add_method('GetSignatureBits',
5089 'uint32_t',
5090 [],
5091 is_const=True)
5092 ## ndn-content-object-header.h (module 'ndnSIM'): void ns3::ndn::ContentObjectHeader::Signature::SetDigestAlgorithm(std::string const & digestAlgorithm) [member function]
5093 cls.add_method('SetDigestAlgorithm',
5094 'void',
5095 [param('std::string const &', 'digestAlgorithm')])
5096 ## ndn-content-object-header.h (module 'ndnSIM'): void ns3::ndn::ContentObjectHeader::Signature::SetSignatureBits(uint32_t signature) [member function]
5097 cls.add_method('SetSignatureBits',
5098 'void',
5099 [param('uint32_t', 'signature')])
5100 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeader::Signature::DefaultDigestAlgorithm [variable]
5101 cls.add_static_attribute('DefaultDigestAlgorithm', 'std::string const', is_const=True)
5102 return
5103
5104def register_Ns3NdnContentObjectHeaderSignedInfo_methods(root_module, cls):
5105 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeader::SignedInfo::SignedInfo(ns3::ndn::ContentObjectHeader::SignedInfo const & arg0) [copy constructor]
5106 cls.add_constructor([param('ns3::ndn::ContentObjectHeader::SignedInfo const &', 'arg0')])
5107 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeader::SignedInfo::SignedInfo() [constructor]
5108 cls.add_constructor([])
5109 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeader::ContentType ns3::ndn::ContentObjectHeader::SignedInfo::GetContentType() const [member function]
5110 cls.add_method('GetContentType',
5111 'ns3::ndn::ContentObjectHeader::ContentType',
5112 [],
5113 is_const=True)
5114 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::Time ns3::ndn::ContentObjectHeader::SignedInfo::GetFreshness() const [member function]
5115 cls.add_method('GetFreshness',
5116 'ns3::Time',
5117 [],
5118 is_const=True)
5119 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::NameComponents const> ns3::ndn::ContentObjectHeader::SignedInfo::GetKeyLocator() const [member function]
5120 cls.add_method('GetKeyLocator',
5121 'ns3::Ptr< ns3::ndn::NameComponents const >',
5122 [],
5123 is_const=True)
5124 ## ndn-content-object-header.h (module 'ndnSIM'): uint32_t ns3::ndn::ContentObjectHeader::SignedInfo::GetPublisherPublicKeyDigest() const [member function]
5125 cls.add_method('GetPublisherPublicKeyDigest',
5126 'uint32_t',
5127 [],
5128 is_const=True)
5129 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::Time ns3::ndn::ContentObjectHeader::SignedInfo::GetTimestamp() const [member function]
5130 cls.add_method('GetTimestamp',
5131 'ns3::Time',
5132 [],
5133 is_const=True)
5134 ## ndn-content-object-header.h (module 'ndnSIM'): void ns3::ndn::ContentObjectHeader::SignedInfo::SetContentType(ns3::ndn::ContentObjectHeader::ContentType type) [member function]
5135 cls.add_method('SetContentType',
5136 'void',
5137 [param('ns3::ndn::ContentObjectHeader::ContentType', 'type')])
5138 ## ndn-content-object-header.h (module 'ndnSIM'): void ns3::ndn::ContentObjectHeader::SignedInfo::SetFreshness(ns3::Time const & freshness) [member function]
5139 cls.add_method('SetFreshness',
5140 'void',
5141 [param('ns3::Time const &', 'freshness')])
5142 ## ndn-content-object-header.h (module 'ndnSIM'): void ns3::ndn::ContentObjectHeader::SignedInfo::SetKeyLocator(ns3::Ptr<ns3::ndn::NameComponents const> keyLocator) [member function]
5143 cls.add_method('SetKeyLocator',
5144 'void',
5145 [param('ns3::Ptr< ns3::ndn::NameComponents const >', 'keyLocator')])
5146 ## ndn-content-object-header.h (module 'ndnSIM'): void ns3::ndn::ContentObjectHeader::SignedInfo::SetPublisherPublicKeyDigest(uint32_t digest) [member function]
5147 cls.add_method('SetPublisherPublicKeyDigest',
5148 'void',
5149 [param('uint32_t', 'digest')])
5150 ## ndn-content-object-header.h (module 'ndnSIM'): void ns3::ndn::ContentObjectHeader::SignedInfo::SetTimestamp(ns3::Time const & timestamp) [member function]
5151 cls.add_method('SetTimestamp',
5152 'void',
5153 [param('ns3::Time const &', 'timestamp')])
5154 return
5155
5156def register_Ns3NdnContentObjectHeaderException_methods(root_module, cls):
5157 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeaderException::ContentObjectHeaderException() [constructor]
5158 cls.add_constructor([])
5159 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeaderException::ContentObjectHeaderException(ns3::ndn::ContentObjectHeaderException const & arg0) [copy constructor]
5160 cls.add_constructor([param('ns3::ndn::ContentObjectHeaderException const &', 'arg0')])
5161 return
5162
5163def register_Ns3NdnContentObjectTail_methods(root_module, cls):
5164 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectTail::ContentObjectTail(ns3::ndn::ContentObjectTail const & arg0) [copy constructor]
5165 cls.add_constructor([param('ns3::ndn::ContentObjectTail const &', 'arg0')])
5166 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectTail::ContentObjectTail() [constructor]
5167 cls.add_constructor([])
5168 ## ndn-content-object-header.h (module 'ndnSIM'): uint32_t ns3::ndn::ContentObjectTail::Deserialize(ns3::Buffer::Iterator start) [member function]
5169 cls.add_method('Deserialize',
5170 'uint32_t',
5171 [param('ns3::Buffer::Iterator', 'start')],
5172 is_virtual=True)
5173 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::TypeId ns3::ndn::ContentObjectTail::GetInstanceTypeId() const [member function]
5174 cls.add_method('GetInstanceTypeId',
5175 'ns3::TypeId',
5176 [],
5177 is_const=True, is_virtual=True)
5178 ## ndn-content-object-header.h (module 'ndnSIM'): uint32_t ns3::ndn::ContentObjectTail::GetSerializedSize() const [member function]
5179 cls.add_method('GetSerializedSize',
5180 'uint32_t',
5181 [],
5182 is_const=True, is_virtual=True)
5183 ## ndn-content-object-header.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::ContentObjectTail::GetTypeId() [member function]
5184 cls.add_method('GetTypeId',
5185 'ns3::TypeId',
5186 [],
5187 is_static=True)
5188 ## ndn-content-object-header.h (module 'ndnSIM'): void ns3::ndn::ContentObjectTail::Print(std::ostream & os) const [member function]
5189 cls.add_method('Print',
5190 'void',
5191 [param('std::ostream &', 'os')],
5192 is_const=True, is_virtual=True)
5193 ## ndn-content-object-header.h (module 'ndnSIM'): void ns3::ndn::ContentObjectTail::Serialize(ns3::Buffer::Iterator start) const [member function]
5194 cls.add_method('Serialize',
5195 'void',
5196 [param('ns3::Buffer::Iterator', 'start')],
5197 is_const=True, is_virtual=True)
5198 return
5199
5200def register_Ns3NdnContentStore_methods(root_module, cls):
5201 cls.add_output_stream_operator()
5202 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::ContentStore::ContentStore() [constructor]
5203 cls.add_constructor([])
5204 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::ContentStore::ContentStore(ns3::ndn::ContentStore const & arg0) [copy constructor]
5205 cls.add_constructor([param('ns3::ndn::ContentStore const &', 'arg0')])
5206 ## 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]
5207 cls.add_method('Add',
5208 'bool',
5209 [param('ns3::Ptr< ns3::ndn::ContentObjectHeader const >', 'header'), param('ns3::Ptr< ns3::Packet const >', 'packet')],
5210 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07005211 ## ndn-content-store.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::cs::Entry> ns3::ndn::ContentStore::Begin() [member function]
5212 cls.add_method('Begin',
5213 'ns3::Ptr< ns3::ndn::cs::Entry >',
5214 [],
5215 is_pure_virtual=True, is_virtual=True)
5216 ## ndn-content-store.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::cs::Entry> ns3::ndn::ContentStore::End() [member function]
5217 cls.add_method('End',
5218 'ns3::Ptr< ns3::ndn::cs::Entry >',
5219 [],
5220 is_pure_virtual=True, is_virtual=True)
5221 ## ndn-content-store.h (module 'ndnSIM'): static ns3::Ptr<ns3::ndn::ContentStore> ns3::ndn::ContentStore::GetContentStore(ns3::Ptr<ns3::Object> node) [member function]
5222 cls.add_method('GetContentStore',
5223 'ns3::Ptr< ns3::ndn::ContentStore >',
5224 [param('ns3::Ptr< ns3::Object >', 'node')],
5225 is_static=True)
5226 ## ndn-content-store.h (module 'ndnSIM'): uint32_t ns3::ndn::ContentStore::GetSize() const [member function]
5227 cls.add_method('GetSize',
5228 'uint32_t',
5229 [],
5230 is_pure_virtual=True, is_const=True, is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005231 ## ndn-content-store.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::ContentStore::GetTypeId() [member function]
5232 cls.add_method('GetTypeId',
5233 'ns3::TypeId',
5234 [],
5235 is_static=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005236 ## 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<ns3::ndn::InterestHeader const> interest) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005237 cls.add_method('Lookup',
5238 '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 >',
5239 [param('ns3::Ptr< ns3::ndn::InterestHeader const >', 'interest')],
5240 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07005241 ## 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]
5242 cls.add_method('Next',
5243 'ns3::Ptr< ns3::ndn::cs::Entry >',
5244 [param('ns3::Ptr< ns3::ndn::cs::Entry >', 'arg0')],
5245 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005246 ## ndn-content-store.h (module 'ndnSIM'): void ns3::ndn::ContentStore::Print(std::ostream & os) const [member function]
5247 cls.add_method('Print',
5248 'void',
5249 [param('std::ostream &', 'os')],
5250 is_pure_virtual=True, is_const=True, is_virtual=True)
5251 return
5252
5253def register_Ns3NdnFace_methods(root_module, cls):
5254 cls.add_output_stream_operator()
5255 cls.add_binary_comparison_operator('!=')
5256 cls.add_binary_comparison_operator('<')
5257 cls.add_binary_comparison_operator('==')
5258 ## ndn-face.h (module 'ndnSIM'): ns3::ndn::Face::Face(ns3::Ptr<ns3::Node> node) [constructor]
5259 cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node')])
5260 ## ndn-face.h (module 'ndnSIM'): uint32_t ns3::ndn::Face::GetId() const [member function]
5261 cls.add_method('GetId',
5262 'uint32_t',
5263 [],
5264 is_const=True)
5265 ## ndn-face.h (module 'ndnSIM'): uint16_t ns3::ndn::Face::GetMetric() const [member function]
5266 cls.add_method('GetMetric',
5267 'uint16_t',
5268 [],
5269 is_const=True, is_virtual=True)
5270 ## ndn-face.h (module 'ndnSIM'): ns3::Ptr<ns3::Node> ns3::ndn::Face::GetNode() const [member function]
5271 cls.add_method('GetNode',
5272 'ns3::Ptr< ns3::Node >',
5273 [],
5274 is_const=True)
5275 ## ndn-face.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::Face::GetTypeId() [member function]
5276 cls.add_method('GetTypeId',
5277 'ns3::TypeId',
5278 [],
5279 is_static=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005280 ## ndn-face.h (module 'ndnSIM'): bool ns3::ndn::Face::IsUp() const [member function]
5281 cls.add_method('IsUp',
5282 'bool',
5283 [],
5284 is_const=True, is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005285 ## ndn-face.h (module 'ndnSIM'): std::ostream & ns3::ndn::Face::Print(std::ostream & os) const [member function]
Alexander Afanasyev3073da82012-06-19 14:57:43 -07005286 cls.add_method('Print',
5287 'std::ostream &',
5288 [param('std::ostream &', 'os')],
5289 is_const=True, is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005290 ## ndn-face.h (module 'ndnSIM'): bool ns3::ndn::Face::Receive(ns3::Ptr<const ns3::Packet> const & p) [member function]
5291 cls.add_method('Receive',
5292 'bool',
5293 [param('ns3::Ptr< ns3::Packet const > const &', 'p')])
5294 ## 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]
5295 cls.add_method('RegisterProtocolHandler',
5296 'void',
5297 [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')],
5298 is_virtual=True)
5299 ## ndn-face.h (module 'ndnSIM'): bool ns3::ndn::Face::Send(ns3::Ptr<ns3::Packet> p) [member function]
5300 cls.add_method('Send',
5301 'bool',
5302 [param('ns3::Ptr< ns3::Packet >', 'p')])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005303 ## ndn-face.h (module 'ndnSIM'): void ns3::ndn::Face::SetId(uint32_t id) [member function]
5304 cls.add_method('SetId',
5305 'void',
5306 [param('uint32_t', 'id')])
5307 ## ndn-face.h (module 'ndnSIM'): void ns3::ndn::Face::SetMetric(uint16_t metric) [member function]
5308 cls.add_method('SetMetric',
5309 'void',
5310 [param('uint16_t', 'metric')],
5311 is_virtual=True)
5312 ## ndn-face.h (module 'ndnSIM'): void ns3::ndn::Face::SetUp(bool up=true) [member function]
5313 cls.add_method('SetUp',
5314 'void',
5315 [param('bool', 'up', default_value='true')],
5316 is_virtual=True)
5317 ## ndn-face.h (module 'ndnSIM'): bool ns3::ndn::Face::SendImpl(ns3::Ptr<ns3::Packet> p) [member function]
5318 cls.add_method('SendImpl',
5319 'bool',
5320 [param('ns3::Ptr< ns3::Packet >', 'p')],
5321 is_pure_virtual=True, visibility='protected', is_virtual=True)
5322 return
5323
5324def register_Ns3NdnFaceContainer_methods(root_module, cls):
5325 ## ndn-face-container.h (module 'ndnSIM'): ns3::ndn::FaceContainer::FaceContainer() [constructor]
5326 cls.add_constructor([])
5327 ## ndn-face-container.h (module 'ndnSIM'): ns3::ndn::FaceContainer::FaceContainer(ns3::ndn::FaceContainer const & other) [copy constructor]
5328 cls.add_constructor([param('ns3::ndn::FaceContainer const &', 'other')])
5329 ## ndn-face-container.h (module 'ndnSIM'): void ns3::ndn::FaceContainer::Add(ns3::Ptr<ns3::ndn::Face> const & face) [member function]
5330 cls.add_method('Add',
5331 'void',
5332 [param('ns3::Ptr< ns3::ndn::Face > const &', 'face')])
5333 ## ndn-face-container.h (module 'ndnSIM'): void ns3::ndn::FaceContainer::AddAll(ns3::Ptr<ns3::ndn::FaceContainer> other) [member function]
5334 cls.add_method('AddAll',
5335 'void',
5336 [param('ns3::Ptr< ns3::ndn::FaceContainer >', 'other')])
5337 ## ndn-face-container.h (module 'ndnSIM'): void ns3::ndn::FaceContainer::AddAll(ns3::ndn::FaceContainer const & other) [member function]
5338 cls.add_method('AddAll',
5339 'void',
5340 [param('ns3::ndn::FaceContainer const &', 'other')])
5341 ## 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]
5342 cls.add_method('Begin',
5343 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::ndn::Face > const, std::vector< ns3::Ptr< ns3::ndn::Face > > >',
5344 [],
5345 is_const=True)
5346 ## 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]
5347 cls.add_method('End',
5348 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::ndn::Face > const, std::vector< ns3::Ptr< ns3::ndn::Face > > >',
5349 [],
5350 is_const=True)
5351 ## 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]
5352 cls.add_method('Get',
5353 'ns3::Ptr< ns3::ndn::Face >',
5354 [param('__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::ndn::Face > const, std::vector< ns3::Ptr< ns3::ndn::Face > > >', 'i')],
5355 is_const=True)
5356 ## ndn-face-container.h (module 'ndnSIM'): uint32_t ns3::ndn::FaceContainer::GetN() const [member function]
5357 cls.add_method('GetN',
5358 'uint32_t',
5359 [],
5360 is_const=True)
5361 return
5362
5363def register_Ns3NdnFib_methods(root_module, cls):
5364 cls.add_output_stream_operator()
5365 ## ndn-fib.h (module 'ndnSIM'): ns3::ndn::Fib::Fib() [constructor]
5366 cls.add_constructor([])
5367 ## 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]
5368 cls.add_method('Add',
5369 'ns3::Ptr< ns3::ndn::fib::Entry >',
5370 [param('ns3::ndn::NameComponents const &', 'prefix'), param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('int32_t', 'metric')],
5371 is_pure_virtual=True, is_virtual=True)
5372 ## 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]
5373 cls.add_method('Add',
5374 'ns3::Ptr< ns3::ndn::fib::Entry >',
5375 [param('ns3::Ptr< ns3::ndn::NameComponents const > const &', 'prefix'), param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('int32_t', 'metric')],
5376 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005377 ## ndn-fib.h (module 'ndnSIM'): ns3::Ptr<const ns3::ndn::fib::Entry> ns3::ndn::Fib::Begin() const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005378 cls.add_method('Begin',
5379 'ns3::Ptr< ns3::ndn::fib::Entry const >',
5380 [],
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005381 is_pure_virtual=True, is_const=True, is_virtual=True)
5382 ## ndn-fib.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::fib::Entry> ns3::ndn::Fib::Begin() [member function]
5383 cls.add_method('Begin',
5384 'ns3::Ptr< ns3::ndn::fib::Entry >',
5385 [],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005386 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005387 ## ndn-fib.h (module 'ndnSIM'): ns3::Ptr<const ns3::ndn::fib::Entry> ns3::ndn::Fib::End() const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005388 cls.add_method('End',
5389 'ns3::Ptr< ns3::ndn::fib::Entry const >',
5390 [],
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005391 is_pure_virtual=True, is_const=True, is_virtual=True)
5392 ## ndn-fib.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::fib::Entry> ns3::ndn::Fib::End() [member function]
5393 cls.add_method('End',
5394 'ns3::Ptr< ns3::ndn::fib::Entry >',
5395 [],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005396 is_pure_virtual=True, is_virtual=True)
5397 ## ndn-fib.h (module 'ndnSIM'): static ns3::Ptr<ns3::ndn::Fib> ns3::ndn::Fib::GetFib(ns3::Ptr<ns3::Object> node) [member function]
5398 cls.add_method('GetFib',
5399 'ns3::Ptr< ns3::ndn::Fib >',
5400 [param('ns3::Ptr< ns3::Object >', 'node')],
5401 is_static=True)
5402 ## ndn-fib.h (module 'ndnSIM'): uint32_t ns3::ndn::Fib::GetSize() const [member function]
5403 cls.add_method('GetSize',
5404 'uint32_t',
5405 [],
5406 is_pure_virtual=True, is_const=True, is_virtual=True)
5407 ## ndn-fib.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::Fib::GetTypeId() [member function]
5408 cls.add_method('GetTypeId',
5409 'ns3::TypeId',
5410 [],
5411 is_static=True)
5412 ## ndn-fib.h (module 'ndnSIM'): void ns3::ndn::Fib::InvalidateAll() [member function]
5413 cls.add_method('InvalidateAll',
5414 'void',
5415 [],
5416 is_pure_virtual=True, is_virtual=True)
5417 ## ndn-fib.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::fib::Entry> ns3::ndn::Fib::LongestPrefixMatch(ns3::ndn::InterestHeader const & interest) [member function]
5418 cls.add_method('LongestPrefixMatch',
5419 'ns3::Ptr< ns3::ndn::fib::Entry >',
5420 [param('ns3::ndn::InterestHeader const &', 'interest')],
5421 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005422 ## ndn-fib.h (module 'ndnSIM'): ns3::Ptr<const ns3::ndn::fib::Entry> ns3::ndn::Fib::Next(ns3::Ptr<const ns3::ndn::fib::Entry> arg0) const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005423 cls.add_method('Next',
5424 'ns3::Ptr< ns3::ndn::fib::Entry const >',
5425 [param('ns3::Ptr< ns3::ndn::fib::Entry const >', 'arg0')],
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005426 is_pure_virtual=True, is_const=True, is_virtual=True)
5427 ## ndn-fib.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::fib::Entry> ns3::ndn::Fib::Next(ns3::Ptr<ns3::ndn::fib::Entry> arg0) [member function]
5428 cls.add_method('Next',
5429 'ns3::Ptr< ns3::ndn::fib::Entry >',
5430 [param('ns3::Ptr< ns3::ndn::fib::Entry >', 'arg0')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005431 is_pure_virtual=True, is_virtual=True)
5432 ## ndn-fib.h (module 'ndnSIM'): void ns3::ndn::Fib::Print(std::ostream & os) const [member function]
5433 cls.add_method('Print',
5434 'void',
5435 [param('std::ostream &', 'os')],
5436 is_pure_virtual=True, is_const=True, is_virtual=True)
5437 ## ndn-fib.h (module 'ndnSIM'): void ns3::ndn::Fib::Remove(ns3::Ptr<ns3::ndn::NameComponents const> const & prefix) [member function]
5438 cls.add_method('Remove',
5439 'void',
5440 [param('ns3::Ptr< ns3::ndn::NameComponents const > const &', 'prefix')],
5441 is_pure_virtual=True, is_virtual=True)
5442 ## ndn-fib.h (module 'ndnSIM'): void ns3::ndn::Fib::RemoveFromAll(ns3::Ptr<ns3::ndn::Face> face) [member function]
5443 cls.add_method('RemoveFromAll',
5444 'void',
5445 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
5446 is_pure_virtual=True, is_virtual=True)
5447 return
5448
5449def register_Ns3NdnForwardingStrategy_methods(root_module, cls):
5450 ## ndn-forwarding-strategy.h (module 'ndnSIM'): ns3::ndn::ForwardingStrategy::ForwardingStrategy(ns3::ndn::ForwardingStrategy const & arg0) [copy constructor]
5451 cls.add_constructor([param('ns3::ndn::ForwardingStrategy const &', 'arg0')])
5452 ## ndn-forwarding-strategy.h (module 'ndnSIM'): ns3::ndn::ForwardingStrategy::ForwardingStrategy() [constructor]
5453 cls.add_constructor([])
Alexander Afanasyevf5c07742012-10-31 13:13:05 -07005454 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::AddFace(ns3::Ptr<ns3::ndn::Face> face) [member function]
5455 cls.add_method('AddFace',
5456 'void',
5457 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
5458 is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005459 ## ndn-forwarding-strategy.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::ForwardingStrategy::GetTypeId() [member function]
5460 cls.add_method('GetTypeId',
5461 'ns3::TypeId',
5462 [],
5463 is_static=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005464 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::OnData(ns3::Ptr<ns3::ndn::Face> face, ns3::Ptr<ns3::ndn::ContentObjectHeader const> header, ns3::Ptr<ns3::Packet> payload, ns3::Ptr<const ns3::Packet> origPacket) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005465 cls.add_method('OnData',
5466 'void',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005467 [param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('ns3::Ptr< ns3::ndn::ContentObjectHeader const >', 'header'), param('ns3::Ptr< ns3::Packet >', 'payload'), param('ns3::Ptr< ns3::Packet const >', 'origPacket')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005468 is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005469 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::OnInterest(ns3::Ptr<ns3::ndn::Face> face, ns3::Ptr<ns3::ndn::InterestHeader const> header, ns3::Ptr<const ns3::Packet> origPacket) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005470 cls.add_method('OnInterest',
5471 'void',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005472 [param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('ns3::Ptr< ns3::ndn::InterestHeader const >', 'header'), param('ns3::Ptr< ns3::Packet const >', 'origPacket')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005473 is_virtual=True)
5474 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::RemoveFace(ns3::Ptr<ns3::ndn::Face> face) [member function]
5475 cls.add_method('RemoveFace',
5476 'void',
5477 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
5478 is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005479 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::WillEraseTimedOutPendingInterest(ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
5480 cls.add_method('WillEraseTimedOutPendingInterest',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005481 'void',
5482 [param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
5483 is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005484 ## ndn-forwarding-strategy.h (module 'ndnSIM'): bool ns3::ndn::ForwardingStrategy::DetectRetransmittedInterest(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::InterestHeader const> header, ns3::Ptr<const ns3::Packet> origPacket, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005485 cls.add_method('DetectRetransmittedInterest',
5486 'bool',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005487 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::InterestHeader const >', 'header'), param('ns3::Ptr< ns3::Packet const >', 'origPacket'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005488 visibility='protected', is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005489 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DidCreatePitEntry(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::InterestHeader const> header, ns3::Ptr<const ns3::Packet> origPacket, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005490 cls.add_method('DidCreatePitEntry',
5491 'void',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005492 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::InterestHeader const >', 'header'), param('ns3::Ptr< ns3::Packet const >', 'origPacket'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005493 visibility='protected', is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005494 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DidExhaustForwardingOptions(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::InterestHeader const> header, ns3::Ptr<const ns3::Packet> origPacket, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005495 cls.add_method('DidExhaustForwardingOptions',
5496 'void',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005497 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::InterestHeader const >', 'header'), param('ns3::Ptr< ns3::Packet const >', 'origPacket'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005498 visibility='protected', is_virtual=True)
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07005499 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DidForwardSimilarInterest(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::InterestHeader const> header, ns3::Ptr<const ns3::Packet> origPacket, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
5500 cls.add_method('DidForwardSimilarInterest',
5501 'void',
5502 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::InterestHeader const >', 'header'), param('ns3::Ptr< ns3::Packet const >', 'origPacket'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
5503 visibility='protected', is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005504 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DidReceiveDuplicateInterest(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::InterestHeader const> header, ns3::Ptr<const ns3::Packet> origPacket, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005505 cls.add_method('DidReceiveDuplicateInterest',
5506 'void',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005507 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::InterestHeader const >', 'header'), param('ns3::Ptr< ns3::Packet const >', 'origPacket'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005508 visibility='protected', is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005509 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DidReceiveUnsolicitedData(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::ContentObjectHeader const> header, ns3::Ptr<const ns3::Packet> payload, ns3::Ptr<const ns3::Packet> origPacket) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005510 cls.add_method('DidReceiveUnsolicitedData',
5511 'void',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005512 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::ContentObjectHeader const >', 'header'), param('ns3::Ptr< ns3::Packet const >', 'payload'), param('ns3::Ptr< ns3::Packet const >', 'origPacket')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005513 visibility='protected', is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005514 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DidSendOutData(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::ContentObjectHeader const> header, ns3::Ptr<const ns3::Packet> payload, ns3::Ptr<const ns3::Packet> origPacket, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005515 cls.add_method('DidSendOutData',
5516 'void',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005517 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::ContentObjectHeader const >', 'header'), param('ns3::Ptr< ns3::Packet const >', 'payload'), param('ns3::Ptr< ns3::Packet const >', 'origPacket'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005518 visibility='protected', is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005519 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DidSendOutInterest(ns3::Ptr<ns3::ndn::Face> outFace, ns3::Ptr<ns3::ndn::InterestHeader const> header, ns3::Ptr<const ns3::Packet> origPacket, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005520 cls.add_method('DidSendOutInterest',
5521 'void',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005522 [param('ns3::Ptr< ns3::ndn::Face >', 'outFace'), param('ns3::Ptr< ns3::ndn::InterestHeader const >', 'header'), param('ns3::Ptr< ns3::Packet const >', 'origPacket'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005523 visibility='protected', is_virtual=True)
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07005524 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DidSuppressSimilarInterest(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::InterestHeader const> header, ns3::Ptr<const ns3::Packet> origPacket, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
5525 cls.add_method('DidSuppressSimilarInterest',
5526 'void',
5527 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::InterestHeader const >', 'header'), param('ns3::Ptr< ns3::Packet const >', 'origPacket'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
5528 visibility='protected', is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005529 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DoDispose() [member function]
5530 cls.add_method('DoDispose',
5531 'void',
5532 [],
5533 visibility='protected', is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005534 ## ndn-forwarding-strategy.h (module 'ndnSIM'): bool ns3::ndn::ForwardingStrategy::DoPropagateInterest(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::InterestHeader const> header, ns3::Ptr<const ns3::Packet> origPacket, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005535 cls.add_method('DoPropagateInterest',
5536 'bool',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005537 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::InterestHeader const >', 'header'), param('ns3::Ptr< ns3::Packet const >', 'origPacket'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005538 is_pure_virtual=True, visibility='protected', is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005539 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::FailedToCreatePitEntry(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::InterestHeader const> header, ns3::Ptr<const ns3::Packet> origPacket) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005540 cls.add_method('FailedToCreatePitEntry',
5541 'void',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005542 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::InterestHeader const >', 'header'), param('ns3::Ptr< ns3::Packet const >', 'origPacket')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005543 visibility='protected', is_virtual=True)
5544 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::NotifyNewAggregate() [member function]
5545 cls.add_method('NotifyNewAggregate',
5546 'void',
5547 [],
5548 visibility='protected', is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005549 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::PropagateInterest(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::InterestHeader const> header, ns3::Ptr<const ns3::Packet> origPacket, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005550 cls.add_method('PropagateInterest',
5551 'void',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005552 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::InterestHeader const >', 'header'), param('ns3::Ptr< ns3::Packet const >', 'origPacket'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005553 visibility='protected', is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005554 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::SatisfyPendingInterest(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::ContentObjectHeader const> header, ns3::Ptr<const ns3::Packet> payload, ns3::Ptr<const ns3::Packet> origPacket, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005555 cls.add_method('SatisfyPendingInterest',
5556 'void',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005557 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::ContentObjectHeader const >', 'header'), param('ns3::Ptr< ns3::Packet const >', 'payload'), param('ns3::Ptr< ns3::Packet const >', 'origPacket'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005558 visibility='protected', is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005559 ## ndn-forwarding-strategy.h (module 'ndnSIM'): bool ns3::ndn::ForwardingStrategy::ShouldSuppressIncomingInterest(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::InterestHeader const> header, ns3::Ptr<const ns3::Packet> origPacket, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005560 cls.add_method('ShouldSuppressIncomingInterest',
5561 'bool',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005562 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::InterestHeader const >', 'header'), param('ns3::Ptr< ns3::Packet const >', 'origPacket'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005563 visibility='protected', is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005564 ## ndn-forwarding-strategy.h (module 'ndnSIM'): bool ns3::ndn::ForwardingStrategy::TrySendOutInterest(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::Face> outFace, ns3::Ptr<ns3::ndn::InterestHeader const> header, ns3::Ptr<const ns3::Packet> origPacket, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
5565 cls.add_method('TrySendOutInterest',
5566 'bool',
5567 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::Face >', 'outFace'), param('ns3::Ptr< ns3::ndn::InterestHeader const >', 'header'), param('ns3::Ptr< ns3::Packet const >', 'origPacket'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
5568 visibility='protected', is_virtual=True)
5569 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::WillSatisfyPendingInterest(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005570 cls.add_method('WillSatisfyPendingInterest',
5571 'void',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005572 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005573 visibility='protected', is_virtual=True)
5574 return
5575
5576def register_Ns3NdnGlobalRoutingHelper_methods(root_module, cls):
5577 ## ndn-global-routing-helper.h (module 'ndnSIM'): ns3::ndn::GlobalRoutingHelper::GlobalRoutingHelper() [constructor]
5578 cls.add_constructor([])
5579 ## ndn-global-routing-helper.h (module 'ndnSIM'): ns3::ndn::GlobalRoutingHelper::GlobalRoutingHelper(ns3::ndn::GlobalRoutingHelper const & arg0) [copy constructor]
5580 cls.add_constructor([param('ns3::ndn::GlobalRoutingHelper const &', 'arg0')])
5581 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::AddOrigin(std::string const & prefix, ns3::Ptr<ns3::Node> node) [member function]
5582 cls.add_method('AddOrigin',
5583 'void',
5584 [param('std::string const &', 'prefix'), param('ns3::Ptr< ns3::Node >', 'node')])
5585 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::AddOrigin(std::string const & prefix, std::string const & nodeName) [member function]
5586 cls.add_method('AddOrigin',
5587 'void',
5588 [param('std::string const &', 'prefix'), param('std::string const &', 'nodeName')])
5589 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::AddOrigins(std::string const & prefix, ns3::NodeContainer const & nodes) [member function]
5590 cls.add_method('AddOrigins',
5591 'void',
5592 [param('std::string const &', 'prefix'), param('ns3::NodeContainer const &', 'nodes')])
5593 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::CalculateRoutes() [member function]
5594 cls.add_method('CalculateRoutes',
5595 'void',
5596 [])
5597 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::Install(ns3::Ptr<ns3::Node> node) [member function]
5598 cls.add_method('Install',
5599 'void',
5600 [param('ns3::Ptr< ns3::Node >', 'node')])
5601 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::Install(ns3::NodeContainer const & nodes) [member function]
5602 cls.add_method('Install',
5603 'void',
5604 [param('ns3::NodeContainer const &', 'nodes')])
5605 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::InstallAll() [member function]
5606 cls.add_method('InstallAll',
5607 'void',
5608 [])
5609 return
5610
5611def register_Ns3NdnHeaderHelper_methods(root_module, cls):
5612 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::HeaderHelper::HeaderHelper() [constructor]
5613 cls.add_constructor([])
5614 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::HeaderHelper::HeaderHelper(ns3::ndn::HeaderHelper const & arg0) [copy constructor]
5615 cls.add_constructor([param('ns3::ndn::HeaderHelper const &', 'arg0')])
5616 ## ndn-header-helper.h (module 'ndnSIM'): static ns3::ndn::HeaderHelper::Type ns3::ndn::HeaderHelper::GetNdnHeaderType(ns3::Ptr<const ns3::Packet> packet) [member function]
5617 cls.add_method('GetNdnHeaderType',
5618 'ns3::ndn::HeaderHelper::Type',
5619 [param('ns3::Ptr< ns3::Packet const >', 'packet')],
5620 is_static=True)
5621 return
5622
5623def register_Ns3NdnInterestHeader_methods(root_module, cls):
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005624 ## ndn-interest-header.h (module 'ndnSIM'): ns3::ndn::InterestHeader::InterestHeader() [constructor]
5625 cls.add_constructor([])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005626 ## ndn-interest-header.h (module 'ndnSIM'): ns3::ndn::InterestHeader::InterestHeader(ns3::ndn::InterestHeader const & interest) [copy constructor]
5627 cls.add_constructor([param('ns3::ndn::InterestHeader const &', 'interest')])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005628 ## ndn-interest-header.h (module 'ndnSIM'): uint32_t ns3::ndn::InterestHeader::Deserialize(ns3::Buffer::Iterator start) [member function]
5629 cls.add_method('Deserialize',
5630 'uint32_t',
5631 [param('ns3::Buffer::Iterator', 'start')],
5632 is_virtual=True)
5633 ## ndn-interest-header.h (module 'ndnSIM'): ns3::ndn::NameComponents const & ns3::ndn::InterestHeader::GetExclude() const [member function]
5634 cls.add_method('GetExclude',
5635 'ns3::ndn::NameComponents const &',
5636 [],
5637 is_const=True)
5638 ## ndn-interest-header.h (module 'ndnSIM'): ns3::TypeId ns3::ndn::InterestHeader::GetInstanceTypeId() const [member function]
5639 cls.add_method('GetInstanceTypeId',
5640 'ns3::TypeId',
5641 [],
5642 is_const=True, is_virtual=True)
Alexander Afanasyev663d63f2012-09-09 11:55:36 -07005643 ## ndn-interest-header.h (module 'ndnSIM'): static ns3::Ptr<ns3::ndn::InterestHeader> ns3::ndn::InterestHeader::GetInterest(ns3::Ptr<ns3::Packet> packet) [member function]
5644 cls.add_method('GetInterest',
5645 'ns3::Ptr< ns3::ndn::InterestHeader >',
5646 [param('ns3::Ptr< ns3::Packet >', 'packet')],
5647 is_static=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005648 ## ndn-interest-header.h (module 'ndnSIM'): ns3::Time ns3::ndn::InterestHeader::GetInterestLifetime() const [member function]
5649 cls.add_method('GetInterestLifetime',
5650 'ns3::Time',
5651 [],
5652 is_const=True)
5653 ## ndn-interest-header.h (module 'ndnSIM'): int32_t ns3::ndn::InterestHeader::GetMaxSuffixComponents() const [member function]
5654 cls.add_method('GetMaxSuffixComponents',
5655 'int32_t',
5656 [],
5657 is_const=True)
5658 ## ndn-interest-header.h (module 'ndnSIM'): int32_t ns3::ndn::InterestHeader::GetMinSuffixComponents() const [member function]
5659 cls.add_method('GetMinSuffixComponents',
5660 'int32_t',
5661 [],
5662 is_const=True)
5663 ## ndn-interest-header.h (module 'ndnSIM'): uint32_t ns3::ndn::InterestHeader::GetNack() const [member function]
5664 cls.add_method('GetNack',
5665 'uint32_t',
5666 [],
5667 is_const=True)
5668 ## ndn-interest-header.h (module 'ndnSIM'): ns3::ndn::NameComponents const & ns3::ndn::InterestHeader::GetName() const [member function]
5669 cls.add_method('GetName',
5670 'ns3::ndn::NameComponents const &',
5671 [],
5672 is_const=True)
5673 ## ndn-interest-header.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::NameComponents const> ns3::ndn::InterestHeader::GetNamePtr() const [member function]
5674 cls.add_method('GetNamePtr',
5675 'ns3::Ptr< ns3::ndn::NameComponents const >',
5676 [],
5677 is_const=True)
5678 ## ndn-interest-header.h (module 'ndnSIM'): uint32_t ns3::ndn::InterestHeader::GetNonce() const [member function]
5679 cls.add_method('GetNonce',
5680 'uint32_t',
5681 [],
5682 is_const=True)
5683 ## ndn-interest-header.h (module 'ndnSIM'): int8_t ns3::ndn::InterestHeader::GetScope() const [member function]
5684 cls.add_method('GetScope',
5685 'int8_t',
5686 [],
5687 is_const=True)
5688 ## ndn-interest-header.h (module 'ndnSIM'): uint32_t ns3::ndn::InterestHeader::GetSerializedSize() const [member function]
5689 cls.add_method('GetSerializedSize',
5690 'uint32_t',
5691 [],
5692 is_const=True, is_virtual=True)
5693 ## ndn-interest-header.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::InterestHeader::GetTypeId() [member function]
5694 cls.add_method('GetTypeId',
5695 'ns3::TypeId',
5696 [],
5697 is_static=True)
5698 ## ndn-interest-header.h (module 'ndnSIM'): bool ns3::ndn::InterestHeader::IsEnabledAnswerOriginKind() const [member function]
5699 cls.add_method('IsEnabledAnswerOriginKind',
5700 'bool',
5701 [],
5702 is_const=True)
5703 ## ndn-interest-header.h (module 'ndnSIM'): bool ns3::ndn::InterestHeader::IsEnabledChildSelector() const [member function]
5704 cls.add_method('IsEnabledChildSelector',
5705 'bool',
5706 [],
5707 is_const=True)
5708 ## ndn-interest-header.h (module 'ndnSIM'): bool ns3::ndn::InterestHeader::IsEnabledExclude() const [member function]
5709 cls.add_method('IsEnabledExclude',
5710 'bool',
5711 [],
5712 is_const=True)
5713 ## ndn-interest-header.h (module 'ndnSIM'): void ns3::ndn::InterestHeader::Print(std::ostream & os) const [member function]
5714 cls.add_method('Print',
5715 'void',
5716 [param('std::ostream &', 'os')],
5717 is_const=True, is_virtual=True)
5718 ## ndn-interest-header.h (module 'ndnSIM'): void ns3::ndn::InterestHeader::Serialize(ns3::Buffer::Iterator start) const [member function]
5719 cls.add_method('Serialize',
5720 'void',
5721 [param('ns3::Buffer::Iterator', 'start')],
5722 is_const=True, is_virtual=True)
5723 ## ndn-interest-header.h (module 'ndnSIM'): void ns3::ndn::InterestHeader::SetAnswerOriginKind(bool value) [member function]
5724 cls.add_method('SetAnswerOriginKind',
5725 'void',
5726 [param('bool', 'value')])
5727 ## ndn-interest-header.h (module 'ndnSIM'): void ns3::ndn::InterestHeader::SetChildSelector(bool value) [member function]
5728 cls.add_method('SetChildSelector',
5729 'void',
5730 [param('bool', 'value')])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005731 ## ndn-interest-header.h (module 'ndnSIM'): void ns3::ndn::InterestHeader::SetExclude(ns3::Ptr<ns3::ndn::NameComponents> exclude) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005732 cls.add_method('SetExclude',
5733 'void',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005734 [param('ns3::Ptr< ns3::ndn::NameComponents >', 'exclude')])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005735 ## ndn-interest-header.h (module 'ndnSIM'): void ns3::ndn::InterestHeader::SetInterestLifetime(ns3::Time time) [member function]
5736 cls.add_method('SetInterestLifetime',
5737 'void',
5738 [param('ns3::Time', 'time')])
5739 ## ndn-interest-header.h (module 'ndnSIM'): void ns3::ndn::InterestHeader::SetMaxSuffixComponents(int32_t value) [member function]
5740 cls.add_method('SetMaxSuffixComponents',
5741 'void',
5742 [param('int32_t', 'value')])
5743 ## ndn-interest-header.h (module 'ndnSIM'): void ns3::ndn::InterestHeader::SetMinSuffixComponents(int32_t value) [member function]
5744 cls.add_method('SetMinSuffixComponents',
5745 'void',
5746 [param('int32_t', 'value')])
5747 ## ndn-interest-header.h (module 'ndnSIM'): void ns3::ndn::InterestHeader::SetNack(uint32_t nackType) [member function]
5748 cls.add_method('SetNack',
5749 'void',
5750 [param('uint32_t', 'nackType')])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005751 ## ndn-interest-header.h (module 'ndnSIM'): void ns3::ndn::InterestHeader::SetName(ns3::Ptr<ns3::ndn::NameComponents> name) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005752 cls.add_method('SetName',
5753 'void',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005754 [param('ns3::Ptr< ns3::ndn::NameComponents >', 'name')])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005755 ## ndn-interest-header.h (module 'ndnSIM'): void ns3::ndn::InterestHeader::SetNonce(uint32_t nonce) [member function]
5756 cls.add_method('SetNonce',
5757 'void',
5758 [param('uint32_t', 'nonce')])
5759 ## ndn-interest-header.h (module 'ndnSIM'): void ns3::ndn::InterestHeader::SetScope(int8_t scope) [member function]
5760 cls.add_method('SetScope',
5761 'void',
5762 [param('int8_t', 'scope')])
5763 return
5764
5765def register_Ns3NdnInterestHeaderException_methods(root_module, cls):
5766 ## ndn-interest-header.h (module 'ndnSIM'): ns3::ndn::InterestHeaderException::InterestHeaderException() [constructor]
5767 cls.add_constructor([])
5768 ## ndn-interest-header.h (module 'ndnSIM'): ns3::ndn::InterestHeaderException::InterestHeaderException(ns3::ndn::InterestHeaderException const & arg0) [copy constructor]
5769 cls.add_constructor([param('ns3::ndn::InterestHeaderException const &', 'arg0')])
5770 return
5771
5772def register_Ns3NdnL3Protocol_methods(root_module, cls):
5773 ## ndn-l3-protocol.h (module 'ndnSIM'): ns3::ndn::L3Protocol::ETHERNET_FRAME_TYPE [variable]
5774 cls.add_static_attribute('ETHERNET_FRAME_TYPE', 'uint16_t const', is_const=True)
5775 ## ndn-l3-protocol.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::L3Protocol::GetTypeId() [member function]
5776 cls.add_method('GetTypeId',
5777 'ns3::TypeId',
5778 [],
5779 is_static=True)
5780 ## ndn-l3-protocol.h (module 'ndnSIM'): ns3::ndn::L3Protocol::L3Protocol() [constructor]
5781 cls.add_constructor([])
5782 ## ndn-l3-protocol.h (module 'ndnSIM'): uint32_t ns3::ndn::L3Protocol::AddFace(ns3::Ptr<ns3::ndn::Face> const & face) [member function]
5783 cls.add_method('AddFace',
5784 'uint32_t',
5785 [param('ns3::Ptr< ns3::ndn::Face > const &', 'face')],
5786 is_virtual=True)
5787 ## ndn-l3-protocol.h (module 'ndnSIM'): uint32_t ns3::ndn::L3Protocol::GetNFaces() const [member function]
5788 cls.add_method('GetNFaces',
5789 'uint32_t',
5790 [],
5791 is_const=True, is_virtual=True)
5792 ## ndn-l3-protocol.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::Face> ns3::ndn::L3Protocol::GetFace(uint32_t face) const [member function]
5793 cls.add_method('GetFace',
5794 'ns3::Ptr< ns3::ndn::Face >',
5795 [param('uint32_t', 'face')],
5796 is_const=True, is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005797 ## ndn-l3-protocol.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::Face> ns3::ndn::L3Protocol::GetFaceById(uint32_t face) const [member function]
5798 cls.add_method('GetFaceById',
5799 'ns3::Ptr< ns3::ndn::Face >',
5800 [param('uint32_t', 'face')],
5801 is_const=True, is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005802 ## ndn-l3-protocol.h (module 'ndnSIM'): void ns3::ndn::L3Protocol::RemoveFace(ns3::Ptr<ns3::ndn::Face> face) [member function]
5803 cls.add_method('RemoveFace',
5804 'void',
5805 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
5806 is_virtual=True)
5807 ## ndn-l3-protocol.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::Face> ns3::ndn::L3Protocol::GetFaceByNetDevice(ns3::Ptr<ns3::NetDevice> netDevice) const [member function]
5808 cls.add_method('GetFaceByNetDevice',
5809 'ns3::Ptr< ns3::ndn::Face >',
5810 [param('ns3::Ptr< ns3::NetDevice >', 'netDevice')],
5811 is_const=True, is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005812 ## ndn-l3-protocol.h (module 'ndnSIM'): static uint64_t ns3::ndn::L3Protocol::GetInterestCounter() [member function]
5813 cls.add_method('GetInterestCounter',
5814 'uint64_t',
5815 [],
5816 is_static=True)
5817 ## ndn-l3-protocol.h (module 'ndnSIM'): static uint64_t ns3::ndn::L3Protocol::GetDataCounter() [member function]
5818 cls.add_method('GetDataCounter',
5819 'uint64_t',
5820 [],
5821 is_static=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005822 ## ndn-l3-protocol.h (module 'ndnSIM'): void ns3::ndn::L3Protocol::DoDispose() [member function]
5823 cls.add_method('DoDispose',
5824 'void',
5825 [],
5826 visibility='protected', is_virtual=True)
5827 ## ndn-l3-protocol.h (module 'ndnSIM'): void ns3::ndn::L3Protocol::NotifyNewAggregate() [member function]
5828 cls.add_method('NotifyNewAggregate',
5829 'void',
5830 [],
5831 visibility='protected', is_virtual=True)
5832 return
5833
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005834def register_Ns3NdnLimits_methods(root_module, cls):
5835 ## ndn-limits.h (module 'ndnSIM'): ns3::ndn::Limits::Limits(ns3::ndn::Limits const & arg0) [copy constructor]
5836 cls.add_constructor([param('ns3::ndn::Limits const &', 'arg0')])
5837 ## ndn-limits.h (module 'ndnSIM'): ns3::ndn::Limits::Limits() [constructor]
5838 cls.add_constructor([])
Alexander Afanasyevf5c07742012-10-31 13:13:05 -07005839 ## ndn-limits.h (module 'ndnSIM'): double ns3::ndn::Limits::GetCurrentLimit() const [member function]
5840 cls.add_method('GetCurrentLimit',
5841 'double',
5842 [],
5843 is_const=True)
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07005844 ## ndn-limits.h (module 'ndnSIM'): double ns3::ndn::Limits::GetMaxLimit() const [member function]
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005845 cls.add_method('GetMaxLimit',
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07005846 'double',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005847 [],
Alexander Afanasyevf5c07742012-10-31 13:13:05 -07005848 is_const=True, is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005849 ## ndn-limits.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::Limits::GetTypeId() [member function]
5850 cls.add_method('GetTypeId',
5851 'ns3::TypeId',
5852 [],
5853 is_static=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005854 ## ndn-limits.h (module 'ndnSIM'): bool ns3::ndn::Limits::IsBelowLimit() [member function]
5855 cls.add_method('IsBelowLimit',
5856 'bool',
Alexander Afanasyevf5c07742012-10-31 13:13:05 -07005857 [],
5858 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005859 ## ndn-limits.h (module 'ndnSIM'): bool ns3::ndn::Limits::IsEnabled() const [member function]
5860 cls.add_method('IsEnabled',
5861 'bool',
5862 [],
Alexander Afanasyevf5c07742012-10-31 13:13:05 -07005863 is_const=True, is_virtual=True)
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07005864 ## ndn-limits.h (module 'ndnSIM'): void ns3::ndn::Limits::SetMaxLimit(double max) [member function]
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005865 cls.add_method('SetMaxLimit',
5866 'void',
Alexander Afanasyevf5c07742012-10-31 13:13:05 -07005867 [param('double', 'max')],
5868 is_virtual=True)
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07005869 ## ndn-limits.h (module 'ndnSIM'): void ns3::ndn::Limits::UpdateCurrentLimit(double limit) [member function]
5870 cls.add_method('UpdateCurrentLimit',
5871 'void',
5872 [param('double', 'limit')])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005873 return
5874
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005875def register_Ns3NdnNameComponents_methods(root_module, cls):
5876 cls.add_output_stream_operator()
5877 cls.add_binary_comparison_operator('<')
5878 cls.add_binary_comparison_operator('==')
5879 ## ndn-name-components.h (module 'ndnSIM'): ns3::ndn::NameComponents::NameComponents(ns3::ndn::NameComponents const & arg0) [copy constructor]
5880 cls.add_constructor([param('ns3::ndn::NameComponents const &', 'arg0')])
5881 ## ndn-name-components.h (module 'ndnSIM'): ns3::ndn::NameComponents::NameComponents() [constructor]
5882 cls.add_constructor([])
5883 ## 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]
5884 cls.add_constructor([param('std::list< boost::reference_wrapper< std::string const > > const &', 'components')])
5885 ## ndn-name-components.h (module 'ndnSIM'): ns3::ndn::NameComponents::NameComponents(std::string const & prefix) [constructor]
5886 cls.add_constructor([param('std::string const &', 'prefix')])
5887 ## ndn-name-components.h (module 'ndnSIM'): ns3::ndn::NameComponents::NameComponents(char const * prefix) [constructor]
5888 cls.add_constructor([param('char const *', 'prefix')])
5889 ## ndn-name-components.h (module 'ndnSIM'): std::list<std::string, std::allocator<std::string> > const & ns3::ndn::NameComponents::GetComponents() const [member function]
5890 cls.add_method('GetComponents',
5891 'std::list< std::string > const &',
5892 [],
5893 is_const=True)
5894 ## ndn-name-components.h (module 'ndnSIM'): std::string ns3::ndn::NameComponents::GetLastComponent() const [member function]
5895 cls.add_method('GetLastComponent',
5896 'std::string',
5897 [],
5898 is_const=True)
5899 ## 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]
5900 cls.add_method('GetSubComponents',
5901 'std::list< boost::reference_wrapper< std::string const > >',
5902 [param('size_t', 'num')],
5903 is_const=True)
5904 ## ndn-name-components.h (module 'ndnSIM'): void ns3::ndn::NameComponents::Print(std::ostream & os) const [member function]
5905 cls.add_method('Print',
5906 'void',
5907 [param('std::ostream &', 'os')],
5908 is_const=True)
5909 ## ndn-name-components.h (module 'ndnSIM'): std::_List_iterator<std::string> ns3::ndn::NameComponents::begin() [member function]
5910 cls.add_method('begin',
5911 'std::_List_iterator< std::string >',
5912 [])
5913 ## ndn-name-components.h (module 'ndnSIM'): std::_List_const_iterator<std::string> ns3::ndn::NameComponents::begin() const [member function]
5914 cls.add_method('begin',
5915 'std::_List_const_iterator< std::string >',
5916 [],
5917 is_const=True)
5918 ## ndn-name-components.h (module 'ndnSIM'): ns3::ndn::NameComponents ns3::ndn::NameComponents::cut(size_t minusComponents) const [member function]
5919 cls.add_method('cut',
5920 'ns3::ndn::NameComponents',
5921 [param('size_t', 'minusComponents')],
5922 is_const=True)
5923 ## ndn-name-components.h (module 'ndnSIM'): std::_List_iterator<std::string> ns3::ndn::NameComponents::end() [member function]
5924 cls.add_method('end',
5925 'std::_List_iterator< std::string >',
5926 [])
5927 ## ndn-name-components.h (module 'ndnSIM'): std::_List_const_iterator<std::string> ns3::ndn::NameComponents::end() const [member function]
5928 cls.add_method('end',
5929 'std::_List_const_iterator< std::string >',
5930 [],
5931 is_const=True)
5932 ## ndn-name-components.h (module 'ndnSIM'): size_t ns3::ndn::NameComponents::size() const [member function]
5933 cls.add_method('size',
5934 'size_t',
5935 [],
5936 is_const=True)
5937 return
5938
5939def register_Ns3NdnNameComponentsChecker_methods(root_module, cls):
5940 ## ndn-name-components.h (module 'ndnSIM'): ns3::ndn::NameComponentsChecker::NameComponentsChecker() [constructor]
5941 cls.add_constructor([])
5942 ## ndn-name-components.h (module 'ndnSIM'): ns3::ndn::NameComponentsChecker::NameComponentsChecker(ns3::ndn::NameComponentsChecker const & arg0) [copy constructor]
5943 cls.add_constructor([param('ns3::ndn::NameComponentsChecker const &', 'arg0')])
5944 return
5945
5946def register_Ns3NdnNameComponentsValue_methods(root_module, cls):
5947 ## ndn-name-components.h (module 'ndnSIM'): ns3::ndn::NameComponentsValue::NameComponentsValue() [constructor]
5948 cls.add_constructor([])
5949 ## ndn-name-components.h (module 'ndnSIM'): ns3::ndn::NameComponentsValue::NameComponentsValue(ns3::ndn::NameComponentsValue const & arg0) [copy constructor]
5950 cls.add_constructor([param('ns3::ndn::NameComponentsValue const &', 'arg0')])
5951 ## ndn-name-components.h (module 'ndnSIM'): ns3::ndn::NameComponentsValue::NameComponentsValue(ns3::ndn::NameComponents const & value) [constructor]
5952 cls.add_constructor([param('ns3::ndn::NameComponents const &', 'value')])
5953 ## ndn-name-components.h (module 'ndnSIM'): ns3::Ptr<ns3::AttributeValue> ns3::ndn::NameComponentsValue::Copy() const [member function]
5954 cls.add_method('Copy',
5955 'ns3::Ptr< ns3::AttributeValue >',
5956 [],
5957 is_const=True, is_virtual=True)
5958 ## ndn-name-components.h (module 'ndnSIM'): bool ns3::ndn::NameComponentsValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
5959 cls.add_method('DeserializeFromString',
5960 'bool',
5961 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
5962 is_virtual=True)
5963 ## ndn-name-components.h (module 'ndnSIM'): ns3::ndn::NameComponents ns3::ndn::NameComponentsValue::Get() const [member function]
5964 cls.add_method('Get',
5965 'ns3::ndn::NameComponents',
5966 [],
5967 is_const=True)
5968 ## ndn-name-components.h (module 'ndnSIM'): std::string ns3::ndn::NameComponentsValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
5969 cls.add_method('SerializeToString',
5970 'std::string',
5971 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
5972 is_const=True, is_virtual=True)
5973 ## ndn-name-components.h (module 'ndnSIM'): void ns3::ndn::NameComponentsValue::Set(ns3::ndn::NameComponents const & value) [member function]
5974 cls.add_method('Set',
5975 'void',
5976 [param('ns3::ndn::NameComponents const &', 'value')])
5977 return
5978
5979def register_Ns3NdnNetDeviceFace_methods(root_module, cls):
5980 ## ndn-net-device-face.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::NetDeviceFace::GetTypeId() [member function]
5981 cls.add_method('GetTypeId',
5982 'ns3::TypeId',
5983 [],
5984 is_static=True)
5985 ## ndn-net-device-face.h (module 'ndnSIM'): ns3::ndn::NetDeviceFace::NetDeviceFace(ns3::Ptr<ns3::Node> node, ns3::Ptr<ns3::NetDevice> const & netDevice) [constructor]
5986 cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::Ptr< ns3::NetDevice > const &', 'netDevice')])
5987 ## 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]
5988 cls.add_method('RegisterProtocolHandler',
5989 'void',
5990 [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')],
5991 is_virtual=True)
5992 ## ndn-net-device-face.h (module 'ndnSIM'): std::ostream & ns3::ndn::NetDeviceFace::Print(std::ostream & os) const [member function]
5993 cls.add_method('Print',
5994 'std::ostream &',
5995 [param('std::ostream &', 'os')],
5996 is_const=True, is_virtual=True)
5997 ## ndn-net-device-face.h (module 'ndnSIM'): ns3::Ptr<ns3::NetDevice> ns3::ndn::NetDeviceFace::GetNetDevice() const [member function]
5998 cls.add_method('GetNetDevice',
5999 'ns3::Ptr< ns3::NetDevice >',
6000 [],
6001 is_const=True)
6002 ## 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 -07006003 cls.add_method('SendImpl',
Alexander Afanasyev1c0248b2012-07-24 15:59:50 -07006004 'bool',
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07006005 [param('ns3::Ptr< ns3::Packet >', 'p')],
6006 visibility='protected', is_virtual=True)
6007 return
6008
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006009def register_Ns3NdnPit_methods(root_module, cls):
6010 cls.add_output_stream_operator()
6011 ## ndn-pit.h (module 'ndnSIM'): ns3::ndn::Pit::Pit(ns3::ndn::Pit const & arg0) [copy constructor]
6012 cls.add_constructor([param('ns3::ndn::Pit const &', 'arg0')])
6013 ## ndn-pit.h (module 'ndnSIM'): ns3::ndn::Pit::Pit() [constructor]
6014 cls.add_constructor([])
6015 ## ndn-pit.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::pit::Entry> ns3::ndn::Pit::Begin() [member function]
6016 cls.add_method('Begin',
6017 'ns3::Ptr< ns3::ndn::pit::Entry >',
6018 [],
6019 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006020 ## ndn-pit.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::pit::Entry> ns3::ndn::Pit::Create(ns3::Ptr<ns3::ndn::InterestHeader const> header) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006021 cls.add_method('Create',
6022 'ns3::Ptr< ns3::ndn::pit::Entry >',
6023 [param('ns3::Ptr< ns3::ndn::InterestHeader const >', 'header')],
6024 is_pure_virtual=True, is_virtual=True)
6025 ## ndn-pit.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::pit::Entry> ns3::ndn::Pit::End() [member function]
6026 cls.add_method('End',
6027 'ns3::Ptr< ns3::ndn::pit::Entry >',
6028 [],
6029 is_pure_virtual=True, is_virtual=True)
6030 ## ndn-pit.h (module 'ndnSIM'): static ns3::Ptr<ns3::ndn::Pit> ns3::ndn::Pit::GetPit(ns3::Ptr<ns3::Object> node) [member function]
6031 cls.add_method('GetPit',
6032 'ns3::Ptr< ns3::ndn::Pit >',
6033 [param('ns3::Ptr< ns3::Object >', 'node')],
6034 is_static=True)
6035 ## ndn-pit.h (module 'ndnSIM'): uint32_t ns3::ndn::Pit::GetSize() const [member function]
6036 cls.add_method('GetSize',
6037 'uint32_t',
6038 [],
6039 is_pure_virtual=True, is_const=True, is_virtual=True)
6040 ## ndn-pit.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::Pit::GetTypeId() [member function]
6041 cls.add_method('GetTypeId',
6042 'ns3::TypeId',
6043 [],
6044 is_static=True)
6045 ## ndn-pit.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::pit::Entry> ns3::ndn::Pit::Lookup(ns3::ndn::ContentObjectHeader const & header) [member function]
6046 cls.add_method('Lookup',
6047 'ns3::Ptr< ns3::ndn::pit::Entry >',
6048 [param('ns3::ndn::ContentObjectHeader const &', 'header')],
6049 is_pure_virtual=True, is_virtual=True)
6050 ## ndn-pit.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::pit::Entry> ns3::ndn::Pit::Lookup(ns3::ndn::InterestHeader const & header) [member function]
6051 cls.add_method('Lookup',
6052 'ns3::Ptr< ns3::ndn::pit::Entry >',
6053 [param('ns3::ndn::InterestHeader const &', 'header')],
6054 is_pure_virtual=True, is_virtual=True)
6055 ## ndn-pit.h (module 'ndnSIM'): void ns3::ndn::Pit::MarkErased(ns3::Ptr<ns3::ndn::pit::Entry> entry) [member function]
6056 cls.add_method('MarkErased',
6057 'void',
6058 [param('ns3::Ptr< ns3::ndn::pit::Entry >', 'entry')],
6059 is_pure_virtual=True, is_virtual=True)
6060 ## ndn-pit.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::pit::Entry> ns3::ndn::Pit::Next(ns3::Ptr<ns3::ndn::pit::Entry> arg0) [member function]
6061 cls.add_method('Next',
6062 'ns3::Ptr< ns3::ndn::pit::Entry >',
6063 [param('ns3::Ptr< ns3::ndn::pit::Entry >', 'arg0')],
6064 is_pure_virtual=True, is_virtual=True)
6065 ## ndn-pit.h (module 'ndnSIM'): void ns3::ndn::Pit::Print(std::ostream & os) const [member function]
6066 cls.add_method('Print',
6067 'void',
6068 [param('std::ostream &', 'os')],
6069 is_pure_virtual=True, is_const=True, is_virtual=True)
6070 return
6071
6072def register_Ns3NdnStackHelper_methods(root_module, cls):
6073 ## ndn-stack-helper.h (module 'ndnSIM'): ns3::ndn::StackHelper::StackHelper() [constructor]
6074 cls.add_constructor([])
6075 ## 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]
6076 cls.add_method('SetStackAttributes',
6077 'void',
6078 [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='""')])
6079 ## 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]
6080 cls.add_method('SetForwardingStrategy',
6081 'void',
6082 [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='""')])
6083 ## 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]
6084 cls.add_method('SetContentStore',
6085 'void',
6086 [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='""')])
6087 ## 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]
6088 cls.add_method('SetPit',
6089 'void',
6090 [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='""')])
6091 ## 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]
6092 cls.add_method('SetFib',
6093 'void',
6094 [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='""')])
6095 ## 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]
6096 cls.add_method('EnableLimits',
6097 'void',
6098 [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')])
6099 ## ndn-stack-helper.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::FaceContainer> ns3::ndn::StackHelper::Install(std::string nodeName) const [member function]
6100 cls.add_method('Install',
6101 'ns3::Ptr< ns3::ndn::FaceContainer >',
6102 [param('std::string', 'nodeName')],
6103 is_const=True)
6104 ## ndn-stack-helper.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::FaceContainer> ns3::ndn::StackHelper::Install(ns3::Ptr<ns3::Node> node) const [member function]
6105 cls.add_method('Install',
6106 'ns3::Ptr< ns3::ndn::FaceContainer >',
6107 [param('ns3::Ptr< ns3::Node >', 'node')],
6108 is_const=True)
6109 ## ndn-stack-helper.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::FaceContainer> ns3::ndn::StackHelper::Install(ns3::NodeContainer c) const [member function]
6110 cls.add_method('Install',
6111 'ns3::Ptr< ns3::ndn::FaceContainer >',
6112 [param('ns3::NodeContainer', 'c')],
6113 is_const=True)
6114 ## ndn-stack-helper.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::FaceContainer> ns3::ndn::StackHelper::InstallAll() const [member function]
6115 cls.add_method('InstallAll',
6116 'ns3::Ptr< ns3::ndn::FaceContainer >',
6117 [],
6118 is_const=True)
6119 ## 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]
6120 cls.add_method('AddRoute',
6121 'void',
6122 [param('std::string', 'nodeName'), param('std::string', 'prefix'), param('uint32_t', 'faceId'), param('int32_t', 'metric')],
6123 is_static=True)
6124 ## 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]
6125 cls.add_method('AddRoute',
6126 'void',
6127 [param('ns3::Ptr< ns3::Node >', 'node'), param('std::string', 'prefix'), param('uint32_t', 'faceId'), param('int32_t', 'metric')],
6128 is_static=True)
6129 ## 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]
6130 cls.add_method('AddRoute',
6131 'void',
6132 [param('ns3::Ptr< ns3::Node >', 'node'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('int32_t', 'metric')],
6133 is_static=True)
6134 ## ndn-stack-helper.h (module 'ndnSIM'): void ns3::ndn::StackHelper::SetDefaultRoutes(bool needSet) [member function]
6135 cls.add_method('SetDefaultRoutes',
6136 'void',
6137 [param('bool', 'needSet')])
6138 return
6139
6140def register_Ns3NdnUnknownHeaderException_methods(root_module, cls):
6141 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::UnknownHeaderException::UnknownHeaderException() [constructor]
6142 cls.add_constructor([])
6143 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::UnknownHeaderException::UnknownHeaderException(ns3::ndn::UnknownHeaderException const & arg0) [copy constructor]
6144 cls.add_constructor([param('ns3::ndn::UnknownHeaderException const &', 'arg0')])
6145 return
6146
6147def register_Ns3NdnAppFace_methods(root_module, cls):
6148 ## ndn-app-face.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::AppFace::GetTypeId() [member function]
6149 cls.add_method('GetTypeId',
6150 'ns3::TypeId',
6151 [],
6152 is_static=True)
6153 ## ndn-app-face.h (module 'ndnSIM'): ns3::ndn::AppFace::AppFace(ns3::Ptr<ns3::ndn::App> app) [constructor]
6154 cls.add_constructor([param('ns3::Ptr< ns3::ndn::App >', 'app')])
6155 ## 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]
6156 cls.add_method('RegisterProtocolHandler',
6157 'void',
6158 [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')],
6159 is_virtual=True)
6160 ## ndn-app-face.h (module 'ndnSIM'): std::ostream & ns3::ndn::AppFace::Print(std::ostream & os) const [member function]
6161 cls.add_method('Print',
6162 'std::ostream &',
6163 [param('std::ostream &', 'os')],
6164 is_const=True, is_virtual=True)
6165 ## ndn-app-face.h (module 'ndnSIM'): bool ns3::ndn::AppFace::SendImpl(ns3::Ptr<ns3::Packet> p) [member function]
6166 cls.add_method('SendImpl',
6167 'bool',
6168 [param('ns3::Ptr< ns3::Packet >', 'p')],
6169 visibility='protected', is_virtual=True)
6170 return
6171
6172def register_Ns3NdnCsEntry_methods(root_module, cls):
6173 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::cs::Entry::Entry(ns3::ndn::cs::Entry const & arg0) [copy constructor]
6174 cls.add_constructor([param('ns3::ndn::cs::Entry const &', 'arg0')])
6175 ## 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]
6176 cls.add_constructor([param('ns3::Ptr< ns3::ndn::ContentObjectHeader const >', 'header'), param('ns3::Ptr< ns3::Packet const >', 'packet')])
6177 ## ndn-content-store.h (module 'ndnSIM'): ns3::Ptr<ns3::Packet> ns3::ndn::cs::Entry::GetFullyFormedNdnPacket() const [member function]
6178 cls.add_method('GetFullyFormedNdnPacket',
6179 'ns3::Ptr< ns3::Packet >',
6180 [],
6181 is_const=True)
6182 ## ndn-content-store.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::ContentObjectHeader const> ns3::ndn::cs::Entry::GetHeader() const [member function]
6183 cls.add_method('GetHeader',
6184 'ns3::Ptr< ns3::ndn::ContentObjectHeader const >',
6185 [],
6186 is_const=True)
6187 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::NameComponents const & ns3::ndn::cs::Entry::GetName() const [member function]
6188 cls.add_method('GetName',
6189 'ns3::ndn::NameComponents const &',
6190 [],
6191 is_const=True)
6192 ## ndn-content-store.h (module 'ndnSIM'): ns3::Ptr<const ns3::Packet> ns3::ndn::cs::Entry::GetPacket() const [member function]
6193 cls.add_method('GetPacket',
6194 'ns3::Ptr< ns3::Packet const >',
6195 [],
6196 is_const=True)
6197 return
6198
6199def register_Ns3NdnFibEntry_methods(root_module, cls):
6200 cls.add_output_stream_operator()
6201 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::Entry(ns3::ndn::fib::Entry const & arg0) [copy constructor]
6202 cls.add_constructor([param('ns3::ndn::fib::Entry const &', 'arg0')])
6203 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::Entry(ns3::Ptr<ns3::ndn::NameComponents const> const & prefix) [constructor]
6204 cls.add_constructor([param('ns3::Ptr< ns3::ndn::NameComponents const > const &', 'prefix')])
6205 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::Entry::AddOrUpdateRoutingMetric(ns3::Ptr<ns3::ndn::Face> face, int32_t metric) [member function]
6206 cls.add_method('AddOrUpdateRoutingMetric',
6207 'void',
6208 [param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('int32_t', 'metric')])
6209 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric const & ns3::ndn::fib::Entry::FindBestCandidate(uint32_t skip=0) const [member function]
6210 cls.add_method('FindBestCandidate',
6211 'ns3::ndn::fib::FaceMetric const &',
6212 [param('uint32_t', 'skip', default_value='0')],
6213 is_const=True)
6214 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::NameComponents const & ns3::ndn::fib::Entry::GetPrefix() const [member function]
6215 cls.add_method('GetPrefix',
6216 'ns3::ndn::NameComponents const &',
6217 [],
6218 is_const=True)
6219 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::Entry::Invalidate() [member function]
6220 cls.add_method('Invalidate',
6221 'void',
6222 [])
6223 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::Entry::RemoveFace(ns3::Ptr<ns3::ndn::Face> const & face) [member function]
6224 cls.add_method('RemoveFace',
6225 'void',
6226 [param('ns3::Ptr< ns3::ndn::Face > const &', 'face')])
6227 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::Entry::UpdateFaceRtt(ns3::Ptr<ns3::ndn::Face> face, ns3::Time const & sample) [member function]
6228 cls.add_method('UpdateFaceRtt',
6229 'void',
6230 [param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('ns3::Time const &', 'sample')])
6231 ## 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]
6232 cls.add_method('UpdateStatus',
6233 'void',
6234 [param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('ns3::ndn::fib::FaceMetric::Status', 'status')])
6235 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::m_faces [variable]
6236 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)
6237 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::m_needsProbing [variable]
6238 cls.add_instance_attribute('m_needsProbing', 'bool', is_const=False)
6239 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::m_prefix [variable]
6240 cls.add_instance_attribute('m_prefix', 'ns3::Ptr< ns3::ndn::NameComponents const >', is_const=False)
6241 return
6242
6243def register_Ns3NdnFibEntryNoFaces_methods(root_module, cls):
6244 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::NoFaces::NoFaces() [constructor]
6245 cls.add_constructor([])
6246 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::NoFaces::NoFaces(ns3::ndn::fib::Entry::NoFaces const & arg0) [copy constructor]
6247 cls.add_constructor([param('ns3::ndn::fib::Entry::NoFaces const &', 'arg0')])
6248 return
6249
6250def register_Ns3NdnFibFaceMetric_methods(root_module, cls):
6251 cls.add_output_stream_operator()
6252 cls.add_binary_comparison_operator('<')
6253 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric::FaceMetric(ns3::ndn::fib::FaceMetric const & arg0) [copy constructor]
6254 cls.add_constructor([param('ns3::ndn::fib::FaceMetric const &', 'arg0')])
6255 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric::FaceMetric(ns3::Ptr<ns3::ndn::Face> face, int32_t cost) [constructor]
6256 cls.add_constructor([param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('int32_t', 'cost')])
6257 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::Face> ns3::ndn::fib::FaceMetric::GetFace() const [member function]
6258 cls.add_method('GetFace',
6259 'ns3::Ptr< ns3::ndn::Face >',
6260 [],
6261 is_const=True)
6262 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::FaceMetric::UpdateRtt(ns3::Time const & rttSample) [member function]
6263 cls.add_method('UpdateRtt',
6264 'void',
6265 [param('ns3::Time const &', 'rttSample')])
6266 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric::m_face [variable]
6267 cls.add_instance_attribute('m_face', 'ns3::Ptr< ns3::ndn::Face >', is_const=False)
6268 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric::m_routingCost [variable]
6269 cls.add_instance_attribute('m_routingCost', 'int32_t', is_const=False)
6270 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric::m_rttVar [variable]
6271 cls.add_instance_attribute('m_rttVar', 'ns3::Time', is_const=False)
6272 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric::m_sRtt [variable]
6273 cls.add_instance_attribute('m_sRtt', 'ns3::Time', is_const=False)
6274 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric::m_status [variable]
6275 cls.add_instance_attribute('m_status', 'ns3::ndn::fib::FaceMetric::Status', is_const=False)
6276 return
6277
6278def register_Ns3NdnFibFaceMetricContainer_methods(root_module, cls):
6279 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetricContainer::FaceMetricContainer() [constructor]
6280 cls.add_constructor([])
6281 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetricContainer::FaceMetricContainer(ns3::ndn::fib::FaceMetricContainer const & arg0) [copy constructor]
6282 cls.add_constructor([param('ns3::ndn::fib::FaceMetricContainer const &', 'arg0')])
6283 return
6284
6285def register_Ns3NdnFibI_face_methods(root_module, cls):
6286 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_face::i_face() [constructor]
6287 cls.add_constructor([])
6288 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_face::i_face(ns3::ndn::fib::i_face const & arg0) [copy constructor]
6289 cls.add_constructor([param('ns3::ndn::fib::i_face const &', 'arg0')])
6290 return
6291
6292def register_Ns3NdnFibI_metric_methods(root_module, cls):
6293 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_metric::i_metric() [constructor]
6294 cls.add_constructor([])
6295 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_metric::i_metric(ns3::ndn::fib::i_metric const & arg0) [copy constructor]
6296 cls.add_constructor([param('ns3::ndn::fib::i_metric const &', 'arg0')])
6297 return
6298
6299def register_Ns3NdnFibI_nth_methods(root_module, cls):
6300 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_nth::i_nth() [constructor]
6301 cls.add_constructor([])
6302 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_nth::i_nth(ns3::ndn::fib::i_nth const & arg0) [copy constructor]
6303 cls.add_constructor([param('ns3::ndn::fib::i_nth const &', 'arg0')])
6304 return
6305
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006306def register_Ns3NdnFwTag_methods(root_module, cls):
6307 ## ndn-fw-tag.h (module 'ndnSIM'): ns3::ndn::fw::Tag::Tag() [constructor]
6308 cls.add_constructor([])
6309 ## ndn-fw-tag.h (module 'ndnSIM'): ns3::ndn::fw::Tag::Tag(ns3::ndn::fw::Tag const & arg0) [copy constructor]
6310 cls.add_constructor([param('ns3::ndn::fw::Tag const &', 'arg0')])
6311 return
6312
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006313def register_Ns3NdnPitEntry_methods(root_module, cls):
6314 cls.add_output_stream_operator()
6315 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::Entry::Entry(ns3::ndn::pit::Entry const & arg0) [copy constructor]
6316 cls.add_constructor([param('ns3::ndn::pit::Entry const &', 'arg0')])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006317 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::Entry::Entry(ns3::ndn::Pit & container, ns3::Ptr<ns3::ndn::InterestHeader const> header, ns3::Ptr<ns3::ndn::fib::Entry> fibEntry) [constructor]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006318 cls.add_constructor([param('ns3::ndn::Pit &', 'container'), param('ns3::Ptr< ns3::ndn::InterestHeader const >', 'header'), param('ns3::Ptr< ns3::ndn::fib::Entry >', 'fibEntry')])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006319 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::AddFwTag(boost::shared_ptr<ns3::ndn::fw::Tag> tag) [member function]
6320 cls.add_method('AddFwTag',
6321 'void',
6322 [param('boost::shared_ptr< ns3::ndn::fw::Tag >', 'tag')])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006323 ## 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]
6324 cls.add_method('AddIncoming',
6325 'std::_Rb_tree_const_iterator< ns3::ndn::pit::IncomingFace >',
6326 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
6327 is_virtual=True)
Alexander Afanasyevc202fd92012-09-03 21:46:00 -07006328 ## 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 -07006329 cls.add_method('AddOutgoing',
Alexander Afanasyevc202fd92012-09-03 21:46:00 -07006330 'std::_Rb_tree_const_iterator< ns3::ndn::pit::OutgoingFace >',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006331 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
6332 is_virtual=True)
6333 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::AddSeenNonce(uint32_t nonce) [member function]
6334 cls.add_method('AddSeenNonce',
6335 'void',
6336 [param('uint32_t', 'nonce')],
6337 is_virtual=True)
6338 ## ndn-pit-entry.h (module 'ndnSIM'): bool ns3::ndn::pit::Entry::AreAllOutgoingInVain() const [member function]
6339 cls.add_method('AreAllOutgoingInVain',
6340 'bool',
6341 [],
6342 is_const=True)
6343 ## ndn-pit-entry.h (module 'ndnSIM'): bool ns3::ndn::pit::Entry::AreTherePromisingOutgoingFacesExcept(ns3::Ptr<ns3::ndn::Face> face) const [member function]
6344 cls.add_method('AreTherePromisingOutgoingFacesExcept',
6345 'bool',
6346 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
6347 is_const=True)
6348 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::ClearIncoming() [member function]
6349 cls.add_method('ClearIncoming',
6350 'void',
6351 [],
6352 is_virtual=True)
6353 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::ClearOutgoing() [member function]
6354 cls.add_method('ClearOutgoing',
6355 'void',
6356 [],
6357 is_virtual=True)
6358 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::Time const & ns3::ndn::pit::Entry::GetExpireTime() const [member function]
6359 cls.add_method('GetExpireTime',
6360 'ns3::Time const &',
6361 [],
6362 is_const=True)
6363 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::fib::Entry> ns3::ndn::pit::Entry::GetFibEntry() [member function]
6364 cls.add_method('GetFibEntry',
6365 'ns3::Ptr< ns3::ndn::fib::Entry >',
6366 [])
6367 ## 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]
6368 cls.add_method('GetIncoming',
6369 'std::set< ns3::ndn::pit::IncomingFace > const &',
6370 [],
6371 is_const=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006372 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::InterestHeader const> ns3::ndn::pit::Entry::GetInterest() const [member function]
6373 cls.add_method('GetInterest',
6374 'ns3::Ptr< ns3::ndn::InterestHeader const >',
6375 [],
6376 is_const=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006377 ## ndn-pit-entry.h (module 'ndnSIM'): uint32_t ns3::ndn::pit::Entry::GetMaxRetxCount() const [member function]
6378 cls.add_method('GetMaxRetxCount',
6379 'uint32_t',
6380 [],
6381 is_const=True)
Alexander Afanasyevc202fd92012-09-03 21:46:00 -07006382 ## 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 -07006383 cls.add_method('GetOutgoing',
Alexander Afanasyevc202fd92012-09-03 21:46:00 -07006384 'std::set< ns3::ndn::pit::OutgoingFace > const &',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006385 [],
6386 is_const=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006387 ## ndn-pit-entry.h (module 'ndnSIM'): uint32_t ns3::ndn::pit::Entry::GetOutgoingCount() const [member function]
6388 cls.add_method('GetOutgoingCount',
6389 'uint32_t',
6390 [],
6391 is_const=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006392 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::NameComponents const & ns3::ndn::pit::Entry::GetPrefix() const [member function]
6393 cls.add_method('GetPrefix',
6394 'ns3::ndn::NameComponents const &',
6395 [],
6396 is_const=True)
6397 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::IncreaseAllowedRetxCount() [member function]
6398 cls.add_method('IncreaseAllowedRetxCount',
6399 'void',
6400 [],
6401 is_virtual=True)
6402 ## ndn-pit-entry.h (module 'ndnSIM'): bool ns3::ndn::pit::Entry::IsNonceSeen(uint32_t nonce) const [member function]
6403 cls.add_method('IsNonceSeen',
6404 'bool',
6405 [param('uint32_t', 'nonce')],
6406 is_const=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006407 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::OffsetLifetime(ns3::Time const & offsetTime) [member function]
6408 cls.add_method('OffsetLifetime',
6409 'void',
6410 [param('ns3::Time const &', 'offsetTime')],
6411 is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006412 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::RemoveAllReferencesToFace(ns3::Ptr<ns3::ndn::Face> face) [member function]
6413 cls.add_method('RemoveAllReferencesToFace',
6414 'void',
6415 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
6416 is_virtual=True)
6417 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::RemoveIncoming(ns3::Ptr<ns3::ndn::Face> face) [member function]
6418 cls.add_method('RemoveIncoming',
6419 'void',
6420 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
6421 is_virtual=True)
6422 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::SetWaitingInVain(ns3::Ptr<ns3::ndn::Face> face) [member function]
6423 cls.add_method('SetWaitingInVain',
6424 'void',
6425 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
6426 is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006427 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::UpdateLifetime(ns3::Time const & lifetime) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006428 cls.add_method('UpdateLifetime',
6429 'void',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006430 [param('ns3::Time const &', 'lifetime')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006431 is_virtual=True)
6432 return
6433
6434def register_Ns3NdnPitIncomingFace_methods(root_module, cls):
6435 cls.add_binary_comparison_operator('==')
6436 cls.add_binary_comparison_operator('<')
6437 ## ndn-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::ndn::pit::IncomingFace::IncomingFace(ns3::ndn::pit::IncomingFace const & arg0) [copy constructor]
6438 cls.add_constructor([param('ns3::ndn::pit::IncomingFace const &', 'arg0')])
6439 ## ndn-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::ndn::pit::IncomingFace::IncomingFace(ns3::Ptr<ns3::ndn::Face> face) [constructor]
6440 cls.add_constructor([param('ns3::Ptr< ns3::ndn::Face >', 'face')])
6441 ## ndn-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::ndn::pit::IncomingFace::IncomingFace() [constructor]
6442 cls.add_constructor([])
6443 ## ndn-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::ndn::pit::IncomingFace::m_arrivalTime [variable]
6444 cls.add_instance_attribute('m_arrivalTime', 'ns3::Time', is_const=False)
6445 ## ndn-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::ndn::pit::IncomingFace::m_face [variable]
6446 cls.add_instance_attribute('m_face', 'ns3::Ptr< ns3::ndn::Face >', is_const=False)
6447 return
6448
6449def register_Ns3NdnPitOutgoingFace_methods(root_module, cls):
6450 cls.add_binary_comparison_operator('==')
6451 cls.add_binary_comparison_operator('<')
6452 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::OutgoingFace(ns3::ndn::pit::OutgoingFace const & arg0) [copy constructor]
6453 cls.add_constructor([param('ns3::ndn::pit::OutgoingFace const &', 'arg0')])
6454 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::OutgoingFace(ns3::Ptr<ns3::ndn::Face> face) [constructor]
6455 cls.add_constructor([param('ns3::Ptr< ns3::ndn::Face >', 'face')])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07006456 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::OutgoingFace() [constructor]
6457 cls.add_constructor([])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006458 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): void ns3::ndn::pit::OutgoingFace::UpdateOnRetransmit() [member function]
6459 cls.add_method('UpdateOnRetransmit',
6460 'void',
6461 [])
6462 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::m_face [variable]
6463 cls.add_instance_attribute('m_face', 'ns3::Ptr< ns3::ndn::Face >', is_const=False)
6464 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::m_retxCount [variable]
6465 cls.add_instance_attribute('m_retxCount', 'uint32_t', is_const=False)
6466 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::m_sendTime [variable]
6467 cls.add_instance_attribute('m_sendTime', 'ns3::Time', is_const=False)
6468 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::m_waitingInVain [variable]
6469 cls.add_instance_attribute('m_waitingInVain', 'bool', is_const=False)
6470 return
6471
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006472def register_Ns3NdnPitI_face_methods(root_module, cls):
6473 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::i_face::i_face() [constructor]
6474 cls.add_constructor([])
6475 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::i_face::i_face(ns3::ndn::pit::i_face const & arg0) [copy constructor]
6476 cls.add_constructor([param('ns3::ndn::pit::i_face const &', 'arg0')])
6477 return
6478
6479def register_Ns3NdnPitI_retx_methods(root_module, cls):
6480 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::i_retx::i_retx() [constructor]
6481 cls.add_constructor([])
6482 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::i_retx::i_retx(ns3::ndn::pit::i_retx const & arg0) [copy constructor]
6483 cls.add_constructor([param('ns3::ndn::pit::i_retx const &', 'arg0')])
6484 return
6485
Alexander Afanasyev381dea02011-11-03 08:33:26 -07006486def register_functions(root_module):
6487 module = root_module
Alexander Afanasyev381dea02011-11-03 08:33:26 -07006488 register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module)
6489 register_functions_ns3_internal(module.get_submodule('internal'), root_module)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006490 register_functions_ns3_ndn(module.get_submodule('ndn'), root_module)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07006491 return
6492
Alexander Afanasyev381dea02011-11-03 08:33:26 -07006493def register_functions_ns3_FatalImpl(module, root_module):
6494 return
6495
6496def register_functions_ns3_internal(module, root_module):
6497 return
6498
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006499def register_functions_ns3_ndn(module, root_module):
6500 ## ndn-name-components.h (module 'ndnSIM'): extern ns3::Ptr<ns3::AttributeChecker const> ns3::ndn::MakeNameComponentsChecker() [free function]
6501 module.add_function('MakeNameComponentsChecker',
6502 'ns3::Ptr< ns3::AttributeChecker const >',
6503 [])
6504 register_functions_ns3_ndn_cs(module.get_submodule('cs'), root_module)
6505 register_functions_ns3_ndn_fib(module.get_submodule('fib'), root_module)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006506 register_functions_ns3_ndn_fw(module.get_submodule('fw'), root_module)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006507 register_functions_ns3_ndn_pit(module.get_submodule('pit'), root_module)
6508 return
6509
6510def register_functions_ns3_ndn_cs(module, root_module):
6511 return
6512
6513def register_functions_ns3_ndn_fib(module, root_module):
6514 return
6515
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006516def register_functions_ns3_ndn_fw(module, root_module):
6517 return
6518
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006519def register_functions_ns3_ndn_pit(module, root_module):
6520 return
6521
Alexander Afanasyev381dea02011-11-03 08:33:26 -07006522def main():
6523 out = FileCodeSink(sys.stdout)
6524 root_module = module_init()
6525 register_types(root_module)
6526 register_methods(root_module)
6527 register_functions(root_module)
6528 root_module.generate(out)
6529
6530if __name__ == '__main__':
6531 main()
6532