blob: f8538fa8b6f0cb35b3bac16803e5345fcf6c40b4 [file] [log] [blame]
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers
2
3
4import pybindgen.settings
5import warnings
6
7class ErrorHandler(pybindgen.settings.ErrorHandler):
8 def handle_error(self, wrapper, exception, traceback_):
9 warnings.warn("exception %r in wrapper %s" % (exception, wrapper))
10 return True
11pybindgen.settings.error_handler = ErrorHandler()
12
13
14import sys
15
16def module_init():
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -070017 root_module = Module('ns.ndnSIM', cpp_namespace='::ns3')
Alexander Afanasyev381dea02011-11-03 08:33:26 -070018 return root_module
19
20def register_types(module):
21 root_module = module.get_root()
22
Alexander Afanasyev381dea02011-11-03 08:33:26 -070023 ## address.h (module 'network'): ns3::Address [class]
24 module.add_class('Address', import_from_module='ns.network')
25 ## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration]
26 module.add_enum('MaxSize_e', ['MAX_SIZE'], outer_class=root_module['ns3::Address'], import_from_module='ns.network')
27 ## application-container.h (module 'network'): ns3::ApplicationContainer [class]
28 module.add_class('ApplicationContainer', import_from_module='ns.network')
Alexander Afanasyev381dea02011-11-03 08:33:26 -070029 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class]
30 module.add_class('AttributeConstructionList', import_from_module='ns.core')
31 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct]
32 module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList'])
33 ## buffer.h (module 'network'): ns3::Buffer [class]
34 module.add_class('Buffer', import_from_module='ns.network')
35 ## buffer.h (module 'network'): ns3::Buffer::Iterator [class]
36 module.add_class('Iterator', import_from_module='ns.network', outer_class=root_module['ns3::Buffer'])
37 ## packet.h (module 'network'): ns3::ByteTagIterator [class]
38 module.add_class('ByteTagIterator', import_from_module='ns.network')
39 ## packet.h (module 'network'): ns3::ByteTagIterator::Item [class]
40 module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::ByteTagIterator'])
41 ## byte-tag-list.h (module 'network'): ns3::ByteTagList [class]
42 module.add_class('ByteTagList', import_from_module='ns.network')
43 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator [class]
44 module.add_class('Iterator', import_from_module='ns.network', outer_class=root_module['ns3::ByteTagList'])
45 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item [struct]
46 module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::ByteTagList::Iterator'])
47 ## callback.h (module 'core'): ns3::CallbackBase [class]
48 module.add_class('CallbackBase', import_from_module='ns.core')
Alexander Afanasyev381dea02011-11-03 08:33:26 -070049 ## event-id.h (module 'core'): ns3::EventId [class]
50 module.add_class('EventId', import_from_module='ns.core')
51 ## ipv4-address.h (module 'network'): ns3::Ipv4Address [class]
52 module.add_class('Ipv4Address', import_from_module='ns.network')
53 ## ipv4-address.h (module 'network'): ns3::Ipv4Address [class]
54 root_module['ns3::Ipv4Address'].implicitly_converts_to(root_module['ns3::Address'])
55 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask [class]
56 module.add_class('Ipv4Mask', import_from_module='ns.network')
57 ## ipv6-address.h (module 'network'): ns3::Ipv6Address [class]
58 module.add_class('Ipv6Address', import_from_module='ns.network')
59 ## ipv6-address.h (module 'network'): ns3::Ipv6Address [class]
60 root_module['ns3::Ipv6Address'].implicitly_converts_to(root_module['ns3::Address'])
61 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix [class]
62 module.add_class('Ipv6Prefix', import_from_module='ns.network')
Alexander Afanasyev29c19b92012-09-03 23:46:41 -070063 ## net-device-container.h (module 'network'): ns3::NetDeviceContainer [class]
64 module.add_class('NetDeviceContainer', import_from_module='ns.network')
Alexander Afanasyev381dea02011-11-03 08:33:26 -070065 ## node-container.h (module 'network'): ns3::NodeContainer [class]
66 module.add_class('NodeContainer', import_from_module='ns.network')
67 ## object-base.h (module 'core'): ns3::ObjectBase [class]
68 module.add_class('ObjectBase', allow_subclassing=True, import_from_module='ns.core')
69 ## object.h (module 'core'): ns3::ObjectDeleter [struct]
70 module.add_class('ObjectDeleter', import_from_module='ns.core')
71 ## object-factory.h (module 'core'): ns3::ObjectFactory [class]
72 module.add_class('ObjectFactory', import_from_module='ns.core')
73 ## packet-metadata.h (module 'network'): ns3::PacketMetadata [class]
74 module.add_class('PacketMetadata', import_from_module='ns.network')
75 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item [struct]
76 module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::PacketMetadata'])
77 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item [enumeration]
78 module.add_enum('', ['PAYLOAD', 'HEADER', 'TRAILER'], outer_class=root_module['ns3::PacketMetadata::Item'], import_from_module='ns.network')
79 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator [class]
80 module.add_class('ItemIterator', import_from_module='ns.network', outer_class=root_module['ns3::PacketMetadata'])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -070081 ## packet.h (module 'network'): ns3::PacketTagIterator [class]
82 module.add_class('PacketTagIterator', import_from_module='ns.network')
83 ## packet.h (module 'network'): ns3::PacketTagIterator::Item [class]
84 module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::PacketTagIterator'])
85 ## packet-tag-list.h (module 'network'): ns3::PacketTagList [class]
86 module.add_class('PacketTagList', import_from_module='ns.network')
87 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData [struct]
88 module.add_class('TagData', import_from_module='ns.network', outer_class=root_module['ns3::PacketTagList'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -070089 ## random-variable.h (module 'core'): ns3::RandomVariable [class]
90 module.add_class('RandomVariable', import_from_module='ns.core')
91 ## rng-seed-manager.h (module 'core'): ns3::RngSeedManager [class]
92 module.add_class('RngSeedManager', import_from_module='ns.core')
93 ## random-variable.h (module 'core'): ns3::SequentialVariable [class]
94 module.add_class('SequentialVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -070095 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter> [class]
96 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter'], parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyev29c19b92012-09-03 23:46:41 -070097 ## spring-mobility-helper.h (module 'ndnSIM'): ns3::SpringMobilityHelper [class]
98 module.add_class('SpringMobilityHelper')
Alexander Afanasyevad5acce2012-05-31 12:43:08 -070099 ## tag.h (module 'network'): ns3::Tag [class]
100 module.add_class('Tag', import_from_module='ns.network', parent=root_module['ns3::ObjectBase'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700101 ## tag-buffer.h (module 'network'): ns3::TagBuffer [class]
102 module.add_class('TagBuffer', import_from_module='ns.network')
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700103 ## random-variable.h (module 'core'): ns3::TriangularVariable [class]
104 module.add_class('TriangularVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700105 ## type-id.h (module 'core'): ns3::TypeId [class]
106 module.add_class('TypeId', import_from_module='ns.core')
107 ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration]
108 module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core')
109 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct]
110 module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId'])
111 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct]
112 module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700113 ## random-variable.h (module 'core'): ns3::UniformVariable [class]
114 module.add_class('UniformVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
115 ## vector.h (module 'core'): ns3::Vector2D [class]
116 module.add_class('Vector2D', import_from_module='ns.core')
117 ## vector.h (module 'core'): ns3::Vector3D [class]
118 module.add_class('Vector3D', import_from_module='ns.core')
119 ## random-variable.h (module 'core'): ns3::WeibullVariable [class]
120 module.add_class('WeibullVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
121 ## random-variable.h (module 'core'): ns3::ZetaVariable [class]
122 module.add_class('ZetaVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
123 ## random-variable.h (module 'core'): ns3::ZipfVariable [class]
124 module.add_class('ZipfVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700125 ## empty.h (module 'core'): ns3::empty [class]
126 module.add_class('empty', import_from_module='ns.core')
127 ## int64x64-double.h (module 'core'): ns3::int64x64_t [class]
128 module.add_class('int64x64_t', import_from_module='ns.core')
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700129 ## chunk.h (module 'network'): ns3::Chunk [class]
Alexander Afanasyev4756b892012-04-18 14:48:43 -0700130 module.add_class('Chunk', import_from_module='ns.network', parent=root_module['ns3::ObjectBase'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700131 ## random-variable.h (module 'core'): ns3::ConstantVariable [class]
132 module.add_class('ConstantVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
133 ## random-variable.h (module 'core'): ns3::DeterministicVariable [class]
134 module.add_class('DeterministicVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
135 ## random-variable.h (module 'core'): ns3::EmpiricalVariable [class]
136 module.add_class('EmpiricalVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
137 ## random-variable.h (module 'core'): ns3::ErlangVariable [class]
138 module.add_class('ErlangVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
139 ## random-variable.h (module 'core'): ns3::ExponentialVariable [class]
140 module.add_class('ExponentialVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
141 ## random-variable.h (module 'core'): ns3::GammaVariable [class]
142 module.add_class('GammaVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700143 ## header.h (module 'network'): ns3::Header [class]
144 module.add_class('Header', import_from_module='ns.network', parent=root_module['ns3::Chunk'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700145 ## random-variable.h (module 'core'): ns3::IntEmpiricalVariable [class]
146 module.add_class('IntEmpiricalVariable', import_from_module='ns.core', parent=root_module['ns3::EmpiricalVariable'])
147 ## random-variable.h (module 'core'): ns3::LogNormalVariable [class]
148 module.add_class('LogNormalVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
149 ## random-variable.h (module 'core'): ns3::NormalVariable [class]
150 module.add_class('NormalVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700151 ## object.h (module 'core'): ns3::Object [class]
152 module.add_class('Object', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >'])
153 ## object.h (module 'core'): ns3::Object::AggregateIterator [class]
154 module.add_class('AggregateIterator', import_from_module='ns.core', outer_class=root_module['ns3::Object'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700155 ## random-variable.h (module 'core'): ns3::ParetoVariable [class]
156 module.add_class('ParetoVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700157 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> > [class]
158 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::AttributeAccessor', 'ns3::empty', 'ns3::DefaultDeleter<ns3::AttributeAccessor>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
159 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> > [class]
160 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::AttributeChecker', 'ns3::empty', 'ns3::DefaultDeleter<ns3::AttributeChecker>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
161 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> > [class]
162 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::AttributeValue', 'ns3::empty', 'ns3::DefaultDeleter<ns3::AttributeValue>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
163 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> > [class]
164 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::CallbackImplBase', 'ns3::empty', 'ns3::DefaultDeleter<ns3::CallbackImplBase>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700165 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> > [class]
166 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::EventImpl', 'ns3::empty', 'ns3::DefaultDeleter<ns3::EventImpl>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
167 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> > [class]
168 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::NixVector', 'ns3::empty', 'ns3::DefaultDeleter<ns3::NixVector>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700169 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> > [class]
170 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Packet', 'ns3::empty', 'ns3::DefaultDeleter<ns3::Packet>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700171 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter<ns3::TopologyReader> > [class]
172 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::TopologyReader', 'ns3::empty', 'ns3::DefaultDeleter<ns3::TopologyReader>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700173 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> > [class]
174 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::TraceSourceAccessor', 'ns3::empty', 'ns3::DefaultDeleter<ns3::TraceSourceAccessor>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700175 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::ContentObjectHeader, ns3::Header, ns3::DefaultDeleter<ns3::ndn::ContentObjectHeader> > [class]
176 module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::ndn::ContentObjectHeader', 'ns3::Header', 'ns3::DefaultDeleter<ns3::ndn::ContentObjectHeader>'], parent=root_module['ns3::Header'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
177 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::FaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::ndn::FaceContainer> > [class]
178 module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::ndn::FaceContainer', 'ns3::empty', 'ns3::DefaultDeleter<ns3::ndn::FaceContainer>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
179 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::InterestHeader, ns3::Header, ns3::DefaultDeleter<ns3::ndn::InterestHeader> > [class]
180 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::ndn::InterestHeader', 'ns3::Header', 'ns3::DefaultDeleter<ns3::ndn::InterestHeader>'], parent=root_module['ns3::Header'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
181 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::NameComponents, ns3::empty, ns3::DefaultDeleter<ns3::ndn::NameComponents> > [class]
182 module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::ndn::NameComponents', 'ns3::empty', 'ns3::DefaultDeleter<ns3::ndn::NameComponents>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
183 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::cs::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::cs::Entry> > [class]
184 module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::ndn::cs::Entry', 'ns3::empty', 'ns3::DefaultDeleter<ns3::ndn::cs::Entry>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700185 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::pit::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::pit::Entry> > [class]
186 module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::ndn::pit::Entry', 'ns3::empty', 'ns3::DefaultDeleter<ns3::ndn::pit::Entry>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700187 ## nstime.h (module 'core'): ns3::Time [class]
188 module.add_class('Time', import_from_module='ns.core')
189 ## nstime.h (module 'core'): ns3::Time::Unit [enumeration]
190 module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core')
191 ## nstime.h (module 'core'): ns3::Time [class]
192 root_module['ns3::Time'].implicitly_converts_to(root_module['ns3::int64x64_t'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700193 ## topology-reader.h (module 'topology-read'): ns3::TopologyReader [class]
194 module.add_class('TopologyReader', import_from_module='ns.topology_read', parent=root_module['ns3::SimpleRefCount< ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter<ns3::TopologyReader> >'])
195 ## topology-reader.h (module 'topology-read'): ns3::TopologyReader::Link [class]
196 module.add_class('Link', import_from_module='ns.topology_read', outer_class=root_module['ns3::TopologyReader'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700197 ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor [class]
198 module.add_class('TraceSourceAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
199 ## trailer.h (module 'network'): ns3::Trailer [class]
200 module.add_class('Trailer', import_from_module='ns.network', parent=root_module['ns3::Chunk'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700201 ## annotated-topology-reader.h (module 'ndnSIM'): ns3::AnnotatedTopologyReader [class]
202 module.add_class('AnnotatedTopologyReader', parent=root_module['ns3::TopologyReader'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700203 ## application.h (module 'network'): ns3::Application [class]
204 module.add_class('Application', import_from_module='ns.network', parent=root_module['ns3::Object'])
205 ## attribute.h (module 'core'): ns3::AttributeAccessor [class]
206 module.add_class('AttributeAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >'])
207 ## attribute.h (module 'core'): ns3::AttributeChecker [class]
208 module.add_class('AttributeChecker', allow_subclassing=False, automatic_type_narrowing=True, import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >'])
209 ## attribute.h (module 'core'): ns3::AttributeValue [class]
210 module.add_class('AttributeValue', allow_subclassing=False, automatic_type_narrowing=True, import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700211 ## boolean.h (module 'core'): ns3::BooleanChecker [class]
212 module.add_class('BooleanChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
213 ## boolean.h (module 'core'): ns3::BooleanValue [class]
214 module.add_class('BooleanValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700215 ## callback.h (module 'core'): ns3::CallbackChecker [class]
216 module.add_class('CallbackChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
217 ## callback.h (module 'core'): ns3::CallbackImplBase [class]
218 module.add_class('CallbackImplBase', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >'])
219 ## callback.h (module 'core'): ns3::CallbackValue [class]
220 module.add_class('CallbackValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700221 ## double.h (module 'core'): ns3::DoubleValue [class]
222 module.add_class('DoubleValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700223 ## attribute.h (module 'core'): ns3::EmptyAttributeValue [class]
224 module.add_class('EmptyAttributeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700225 ## enum.h (module 'core'): ns3::EnumChecker [class]
226 module.add_class('EnumChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
227 ## enum.h (module 'core'): ns3::EnumValue [class]
228 module.add_class('EnumValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700229 ## event-impl.h (module 'core'): ns3::EventImpl [class]
230 module.add_class('EventImpl', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >'])
231 ## integer.h (module 'core'): ns3::IntegerValue [class]
232 module.add_class('IntegerValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
233 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker [class]
234 module.add_class('Ipv4AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
235 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue [class]
236 module.add_class('Ipv4AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
237 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker [class]
238 module.add_class('Ipv4MaskChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
239 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue [class]
240 module.add_class('Ipv4MaskValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
241 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker [class]
242 module.add_class('Ipv6AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
243 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue [class]
244 module.add_class('Ipv6AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
245 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker [class]
246 module.add_class('Ipv6PrefixChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
247 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue [class]
248 module.add_class('Ipv6PrefixValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700249 ## mobility-model.h (module 'mobility'): ns3::MobilityModel [class]
250 module.add_class('MobilityModel', import_from_module='ns.mobility', parent=root_module['ns3::Object'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700251 ## net-device.h (module 'network'): ns3::NetDevice [class]
252 module.add_class('NetDevice', import_from_module='ns.network', parent=root_module['ns3::Object'])
253 ## net-device.h (module 'network'): ns3::NetDevice::PacketType [enumeration]
254 module.add_enum('PacketType', ['PACKET_HOST', 'NS3_PACKET_HOST', 'PACKET_BROADCAST', 'NS3_PACKET_BROADCAST', 'PACKET_MULTICAST', 'NS3_PACKET_MULTICAST', 'PACKET_OTHERHOST', 'NS3_PACKET_OTHERHOST'], outer_class=root_module['ns3::NetDevice'], import_from_module='ns.network')
255 ## nix-vector.h (module 'network'): ns3::NixVector [class]
256 module.add_class('NixVector', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >'])
257 ## node.h (module 'network'): ns3::Node [class]
258 module.add_class('Node', import_from_module='ns.network', parent=root_module['ns3::Object'])
259 ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker [class]
260 module.add_class('ObjectFactoryChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
261 ## object-factory.h (module 'core'): ns3::ObjectFactoryValue [class]
262 module.add_class('ObjectFactoryValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700263 ## packet.h (module 'network'): ns3::Packet [class]
264 module.add_class('Packet', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700265 ## random-variable.h (module 'core'): ns3::RandomVariableChecker [class]
266 module.add_class('RandomVariableChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
267 ## random-variable.h (module 'core'): ns3::RandomVariableValue [class]
268 module.add_class('RandomVariableValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
269 ## rocketfuel-weights-reader.h (module 'ndnSIM'): ns3::RocketfuelWeightsReader [class]
270 module.add_class('RocketfuelWeightsReader', parent=root_module['ns3::AnnotatedTopologyReader'])
271 ## rocketfuel-weights-reader.h (module 'ndnSIM'): ns3::RocketfuelWeightsReader [enumeration]
272 module.add_enum('', ['LINKS', 'WEIGHTS', 'LATENCIES', 'POSITIONS'], outer_class=root_module['ns3::RocketfuelWeightsReader'])
273 ## spring-mobility-model.h (module 'ndnSIM'): ns3::SpringMobilityModel [class]
274 module.add_class('SpringMobilityModel', parent=root_module['ns3::MobilityModel'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700275 ## nstime.h (module 'core'): ns3::TimeChecker [class]
276 module.add_class('TimeChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
277 ## nstime.h (module 'core'): ns3::TimeValue [class]
278 module.add_class('TimeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
279 ## type-id.h (module 'core'): ns3::TypeIdChecker [class]
280 module.add_class('TypeIdChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
281 ## type-id.h (module 'core'): ns3::TypeIdValue [class]
282 module.add_class('TypeIdValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700283 ## uinteger.h (module 'core'): ns3::UintegerValue [class]
284 module.add_class('UintegerValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700285 ## vector.h (module 'core'): ns3::Vector2DChecker [class]
286 module.add_class('Vector2DChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
287 ## vector.h (module 'core'): ns3::Vector2DValue [class]
288 module.add_class('Vector2DValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
289 ## vector.h (module 'core'): ns3::Vector3DChecker [class]
290 module.add_class('Vector3DChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
291 ## vector.h (module 'core'): ns3::Vector3DValue [class]
292 module.add_class('Vector3DValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700293 ## address.h (module 'network'): ns3::AddressChecker [class]
294 module.add_class('AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
295 ## address.h (module 'network'): ns3::AddressValue [class]
296 module.add_class('AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700297 module.add_container('std::map< std::string, std::string >', ('std::string', 'std::string'), container_type='map')
298 module.add_container('std::list< ns3::TopologyReader::Link >', 'ns3::TopologyReader::Link', container_type='list')
299 typehandlers.add_type_alias('ns3::Vector3DChecker', 'ns3::VectorChecker')
300 typehandlers.add_type_alias('ns3::Vector3DChecker*', 'ns3::VectorChecker*')
301 typehandlers.add_type_alias('ns3::Vector3DChecker&', 'ns3::VectorChecker&')
302 module.add_typedef(root_module['ns3::Vector3DChecker'], 'VectorChecker')
303 typehandlers.add_type_alias('ns3::RngSeedManager', 'ns3::SeedManager')
304 typehandlers.add_type_alias('ns3::RngSeedManager*', 'ns3::SeedManager*')
305 typehandlers.add_type_alias('ns3::RngSeedManager&', 'ns3::SeedManager&')
306 module.add_typedef(root_module['ns3::RngSeedManager'], 'SeedManager')
307 typehandlers.add_type_alias('ns3::Vector3D', 'ns3::Vector')
308 typehandlers.add_type_alias('ns3::Vector3D*', 'ns3::Vector*')
309 typehandlers.add_type_alias('ns3::Vector3D&', 'ns3::Vector&')
310 module.add_typedef(root_module['ns3::Vector3D'], 'Vector')
311 typehandlers.add_type_alias('ns3::Vector3DValue', 'ns3::VectorValue')
312 typehandlers.add_type_alias('ns3::Vector3DValue*', 'ns3::VectorValue*')
313 typehandlers.add_type_alias('ns3::Vector3DValue&', 'ns3::VectorValue&')
314 module.add_typedef(root_module['ns3::Vector3DValue'], 'VectorValue')
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700315
316 ## Register a nested module for the namespace FatalImpl
317
318 nested_module = module.add_cpp_namespace('FatalImpl')
319 register_types_ns3_FatalImpl(nested_module)
320
321
322 ## Register a nested module for the namespace internal
323
324 nested_module = module.add_cpp_namespace('internal')
325 register_types_ns3_internal(nested_module)
326
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700327
328 ## Register a nested module for the namespace ndn
329
330 nested_module = module.add_cpp_namespace('ndn')
331 register_types_ns3_ndn(nested_module)
332
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700333
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700334def register_types_ns3_FatalImpl(module):
335 root_module = module.get_root()
336
337
338def register_types_ns3_internal(module):
339 root_module = module.get_root()
340
341
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700342def register_types_ns3_ndn(module):
343 root_module = module.get_root()
344
345 ## ndn-app.h (module 'ndnSIM'): ns3::ndn::App [class]
346 module.add_class('App', parent=root_module['ns3::Application'])
347 ## ndn-app-helper.h (module 'ndnSIM'): ns3::ndn::AppHelper [class]
348 module.add_class('AppHelper')
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -0800349 ## ndn-content-object.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeader [class]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700350 module.add_class('ContentObjectHeader', parent=root_module['ns3::SimpleRefCount< ns3::ndn::ContentObjectHeader, ns3::Header, ns3::DefaultDeleter<ns3::ndn::ContentObjectHeader> >'])
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -0800351 ## ndn-content-object.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeaderException [class]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700352 module.add_class('ContentObjectHeaderException')
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -0800353 ## ndn-content-object.h (module 'ndnSIM'): ns3::ndn::ContentObjectTail [class]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700354 module.add_class('ContentObjectTail', parent=root_module['ns3::Trailer'])
355 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::ContentStore [class]
356 module.add_class('ContentStore', parent=root_module['ns3::Object'])
357 ## ndn-face.h (module 'ndnSIM'): ns3::ndn::Face [class]
358 module.add_class('Face', parent=root_module['ns3::Object'])
359 ## ndn-face-container.h (module 'ndnSIM'): ns3::ndn::FaceContainer [class]
360 module.add_class('FaceContainer', parent=root_module['ns3::SimpleRefCount< ns3::ndn::FaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::ndn::FaceContainer> >'])
361 ## ndn-fib.h (module 'ndnSIM'): ns3::ndn::Fib [class]
362 module.add_class('Fib', parent=root_module['ns3::Object'])
363 ## ndn-forwarding-strategy.h (module 'ndnSIM'): ns3::ndn::ForwardingStrategy [class]
364 module.add_class('ForwardingStrategy', parent=root_module['ns3::Object'])
365 ## ndn-global-routing-helper.h (module 'ndnSIM'): ns3::ndn::GlobalRoutingHelper [class]
366 module.add_class('GlobalRoutingHelper')
367 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::HeaderHelper [class]
368 module.add_class('HeaderHelper')
369 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::HeaderHelper::Type [enumeration]
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -0800370 module.add_enum('Type', ['INTEREST_CCNB', 'CONTENT_OBJECT_CCNB', 'INTEREST_NDNSIM', 'CONTENT_OBJECT_NDNSIM'], outer_class=root_module['ns3::ndn::HeaderHelper'])
371 ## ndn-interest.h (module 'ndnSIM'): ns3::ndn::InterestHeader [class]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700372 module.add_class('InterestHeader', parent=root_module['ns3::SimpleRefCount< ns3::ndn::InterestHeader, ns3::Header, ns3::DefaultDeleter<ns3::ndn::InterestHeader> >'])
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -0800373 ## ndn-interest.h (module 'ndnSIM'): ns3::ndn::InterestHeader [enumeration]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700374 module.add_enum('', ['NORMAL_INTEREST', 'NACK_LOOP', 'NACK_CONGESTION', 'NACK_GIVEUP_PIT'], outer_class=root_module['ns3::ndn::InterestHeader'])
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -0800375 ## ndn-interest.h (module 'ndnSIM'): ns3::ndn::InterestHeaderException [class]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700376 module.add_class('InterestHeaderException')
377 ## ndn-l3-protocol.h (module 'ndnSIM'): ns3::ndn::L3Protocol [class]
378 module.add_class('L3Protocol', parent=root_module['ns3::Object'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700379 ## ndn-limits.h (module 'ndnSIM'): ns3::ndn::Limits [class]
380 module.add_class('Limits', parent=root_module['ns3::Object'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700381 ## ndn-name-components.h (module 'ndnSIM'): ns3::ndn::NameComponents [class]
382 module.add_class('NameComponents', parent=root_module['ns3::SimpleRefCount< ns3::ndn::NameComponents, ns3::empty, ns3::DefaultDeleter<ns3::ndn::NameComponents> >'])
383 ## ndn-name-components.h (module 'ndnSIM'): ns3::ndn::NameComponentsChecker [class]
384 module.add_class('NameComponentsChecker', parent=root_module['ns3::AttributeChecker'])
385 ## ndn-name-components.h (module 'ndnSIM'): ns3::ndn::NameComponentsValue [class]
386 module.add_class('NameComponentsValue', parent=root_module['ns3::AttributeValue'])
387 ## ndn-net-device-face.h (module 'ndnSIM'): ns3::ndn::NetDeviceFace [class]
388 module.add_class('NetDeviceFace', parent=root_module['ns3::ndn::Face'])
389 ## ndn-pit.h (module 'ndnSIM'): ns3::ndn::Pit [class]
390 module.add_class('Pit', parent=root_module['ns3::Object'])
391 ## ndn-stack-helper.h (module 'ndnSIM'): ns3::ndn::StackHelper [class]
392 module.add_class('StackHelper')
393 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::UnknownHeaderException [class]
394 module.add_class('UnknownHeaderException')
395 ## ndn-app-face.h (module 'ndnSIM'): ns3::ndn::AppFace [class]
396 module.add_class('AppFace', parent=root_module['ns3::ndn::Face'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700397 module.add_container('std::vector< ns3::Ptr< ns3::ndn::Face > >', 'ns3::Ptr< ns3::ndn::Face >', container_type='vector')
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700398 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')
399 module.add_container('std::list< std::string >', 'std::string', container_type='list')
400
401 ## Register a nested module for the namespace cs
402
403 nested_module = module.add_cpp_namespace('cs')
404 register_types_ns3_ndn_cs(nested_module)
405
406
407 ## Register a nested module for the namespace fib
408
409 nested_module = module.add_cpp_namespace('fib')
410 register_types_ns3_ndn_fib(nested_module)
411
412
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700413 ## Register a nested module for the namespace fw
414
415 nested_module = module.add_cpp_namespace('fw')
416 register_types_ns3_ndn_fw(nested_module)
417
418
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700419 ## Register a nested module for the namespace pit
420
421 nested_module = module.add_cpp_namespace('pit')
422 register_types_ns3_ndn_pit(nested_module)
423
424
425def register_types_ns3_ndn_cs(module):
426 root_module = module.get_root()
427
428 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::cs::Entry [class]
429 module.add_class('Entry', parent=root_module['ns3::SimpleRefCount< ns3::ndn::cs::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::cs::Entry> >'])
430
431def register_types_ns3_ndn_fib(module):
432 root_module = module.get_root()
433
434 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry [class]
Alexander Afanasyevf5c07742012-10-31 13:13:05 -0700435 module.add_class('Entry', parent=root_module['ns3::Object'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700436 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::NoFaces [class]
437 module.add_class('NoFaces', outer_class=root_module['ns3::ndn::fib::Entry'])
438 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric [class]
439 module.add_class('FaceMetric')
440 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric::Status [enumeration]
441 module.add_enum('Status', ['NDN_FIB_GREEN', 'NDN_FIB_YELLOW', 'NDN_FIB_RED'], outer_class=root_module['ns3::ndn::fib::FaceMetric'])
442 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetricContainer [struct]
443 module.add_class('FaceMetricContainer')
444 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_face [class]
445 module.add_class('i_face')
446 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_metric [class]
447 module.add_class('i_metric')
448 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_nth [class]
449 module.add_class('i_nth')
450
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700451def register_types_ns3_ndn_fw(module):
452 root_module = module.get_root()
453
454 ## ndn-fw-tag.h (module 'ndnSIM'): ns3::ndn::fw::Tag [class]
455 module.add_class('Tag')
456
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700457def register_types_ns3_ndn_pit(module):
458 root_module = module.get_root()
459
460 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::Entry [class]
461 module.add_class('Entry', parent=root_module['ns3::SimpleRefCount< ns3::ndn::pit::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::pit::Entry> >'])
462 ## ndn-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::ndn::pit::IncomingFace [struct]
463 module.add_class('IncomingFace')
464 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace [struct]
465 module.add_class('OutgoingFace')
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700466 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::i_face [class]
467 module.add_class('i_face')
468 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::i_retx [class]
469 module.add_class('i_retx')
470 module.add_container('std::set< ns3::ndn::pit::IncomingFace >', 'ns3::ndn::pit::IncomingFace', container_type='set')
Alexander Afanasyevc202fd92012-09-03 21:46:00 -0700471 module.add_container('std::set< ns3::ndn::pit::OutgoingFace >', 'ns3::ndn::pit::OutgoingFace', container_type='set')
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700472 module.add_container('std::set< unsigned int >', 'unsigned int', container_type='set')
473
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700474def register_methods(root_module):
475 register_Ns3Address_methods(root_module, root_module['ns3::Address'])
476 register_Ns3ApplicationContainer_methods(root_module, root_module['ns3::ApplicationContainer'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700477 register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList'])
478 register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item'])
479 register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer'])
480 register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator'])
481 register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator'])
482 register_Ns3ByteTagIteratorItem_methods(root_module, root_module['ns3::ByteTagIterator::Item'])
483 register_Ns3ByteTagList_methods(root_module, root_module['ns3::ByteTagList'])
484 register_Ns3ByteTagListIterator_methods(root_module, root_module['ns3::ByteTagList::Iterator'])
485 register_Ns3ByteTagListIteratorItem_methods(root_module, root_module['ns3::ByteTagList::Iterator::Item'])
486 register_Ns3CallbackBase_methods(root_module, root_module['ns3::CallbackBase'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700487 register_Ns3EventId_methods(root_module, root_module['ns3::EventId'])
488 register_Ns3Ipv4Address_methods(root_module, root_module['ns3::Ipv4Address'])
489 register_Ns3Ipv4Mask_methods(root_module, root_module['ns3::Ipv4Mask'])
490 register_Ns3Ipv6Address_methods(root_module, root_module['ns3::Ipv6Address'])
491 register_Ns3Ipv6Prefix_methods(root_module, root_module['ns3::Ipv6Prefix'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700492 register_Ns3NetDeviceContainer_methods(root_module, root_module['ns3::NetDeviceContainer'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700493 register_Ns3NodeContainer_methods(root_module, root_module['ns3::NodeContainer'])
494 register_Ns3ObjectBase_methods(root_module, root_module['ns3::ObjectBase'])
495 register_Ns3ObjectDeleter_methods(root_module, root_module['ns3::ObjectDeleter'])
496 register_Ns3ObjectFactory_methods(root_module, root_module['ns3::ObjectFactory'])
497 register_Ns3PacketMetadata_methods(root_module, root_module['ns3::PacketMetadata'])
498 register_Ns3PacketMetadataItem_methods(root_module, root_module['ns3::PacketMetadata::Item'])
499 register_Ns3PacketMetadataItemIterator_methods(root_module, root_module['ns3::PacketMetadata::ItemIterator'])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -0700500 register_Ns3PacketTagIterator_methods(root_module, root_module['ns3::PacketTagIterator'])
501 register_Ns3PacketTagIteratorItem_methods(root_module, root_module['ns3::PacketTagIterator::Item'])
502 register_Ns3PacketTagList_methods(root_module, root_module['ns3::PacketTagList'])
503 register_Ns3PacketTagListTagData_methods(root_module, root_module['ns3::PacketTagList::TagData'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700504 register_Ns3RandomVariable_methods(root_module, root_module['ns3::RandomVariable'])
505 register_Ns3RngSeedManager_methods(root_module, root_module['ns3::RngSeedManager'])
506 register_Ns3SequentialVariable_methods(root_module, root_module['ns3::SequentialVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700507 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 -0700508 register_Ns3SpringMobilityHelper_methods(root_module, root_module['ns3::SpringMobilityHelper'])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -0700509 register_Ns3Tag_methods(root_module, root_module['ns3::Tag'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700510 register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700511 register_Ns3TriangularVariable_methods(root_module, root_module['ns3::TriangularVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700512 register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId'])
513 register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation'])
514 register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700515 register_Ns3UniformVariable_methods(root_module, root_module['ns3::UniformVariable'])
516 register_Ns3Vector2D_methods(root_module, root_module['ns3::Vector2D'])
517 register_Ns3Vector3D_methods(root_module, root_module['ns3::Vector3D'])
518 register_Ns3WeibullVariable_methods(root_module, root_module['ns3::WeibullVariable'])
519 register_Ns3ZetaVariable_methods(root_module, root_module['ns3::ZetaVariable'])
520 register_Ns3ZipfVariable_methods(root_module, root_module['ns3::ZipfVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700521 register_Ns3Empty_methods(root_module, root_module['ns3::empty'])
522 register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700523 register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700524 register_Ns3ConstantVariable_methods(root_module, root_module['ns3::ConstantVariable'])
525 register_Ns3DeterministicVariable_methods(root_module, root_module['ns3::DeterministicVariable'])
526 register_Ns3EmpiricalVariable_methods(root_module, root_module['ns3::EmpiricalVariable'])
527 register_Ns3ErlangVariable_methods(root_module, root_module['ns3::ErlangVariable'])
528 register_Ns3ExponentialVariable_methods(root_module, root_module['ns3::ExponentialVariable'])
529 register_Ns3GammaVariable_methods(root_module, root_module['ns3::GammaVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700530 register_Ns3Header_methods(root_module, root_module['ns3::Header'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700531 register_Ns3IntEmpiricalVariable_methods(root_module, root_module['ns3::IntEmpiricalVariable'])
532 register_Ns3LogNormalVariable_methods(root_module, root_module['ns3::LogNormalVariable'])
533 register_Ns3NormalVariable_methods(root_module, root_module['ns3::NormalVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700534 register_Ns3Object_methods(root_module, root_module['ns3::Object'])
535 register_Ns3ObjectAggregateIterator_methods(root_module, root_module['ns3::Object::AggregateIterator'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700536 register_Ns3ParetoVariable_methods(root_module, root_module['ns3::ParetoVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700537 register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >'])
538 register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeChecker__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >'])
539 register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >'])
540 register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700541 register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >'])
542 register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700543 register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700544 register_Ns3SimpleRefCount__Ns3TopologyReader_Ns3Empty_Ns3DefaultDeleter__lt__ns3TopologyReader__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter<ns3::TopologyReader> >'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700545 register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700546 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> >'])
547 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> >'])
548 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> >'])
549 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> >'])
550 register_Ns3SimpleRefCount__Ns3NdnCsEntry_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnCsEntry__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::ndn::cs::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::cs::Entry> >'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700551 register_Ns3SimpleRefCount__Ns3NdnPitEntry_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnPitEntry__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::ndn::pit::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::pit::Entry> >'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700552 register_Ns3Time_methods(root_module, root_module['ns3::Time'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700553 register_Ns3TopologyReader_methods(root_module, root_module['ns3::TopologyReader'])
554 register_Ns3TopologyReaderLink_methods(root_module, root_module['ns3::TopologyReader::Link'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700555 register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor'])
556 register_Ns3Trailer_methods(root_module, root_module['ns3::Trailer'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700557 register_Ns3AnnotatedTopologyReader_methods(root_module, root_module['ns3::AnnotatedTopologyReader'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700558 register_Ns3Application_methods(root_module, root_module['ns3::Application'])
559 register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor'])
560 register_Ns3AttributeChecker_methods(root_module, root_module['ns3::AttributeChecker'])
561 register_Ns3AttributeValue_methods(root_module, root_module['ns3::AttributeValue'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700562 register_Ns3BooleanChecker_methods(root_module, root_module['ns3::BooleanChecker'])
563 register_Ns3BooleanValue_methods(root_module, root_module['ns3::BooleanValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700564 register_Ns3CallbackChecker_methods(root_module, root_module['ns3::CallbackChecker'])
565 register_Ns3CallbackImplBase_methods(root_module, root_module['ns3::CallbackImplBase'])
566 register_Ns3CallbackValue_methods(root_module, root_module['ns3::CallbackValue'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700567 register_Ns3DoubleValue_methods(root_module, root_module['ns3::DoubleValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700568 register_Ns3EmptyAttributeValue_methods(root_module, root_module['ns3::EmptyAttributeValue'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700569 register_Ns3EnumChecker_methods(root_module, root_module['ns3::EnumChecker'])
570 register_Ns3EnumValue_methods(root_module, root_module['ns3::EnumValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700571 register_Ns3EventImpl_methods(root_module, root_module['ns3::EventImpl'])
572 register_Ns3IntegerValue_methods(root_module, root_module['ns3::IntegerValue'])
573 register_Ns3Ipv4AddressChecker_methods(root_module, root_module['ns3::Ipv4AddressChecker'])
574 register_Ns3Ipv4AddressValue_methods(root_module, root_module['ns3::Ipv4AddressValue'])
575 register_Ns3Ipv4MaskChecker_methods(root_module, root_module['ns3::Ipv4MaskChecker'])
576 register_Ns3Ipv4MaskValue_methods(root_module, root_module['ns3::Ipv4MaskValue'])
577 register_Ns3Ipv6AddressChecker_methods(root_module, root_module['ns3::Ipv6AddressChecker'])
578 register_Ns3Ipv6AddressValue_methods(root_module, root_module['ns3::Ipv6AddressValue'])
579 register_Ns3Ipv6PrefixChecker_methods(root_module, root_module['ns3::Ipv6PrefixChecker'])
580 register_Ns3Ipv6PrefixValue_methods(root_module, root_module['ns3::Ipv6PrefixValue'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700581 register_Ns3MobilityModel_methods(root_module, root_module['ns3::MobilityModel'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700582 register_Ns3NetDevice_methods(root_module, root_module['ns3::NetDevice'])
583 register_Ns3NixVector_methods(root_module, root_module['ns3::NixVector'])
584 register_Ns3Node_methods(root_module, root_module['ns3::Node'])
585 register_Ns3ObjectFactoryChecker_methods(root_module, root_module['ns3::ObjectFactoryChecker'])
586 register_Ns3ObjectFactoryValue_methods(root_module, root_module['ns3::ObjectFactoryValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700587 register_Ns3Packet_methods(root_module, root_module['ns3::Packet'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700588 register_Ns3RandomVariableChecker_methods(root_module, root_module['ns3::RandomVariableChecker'])
589 register_Ns3RandomVariableValue_methods(root_module, root_module['ns3::RandomVariableValue'])
590 register_Ns3RocketfuelWeightsReader_methods(root_module, root_module['ns3::RocketfuelWeightsReader'])
591 register_Ns3SpringMobilityModel_methods(root_module, root_module['ns3::SpringMobilityModel'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700592 register_Ns3TimeChecker_methods(root_module, root_module['ns3::TimeChecker'])
593 register_Ns3TimeValue_methods(root_module, root_module['ns3::TimeValue'])
594 register_Ns3TypeIdChecker_methods(root_module, root_module['ns3::TypeIdChecker'])
595 register_Ns3TypeIdValue_methods(root_module, root_module['ns3::TypeIdValue'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700596 register_Ns3UintegerValue_methods(root_module, root_module['ns3::UintegerValue'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700597 register_Ns3Vector2DChecker_methods(root_module, root_module['ns3::Vector2DChecker'])
598 register_Ns3Vector2DValue_methods(root_module, root_module['ns3::Vector2DValue'])
599 register_Ns3Vector3DChecker_methods(root_module, root_module['ns3::Vector3DChecker'])
600 register_Ns3Vector3DValue_methods(root_module, root_module['ns3::Vector3DValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700601 register_Ns3AddressChecker_methods(root_module, root_module['ns3::AddressChecker'])
602 register_Ns3AddressValue_methods(root_module, root_module['ns3::AddressValue'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700603 register_Ns3NdnApp_methods(root_module, root_module['ns3::ndn::App'])
604 register_Ns3NdnAppHelper_methods(root_module, root_module['ns3::ndn::AppHelper'])
605 register_Ns3NdnContentObjectHeader_methods(root_module, root_module['ns3::ndn::ContentObjectHeader'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700606 register_Ns3NdnContentObjectHeaderException_methods(root_module, root_module['ns3::ndn::ContentObjectHeaderException'])
607 register_Ns3NdnContentObjectTail_methods(root_module, root_module['ns3::ndn::ContentObjectTail'])
608 register_Ns3NdnContentStore_methods(root_module, root_module['ns3::ndn::ContentStore'])
609 register_Ns3NdnFace_methods(root_module, root_module['ns3::ndn::Face'])
610 register_Ns3NdnFaceContainer_methods(root_module, root_module['ns3::ndn::FaceContainer'])
611 register_Ns3NdnFib_methods(root_module, root_module['ns3::ndn::Fib'])
612 register_Ns3NdnForwardingStrategy_methods(root_module, root_module['ns3::ndn::ForwardingStrategy'])
613 register_Ns3NdnGlobalRoutingHelper_methods(root_module, root_module['ns3::ndn::GlobalRoutingHelper'])
614 register_Ns3NdnHeaderHelper_methods(root_module, root_module['ns3::ndn::HeaderHelper'])
615 register_Ns3NdnInterestHeader_methods(root_module, root_module['ns3::ndn::InterestHeader'])
616 register_Ns3NdnInterestHeaderException_methods(root_module, root_module['ns3::ndn::InterestHeaderException'])
617 register_Ns3NdnL3Protocol_methods(root_module, root_module['ns3::ndn::L3Protocol'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700618 register_Ns3NdnLimits_methods(root_module, root_module['ns3::ndn::Limits'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700619 register_Ns3NdnNameComponents_methods(root_module, root_module['ns3::ndn::NameComponents'])
620 register_Ns3NdnNameComponentsChecker_methods(root_module, root_module['ns3::ndn::NameComponentsChecker'])
621 register_Ns3NdnNameComponentsValue_methods(root_module, root_module['ns3::ndn::NameComponentsValue'])
622 register_Ns3NdnNetDeviceFace_methods(root_module, root_module['ns3::ndn::NetDeviceFace'])
623 register_Ns3NdnPit_methods(root_module, root_module['ns3::ndn::Pit'])
624 register_Ns3NdnStackHelper_methods(root_module, root_module['ns3::ndn::StackHelper'])
625 register_Ns3NdnUnknownHeaderException_methods(root_module, root_module['ns3::ndn::UnknownHeaderException'])
626 register_Ns3NdnAppFace_methods(root_module, root_module['ns3::ndn::AppFace'])
627 register_Ns3NdnCsEntry_methods(root_module, root_module['ns3::ndn::cs::Entry'])
628 register_Ns3NdnFibEntry_methods(root_module, root_module['ns3::ndn::fib::Entry'])
629 register_Ns3NdnFibEntryNoFaces_methods(root_module, root_module['ns3::ndn::fib::Entry::NoFaces'])
630 register_Ns3NdnFibFaceMetric_methods(root_module, root_module['ns3::ndn::fib::FaceMetric'])
631 register_Ns3NdnFibFaceMetricContainer_methods(root_module, root_module['ns3::ndn::fib::FaceMetricContainer'])
632 register_Ns3NdnFibI_face_methods(root_module, root_module['ns3::ndn::fib::i_face'])
633 register_Ns3NdnFibI_metric_methods(root_module, root_module['ns3::ndn::fib::i_metric'])
634 register_Ns3NdnFibI_nth_methods(root_module, root_module['ns3::ndn::fib::i_nth'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700635 register_Ns3NdnFwTag_methods(root_module, root_module['ns3::ndn::fw::Tag'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700636 register_Ns3NdnPitEntry_methods(root_module, root_module['ns3::ndn::pit::Entry'])
637 register_Ns3NdnPitIncomingFace_methods(root_module, root_module['ns3::ndn::pit::IncomingFace'])
638 register_Ns3NdnPitOutgoingFace_methods(root_module, root_module['ns3::ndn::pit::OutgoingFace'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700639 register_Ns3NdnPitI_face_methods(root_module, root_module['ns3::ndn::pit::i_face'])
640 register_Ns3NdnPitI_retx_methods(root_module, root_module['ns3::ndn::pit::i_retx'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700641 return
642
643def register_Ns3Address_methods(root_module, cls):
644 cls.add_binary_comparison_operator('!=')
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700645 cls.add_output_stream_operator()
Alexander Afanasyeva28ec562012-10-25 14:07:32 -0700646 cls.add_binary_comparison_operator('==')
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700647 cls.add_binary_comparison_operator('<')
648 ## address.h (module 'network'): ns3::Address::Address() [constructor]
649 cls.add_constructor([])
650 ## address.h (module 'network'): ns3::Address::Address(uint8_t type, uint8_t const * buffer, uint8_t len) [constructor]
651 cls.add_constructor([param('uint8_t', 'type'), param('uint8_t const *', 'buffer'), param('uint8_t', 'len')])
652 ## address.h (module 'network'): ns3::Address::Address(ns3::Address const & address) [copy constructor]
653 cls.add_constructor([param('ns3::Address const &', 'address')])
654 ## address.h (module 'network'): bool ns3::Address::CheckCompatible(uint8_t type, uint8_t len) const [member function]
655 cls.add_method('CheckCompatible',
656 'bool',
657 [param('uint8_t', 'type'), param('uint8_t', 'len')],
658 is_const=True)
659 ## address.h (module 'network'): uint32_t ns3::Address::CopyAllFrom(uint8_t const * buffer, uint8_t len) [member function]
660 cls.add_method('CopyAllFrom',
661 'uint32_t',
662 [param('uint8_t const *', 'buffer'), param('uint8_t', 'len')])
663 ## address.h (module 'network'): uint32_t ns3::Address::CopyAllTo(uint8_t * buffer, uint8_t len) const [member function]
664 cls.add_method('CopyAllTo',
665 'uint32_t',
666 [param('uint8_t *', 'buffer'), param('uint8_t', 'len')],
667 is_const=True)
668 ## address.h (module 'network'): uint32_t ns3::Address::CopyFrom(uint8_t const * buffer, uint8_t len) [member function]
669 cls.add_method('CopyFrom',
670 'uint32_t',
671 [param('uint8_t const *', 'buffer'), param('uint8_t', 'len')])
672 ## address.h (module 'network'): uint32_t ns3::Address::CopyTo(uint8_t * buffer) const [member function]
673 cls.add_method('CopyTo',
674 'uint32_t',
675 [param('uint8_t *', 'buffer')],
676 is_const=True)
677 ## address.h (module 'network'): void ns3::Address::Deserialize(ns3::TagBuffer buffer) [member function]
678 cls.add_method('Deserialize',
679 'void',
680 [param('ns3::TagBuffer', 'buffer')])
681 ## address.h (module 'network'): uint8_t ns3::Address::GetLength() const [member function]
682 cls.add_method('GetLength',
683 'uint8_t',
684 [],
685 is_const=True)
686 ## address.h (module 'network'): uint32_t ns3::Address::GetSerializedSize() const [member function]
687 cls.add_method('GetSerializedSize',
688 'uint32_t',
689 [],
690 is_const=True)
691 ## address.h (module 'network'): bool ns3::Address::IsInvalid() const [member function]
692 cls.add_method('IsInvalid',
693 'bool',
694 [],
695 is_const=True)
696 ## address.h (module 'network'): bool ns3::Address::IsMatchingType(uint8_t type) const [member function]
697 cls.add_method('IsMatchingType',
698 'bool',
699 [param('uint8_t', 'type')],
700 is_const=True)
701 ## address.h (module 'network'): static uint8_t ns3::Address::Register() [member function]
702 cls.add_method('Register',
703 'uint8_t',
704 [],
705 is_static=True)
706 ## address.h (module 'network'): void ns3::Address::Serialize(ns3::TagBuffer buffer) const [member function]
707 cls.add_method('Serialize',
708 'void',
709 [param('ns3::TagBuffer', 'buffer')],
710 is_const=True)
711 return
712
713def register_Ns3ApplicationContainer_methods(root_module, cls):
714 ## application-container.h (module 'network'): ns3::ApplicationContainer::ApplicationContainer(ns3::ApplicationContainer const & arg0) [copy constructor]
715 cls.add_constructor([param('ns3::ApplicationContainer const &', 'arg0')])
716 ## application-container.h (module 'network'): ns3::ApplicationContainer::ApplicationContainer() [constructor]
717 cls.add_constructor([])
718 ## application-container.h (module 'network'): ns3::ApplicationContainer::ApplicationContainer(ns3::Ptr<ns3::Application> application) [constructor]
719 cls.add_constructor([param('ns3::Ptr< ns3::Application >', 'application')])
720 ## application-container.h (module 'network'): ns3::ApplicationContainer::ApplicationContainer(std::string name) [constructor]
721 cls.add_constructor([param('std::string', 'name')])
722 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Add(ns3::ApplicationContainer other) [member function]
723 cls.add_method('Add',
724 'void',
725 [param('ns3::ApplicationContainer', 'other')])
726 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Add(ns3::Ptr<ns3::Application> application) [member function]
727 cls.add_method('Add',
728 'void',
729 [param('ns3::Ptr< ns3::Application >', 'application')])
730 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Add(std::string name) [member function]
731 cls.add_method('Add',
732 'void',
733 [param('std::string', 'name')])
734 ## 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]
735 cls.add_method('Begin',
736 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Application > const, std::vector< ns3::Ptr< ns3::Application > > >',
737 [],
738 is_const=True)
739 ## 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]
740 cls.add_method('End',
741 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Application > const, std::vector< ns3::Ptr< ns3::Application > > >',
742 [],
743 is_const=True)
744 ## application-container.h (module 'network'): ns3::Ptr<ns3::Application> ns3::ApplicationContainer::Get(uint32_t i) const [member function]
745 cls.add_method('Get',
746 'ns3::Ptr< ns3::Application >',
747 [param('uint32_t', 'i')],
748 is_const=True)
749 ## application-container.h (module 'network'): uint32_t ns3::ApplicationContainer::GetN() const [member function]
750 cls.add_method('GetN',
751 'uint32_t',
752 [],
753 is_const=True)
754 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Start(ns3::Time start) [member function]
755 cls.add_method('Start',
756 'void',
757 [param('ns3::Time', 'start')])
758 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Stop(ns3::Time stop) [member function]
759 cls.add_method('Stop',
760 'void',
761 [param('ns3::Time', 'stop')])
762 return
763
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700764def register_Ns3AttributeConstructionList_methods(root_module, cls):
765 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor]
766 cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')])
767 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor]
768 cls.add_constructor([])
769 ## 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]
770 cls.add_method('Add',
771 'void',
772 [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')])
773 ## attribute-construction-list.h (module 'core'): std::_List_const_iterator<ns3::AttributeConstructionList::Item> ns3::AttributeConstructionList::Begin() const [member function]
774 cls.add_method('Begin',
775 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >',
776 [],
777 is_const=True)
778 ## attribute-construction-list.h (module 'core'): std::_List_const_iterator<ns3::AttributeConstructionList::Item> ns3::AttributeConstructionList::End() const [member function]
779 cls.add_method('End',
780 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >',
781 [],
782 is_const=True)
783 ## attribute-construction-list.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeConstructionList::Find(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
784 cls.add_method('Find',
785 'ns3::Ptr< ns3::AttributeValue >',
786 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
787 is_const=True)
788 return
789
790def register_Ns3AttributeConstructionListItem_methods(root_module, cls):
791 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor]
792 cls.add_constructor([])
793 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor]
794 cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')])
795 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable]
796 cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False)
797 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable]
798 cls.add_instance_attribute('name', 'std::string', is_const=False)
799 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable]
800 cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False)
801 return
802
803def register_Ns3Buffer_methods(root_module, cls):
804 ## buffer.h (module 'network'): ns3::Buffer::Buffer() [constructor]
805 cls.add_constructor([])
806 ## buffer.h (module 'network'): ns3::Buffer::Buffer(uint32_t dataSize) [constructor]
807 cls.add_constructor([param('uint32_t', 'dataSize')])
808 ## buffer.h (module 'network'): ns3::Buffer::Buffer(uint32_t dataSize, bool initialize) [constructor]
809 cls.add_constructor([param('uint32_t', 'dataSize'), param('bool', 'initialize')])
810 ## buffer.h (module 'network'): ns3::Buffer::Buffer(ns3::Buffer const & o) [copy constructor]
811 cls.add_constructor([param('ns3::Buffer const &', 'o')])
812 ## buffer.h (module 'network'): bool ns3::Buffer::AddAtEnd(uint32_t end) [member function]
813 cls.add_method('AddAtEnd',
814 'bool',
815 [param('uint32_t', 'end')])
816 ## buffer.h (module 'network'): void ns3::Buffer::AddAtEnd(ns3::Buffer const & o) [member function]
817 cls.add_method('AddAtEnd',
818 'void',
819 [param('ns3::Buffer const &', 'o')])
820 ## buffer.h (module 'network'): bool ns3::Buffer::AddAtStart(uint32_t start) [member function]
821 cls.add_method('AddAtStart',
822 'bool',
823 [param('uint32_t', 'start')])
824 ## buffer.h (module 'network'): ns3::Buffer::Iterator ns3::Buffer::Begin() const [member function]
825 cls.add_method('Begin',
826 'ns3::Buffer::Iterator',
827 [],
828 is_const=True)
829 ## buffer.h (module 'network'): void ns3::Buffer::CopyData(std::ostream * os, uint32_t size) const [member function]
830 cls.add_method('CopyData',
831 'void',
832 [param('std::ostream *', 'os'), param('uint32_t', 'size')],
833 is_const=True)
834 ## buffer.h (module 'network'): uint32_t ns3::Buffer::CopyData(uint8_t * buffer, uint32_t size) const [member function]
835 cls.add_method('CopyData',
836 'uint32_t',
837 [param('uint8_t *', 'buffer'), param('uint32_t', 'size')],
838 is_const=True)
839 ## buffer.h (module 'network'): ns3::Buffer ns3::Buffer::CreateFragment(uint32_t start, uint32_t length) const [member function]
840 cls.add_method('CreateFragment',
841 'ns3::Buffer',
842 [param('uint32_t', 'start'), param('uint32_t', 'length')],
843 is_const=True)
844 ## buffer.h (module 'network'): ns3::Buffer ns3::Buffer::CreateFullCopy() const [member function]
845 cls.add_method('CreateFullCopy',
846 'ns3::Buffer',
847 [],
848 is_const=True)
849 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Deserialize(uint8_t const * buffer, uint32_t size) [member function]
850 cls.add_method('Deserialize',
851 'uint32_t',
852 [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
853 ## buffer.h (module 'network'): ns3::Buffer::Iterator ns3::Buffer::End() const [member function]
854 cls.add_method('End',
855 'ns3::Buffer::Iterator',
856 [],
857 is_const=True)
858 ## buffer.h (module 'network'): int32_t ns3::Buffer::GetCurrentEndOffset() const [member function]
859 cls.add_method('GetCurrentEndOffset',
860 'int32_t',
861 [],
862 is_const=True)
863 ## buffer.h (module 'network'): int32_t ns3::Buffer::GetCurrentStartOffset() const [member function]
864 cls.add_method('GetCurrentStartOffset',
865 'int32_t',
866 [],
867 is_const=True)
868 ## buffer.h (module 'network'): uint32_t ns3::Buffer::GetSerializedSize() const [member function]
869 cls.add_method('GetSerializedSize',
870 'uint32_t',
871 [],
872 is_const=True)
873 ## buffer.h (module 'network'): uint32_t ns3::Buffer::GetSize() const [member function]
874 cls.add_method('GetSize',
875 'uint32_t',
876 [],
877 is_const=True)
878 ## buffer.h (module 'network'): uint8_t const * ns3::Buffer::PeekData() const [member function]
879 cls.add_method('PeekData',
880 'uint8_t const *',
881 [],
882 is_const=True)
883 ## buffer.h (module 'network'): void ns3::Buffer::RemoveAtEnd(uint32_t end) [member function]
884 cls.add_method('RemoveAtEnd',
885 'void',
886 [param('uint32_t', 'end')])
887 ## buffer.h (module 'network'): void ns3::Buffer::RemoveAtStart(uint32_t start) [member function]
888 cls.add_method('RemoveAtStart',
889 'void',
890 [param('uint32_t', 'start')])
891 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
892 cls.add_method('Serialize',
893 'uint32_t',
894 [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')],
895 is_const=True)
896 return
897
898def register_Ns3BufferIterator_methods(root_module, cls):
899 ## buffer.h (module 'network'): ns3::Buffer::Iterator::Iterator(ns3::Buffer::Iterator const & arg0) [copy constructor]
900 cls.add_constructor([param('ns3::Buffer::Iterator const &', 'arg0')])
901 ## buffer.h (module 'network'): ns3::Buffer::Iterator::Iterator() [constructor]
902 cls.add_constructor([])
903 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::CalculateIpChecksum(uint16_t size) [member function]
904 cls.add_method('CalculateIpChecksum',
905 'uint16_t',
906 [param('uint16_t', 'size')])
907 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::CalculateIpChecksum(uint16_t size, uint32_t initialChecksum) [member function]
908 cls.add_method('CalculateIpChecksum',
909 'uint16_t',
910 [param('uint16_t', 'size'), param('uint32_t', 'initialChecksum')])
911 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::GetDistanceFrom(ns3::Buffer::Iterator const & o) const [member function]
912 cls.add_method('GetDistanceFrom',
913 'uint32_t',
914 [param('ns3::Buffer::Iterator const &', 'o')],
915 is_const=True)
916 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::GetSize() const [member function]
917 cls.add_method('GetSize',
918 'uint32_t',
919 [],
920 is_const=True)
921 ## buffer.h (module 'network'): bool ns3::Buffer::Iterator::IsEnd() const [member function]
922 cls.add_method('IsEnd',
923 'bool',
924 [],
925 is_const=True)
926 ## buffer.h (module 'network'): bool ns3::Buffer::Iterator::IsStart() const [member function]
927 cls.add_method('IsStart',
928 'bool',
929 [],
930 is_const=True)
931 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Next() [member function]
932 cls.add_method('Next',
933 'void',
934 [])
935 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Next(uint32_t delta) [member function]
936 cls.add_method('Next',
937 'void',
938 [param('uint32_t', 'delta')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -0700939 ## buffer.h (module 'network'): uint8_t ns3::Buffer::Iterator::PeekU8() [member function]
940 cls.add_method('PeekU8',
941 'uint8_t',
942 [])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700943 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Prev() [member function]
944 cls.add_method('Prev',
945 'void',
946 [])
947 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Prev(uint32_t delta) [member function]
948 cls.add_method('Prev',
949 'void',
950 [param('uint32_t', 'delta')])
951 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Read(uint8_t * buffer, uint32_t size) [member function]
952 cls.add_method('Read',
953 'void',
954 [param('uint8_t *', 'buffer'), param('uint32_t', 'size')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -0700955 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Read(ns3::Buffer::Iterator start, uint32_t size) [member function]
956 cls.add_method('Read',
957 'void',
958 [param('ns3::Buffer::Iterator', 'start'), param('uint32_t', 'size')])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700959 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadLsbtohU16() [member function]
960 cls.add_method('ReadLsbtohU16',
961 'uint16_t',
962 [])
963 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadLsbtohU32() [member function]
964 cls.add_method('ReadLsbtohU32',
965 'uint32_t',
966 [])
967 ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadLsbtohU64() [member function]
968 cls.add_method('ReadLsbtohU64',
969 'uint64_t',
970 [])
971 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadNtohU16() [member function]
972 cls.add_method('ReadNtohU16',
973 'uint16_t',
974 [])
975 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadNtohU32() [member function]
976 cls.add_method('ReadNtohU32',
977 'uint32_t',
978 [])
979 ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadNtohU64() [member function]
980 cls.add_method('ReadNtohU64',
981 'uint64_t',
982 [])
983 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadU16() [member function]
984 cls.add_method('ReadU16',
985 'uint16_t',
986 [])
987 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadU32() [member function]
988 cls.add_method('ReadU32',
989 'uint32_t',
990 [])
991 ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadU64() [member function]
992 cls.add_method('ReadU64',
993 'uint64_t',
994 [])
995 ## buffer.h (module 'network'): uint8_t ns3::Buffer::Iterator::ReadU8() [member function]
996 cls.add_method('ReadU8',
997 'uint8_t',
998 [])
999 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Write(uint8_t const * buffer, uint32_t size) [member function]
1000 cls.add_method('Write',
1001 'void',
1002 [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
1003 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Write(ns3::Buffer::Iterator start, ns3::Buffer::Iterator end) [member function]
1004 cls.add_method('Write',
1005 'void',
1006 [param('ns3::Buffer::Iterator', 'start'), param('ns3::Buffer::Iterator', 'end')])
1007 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU16(uint16_t data) [member function]
1008 cls.add_method('WriteHtolsbU16',
1009 'void',
1010 [param('uint16_t', 'data')])
1011 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU32(uint32_t data) [member function]
1012 cls.add_method('WriteHtolsbU32',
1013 'void',
1014 [param('uint32_t', 'data')])
1015 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU64(uint64_t data) [member function]
1016 cls.add_method('WriteHtolsbU64',
1017 'void',
1018 [param('uint64_t', 'data')])
1019 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU16(uint16_t data) [member function]
1020 cls.add_method('WriteHtonU16',
1021 'void',
1022 [param('uint16_t', 'data')])
1023 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU32(uint32_t data) [member function]
1024 cls.add_method('WriteHtonU32',
1025 'void',
1026 [param('uint32_t', 'data')])
1027 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU64(uint64_t data) [member function]
1028 cls.add_method('WriteHtonU64',
1029 'void',
1030 [param('uint64_t', 'data')])
1031 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU16(uint16_t data) [member function]
1032 cls.add_method('WriteU16',
1033 'void',
1034 [param('uint16_t', 'data')])
1035 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU32(uint32_t data) [member function]
1036 cls.add_method('WriteU32',
1037 'void',
1038 [param('uint32_t', 'data')])
1039 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU64(uint64_t data) [member function]
1040 cls.add_method('WriteU64',
1041 'void',
1042 [param('uint64_t', 'data')])
1043 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU8(uint8_t data) [member function]
1044 cls.add_method('WriteU8',
1045 'void',
1046 [param('uint8_t', 'data')])
1047 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU8(uint8_t data, uint32_t len) [member function]
1048 cls.add_method('WriteU8',
1049 'void',
1050 [param('uint8_t', 'data'), param('uint32_t', 'len')])
1051 return
1052
1053def register_Ns3ByteTagIterator_methods(root_module, cls):
1054 ## packet.h (module 'network'): ns3::ByteTagIterator::ByteTagIterator(ns3::ByteTagIterator const & arg0) [copy constructor]
1055 cls.add_constructor([param('ns3::ByteTagIterator const &', 'arg0')])
1056 ## packet.h (module 'network'): bool ns3::ByteTagIterator::HasNext() const [member function]
1057 cls.add_method('HasNext',
1058 'bool',
1059 [],
1060 is_const=True)
1061 ## packet.h (module 'network'): ns3::ByteTagIterator::Item ns3::ByteTagIterator::Next() [member function]
1062 cls.add_method('Next',
1063 'ns3::ByteTagIterator::Item',
1064 [])
1065 return
1066
1067def register_Ns3ByteTagIteratorItem_methods(root_module, cls):
1068 ## packet.h (module 'network'): ns3::ByteTagIterator::Item::Item(ns3::ByteTagIterator::Item const & arg0) [copy constructor]
1069 cls.add_constructor([param('ns3::ByteTagIterator::Item const &', 'arg0')])
1070 ## packet.h (module 'network'): uint32_t ns3::ByteTagIterator::Item::GetEnd() const [member function]
1071 cls.add_method('GetEnd',
1072 'uint32_t',
1073 [],
1074 is_const=True)
1075 ## packet.h (module 'network'): uint32_t ns3::ByteTagIterator::Item::GetStart() const [member function]
1076 cls.add_method('GetStart',
1077 'uint32_t',
1078 [],
1079 is_const=True)
1080 ## packet.h (module 'network'): void ns3::ByteTagIterator::Item::GetTag(ns3::Tag & tag) const [member function]
1081 cls.add_method('GetTag',
1082 'void',
1083 [param('ns3::Tag &', 'tag')],
1084 is_const=True)
1085 ## packet.h (module 'network'): ns3::TypeId ns3::ByteTagIterator::Item::GetTypeId() const [member function]
1086 cls.add_method('GetTypeId',
1087 'ns3::TypeId',
1088 [],
1089 is_const=True)
1090 return
1091
1092def register_Ns3ByteTagList_methods(root_module, cls):
1093 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::ByteTagList() [constructor]
1094 cls.add_constructor([])
1095 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::ByteTagList(ns3::ByteTagList const & o) [copy constructor]
1096 cls.add_constructor([param('ns3::ByteTagList const &', 'o')])
1097 ## 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]
1098 cls.add_method('Add',
1099 'ns3::TagBuffer',
1100 [param('ns3::TypeId', 'tid'), param('uint32_t', 'bufferSize'), param('int32_t', 'start'), param('int32_t', 'end')])
1101 ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::Add(ns3::ByteTagList const & o) [member function]
1102 cls.add_method('Add',
1103 'void',
1104 [param('ns3::ByteTagList const &', 'o')])
1105 ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::AddAtEnd(int32_t adjustment, int32_t appendOffset) [member function]
1106 cls.add_method('AddAtEnd',
1107 'void',
1108 [param('int32_t', 'adjustment'), param('int32_t', 'appendOffset')])
1109 ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::AddAtStart(int32_t adjustment, int32_t prependOffset) [member function]
1110 cls.add_method('AddAtStart',
1111 'void',
1112 [param('int32_t', 'adjustment'), param('int32_t', 'prependOffset')])
1113 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator ns3::ByteTagList::Begin(int32_t offsetStart, int32_t offsetEnd) const [member function]
1114 cls.add_method('Begin',
1115 'ns3::ByteTagList::Iterator',
1116 [param('int32_t', 'offsetStart'), param('int32_t', 'offsetEnd')],
1117 is_const=True)
1118 ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::RemoveAll() [member function]
1119 cls.add_method('RemoveAll',
1120 'void',
1121 [])
1122 return
1123
1124def register_Ns3ByteTagListIterator_methods(root_module, cls):
1125 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Iterator(ns3::ByteTagList::Iterator const & arg0) [copy constructor]
1126 cls.add_constructor([param('ns3::ByteTagList::Iterator const &', 'arg0')])
1127 ## byte-tag-list.h (module 'network'): uint32_t ns3::ByteTagList::Iterator::GetOffsetStart() const [member function]
1128 cls.add_method('GetOffsetStart',
1129 'uint32_t',
1130 [],
1131 is_const=True)
1132 ## byte-tag-list.h (module 'network'): bool ns3::ByteTagList::Iterator::HasNext() const [member function]
1133 cls.add_method('HasNext',
1134 'bool',
1135 [],
1136 is_const=True)
1137 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item ns3::ByteTagList::Iterator::Next() [member function]
1138 cls.add_method('Next',
1139 'ns3::ByteTagList::Iterator::Item',
1140 [])
1141 return
1142
1143def register_Ns3ByteTagListIteratorItem_methods(root_module, cls):
1144 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::Item(ns3::ByteTagList::Iterator::Item const & arg0) [copy constructor]
1145 cls.add_constructor([param('ns3::ByteTagList::Iterator::Item const &', 'arg0')])
1146 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::Item(ns3::TagBuffer buf) [constructor]
1147 cls.add_constructor([param('ns3::TagBuffer', 'buf')])
1148 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::buf [variable]
1149 cls.add_instance_attribute('buf', 'ns3::TagBuffer', is_const=False)
1150 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::end [variable]
1151 cls.add_instance_attribute('end', 'int32_t', is_const=False)
1152 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::size [variable]
1153 cls.add_instance_attribute('size', 'uint32_t', is_const=False)
1154 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::start [variable]
1155 cls.add_instance_attribute('start', 'int32_t', is_const=False)
1156 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::tid [variable]
1157 cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
1158 return
1159
1160def register_Ns3CallbackBase_methods(root_module, cls):
1161 ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase(ns3::CallbackBase const & arg0) [copy constructor]
1162 cls.add_constructor([param('ns3::CallbackBase const &', 'arg0')])
1163 ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase() [constructor]
1164 cls.add_constructor([])
1165 ## callback.h (module 'core'): ns3::Ptr<ns3::CallbackImplBase> ns3::CallbackBase::GetImpl() const [member function]
1166 cls.add_method('GetImpl',
1167 'ns3::Ptr< ns3::CallbackImplBase >',
1168 [],
1169 is_const=True)
1170 ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase(ns3::Ptr<ns3::CallbackImplBase> impl) [constructor]
1171 cls.add_constructor([param('ns3::Ptr< ns3::CallbackImplBase >', 'impl')],
1172 visibility='protected')
1173 ## callback.h (module 'core'): static std::string ns3::CallbackBase::Demangle(std::string const & mangled) [member function]
1174 cls.add_method('Demangle',
1175 'std::string',
1176 [param('std::string const &', 'mangled')],
1177 is_static=True, visibility='protected')
1178 return
1179
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001180def register_Ns3EventId_methods(root_module, cls):
1181 cls.add_binary_comparison_operator('!=')
1182 cls.add_binary_comparison_operator('==')
1183 ## event-id.h (module 'core'): ns3::EventId::EventId(ns3::EventId const & arg0) [copy constructor]
1184 cls.add_constructor([param('ns3::EventId const &', 'arg0')])
1185 ## event-id.h (module 'core'): ns3::EventId::EventId() [constructor]
1186 cls.add_constructor([])
1187 ## event-id.h (module 'core'): ns3::EventId::EventId(ns3::Ptr<ns3::EventImpl> const & impl, uint64_t ts, uint32_t context, uint32_t uid) [constructor]
1188 cls.add_constructor([param('ns3::Ptr< ns3::EventImpl > const &', 'impl'), param('uint64_t', 'ts'), param('uint32_t', 'context'), param('uint32_t', 'uid')])
1189 ## event-id.h (module 'core'): void ns3::EventId::Cancel() [member function]
1190 cls.add_method('Cancel',
1191 'void',
1192 [])
1193 ## event-id.h (module 'core'): uint32_t ns3::EventId::GetContext() const [member function]
1194 cls.add_method('GetContext',
1195 'uint32_t',
1196 [],
1197 is_const=True)
1198 ## event-id.h (module 'core'): uint64_t ns3::EventId::GetTs() const [member function]
1199 cls.add_method('GetTs',
1200 'uint64_t',
1201 [],
1202 is_const=True)
1203 ## event-id.h (module 'core'): uint32_t ns3::EventId::GetUid() const [member function]
1204 cls.add_method('GetUid',
1205 'uint32_t',
1206 [],
1207 is_const=True)
1208 ## event-id.h (module 'core'): bool ns3::EventId::IsExpired() const [member function]
1209 cls.add_method('IsExpired',
1210 'bool',
1211 [],
1212 is_const=True)
1213 ## event-id.h (module 'core'): bool ns3::EventId::IsRunning() const [member function]
1214 cls.add_method('IsRunning',
1215 'bool',
1216 [],
1217 is_const=True)
1218 ## event-id.h (module 'core'): ns3::EventImpl * ns3::EventId::PeekEventImpl() const [member function]
1219 cls.add_method('PeekEventImpl',
1220 'ns3::EventImpl *',
1221 [],
1222 is_const=True)
1223 return
1224
1225def register_Ns3Ipv4Address_methods(root_module, cls):
1226 cls.add_binary_comparison_operator('!=')
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07001227 cls.add_output_stream_operator()
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07001228 cls.add_binary_comparison_operator('==')
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001229 cls.add_binary_comparison_operator('<')
1230 ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(ns3::Ipv4Address const & arg0) [copy constructor]
1231 cls.add_constructor([param('ns3::Ipv4Address const &', 'arg0')])
1232 ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address() [constructor]
1233 cls.add_constructor([])
1234 ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(uint32_t address) [constructor]
1235 cls.add_constructor([param('uint32_t', 'address')])
1236 ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(char const * address) [constructor]
1237 cls.add_constructor([param('char const *', 'address')])
1238 ## ipv4-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv4Address::CombineMask(ns3::Ipv4Mask const & mask) const [member function]
1239 cls.add_method('CombineMask',
1240 'ns3::Ipv4Address',
1241 [param('ns3::Ipv4Mask const &', 'mask')],
1242 is_const=True)
1243 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::ConvertFrom(ns3::Address const & address) [member function]
1244 cls.add_method('ConvertFrom',
1245 'ns3::Ipv4Address',
1246 [param('ns3::Address const &', 'address')],
1247 is_static=True)
1248 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::Deserialize(uint8_t const * buf) [member function]
1249 cls.add_method('Deserialize',
1250 'ns3::Ipv4Address',
1251 [param('uint8_t const *', 'buf')],
1252 is_static=True)
Alexander Afanasyev4052f952012-06-08 17:57:59 -07001253 ## ipv4-address.h (module 'network'): uint32_t ns3::Ipv4Address::Get() const [member function]
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001254 cls.add_method('Get',
Alexander Afanasyev4052f952012-06-08 17:57:59 -07001255 'uint32_t',
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001256 [],
1257 is_const=True)
1258 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetAny() [member function]
1259 cls.add_method('GetAny',
1260 'ns3::Ipv4Address',
1261 [],
1262 is_static=True)
1263 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetBroadcast() [member function]
1264 cls.add_method('GetBroadcast',
1265 'ns3::Ipv4Address',
1266 [],
1267 is_static=True)
1268 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetLoopback() [member function]
1269 cls.add_method('GetLoopback',
1270 'ns3::Ipv4Address',
1271 [],
1272 is_static=True)
1273 ## ipv4-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv4Address::GetSubnetDirectedBroadcast(ns3::Ipv4Mask const & mask) const [member function]
1274 cls.add_method('GetSubnetDirectedBroadcast',
1275 'ns3::Ipv4Address',
1276 [param('ns3::Ipv4Mask const &', 'mask')],
1277 is_const=True)
1278 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetZero() [member function]
1279 cls.add_method('GetZero',
1280 'ns3::Ipv4Address',
1281 [],
1282 is_static=True)
1283 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsBroadcast() const [member function]
1284 cls.add_method('IsBroadcast',
1285 'bool',
1286 [],
1287 is_const=True)
1288 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsEqual(ns3::Ipv4Address const & other) const [member function]
1289 cls.add_method('IsEqual',
1290 'bool',
1291 [param('ns3::Ipv4Address const &', 'other')],
1292 is_const=True)
1293 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsLocalMulticast() const [member function]
1294 cls.add_method('IsLocalMulticast',
1295 'bool',
1296 [],
1297 is_const=True)
1298 ## ipv4-address.h (module 'network'): static bool ns3::Ipv4Address::IsMatchingType(ns3::Address const & address) [member function]
1299 cls.add_method('IsMatchingType',
1300 'bool',
1301 [param('ns3::Address const &', 'address')],
1302 is_static=True)
1303 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsMulticast() const [member function]
1304 cls.add_method('IsMulticast',
1305 'bool',
1306 [],
1307 is_const=True)
1308 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsSubnetDirectedBroadcast(ns3::Ipv4Mask const & mask) const [member function]
1309 cls.add_method('IsSubnetDirectedBroadcast',
1310 'bool',
1311 [param('ns3::Ipv4Mask const &', 'mask')],
1312 is_const=True)
1313 ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Print(std::ostream & os) const [member function]
1314 cls.add_method('Print',
1315 'void',
1316 [param('std::ostream &', 'os')],
1317 is_const=True)
1318 ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Serialize(uint8_t * buf) const [member function]
1319 cls.add_method('Serialize',
1320 'void',
1321 [param('uint8_t *', 'buf')],
1322 is_const=True)
1323 ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Set(uint32_t address) [member function]
1324 cls.add_method('Set',
1325 'void',
1326 [param('uint32_t', 'address')])
1327 ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Set(char const * address) [member function]
1328 cls.add_method('Set',
1329 'void',
1330 [param('char const *', 'address')])
1331 return
1332
1333def register_Ns3Ipv4Mask_methods(root_module, cls):
1334 cls.add_binary_comparison_operator('!=')
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07001335 cls.add_output_stream_operator()
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07001336 cls.add_binary_comparison_operator('==')
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001337 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask(ns3::Ipv4Mask const & arg0) [copy constructor]
1338 cls.add_constructor([param('ns3::Ipv4Mask const &', 'arg0')])
1339 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask() [constructor]
1340 cls.add_constructor([])
1341 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask(uint32_t mask) [constructor]
1342 cls.add_constructor([param('uint32_t', 'mask')])
1343 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask(char const * mask) [constructor]
1344 cls.add_constructor([param('char const *', 'mask')])
1345 ## ipv4-address.h (module 'network'): uint32_t ns3::Ipv4Mask::Get() const [member function]
1346 cls.add_method('Get',
1347 'uint32_t',
1348 [],
1349 is_const=True)
1350 ## ipv4-address.h (module 'network'): uint32_t ns3::Ipv4Mask::GetInverse() const [member function]
1351 cls.add_method('GetInverse',
1352 'uint32_t',
1353 [],
1354 is_const=True)
1355 ## ipv4-address.h (module 'network'): static ns3::Ipv4Mask ns3::Ipv4Mask::GetLoopback() [member function]
1356 cls.add_method('GetLoopback',
1357 'ns3::Ipv4Mask',
1358 [],
1359 is_static=True)
1360 ## ipv4-address.h (module 'network'): static ns3::Ipv4Mask ns3::Ipv4Mask::GetOnes() [member function]
1361 cls.add_method('GetOnes',
1362 'ns3::Ipv4Mask',
1363 [],
1364 is_static=True)
1365 ## ipv4-address.h (module 'network'): uint16_t ns3::Ipv4Mask::GetPrefixLength() const [member function]
1366 cls.add_method('GetPrefixLength',
1367 'uint16_t',
1368 [],
1369 is_const=True)
1370 ## ipv4-address.h (module 'network'): static ns3::Ipv4Mask ns3::Ipv4Mask::GetZero() [member function]
1371 cls.add_method('GetZero',
1372 'ns3::Ipv4Mask',
1373 [],
1374 is_static=True)
1375 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Mask::IsEqual(ns3::Ipv4Mask other) const [member function]
1376 cls.add_method('IsEqual',
1377 'bool',
1378 [param('ns3::Ipv4Mask', 'other')],
1379 is_const=True)
1380 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Mask::IsMatch(ns3::Ipv4Address a, ns3::Ipv4Address b) const [member function]
1381 cls.add_method('IsMatch',
1382 'bool',
1383 [param('ns3::Ipv4Address', 'a'), param('ns3::Ipv4Address', 'b')],
1384 is_const=True)
1385 ## ipv4-address.h (module 'network'): void ns3::Ipv4Mask::Print(std::ostream & os) const [member function]
1386 cls.add_method('Print',
1387 'void',
1388 [param('std::ostream &', 'os')],
1389 is_const=True)
1390 ## ipv4-address.h (module 'network'): void ns3::Ipv4Mask::Set(uint32_t mask) [member function]
1391 cls.add_method('Set',
1392 'void',
1393 [param('uint32_t', 'mask')])
1394 return
1395
1396def register_Ns3Ipv6Address_methods(root_module, cls):
1397 cls.add_binary_comparison_operator('!=')
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07001398 cls.add_output_stream_operator()
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07001399 cls.add_binary_comparison_operator('==')
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001400 cls.add_binary_comparison_operator('<')
1401 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address() [constructor]
1402 cls.add_constructor([])
1403 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(char const * address) [constructor]
1404 cls.add_constructor([param('char const *', 'address')])
1405 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(uint8_t * address) [constructor]
1406 cls.add_constructor([param('uint8_t *', 'address')])
1407 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(ns3::Ipv6Address const & addr) [copy constructor]
1408 cls.add_constructor([param('ns3::Ipv6Address const &', 'addr')])
1409 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(ns3::Ipv6Address const * addr) [constructor]
1410 cls.add_constructor([param('ns3::Ipv6Address const *', 'addr')])
1411 ## ipv6-address.h (module 'network'): ns3::Ipv6Address ns3::Ipv6Address::CombinePrefix(ns3::Ipv6Prefix const & prefix) [member function]
1412 cls.add_method('CombinePrefix',
1413 'ns3::Ipv6Address',
1414 [param('ns3::Ipv6Prefix const &', 'prefix')])
1415 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::ConvertFrom(ns3::Address const & address) [member function]
1416 cls.add_method('ConvertFrom',
1417 'ns3::Ipv6Address',
1418 [param('ns3::Address const &', 'address')],
1419 is_static=True)
1420 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::Deserialize(uint8_t const * buf) [member function]
1421 cls.add_method('Deserialize',
1422 'ns3::Ipv6Address',
1423 [param('uint8_t const *', 'buf')],
1424 is_static=True)
1425 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAllHostsMulticast() [member function]
1426 cls.add_method('GetAllHostsMulticast',
1427 'ns3::Ipv6Address',
1428 [],
1429 is_static=True)
1430 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAllNodesMulticast() [member function]
1431 cls.add_method('GetAllNodesMulticast',
1432 'ns3::Ipv6Address',
1433 [],
1434 is_static=True)
1435 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAllRoutersMulticast() [member function]
1436 cls.add_method('GetAllRoutersMulticast',
1437 'ns3::Ipv6Address',
1438 [],
1439 is_static=True)
1440 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAny() [member function]
1441 cls.add_method('GetAny',
1442 'ns3::Ipv6Address',
1443 [],
1444 is_static=True)
1445 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::GetBytes(uint8_t * buf) const [member function]
1446 cls.add_method('GetBytes',
1447 'void',
1448 [param('uint8_t *', 'buf')],
1449 is_const=True)
Alexander Afanasyev6f933532012-02-29 13:30:37 -08001450 ## ipv6-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv6Address::GetIpv4MappedAddress() const [member function]
1451 cls.add_method('GetIpv4MappedAddress',
1452 'ns3::Ipv4Address',
1453 [],
1454 is_const=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001455 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetLoopback() [member function]
1456 cls.add_method('GetLoopback',
1457 'ns3::Ipv6Address',
1458 [],
1459 is_static=True)
1460 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetOnes() [member function]
1461 cls.add_method('GetOnes',
1462 'ns3::Ipv6Address',
1463 [],
1464 is_static=True)
1465 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetZero() [member function]
1466 cls.add_method('GetZero',
1467 'ns3::Ipv6Address',
1468 [],
1469 is_static=True)
1470 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAllHostsMulticast() const [member function]
1471 cls.add_method('IsAllHostsMulticast',
1472 'bool',
1473 [],
1474 is_const=True)
1475 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAllNodesMulticast() const [member function]
1476 cls.add_method('IsAllNodesMulticast',
1477 'bool',
1478 [],
1479 is_const=True)
1480 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAllRoutersMulticast() const [member function]
1481 cls.add_method('IsAllRoutersMulticast',
1482 'bool',
1483 [],
1484 is_const=True)
1485 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAny() const [member function]
1486 cls.add_method('IsAny',
1487 'bool',
1488 [],
1489 is_const=True)
1490 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsEqual(ns3::Ipv6Address const & other) const [member function]
1491 cls.add_method('IsEqual',
1492 'bool',
1493 [param('ns3::Ipv6Address const &', 'other')],
1494 is_const=True)
Alexander Afanasyev6f933532012-02-29 13:30:37 -08001495 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsIpv4MappedAddress() [member function]
1496 cls.add_method('IsIpv4MappedAddress',
1497 'bool',
1498 [])
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001499 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsLinkLocal() const [member function]
1500 cls.add_method('IsLinkLocal',
1501 'bool',
1502 [],
1503 is_const=True)
Alexander Afanasyev6f933532012-02-29 13:30:37 -08001504 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsLinkLocalMulticast() const [member function]
1505 cls.add_method('IsLinkLocalMulticast',
1506 'bool',
1507 [],
1508 is_const=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001509 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsLocalhost() const [member function]
1510 cls.add_method('IsLocalhost',
1511 'bool',
1512 [],
1513 is_const=True)
1514 ## ipv6-address.h (module 'network'): static bool ns3::Ipv6Address::IsMatchingType(ns3::Address const & address) [member function]
1515 cls.add_method('IsMatchingType',
1516 'bool',
1517 [param('ns3::Address const &', 'address')],
1518 is_static=True)
1519 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsMulticast() const [member function]
1520 cls.add_method('IsMulticast',
1521 'bool',
1522 [],
1523 is_const=True)
1524 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsSolicitedMulticast() const [member function]
1525 cls.add_method('IsSolicitedMulticast',
1526 'bool',
1527 [],
1528 is_const=True)
1529 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredAddress(ns3::Mac48Address addr, ns3::Ipv6Address prefix) [member function]
1530 cls.add_method('MakeAutoconfiguredAddress',
1531 'ns3::Ipv6Address',
1532 [param('ns3::Mac48Address', 'addr'), param('ns3::Ipv6Address', 'prefix')],
1533 is_static=True)
1534 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredLinkLocalAddress(ns3::Mac48Address mac) [member function]
1535 cls.add_method('MakeAutoconfiguredLinkLocalAddress',
1536 'ns3::Ipv6Address',
1537 [param('ns3::Mac48Address', 'mac')],
1538 is_static=True)
Alexander Afanasyev6f933532012-02-29 13:30:37 -08001539 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeIpv4MappedAddress(ns3::Ipv4Address addr) [member function]
1540 cls.add_method('MakeIpv4MappedAddress',
1541 'ns3::Ipv6Address',
1542 [param('ns3::Ipv4Address', 'addr')],
1543 is_static=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001544 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeSolicitedAddress(ns3::Ipv6Address addr) [member function]
1545 cls.add_method('MakeSolicitedAddress',
1546 'ns3::Ipv6Address',
1547 [param('ns3::Ipv6Address', 'addr')],
1548 is_static=True)
1549 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Print(std::ostream & os) const [member function]
1550 cls.add_method('Print',
1551 'void',
1552 [param('std::ostream &', 'os')],
1553 is_const=True)
1554 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Serialize(uint8_t * buf) const [member function]
1555 cls.add_method('Serialize',
1556 'void',
1557 [param('uint8_t *', 'buf')],
1558 is_const=True)
1559 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Set(char const * address) [member function]
1560 cls.add_method('Set',
1561 'void',
1562 [param('char const *', 'address')])
1563 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Set(uint8_t * address) [member function]
1564 cls.add_method('Set',
1565 'void',
1566 [param('uint8_t *', 'address')])
1567 return
1568
1569def register_Ns3Ipv6Prefix_methods(root_module, cls):
1570 cls.add_binary_comparison_operator('!=')
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07001571 cls.add_output_stream_operator()
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07001572 cls.add_binary_comparison_operator('==')
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001573 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix() [constructor]
1574 cls.add_constructor([])
1575 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(uint8_t * prefix) [constructor]
1576 cls.add_constructor([param('uint8_t *', 'prefix')])
1577 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(char const * prefix) [constructor]
1578 cls.add_constructor([param('char const *', 'prefix')])
1579 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(uint8_t prefix) [constructor]
1580 cls.add_constructor([param('uint8_t', 'prefix')])
1581 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(ns3::Ipv6Prefix const & prefix) [copy constructor]
1582 cls.add_constructor([param('ns3::Ipv6Prefix const &', 'prefix')])
1583 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(ns3::Ipv6Prefix const * prefix) [constructor]
1584 cls.add_constructor([param('ns3::Ipv6Prefix const *', 'prefix')])
1585 ## ipv6-address.h (module 'network'): void ns3::Ipv6Prefix::GetBytes(uint8_t * buf) const [member function]
1586 cls.add_method('GetBytes',
1587 'void',
1588 [param('uint8_t *', 'buf')],
1589 is_const=True)
1590 ## ipv6-address.h (module 'network'): static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetLoopback() [member function]
1591 cls.add_method('GetLoopback',
1592 'ns3::Ipv6Prefix',
1593 [],
1594 is_static=True)
1595 ## ipv6-address.h (module 'network'): static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetOnes() [member function]
1596 cls.add_method('GetOnes',
1597 'ns3::Ipv6Prefix',
1598 [],
1599 is_static=True)
1600 ## ipv6-address.h (module 'network'): uint8_t ns3::Ipv6Prefix::GetPrefixLength() const [member function]
1601 cls.add_method('GetPrefixLength',
1602 'uint8_t',
1603 [],
1604 is_const=True)
1605 ## ipv6-address.h (module 'network'): static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetZero() [member function]
1606 cls.add_method('GetZero',
1607 'ns3::Ipv6Prefix',
1608 [],
1609 is_static=True)
1610 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Prefix::IsEqual(ns3::Ipv6Prefix const & other) const [member function]
1611 cls.add_method('IsEqual',
1612 'bool',
1613 [param('ns3::Ipv6Prefix const &', 'other')],
1614 is_const=True)
1615 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Prefix::IsMatch(ns3::Ipv6Address a, ns3::Ipv6Address b) const [member function]
1616 cls.add_method('IsMatch',
1617 'bool',
1618 [param('ns3::Ipv6Address', 'a'), param('ns3::Ipv6Address', 'b')],
1619 is_const=True)
1620 ## ipv6-address.h (module 'network'): void ns3::Ipv6Prefix::Print(std::ostream & os) const [member function]
1621 cls.add_method('Print',
1622 'void',
1623 [param('std::ostream &', 'os')],
1624 is_const=True)
1625 return
1626
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07001627def register_Ns3NetDeviceContainer_methods(root_module, cls):
1628 ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(ns3::NetDeviceContainer const & arg0) [copy constructor]
1629 cls.add_constructor([param('ns3::NetDeviceContainer const &', 'arg0')])
1630 ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer() [constructor]
1631 cls.add_constructor([])
1632 ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(ns3::Ptr<ns3::NetDevice> dev) [constructor]
1633 cls.add_constructor([param('ns3::Ptr< ns3::NetDevice >', 'dev')])
1634 ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(std::string devName) [constructor]
1635 cls.add_constructor([param('std::string', 'devName')])
1636 ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(ns3::NetDeviceContainer const & a, ns3::NetDeviceContainer const & b) [constructor]
1637 cls.add_constructor([param('ns3::NetDeviceContainer const &', 'a'), param('ns3::NetDeviceContainer const &', 'b')])
1638 ## net-device-container.h (module 'network'): void ns3::NetDeviceContainer::Add(ns3::NetDeviceContainer other) [member function]
1639 cls.add_method('Add',
1640 'void',
1641 [param('ns3::NetDeviceContainer', 'other')])
1642 ## net-device-container.h (module 'network'): void ns3::NetDeviceContainer::Add(ns3::Ptr<ns3::NetDevice> device) [member function]
1643 cls.add_method('Add',
1644 'void',
1645 [param('ns3::Ptr< ns3::NetDevice >', 'device')])
1646 ## net-device-container.h (module 'network'): void ns3::NetDeviceContainer::Add(std::string deviceName) [member function]
1647 cls.add_method('Add',
1648 'void',
1649 [param('std::string', 'deviceName')])
1650 ## 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]
1651 cls.add_method('Begin',
1652 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::NetDevice > const, std::vector< ns3::Ptr< ns3::NetDevice > > >',
1653 [],
1654 is_const=True)
1655 ## 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]
1656 cls.add_method('End',
1657 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::NetDevice > const, std::vector< ns3::Ptr< ns3::NetDevice > > >',
1658 [],
1659 is_const=True)
1660 ## net-device-container.h (module 'network'): ns3::Ptr<ns3::NetDevice> ns3::NetDeviceContainer::Get(uint32_t i) const [member function]
1661 cls.add_method('Get',
1662 'ns3::Ptr< ns3::NetDevice >',
1663 [param('uint32_t', 'i')],
1664 is_const=True)
1665 ## net-device-container.h (module 'network'): uint32_t ns3::NetDeviceContainer::GetN() const [member function]
1666 cls.add_method('GetN',
1667 'uint32_t',
1668 [],
1669 is_const=True)
1670 return
1671
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001672def register_Ns3NodeContainer_methods(root_module, cls):
1673 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & arg0) [copy constructor]
1674 cls.add_constructor([param('ns3::NodeContainer const &', 'arg0')])
1675 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer() [constructor]
1676 cls.add_constructor([])
1677 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::Ptr<ns3::Node> node) [constructor]
1678 cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node')])
1679 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(std::string nodeName) [constructor]
1680 cls.add_constructor([param('std::string', 'nodeName')])
1681 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b) [constructor]
1682 cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b')])
1683 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b, ns3::NodeContainer const & c) [constructor]
1684 cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b'), param('ns3::NodeContainer const &', 'c')])
1685 ## 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]
1686 cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b'), param('ns3::NodeContainer const &', 'c'), param('ns3::NodeContainer const &', 'd')])
1687 ## 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]
1688 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')])
1689 ## node-container.h (module 'network'): void ns3::NodeContainer::Add(ns3::NodeContainer other) [member function]
1690 cls.add_method('Add',
1691 'void',
1692 [param('ns3::NodeContainer', 'other')])
1693 ## node-container.h (module 'network'): void ns3::NodeContainer::Add(ns3::Ptr<ns3::Node> node) [member function]
1694 cls.add_method('Add',
1695 'void',
1696 [param('ns3::Ptr< ns3::Node >', 'node')])
1697 ## node-container.h (module 'network'): void ns3::NodeContainer::Add(std::string nodeName) [member function]
1698 cls.add_method('Add',
1699 'void',
1700 [param('std::string', 'nodeName')])
1701 ## 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]
1702 cls.add_method('Begin',
1703 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >',
1704 [],
1705 is_const=True)
1706 ## node-container.h (module 'network'): void ns3::NodeContainer::Create(uint32_t n) [member function]
1707 cls.add_method('Create',
1708 'void',
1709 [param('uint32_t', 'n')])
1710 ## node-container.h (module 'network'): void ns3::NodeContainer::Create(uint32_t n, uint32_t systemId) [member function]
1711 cls.add_method('Create',
1712 'void',
1713 [param('uint32_t', 'n'), param('uint32_t', 'systemId')])
1714 ## 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]
1715 cls.add_method('End',
1716 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >',
1717 [],
1718 is_const=True)
1719 ## node-container.h (module 'network'): ns3::Ptr<ns3::Node> ns3::NodeContainer::Get(uint32_t i) const [member function]
1720 cls.add_method('Get',
1721 'ns3::Ptr< ns3::Node >',
1722 [param('uint32_t', 'i')],
1723 is_const=True)
1724 ## node-container.h (module 'network'): static ns3::NodeContainer ns3::NodeContainer::GetGlobal() [member function]
1725 cls.add_method('GetGlobal',
1726 'ns3::NodeContainer',
1727 [],
1728 is_static=True)
1729 ## node-container.h (module 'network'): uint32_t ns3::NodeContainer::GetN() const [member function]
1730 cls.add_method('GetN',
1731 'uint32_t',
1732 [],
1733 is_const=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001734 return
1735
1736def register_Ns3ObjectBase_methods(root_module, cls):
1737 ## object-base.h (module 'core'): ns3::ObjectBase::ObjectBase() [constructor]
1738 cls.add_constructor([])
1739 ## object-base.h (module 'core'): ns3::ObjectBase::ObjectBase(ns3::ObjectBase const & arg0) [copy constructor]
1740 cls.add_constructor([param('ns3::ObjectBase const &', 'arg0')])
1741 ## object-base.h (module 'core'): void ns3::ObjectBase::GetAttribute(std::string name, ns3::AttributeValue & value) const [member function]
1742 cls.add_method('GetAttribute',
1743 'void',
1744 [param('std::string', 'name'), param('ns3::AttributeValue &', 'value')],
1745 is_const=True)
1746 ## object-base.h (module 'core'): bool ns3::ObjectBase::GetAttributeFailSafe(std::string name, ns3::AttributeValue & attribute) const [member function]
1747 cls.add_method('GetAttributeFailSafe',
1748 'bool',
1749 [param('std::string', 'name'), param('ns3::AttributeValue &', 'attribute')],
1750 is_const=True)
1751 ## object-base.h (module 'core'): ns3::TypeId ns3::ObjectBase::GetInstanceTypeId() const [member function]
1752 cls.add_method('GetInstanceTypeId',
1753 'ns3::TypeId',
1754 [],
1755 is_pure_virtual=True, is_const=True, is_virtual=True)
1756 ## object-base.h (module 'core'): static ns3::TypeId ns3::ObjectBase::GetTypeId() [member function]
1757 cls.add_method('GetTypeId',
1758 'ns3::TypeId',
1759 [],
1760 is_static=True)
1761 ## object-base.h (module 'core'): void ns3::ObjectBase::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function]
1762 cls.add_method('SetAttribute',
1763 'void',
1764 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
1765 ## object-base.h (module 'core'): bool ns3::ObjectBase::SetAttributeFailSafe(std::string name, ns3::AttributeValue const & value) [member function]
1766 cls.add_method('SetAttributeFailSafe',
1767 'bool',
1768 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
1769 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceConnect(std::string name, std::string context, ns3::CallbackBase const & cb) [member function]
1770 cls.add_method('TraceConnect',
1771 'bool',
1772 [param('std::string', 'name'), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')])
1773 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceConnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function]
1774 cls.add_method('TraceConnectWithoutContext',
1775 'bool',
1776 [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')])
1777 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceDisconnect(std::string name, std::string context, ns3::CallbackBase const & cb) [member function]
1778 cls.add_method('TraceDisconnect',
1779 'bool',
1780 [param('std::string', 'name'), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')])
1781 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceDisconnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function]
1782 cls.add_method('TraceDisconnectWithoutContext',
1783 'bool',
1784 [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')])
1785 ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function]
1786 cls.add_method('ConstructSelf',
1787 'void',
1788 [param('ns3::AttributeConstructionList const &', 'attributes')],
1789 visibility='protected')
1790 ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function]
1791 cls.add_method('NotifyConstructionCompleted',
1792 'void',
1793 [],
1794 visibility='protected', is_virtual=True)
1795 return
1796
1797def register_Ns3ObjectDeleter_methods(root_module, cls):
1798 ## object.h (module 'core'): ns3::ObjectDeleter::ObjectDeleter() [constructor]
1799 cls.add_constructor([])
1800 ## object.h (module 'core'): ns3::ObjectDeleter::ObjectDeleter(ns3::ObjectDeleter const & arg0) [copy constructor]
1801 cls.add_constructor([param('ns3::ObjectDeleter const &', 'arg0')])
1802 ## object.h (module 'core'): static void ns3::ObjectDeleter::Delete(ns3::Object * object) [member function]
1803 cls.add_method('Delete',
1804 'void',
1805 [param('ns3::Object *', 'object')],
1806 is_static=True)
1807 return
1808
1809def register_Ns3ObjectFactory_methods(root_module, cls):
1810 cls.add_output_stream_operator()
1811 ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(ns3::ObjectFactory const & arg0) [copy constructor]
1812 cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')])
1813 ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor]
1814 cls.add_constructor([])
1815 ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor]
1816 cls.add_constructor([param('std::string', 'typeId')])
1817 ## object-factory.h (module 'core'): ns3::Ptr<ns3::Object> ns3::ObjectFactory::Create() const [member function]
1818 cls.add_method('Create',
1819 'ns3::Ptr< ns3::Object >',
1820 [],
1821 is_const=True)
1822 ## object-factory.h (module 'core'): ns3::TypeId ns3::ObjectFactory::GetTypeId() const [member function]
1823 cls.add_method('GetTypeId',
1824 'ns3::TypeId',
1825 [],
1826 is_const=True)
1827 ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(std::string name, ns3::AttributeValue const & value) [member function]
1828 cls.add_method('Set',
1829 'void',
1830 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
1831 ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function]
1832 cls.add_method('SetTypeId',
1833 'void',
1834 [param('ns3::TypeId', 'tid')])
1835 ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(char const * tid) [member function]
1836 cls.add_method('SetTypeId',
1837 'void',
1838 [param('char const *', 'tid')])
1839 ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(std::string tid) [member function]
1840 cls.add_method('SetTypeId',
1841 'void',
1842 [param('std::string', 'tid')])
1843 return
1844
1845def register_Ns3PacketMetadata_methods(root_module, cls):
1846 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::PacketMetadata(uint64_t uid, uint32_t size) [constructor]
1847 cls.add_constructor([param('uint64_t', 'uid'), param('uint32_t', 'size')])
1848 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::PacketMetadata(ns3::PacketMetadata const & o) [copy constructor]
1849 cls.add_constructor([param('ns3::PacketMetadata const &', 'o')])
1850 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddAtEnd(ns3::PacketMetadata const & o) [member function]
1851 cls.add_method('AddAtEnd',
1852 'void',
1853 [param('ns3::PacketMetadata const &', 'o')])
1854 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddHeader(ns3::Header const & header, uint32_t size) [member function]
1855 cls.add_method('AddHeader',
1856 'void',
1857 [param('ns3::Header const &', 'header'), param('uint32_t', 'size')])
1858 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddPaddingAtEnd(uint32_t end) [member function]
1859 cls.add_method('AddPaddingAtEnd',
1860 'void',
1861 [param('uint32_t', 'end')])
1862 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddTrailer(ns3::Trailer const & trailer, uint32_t size) [member function]
1863 cls.add_method('AddTrailer',
1864 'void',
1865 [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')])
1866 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator ns3::PacketMetadata::BeginItem(ns3::Buffer buffer) const [member function]
1867 cls.add_method('BeginItem',
1868 'ns3::PacketMetadata::ItemIterator',
1869 [param('ns3::Buffer', 'buffer')],
1870 is_const=True)
1871 ## packet-metadata.h (module 'network'): ns3::PacketMetadata ns3::PacketMetadata::CreateFragment(uint32_t start, uint32_t end) const [member function]
1872 cls.add_method('CreateFragment',
1873 'ns3::PacketMetadata',
1874 [param('uint32_t', 'start'), param('uint32_t', 'end')],
1875 is_const=True)
1876 ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::Deserialize(uint8_t const * buffer, uint32_t size) [member function]
1877 cls.add_method('Deserialize',
1878 'uint32_t',
1879 [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
1880 ## packet-metadata.h (module 'network'): static void ns3::PacketMetadata::Enable() [member function]
1881 cls.add_method('Enable',
1882 'void',
1883 [],
1884 is_static=True)
1885 ## packet-metadata.h (module 'network'): static void ns3::PacketMetadata::EnableChecking() [member function]
1886 cls.add_method('EnableChecking',
1887 'void',
1888 [],
1889 is_static=True)
1890 ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::GetSerializedSize() const [member function]
1891 cls.add_method('GetSerializedSize',
1892 'uint32_t',
1893 [],
1894 is_const=True)
1895 ## packet-metadata.h (module 'network'): uint64_t ns3::PacketMetadata::GetUid() const [member function]
1896 cls.add_method('GetUid',
1897 'uint64_t',
1898 [],
1899 is_const=True)
1900 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveAtEnd(uint32_t end) [member function]
1901 cls.add_method('RemoveAtEnd',
1902 'void',
1903 [param('uint32_t', 'end')])
1904 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveAtStart(uint32_t start) [member function]
1905 cls.add_method('RemoveAtStart',
1906 'void',
1907 [param('uint32_t', 'start')])
1908 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveHeader(ns3::Header const & header, uint32_t size) [member function]
1909 cls.add_method('RemoveHeader',
1910 'void',
1911 [param('ns3::Header const &', 'header'), param('uint32_t', 'size')])
1912 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveTrailer(ns3::Trailer const & trailer, uint32_t size) [member function]
1913 cls.add_method('RemoveTrailer',
1914 'void',
1915 [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')])
1916 ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
1917 cls.add_method('Serialize',
1918 'uint32_t',
1919 [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')],
1920 is_const=True)
1921 return
1922
1923def register_Ns3PacketMetadataItem_methods(root_module, cls):
1924 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::Item() [constructor]
1925 cls.add_constructor([])
1926 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::Item(ns3::PacketMetadata::Item const & arg0) [copy constructor]
1927 cls.add_constructor([param('ns3::PacketMetadata::Item const &', 'arg0')])
1928 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::current [variable]
1929 cls.add_instance_attribute('current', 'ns3::Buffer::Iterator', is_const=False)
1930 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentSize [variable]
1931 cls.add_instance_attribute('currentSize', 'uint32_t', is_const=False)
1932 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentTrimedFromEnd [variable]
1933 cls.add_instance_attribute('currentTrimedFromEnd', 'uint32_t', is_const=False)
1934 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentTrimedFromStart [variable]
1935 cls.add_instance_attribute('currentTrimedFromStart', 'uint32_t', is_const=False)
1936 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::isFragment [variable]
1937 cls.add_instance_attribute('isFragment', 'bool', is_const=False)
1938 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::tid [variable]
1939 cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
1940 return
1941
1942def register_Ns3PacketMetadataItemIterator_methods(root_module, cls):
1943 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata::ItemIterator const & arg0) [copy constructor]
1944 cls.add_constructor([param('ns3::PacketMetadata::ItemIterator const &', 'arg0')])
1945 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata const * metadata, ns3::Buffer buffer) [constructor]
1946 cls.add_constructor([param('ns3::PacketMetadata const *', 'metadata'), param('ns3::Buffer', 'buffer')])
1947 ## packet-metadata.h (module 'network'): bool ns3::PacketMetadata::ItemIterator::HasNext() const [member function]
1948 cls.add_method('HasNext',
1949 'bool',
1950 [],
1951 is_const=True)
1952 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item ns3::PacketMetadata::ItemIterator::Next() [member function]
1953 cls.add_method('Next',
1954 'ns3::PacketMetadata::Item',
1955 [])
1956 return
1957
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001958def register_Ns3PacketTagIterator_methods(root_module, cls):
1959 ## packet.h (module 'network'): ns3::PacketTagIterator::PacketTagIterator(ns3::PacketTagIterator const & arg0) [copy constructor]
1960 cls.add_constructor([param('ns3::PacketTagIterator const &', 'arg0')])
1961 ## packet.h (module 'network'): bool ns3::PacketTagIterator::HasNext() const [member function]
1962 cls.add_method('HasNext',
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001963 'bool',
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001964 [],
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001965 is_const=True)
1966 ## packet.h (module 'network'): ns3::PacketTagIterator::Item ns3::PacketTagIterator::Next() [member function]
1967 cls.add_method('Next',
1968 'ns3::PacketTagIterator::Item',
1969 [])
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001970 return
1971
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001972def register_Ns3PacketTagIteratorItem_methods(root_module, cls):
1973 ## packet.h (module 'network'): ns3::PacketTagIterator::Item::Item(ns3::PacketTagIterator::Item const & arg0) [copy constructor]
1974 cls.add_constructor([param('ns3::PacketTagIterator::Item const &', 'arg0')])
1975 ## packet.h (module 'network'): void ns3::PacketTagIterator::Item::GetTag(ns3::Tag & tag) const [member function]
1976 cls.add_method('GetTag',
1977 'void',
1978 [param('ns3::Tag &', 'tag')],
1979 is_const=True)
1980 ## packet.h (module 'network'): ns3::TypeId ns3::PacketTagIterator::Item::GetTypeId() const [member function]
1981 cls.add_method('GetTypeId',
1982 'ns3::TypeId',
1983 [],
1984 is_const=True)
1985 return
1986
1987def register_Ns3PacketTagList_methods(root_module, cls):
1988 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::PacketTagList() [constructor]
1989 cls.add_constructor([])
1990 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::PacketTagList(ns3::PacketTagList const & o) [copy constructor]
1991 cls.add_constructor([param('ns3::PacketTagList const &', 'o')])
1992 ## packet-tag-list.h (module 'network'): void ns3::PacketTagList::Add(ns3::Tag const & tag) const [member function]
1993 cls.add_method('Add',
1994 'void',
1995 [param('ns3::Tag const &', 'tag')],
1996 is_const=True)
1997 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData const * ns3::PacketTagList::Head() const [member function]
1998 cls.add_method('Head',
1999 'ns3::PacketTagList::TagData const *',
2000 [],
2001 is_const=True)
2002 ## packet-tag-list.h (module 'network'): bool ns3::PacketTagList::Peek(ns3::Tag & tag) const [member function]
2003 cls.add_method('Peek',
2004 'bool',
2005 [param('ns3::Tag &', 'tag')],
2006 is_const=True)
2007 ## packet-tag-list.h (module 'network'): bool ns3::PacketTagList::Remove(ns3::Tag & tag) [member function]
2008 cls.add_method('Remove',
2009 'bool',
2010 [param('ns3::Tag &', 'tag')])
2011 ## packet-tag-list.h (module 'network'): void ns3::PacketTagList::RemoveAll() [member function]
2012 cls.add_method('RemoveAll',
2013 'void',
2014 [])
2015 return
2016
2017def register_Ns3PacketTagListTagData_methods(root_module, cls):
2018 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::TagData() [constructor]
2019 cls.add_constructor([])
2020 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::TagData(ns3::PacketTagList::TagData const & arg0) [copy constructor]
2021 cls.add_constructor([param('ns3::PacketTagList::TagData const &', 'arg0')])
2022 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::count [variable]
2023 cls.add_instance_attribute('count', 'uint32_t', is_const=False)
2024 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::data [variable]
2025 cls.add_instance_attribute('data', 'uint8_t [ 20 ]', is_const=False)
2026 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::next [variable]
2027 cls.add_instance_attribute('next', 'ns3::PacketTagList::TagData *', is_const=False)
2028 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::tid [variable]
2029 cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002030 return
2031
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002032def register_Ns3RandomVariable_methods(root_module, cls):
2033 cls.add_output_stream_operator()
2034 ## random-variable.h (module 'core'): ns3::RandomVariable::RandomVariable() [constructor]
2035 cls.add_constructor([])
2036 ## random-variable.h (module 'core'): ns3::RandomVariable::RandomVariable(ns3::RandomVariable const & o) [copy constructor]
2037 cls.add_constructor([param('ns3::RandomVariable const &', 'o')])
2038 ## random-variable.h (module 'core'): uint32_t ns3::RandomVariable::GetInteger() const [member function]
2039 cls.add_method('GetInteger',
2040 'uint32_t',
2041 [],
2042 is_const=True)
2043 ## random-variable.h (module 'core'): double ns3::RandomVariable::GetValue() const [member function]
2044 cls.add_method('GetValue',
2045 'double',
2046 [],
2047 is_const=True)
2048 return
2049
2050def register_Ns3RngSeedManager_methods(root_module, cls):
2051 ## rng-seed-manager.h (module 'core'): ns3::RngSeedManager::RngSeedManager() [constructor]
2052 cls.add_constructor([])
2053 ## rng-seed-manager.h (module 'core'): ns3::RngSeedManager::RngSeedManager(ns3::RngSeedManager const & arg0) [copy constructor]
2054 cls.add_constructor([param('ns3::RngSeedManager const &', 'arg0')])
2055 ## rng-seed-manager.h (module 'core'): static uint64_t ns3::RngSeedManager::GetNextStreamIndex() [member function]
2056 cls.add_method('GetNextStreamIndex',
2057 'uint64_t',
2058 [],
2059 is_static=True)
2060 ## rng-seed-manager.h (module 'core'): static uint64_t ns3::RngSeedManager::GetRun() [member function]
2061 cls.add_method('GetRun',
2062 'uint64_t',
2063 [],
2064 is_static=True)
2065 ## rng-seed-manager.h (module 'core'): static uint32_t ns3::RngSeedManager::GetSeed() [member function]
2066 cls.add_method('GetSeed',
2067 'uint32_t',
2068 [],
2069 is_static=True)
2070 ## rng-seed-manager.h (module 'core'): static void ns3::RngSeedManager::SetRun(uint64_t run) [member function]
2071 cls.add_method('SetRun',
2072 'void',
2073 [param('uint64_t', 'run')],
2074 is_static=True)
2075 ## rng-seed-manager.h (module 'core'): static void ns3::RngSeedManager::SetSeed(uint32_t seed) [member function]
2076 cls.add_method('SetSeed',
2077 'void',
2078 [param('uint32_t', 'seed')],
2079 is_static=True)
2080 return
2081
2082def register_Ns3SequentialVariable_methods(root_module, cls):
2083 ## random-variable.h (module 'core'): ns3::SequentialVariable::SequentialVariable(ns3::SequentialVariable const & arg0) [copy constructor]
2084 cls.add_constructor([param('ns3::SequentialVariable const &', 'arg0')])
2085 ## random-variable.h (module 'core'): ns3::SequentialVariable::SequentialVariable(double f, double l, double i=1, uint32_t c=1) [constructor]
2086 cls.add_constructor([param('double', 'f'), param('double', 'l'), param('double', 'i', default_value='1'), param('uint32_t', 'c', default_value='1')])
2087 ## random-variable.h (module 'core'): ns3::SequentialVariable::SequentialVariable(double f, double l, ns3::RandomVariable const & i, uint32_t c=1) [constructor]
2088 cls.add_constructor([param('double', 'f'), param('double', 'l'), param('ns3::RandomVariable const &', 'i'), param('uint32_t', 'c', default_value='1')])
2089 return
2090
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002091def register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, cls):
2092 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter>::SimpleRefCount() [constructor]
2093 cls.add_constructor([])
2094 ## 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]
2095 cls.add_constructor([param('ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter > const &', 'o')])
2096 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter>::Cleanup() [member function]
2097 cls.add_method('Cleanup',
2098 'void',
2099 [],
2100 is_static=True)
2101 return
2102
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002103def register_Ns3SpringMobilityHelper_methods(root_module, cls):
2104 ## spring-mobility-helper.h (module 'ndnSIM'): ns3::SpringMobilityHelper::SpringMobilityHelper() [constructor]
2105 cls.add_constructor([])
2106 ## spring-mobility-helper.h (module 'ndnSIM'): ns3::SpringMobilityHelper::SpringMobilityHelper(ns3::SpringMobilityHelper const & arg0) [copy constructor]
2107 cls.add_constructor([param('ns3::SpringMobilityHelper const &', 'arg0')])
2108 ## spring-mobility-helper.h (module 'ndnSIM'): static void ns3::SpringMobilityHelper::InstallSprings(ns3::Ptr<ns3::Node> node1, ns3::Ptr<ns3::Node> node2) [member function]
2109 cls.add_method('InstallSprings',
2110 'void',
2111 [param('ns3::Ptr< ns3::Node >', 'node1'), param('ns3::Ptr< ns3::Node >', 'node2')],
2112 is_static=True)
2113 ## 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]
2114 cls.add_method('InstallSprings',
2115 'void',
2116 [param('std::_List_const_iterator< ns3::TopologyReader::Link >', 'first'), param('std::_List_const_iterator< ns3::TopologyReader::Link >', 'end')],
2117 is_static=True)
2118 return
2119
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002120def register_Ns3Tag_methods(root_module, cls):
2121 ## tag.h (module 'network'): ns3::Tag::Tag() [constructor]
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002122 cls.add_constructor([])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002123 ## tag.h (module 'network'): ns3::Tag::Tag(ns3::Tag const & arg0) [copy constructor]
2124 cls.add_constructor([param('ns3::Tag const &', 'arg0')])
2125 ## tag.h (module 'network'): void ns3::Tag::Deserialize(ns3::TagBuffer i) [member function]
2126 cls.add_method('Deserialize',
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002127 'void',
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002128 [param('ns3::TagBuffer', 'i')],
2129 is_pure_virtual=True, is_virtual=True)
2130 ## tag.h (module 'network'): uint32_t ns3::Tag::GetSerializedSize() const [member function]
2131 cls.add_method('GetSerializedSize',
2132 'uint32_t',
2133 [],
2134 is_pure_virtual=True, is_const=True, is_virtual=True)
2135 ## tag.h (module 'network'): static ns3::TypeId ns3::Tag::GetTypeId() [member function]
2136 cls.add_method('GetTypeId',
2137 'ns3::TypeId',
2138 [],
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002139 is_static=True)
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002140 ## tag.h (module 'network'): void ns3::Tag::Print(std::ostream & os) const [member function]
2141 cls.add_method('Print',
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002142 'void',
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002143 [param('std::ostream &', 'os')],
2144 is_pure_virtual=True, is_const=True, is_virtual=True)
2145 ## tag.h (module 'network'): void ns3::Tag::Serialize(ns3::TagBuffer i) const [member function]
2146 cls.add_method('Serialize',
2147 'void',
2148 [param('ns3::TagBuffer', 'i')],
2149 is_pure_virtual=True, is_const=True, is_virtual=True)
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002150 return
2151
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002152def register_Ns3TagBuffer_methods(root_module, cls):
2153 ## tag-buffer.h (module 'network'): ns3::TagBuffer::TagBuffer(ns3::TagBuffer const & arg0) [copy constructor]
2154 cls.add_constructor([param('ns3::TagBuffer const &', 'arg0')])
2155 ## tag-buffer.h (module 'network'): ns3::TagBuffer::TagBuffer(uint8_t * start, uint8_t * end) [constructor]
2156 cls.add_constructor([param('uint8_t *', 'start'), param('uint8_t *', 'end')])
2157 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::CopyFrom(ns3::TagBuffer o) [member function]
2158 cls.add_method('CopyFrom',
2159 'void',
2160 [param('ns3::TagBuffer', 'o')])
2161 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::Read(uint8_t * buffer, uint32_t size) [member function]
2162 cls.add_method('Read',
2163 'void',
2164 [param('uint8_t *', 'buffer'), param('uint32_t', 'size')])
2165 ## tag-buffer.h (module 'network'): double ns3::TagBuffer::ReadDouble() [member function]
2166 cls.add_method('ReadDouble',
2167 'double',
2168 [])
2169 ## tag-buffer.h (module 'network'): uint16_t ns3::TagBuffer::ReadU16() [member function]
2170 cls.add_method('ReadU16',
2171 'uint16_t',
2172 [])
2173 ## tag-buffer.h (module 'network'): uint32_t ns3::TagBuffer::ReadU32() [member function]
2174 cls.add_method('ReadU32',
2175 'uint32_t',
2176 [])
2177 ## tag-buffer.h (module 'network'): uint64_t ns3::TagBuffer::ReadU64() [member function]
2178 cls.add_method('ReadU64',
2179 'uint64_t',
2180 [])
2181 ## tag-buffer.h (module 'network'): uint8_t ns3::TagBuffer::ReadU8() [member function]
2182 cls.add_method('ReadU8',
2183 'uint8_t',
2184 [])
2185 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::TrimAtEnd(uint32_t trim) [member function]
2186 cls.add_method('TrimAtEnd',
2187 'void',
2188 [param('uint32_t', 'trim')])
2189 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::Write(uint8_t const * buffer, uint32_t size) [member function]
2190 cls.add_method('Write',
2191 'void',
2192 [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
2193 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteDouble(double v) [member function]
2194 cls.add_method('WriteDouble',
2195 'void',
2196 [param('double', 'v')])
2197 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU16(uint16_t data) [member function]
2198 cls.add_method('WriteU16',
2199 'void',
2200 [param('uint16_t', 'data')])
2201 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU32(uint32_t data) [member function]
2202 cls.add_method('WriteU32',
2203 'void',
2204 [param('uint32_t', 'data')])
2205 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU64(uint64_t v) [member function]
2206 cls.add_method('WriteU64',
2207 'void',
2208 [param('uint64_t', 'v')])
2209 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU8(uint8_t v) [member function]
2210 cls.add_method('WriteU8',
2211 'void',
2212 [param('uint8_t', 'v')])
2213 return
2214
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002215def register_Ns3TriangularVariable_methods(root_module, cls):
2216 ## random-variable.h (module 'core'): ns3::TriangularVariable::TriangularVariable(ns3::TriangularVariable const & arg0) [copy constructor]
2217 cls.add_constructor([param('ns3::TriangularVariable const &', 'arg0')])
2218 ## random-variable.h (module 'core'): ns3::TriangularVariable::TriangularVariable() [constructor]
2219 cls.add_constructor([])
2220 ## random-variable.h (module 'core'): ns3::TriangularVariable::TriangularVariable(double s, double l, double mean) [constructor]
2221 cls.add_constructor([param('double', 's'), param('double', 'l'), param('double', 'mean')])
2222 return
2223
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002224def register_Ns3TypeId_methods(root_module, cls):
2225 cls.add_binary_comparison_operator('!=')
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07002226 cls.add_output_stream_operator()
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07002227 cls.add_binary_comparison_operator('==')
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002228 cls.add_binary_comparison_operator('<')
2229 ## type-id.h (module 'core'): ns3::TypeId::TypeId(char const * name) [constructor]
2230 cls.add_constructor([param('char const *', 'name')])
2231 ## type-id.h (module 'core'): ns3::TypeId::TypeId() [constructor]
2232 cls.add_constructor([])
2233 ## type-id.h (module 'core'): ns3::TypeId::TypeId(ns3::TypeId const & o) [copy constructor]
2234 cls.add_constructor([param('ns3::TypeId const &', 'o')])
2235 ## 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]
2236 cls.add_method('AddAttribute',
2237 'ns3::TypeId',
2238 [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')])
2239 ## 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]
2240 cls.add_method('AddAttribute',
2241 'ns3::TypeId',
2242 [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')])
2243 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr<ns3::TraceSourceAccessor const> accessor) [member function]
2244 cls.add_method('AddTraceSource',
2245 'ns3::TypeId',
2246 [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')])
2247 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function]
2248 cls.add_method('GetAttribute',
2249 'ns3::TypeId::AttributeInformation',
2250 [param('uint32_t', 'i')],
2251 is_const=True)
2252 ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function]
2253 cls.add_method('GetAttributeFullName',
2254 'std::string',
2255 [param('uint32_t', 'i')],
2256 is_const=True)
2257 ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function]
2258 cls.add_method('GetAttributeN',
2259 'uint32_t',
2260 [],
2261 is_const=True)
2262 ## 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]
2263 cls.add_method('GetConstructor',
2264 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >',
2265 [],
2266 is_const=True)
2267 ## type-id.h (module 'core'): std::string ns3::TypeId::GetGroupName() const [member function]
2268 cls.add_method('GetGroupName',
2269 'std::string',
2270 [],
2271 is_const=True)
2272 ## type-id.h (module 'core'): std::string ns3::TypeId::GetName() const [member function]
2273 cls.add_method('GetName',
2274 'std::string',
2275 [],
2276 is_const=True)
2277 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::GetParent() const [member function]
2278 cls.add_method('GetParent',
2279 'ns3::TypeId',
2280 [],
2281 is_const=True)
2282 ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::GetRegistered(uint32_t i) [member function]
2283 cls.add_method('GetRegistered',
2284 'ns3::TypeId',
2285 [param('uint32_t', 'i')],
2286 is_static=True)
2287 ## type-id.h (module 'core'): static uint32_t ns3::TypeId::GetRegisteredN() [member function]
2288 cls.add_method('GetRegisteredN',
2289 'uint32_t',
2290 [],
2291 is_static=True)
2292 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function]
2293 cls.add_method('GetTraceSource',
2294 'ns3::TypeId::TraceSourceInformation',
2295 [param('uint32_t', 'i')],
2296 is_const=True)
2297 ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function]
2298 cls.add_method('GetTraceSourceN',
2299 'uint32_t',
2300 [],
2301 is_const=True)
2302 ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function]
2303 cls.add_method('GetUid',
2304 'uint16_t',
2305 [],
2306 is_const=True)
2307 ## type-id.h (module 'core'): bool ns3::TypeId::HasConstructor() const [member function]
2308 cls.add_method('HasConstructor',
2309 'bool',
2310 [],
2311 is_const=True)
2312 ## type-id.h (module 'core'): bool ns3::TypeId::HasParent() const [member function]
2313 cls.add_method('HasParent',
2314 'bool',
2315 [],
2316 is_const=True)
2317 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::HideFromDocumentation() [member function]
2318 cls.add_method('HideFromDocumentation',
2319 'ns3::TypeId',
2320 [])
2321 ## type-id.h (module 'core'): bool ns3::TypeId::IsChildOf(ns3::TypeId other) const [member function]
2322 cls.add_method('IsChildOf',
2323 'bool',
2324 [param('ns3::TypeId', 'other')],
2325 is_const=True)
2326 ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function]
2327 cls.add_method('LookupAttributeByName',
2328 'bool',
Alexander Afanasyev6f933532012-02-29 13:30:37 -08002329 [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info', transfer_ownership=False)],
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002330 is_const=True)
2331 ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function]
2332 cls.add_method('LookupByName',
2333 'ns3::TypeId',
2334 [param('std::string', 'name')],
2335 is_static=True)
2336 ## type-id.h (module 'core'): ns3::Ptr<ns3::TraceSourceAccessor const> ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function]
2337 cls.add_method('LookupTraceSourceByName',
2338 'ns3::Ptr< ns3::TraceSourceAccessor const >',
2339 [param('std::string', 'name')],
2340 is_const=True)
2341 ## type-id.h (module 'core'): bool ns3::TypeId::MustHideFromDocumentation() const [member function]
2342 cls.add_method('MustHideFromDocumentation',
2343 'bool',
2344 [],
2345 is_const=True)
2346 ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr<ns3::AttributeValue const> initialValue) [member function]
2347 cls.add_method('SetAttributeInitialValue',
2348 'bool',
2349 [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')])
2350 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function]
2351 cls.add_method('SetGroupName',
2352 'ns3::TypeId',
2353 [param('std::string', 'groupName')])
2354 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetParent(ns3::TypeId tid) [member function]
2355 cls.add_method('SetParent',
2356 'ns3::TypeId',
2357 [param('ns3::TypeId', 'tid')])
2358 ## type-id.h (module 'core'): void ns3::TypeId::SetUid(uint16_t tid) [member function]
2359 cls.add_method('SetUid',
2360 'void',
2361 [param('uint16_t', 'tid')])
2362 return
2363
2364def register_Ns3TypeIdAttributeInformation_methods(root_module, cls):
2365 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor]
2366 cls.add_constructor([])
2367 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor]
2368 cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')])
2369 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable]
2370 cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False)
2371 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable]
2372 cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False)
2373 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable]
2374 cls.add_instance_attribute('flags', 'uint32_t', is_const=False)
2375 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable]
2376 cls.add_instance_attribute('help', 'std::string', is_const=False)
2377 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable]
2378 cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False)
2379 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable]
2380 cls.add_instance_attribute('name', 'std::string', is_const=False)
2381 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable]
2382 cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False)
2383 return
2384
2385def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls):
2386 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor]
2387 cls.add_constructor([])
2388 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor]
2389 cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')])
2390 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable]
2391 cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False)
2392 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable]
2393 cls.add_instance_attribute('help', 'std::string', is_const=False)
2394 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable]
2395 cls.add_instance_attribute('name', 'std::string', is_const=False)
2396 return
2397
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002398def register_Ns3UniformVariable_methods(root_module, cls):
2399 ## random-variable.h (module 'core'): ns3::UniformVariable::UniformVariable(ns3::UniformVariable const & arg0) [copy constructor]
2400 cls.add_constructor([param('ns3::UniformVariable const &', 'arg0')])
2401 ## random-variable.h (module 'core'): ns3::UniformVariable::UniformVariable() [constructor]
2402 cls.add_constructor([])
2403 ## random-variable.h (module 'core'): ns3::UniformVariable::UniformVariable(double s, double l) [constructor]
2404 cls.add_constructor([param('double', 's'), param('double', 'l')])
2405 ## random-variable.h (module 'core'): uint32_t ns3::UniformVariable::GetInteger(uint32_t s, uint32_t l) [member function]
2406 cls.add_method('GetInteger',
2407 'uint32_t',
2408 [param('uint32_t', 's'), param('uint32_t', 'l')])
2409 ## random-variable.h (module 'core'): double ns3::UniformVariable::GetValue() const [member function]
2410 cls.add_method('GetValue',
2411 'double',
2412 [],
2413 is_const=True)
2414 ## random-variable.h (module 'core'): double ns3::UniformVariable::GetValue(double s, double l) [member function]
2415 cls.add_method('GetValue',
2416 'double',
2417 [param('double', 's'), param('double', 'l')])
2418 return
2419
2420def register_Ns3Vector2D_methods(root_module, cls):
2421 cls.add_output_stream_operator()
2422 cls.add_binary_numeric_operator('*', root_module['ns3::Vector2D'], root_module['ns3::Vector2D'], param('ns3::Vector2D const &', 'right'))
2423 cls.add_binary_numeric_operator('*', root_module['ns3::Vector2D'], root_module['ns3::Vector2D'], param('double', 'right'))
2424 cls.add_binary_numeric_operator('+', root_module['ns3::Vector2D'], root_module['ns3::Vector2D'], param('ns3::Vector2D const &', 'right'))
2425 cls.add_binary_numeric_operator('+', root_module['ns3::Vector2D'], root_module['ns3::Vector2D'], param('double', 'right'))
2426 cls.add_inplace_numeric_operator('+=', param('ns3::Vector2D const &', 'right'))
2427 cls.add_inplace_numeric_operator('+=', param('double', 'right'))
2428 cls.add_binary_numeric_operator('-', root_module['ns3::Vector2D'], root_module['ns3::Vector2D'], param('ns3::Vector2D const &', 'right'))
2429 cls.add_binary_numeric_operator('/', root_module['ns3::Vector2D'], root_module['ns3::Vector2D'], param('double', 'right'))
2430 ## vector.h (module 'core'): ns3::Vector2D::Vector2D(ns3::Vector2D const & arg0) [copy constructor]
2431 cls.add_constructor([param('ns3::Vector2D const &', 'arg0')])
2432 ## vector.h (module 'core'): ns3::Vector2D::Vector2D(double _x, double _y) [constructor]
2433 cls.add_constructor([param('double', '_x'), param('double', '_y')])
2434 ## vector.h (module 'core'): ns3::Vector2D::Vector2D() [constructor]
2435 cls.add_constructor([])
2436 ## vector.h (module 'core'): double ns3::Vector2D::GetLength() const [member function]
2437 cls.add_method('GetLength',
2438 'double',
2439 [],
2440 is_const=True)
2441 ## vector.h (module 'core'): ns3::Vector2D::x [variable]
2442 cls.add_instance_attribute('x', 'double', is_const=False)
2443 ## vector.h (module 'core'): ns3::Vector2D::y [variable]
2444 cls.add_instance_attribute('y', 'double', is_const=False)
2445 return
2446
2447def register_Ns3Vector3D_methods(root_module, cls):
2448 cls.add_output_stream_operator()
2449 cls.add_binary_numeric_operator('*', root_module['ns3::Vector3D'], root_module['ns3::Vector3D'], param('ns3::Vector3D const &', 'right'))
2450 cls.add_binary_numeric_operator('*', root_module['ns3::Vector3D'], root_module['ns3::Vector3D'], param('double', 'right'))
2451 cls.add_binary_numeric_operator('+', root_module['ns3::Vector3D'], root_module['ns3::Vector3D'], param('ns3::Vector3D const &', 'right'))
2452 cls.add_binary_numeric_operator('+', root_module['ns3::Vector3D'], root_module['ns3::Vector3D'], param('double', 'right'))
2453 cls.add_inplace_numeric_operator('+=', param('ns3::Vector3D const &', 'right'))
2454 cls.add_inplace_numeric_operator('+=', param('double', 'right'))
2455 cls.add_binary_numeric_operator('-', root_module['ns3::Vector3D'], root_module['ns3::Vector3D'], param('ns3::Vector3D const &', 'right'))
2456 cls.add_binary_numeric_operator('/', root_module['ns3::Vector3D'], root_module['ns3::Vector3D'], param('double', 'right'))
2457 ## vector.h (module 'core'): ns3::Vector3D::Vector3D(ns3::Vector3D const & arg0) [copy constructor]
2458 cls.add_constructor([param('ns3::Vector3D const &', 'arg0')])
2459 ## vector.h (module 'core'): ns3::Vector3D::Vector3D(double _x, double _y, double _z) [constructor]
2460 cls.add_constructor([param('double', '_x'), param('double', '_y'), param('double', '_z')])
2461 ## vector.h (module 'core'): ns3::Vector3D::Vector3D() [constructor]
2462 cls.add_constructor([])
2463 ## vector.h (module 'core'): double ns3::Vector3D::GetLength() const [member function]
2464 cls.add_method('GetLength',
2465 'double',
2466 [],
2467 is_const=True)
2468 ## vector.h (module 'core'): ns3::Vector3D::x [variable]
2469 cls.add_instance_attribute('x', 'double', is_const=False)
2470 ## vector.h (module 'core'): ns3::Vector3D::y [variable]
2471 cls.add_instance_attribute('y', 'double', is_const=False)
2472 ## vector.h (module 'core'): ns3::Vector3D::z [variable]
2473 cls.add_instance_attribute('z', 'double', is_const=False)
2474 return
2475
2476def register_Ns3WeibullVariable_methods(root_module, cls):
2477 ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(ns3::WeibullVariable const & arg0) [copy constructor]
2478 cls.add_constructor([param('ns3::WeibullVariable const &', 'arg0')])
2479 ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable() [constructor]
2480 cls.add_constructor([])
2481 ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(double m) [constructor]
2482 cls.add_constructor([param('double', 'm')])
2483 ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(double m, double s) [constructor]
2484 cls.add_constructor([param('double', 'm'), param('double', 's')])
2485 ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(double m, double s, double b) [constructor]
2486 cls.add_constructor([param('double', 'm'), param('double', 's'), param('double', 'b')])
2487 return
2488
2489def register_Ns3ZetaVariable_methods(root_module, cls):
2490 ## random-variable.h (module 'core'): ns3::ZetaVariable::ZetaVariable(ns3::ZetaVariable const & arg0) [copy constructor]
2491 cls.add_constructor([param('ns3::ZetaVariable const &', 'arg0')])
2492 ## random-variable.h (module 'core'): ns3::ZetaVariable::ZetaVariable(double alpha) [constructor]
2493 cls.add_constructor([param('double', 'alpha')])
2494 ## random-variable.h (module 'core'): ns3::ZetaVariable::ZetaVariable() [constructor]
2495 cls.add_constructor([])
2496 return
2497
2498def register_Ns3ZipfVariable_methods(root_module, cls):
2499 ## random-variable.h (module 'core'): ns3::ZipfVariable::ZipfVariable(ns3::ZipfVariable const & arg0) [copy constructor]
2500 cls.add_constructor([param('ns3::ZipfVariable const &', 'arg0')])
2501 ## random-variable.h (module 'core'): ns3::ZipfVariable::ZipfVariable(long int N, double alpha) [constructor]
2502 cls.add_constructor([param('long int', 'N'), param('double', 'alpha')])
2503 ## random-variable.h (module 'core'): ns3::ZipfVariable::ZipfVariable() [constructor]
2504 cls.add_constructor([])
2505 return
2506
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002507def register_Ns3Empty_methods(root_module, cls):
2508 ## empty.h (module 'core'): ns3::empty::empty() [constructor]
2509 cls.add_constructor([])
2510 ## empty.h (module 'core'): ns3::empty::empty(ns3::empty const & arg0) [copy constructor]
2511 cls.add_constructor([param('ns3::empty const &', 'arg0')])
2512 return
2513
2514def register_Ns3Int64x64_t_methods(root_module, cls):
2515 cls.add_binary_comparison_operator('!=')
2516 cls.add_inplace_numeric_operator('*=', param('ns3::int64x64_t const &', 'right'))
2517 cls.add_inplace_numeric_operator('+=', param('ns3::int64x64_t const &', 'right'))
2518 cls.add_inplace_numeric_operator('-=', param('ns3::int64x64_t const &', 'right'))
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07002519 cls.add_output_stream_operator()
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08002520 cls.add_binary_comparison_operator('<=')
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002521 cls.add_binary_comparison_operator('==')
2522 cls.add_binary_comparison_operator('>=')
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002523 cls.add_inplace_numeric_operator('/=', param('ns3::int64x64_t const &', 'right'))
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002524 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
2525 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
2526 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
2527 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
2528 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
2529 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
2530 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
2531 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
2532 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
2533 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
2534 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
2535 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
2536 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
2537 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
2538 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
2539 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
2540 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
2541 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
2542 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
2543 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
2544 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
2545 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
2546 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
2547 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
2548 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
2549 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
2550 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
2551 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
2552 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
2553 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
2554 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
2555 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
2556 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
2557 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
2558 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
2559 cls.add_unary_numeric_operator('-')
2560 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
2561 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
2562 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
2563 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
2564 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
2565 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
2566 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
2567 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
2568 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
2569 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
2570 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
2571 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
2572 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
2573 cls.add_binary_comparison_operator('<')
2574 cls.add_binary_comparison_operator('>')
2575 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t() [constructor]
2576 cls.add_constructor([])
2577 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(double v) [constructor]
2578 cls.add_constructor([param('double', 'v')])
2579 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(int v) [constructor]
2580 cls.add_constructor([param('int', 'v')])
2581 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long int v) [constructor]
2582 cls.add_constructor([param('long int', 'v')])
2583 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long long int v) [constructor]
2584 cls.add_constructor([param('long long int', 'v')])
2585 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(unsigned int v) [constructor]
2586 cls.add_constructor([param('unsigned int', 'v')])
2587 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long unsigned int v) [constructor]
2588 cls.add_constructor([param('long unsigned int', 'v')])
2589 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long long unsigned int v) [constructor]
2590 cls.add_constructor([param('long long unsigned int', 'v')])
2591 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(int64_t hi, uint64_t lo) [constructor]
2592 cls.add_constructor([param('int64_t', 'hi'), param('uint64_t', 'lo')])
2593 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(ns3::int64x64_t const & o) [copy constructor]
2594 cls.add_constructor([param('ns3::int64x64_t const &', 'o')])
2595 ## int64x64-double.h (module 'core'): double ns3::int64x64_t::GetDouble() const [member function]
2596 cls.add_method('GetDouble',
2597 'double',
2598 [],
2599 is_const=True)
2600 ## int64x64-double.h (module 'core'): int64_t ns3::int64x64_t::GetHigh() const [member function]
2601 cls.add_method('GetHigh',
2602 'int64_t',
2603 [],
2604 is_const=True)
2605 ## int64x64-double.h (module 'core'): uint64_t ns3::int64x64_t::GetLow() const [member function]
2606 cls.add_method('GetLow',
2607 'uint64_t',
2608 [],
2609 is_const=True)
2610 ## int64x64-double.h (module 'core'): static ns3::int64x64_t ns3::int64x64_t::Invert(uint64_t v) [member function]
2611 cls.add_method('Invert',
2612 'ns3::int64x64_t',
2613 [param('uint64_t', 'v')],
2614 is_static=True)
2615 ## int64x64-double.h (module 'core'): void ns3::int64x64_t::MulByInvert(ns3::int64x64_t const & o) [member function]
2616 cls.add_method('MulByInvert',
2617 'void',
2618 [param('ns3::int64x64_t const &', 'o')])
2619 return
2620
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002621def register_Ns3Chunk_methods(root_module, cls):
2622 ## chunk.h (module 'network'): ns3::Chunk::Chunk() [constructor]
2623 cls.add_constructor([])
2624 ## chunk.h (module 'network'): ns3::Chunk::Chunk(ns3::Chunk const & arg0) [copy constructor]
2625 cls.add_constructor([param('ns3::Chunk const &', 'arg0')])
2626 ## chunk.h (module 'network'): uint32_t ns3::Chunk::Deserialize(ns3::Buffer::Iterator start) [member function]
2627 cls.add_method('Deserialize',
2628 'uint32_t',
2629 [param('ns3::Buffer::Iterator', 'start')],
2630 is_pure_virtual=True, is_virtual=True)
2631 ## chunk.h (module 'network'): static ns3::TypeId ns3::Chunk::GetTypeId() [member function]
2632 cls.add_method('GetTypeId',
2633 'ns3::TypeId',
2634 [],
2635 is_static=True)
2636 ## chunk.h (module 'network'): void ns3::Chunk::Print(std::ostream & os) const [member function]
2637 cls.add_method('Print',
2638 'void',
2639 [param('std::ostream &', 'os')],
2640 is_pure_virtual=True, is_const=True, is_virtual=True)
2641 return
2642
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002643def register_Ns3ConstantVariable_methods(root_module, cls):
2644 ## random-variable.h (module 'core'): ns3::ConstantVariable::ConstantVariable(ns3::ConstantVariable const & arg0) [copy constructor]
2645 cls.add_constructor([param('ns3::ConstantVariable const &', 'arg0')])
2646 ## random-variable.h (module 'core'): ns3::ConstantVariable::ConstantVariable() [constructor]
2647 cls.add_constructor([])
2648 ## random-variable.h (module 'core'): ns3::ConstantVariable::ConstantVariable(double c) [constructor]
2649 cls.add_constructor([param('double', 'c')])
2650 ## random-variable.h (module 'core'): void ns3::ConstantVariable::SetConstant(double c) [member function]
2651 cls.add_method('SetConstant',
2652 'void',
2653 [param('double', 'c')])
2654 return
2655
2656def register_Ns3DeterministicVariable_methods(root_module, cls):
2657 ## random-variable.h (module 'core'): ns3::DeterministicVariable::DeterministicVariable(ns3::DeterministicVariable const & arg0) [copy constructor]
2658 cls.add_constructor([param('ns3::DeterministicVariable const &', 'arg0')])
2659 ## random-variable.h (module 'core'): ns3::DeterministicVariable::DeterministicVariable(double * d, uint32_t c) [constructor]
2660 cls.add_constructor([param('double *', 'd'), param('uint32_t', 'c')])
2661 return
2662
2663def register_Ns3EmpiricalVariable_methods(root_module, cls):
2664 ## random-variable.h (module 'core'): ns3::EmpiricalVariable::EmpiricalVariable(ns3::EmpiricalVariable const & arg0) [copy constructor]
2665 cls.add_constructor([param('ns3::EmpiricalVariable const &', 'arg0')])
2666 ## random-variable.h (module 'core'): ns3::EmpiricalVariable::EmpiricalVariable() [constructor]
2667 cls.add_constructor([])
2668 ## random-variable.h (module 'core'): void ns3::EmpiricalVariable::CDF(double v, double c) [member function]
2669 cls.add_method('CDF',
2670 'void',
2671 [param('double', 'v'), param('double', 'c')])
2672 return
2673
2674def register_Ns3ErlangVariable_methods(root_module, cls):
2675 ## random-variable.h (module 'core'): ns3::ErlangVariable::ErlangVariable(ns3::ErlangVariable const & arg0) [copy constructor]
2676 cls.add_constructor([param('ns3::ErlangVariable const &', 'arg0')])
2677 ## random-variable.h (module 'core'): ns3::ErlangVariable::ErlangVariable() [constructor]
2678 cls.add_constructor([])
2679 ## random-variable.h (module 'core'): ns3::ErlangVariable::ErlangVariable(unsigned int k, double lambda) [constructor]
2680 cls.add_constructor([param('unsigned int', 'k'), param('double', 'lambda')])
2681 ## random-variable.h (module 'core'): double ns3::ErlangVariable::GetValue() const [member function]
2682 cls.add_method('GetValue',
2683 'double',
2684 [],
2685 is_const=True)
2686 ## random-variable.h (module 'core'): double ns3::ErlangVariable::GetValue(unsigned int k, double lambda) const [member function]
2687 cls.add_method('GetValue',
2688 'double',
2689 [param('unsigned int', 'k'), param('double', 'lambda')],
2690 is_const=True)
2691 return
2692
2693def register_Ns3ExponentialVariable_methods(root_module, cls):
2694 ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable(ns3::ExponentialVariable const & arg0) [copy constructor]
2695 cls.add_constructor([param('ns3::ExponentialVariable const &', 'arg0')])
2696 ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable() [constructor]
2697 cls.add_constructor([])
2698 ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable(double m) [constructor]
2699 cls.add_constructor([param('double', 'm')])
2700 ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable(double m, double b) [constructor]
2701 cls.add_constructor([param('double', 'm'), param('double', 'b')])
2702 return
2703
2704def register_Ns3GammaVariable_methods(root_module, cls):
2705 ## random-variable.h (module 'core'): ns3::GammaVariable::GammaVariable(ns3::GammaVariable const & arg0) [copy constructor]
2706 cls.add_constructor([param('ns3::GammaVariable const &', 'arg0')])
2707 ## random-variable.h (module 'core'): ns3::GammaVariable::GammaVariable() [constructor]
2708 cls.add_constructor([])
2709 ## random-variable.h (module 'core'): ns3::GammaVariable::GammaVariable(double alpha, double beta) [constructor]
2710 cls.add_constructor([param('double', 'alpha'), param('double', 'beta')])
2711 ## random-variable.h (module 'core'): double ns3::GammaVariable::GetValue() const [member function]
2712 cls.add_method('GetValue',
2713 'double',
2714 [],
2715 is_const=True)
2716 ## random-variable.h (module 'core'): double ns3::GammaVariable::GetValue(double alpha, double beta) const [member function]
2717 cls.add_method('GetValue',
2718 'double',
2719 [param('double', 'alpha'), param('double', 'beta')],
2720 is_const=True)
2721 return
2722
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002723def register_Ns3Header_methods(root_module, cls):
2724 cls.add_output_stream_operator()
2725 ## header.h (module 'network'): ns3::Header::Header() [constructor]
2726 cls.add_constructor([])
2727 ## header.h (module 'network'): ns3::Header::Header(ns3::Header const & arg0) [copy constructor]
2728 cls.add_constructor([param('ns3::Header const &', 'arg0')])
2729 ## header.h (module 'network'): uint32_t ns3::Header::Deserialize(ns3::Buffer::Iterator start) [member function]
2730 cls.add_method('Deserialize',
2731 'uint32_t',
2732 [param('ns3::Buffer::Iterator', 'start')],
2733 is_pure_virtual=True, is_virtual=True)
2734 ## header.h (module 'network'): uint32_t ns3::Header::GetSerializedSize() const [member function]
2735 cls.add_method('GetSerializedSize',
2736 'uint32_t',
2737 [],
2738 is_pure_virtual=True, is_const=True, is_virtual=True)
2739 ## header.h (module 'network'): static ns3::TypeId ns3::Header::GetTypeId() [member function]
2740 cls.add_method('GetTypeId',
2741 'ns3::TypeId',
2742 [],
2743 is_static=True)
2744 ## header.h (module 'network'): void ns3::Header::Print(std::ostream & os) const [member function]
2745 cls.add_method('Print',
2746 'void',
2747 [param('std::ostream &', 'os')],
2748 is_pure_virtual=True, is_const=True, is_virtual=True)
2749 ## header.h (module 'network'): void ns3::Header::Serialize(ns3::Buffer::Iterator start) const [member function]
2750 cls.add_method('Serialize',
2751 'void',
2752 [param('ns3::Buffer::Iterator', 'start')],
2753 is_pure_virtual=True, is_const=True, is_virtual=True)
2754 return
2755
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002756def register_Ns3IntEmpiricalVariable_methods(root_module, cls):
2757 ## random-variable.h (module 'core'): ns3::IntEmpiricalVariable::IntEmpiricalVariable(ns3::IntEmpiricalVariable const & arg0) [copy constructor]
2758 cls.add_constructor([param('ns3::IntEmpiricalVariable const &', 'arg0')])
2759 ## random-variable.h (module 'core'): ns3::IntEmpiricalVariable::IntEmpiricalVariable() [constructor]
2760 cls.add_constructor([])
2761 return
2762
2763def register_Ns3LogNormalVariable_methods(root_module, cls):
2764 ## random-variable.h (module 'core'): ns3::LogNormalVariable::LogNormalVariable(ns3::LogNormalVariable const & arg0) [copy constructor]
2765 cls.add_constructor([param('ns3::LogNormalVariable const &', 'arg0')])
2766 ## random-variable.h (module 'core'): ns3::LogNormalVariable::LogNormalVariable(double mu, double sigma) [constructor]
2767 cls.add_constructor([param('double', 'mu'), param('double', 'sigma')])
2768 return
2769
2770def register_Ns3NormalVariable_methods(root_module, cls):
2771 ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable(ns3::NormalVariable const & arg0) [copy constructor]
2772 cls.add_constructor([param('ns3::NormalVariable const &', 'arg0')])
2773 ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable() [constructor]
2774 cls.add_constructor([])
2775 ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable(double m, double v) [constructor]
2776 cls.add_constructor([param('double', 'm'), param('double', 'v')])
2777 ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable(double m, double v, double b) [constructor]
2778 cls.add_constructor([param('double', 'm'), param('double', 'v'), param('double', 'b')])
2779 return
2780
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002781def register_Ns3Object_methods(root_module, cls):
2782 ## object.h (module 'core'): ns3::Object::Object() [constructor]
2783 cls.add_constructor([])
2784 ## object.h (module 'core'): void ns3::Object::AggregateObject(ns3::Ptr<ns3::Object> other) [member function]
2785 cls.add_method('AggregateObject',
2786 'void',
2787 [param('ns3::Ptr< ns3::Object >', 'other')])
2788 ## object.h (module 'core'): void ns3::Object::Dispose() [member function]
2789 cls.add_method('Dispose',
2790 'void',
2791 [])
2792 ## object.h (module 'core'): ns3::Object::AggregateIterator ns3::Object::GetAggregateIterator() const [member function]
2793 cls.add_method('GetAggregateIterator',
2794 'ns3::Object::AggregateIterator',
2795 [],
2796 is_const=True)
2797 ## object.h (module 'core'): ns3::TypeId ns3::Object::GetInstanceTypeId() const [member function]
2798 cls.add_method('GetInstanceTypeId',
2799 'ns3::TypeId',
2800 [],
2801 is_const=True, is_virtual=True)
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002802 ## object.h (module 'core'): ns3::Ptr<ns3::MobilityModel> ns3::Object::GetObject() const [member function]
2803 cls.add_method('GetObject',
2804 'ns3::Ptr< ns3::MobilityModel >',
2805 [],
2806 is_const=True, template_parameters=['ns3::MobilityModel'])
2807 ## object.h (module 'core'): ns3::Ptr<ns3::ndn::ContentStore> ns3::Object::GetObject() const [member function]
2808 cls.add_method('GetObject',
2809 'ns3::Ptr< ns3::ndn::ContentStore >',
2810 [],
2811 is_const=True, template_parameters=['ns3::ndn::ContentStore'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07002812 ## object.h (module 'core'): ns3::Ptr<ns3::ndn::Fib> ns3::Object::GetObject() const [member function]
Alexander Afanasyev1c0248b2012-07-24 15:59:50 -07002813 cls.add_method('GetObject',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07002814 'ns3::Ptr< ns3::ndn::Fib >',
Alexander Afanasyev1c0248b2012-07-24 15:59:50 -07002815 [],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07002816 is_const=True, template_parameters=['ns3::ndn::Fib'])
2817 ## object.h (module 'core'): ns3::Ptr<ns3::ndn::Pit> ns3::Object::GetObject() const [member function]
Alexander Afanasyev5feb38b2012-08-09 11:01:43 -07002818 cls.add_method('GetObject',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07002819 'ns3::Ptr< ns3::ndn::Pit >',
Alexander Afanasyev5feb38b2012-08-09 11:01:43 -07002820 [],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07002821 is_const=True, template_parameters=['ns3::ndn::Pit'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002822 ## object.h (module 'core'): static ns3::TypeId ns3::Object::GetTypeId() [member function]
2823 cls.add_method('GetTypeId',
2824 'ns3::TypeId',
2825 [],
2826 is_static=True)
2827 ## object.h (module 'core'): void ns3::Object::Start() [member function]
2828 cls.add_method('Start',
2829 'void',
2830 [])
2831 ## object.h (module 'core'): ns3::Object::Object(ns3::Object const & o) [copy constructor]
2832 cls.add_constructor([param('ns3::Object const &', 'o')],
2833 visibility='protected')
2834 ## object.h (module 'core'): void ns3::Object::DoDispose() [member function]
2835 cls.add_method('DoDispose',
2836 'void',
2837 [],
2838 visibility='protected', is_virtual=True)
2839 ## object.h (module 'core'): void ns3::Object::DoStart() [member function]
2840 cls.add_method('DoStart',
2841 'void',
2842 [],
2843 visibility='protected', is_virtual=True)
2844 ## object.h (module 'core'): void ns3::Object::NotifyNewAggregate() [member function]
2845 cls.add_method('NotifyNewAggregate',
2846 'void',
2847 [],
2848 visibility='protected', is_virtual=True)
2849 return
2850
2851def register_Ns3ObjectAggregateIterator_methods(root_module, cls):
2852 ## object.h (module 'core'): ns3::Object::AggregateIterator::AggregateIterator(ns3::Object::AggregateIterator const & arg0) [copy constructor]
2853 cls.add_constructor([param('ns3::Object::AggregateIterator const &', 'arg0')])
2854 ## object.h (module 'core'): ns3::Object::AggregateIterator::AggregateIterator() [constructor]
2855 cls.add_constructor([])
2856 ## object.h (module 'core'): bool ns3::Object::AggregateIterator::HasNext() const [member function]
2857 cls.add_method('HasNext',
2858 'bool',
2859 [],
2860 is_const=True)
2861 ## object.h (module 'core'): ns3::Ptr<ns3::Object const> ns3::Object::AggregateIterator::Next() [member function]
2862 cls.add_method('Next',
2863 'ns3::Ptr< ns3::Object const >',
2864 [])
2865 return
2866
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002867def register_Ns3ParetoVariable_methods(root_module, cls):
2868 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(ns3::ParetoVariable const & arg0) [copy constructor]
2869 cls.add_constructor([param('ns3::ParetoVariable const &', 'arg0')])
2870 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable() [constructor]
2871 cls.add_constructor([])
2872 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(double m) [constructor]
2873 cls.add_constructor([param('double', 'm')])
2874 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(double m, double s) [constructor]
2875 cls.add_constructor([param('double', 'm'), param('double', 's')])
2876 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(double m, double s, double b) [constructor]
2877 cls.add_constructor([param('double', 'm'), param('double', 's'), param('double', 'b')])
2878 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(std::pair<double,double> params) [constructor]
2879 cls.add_constructor([param('std::pair< double, double >', 'params')])
2880 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(std::pair<double,double> params, double b) [constructor]
2881 cls.add_constructor([param('std::pair< double, double >', 'params'), param('double', 'b')])
2882 return
2883
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002884def register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, cls):
2885 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >::SimpleRefCount() [constructor]
2886 cls.add_constructor([])
2887 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >::SimpleRefCount(ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> > const & o) [copy constructor]
2888 cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter< ns3::AttributeAccessor > > const &', 'o')])
2889 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >::Cleanup() [member function]
2890 cls.add_method('Cleanup',
2891 'void',
2892 [],
2893 is_static=True)
2894 return
2895
2896def register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeChecker__gt___methods(root_module, cls):
2897 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >::SimpleRefCount() [constructor]
2898 cls.add_constructor([])
2899 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >::SimpleRefCount(ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> > const & o) [copy constructor]
2900 cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter< ns3::AttributeChecker > > const &', 'o')])
2901 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >::Cleanup() [member function]
2902 cls.add_method('Cleanup',
2903 'void',
2904 [],
2905 is_static=True)
2906 return
2907
2908def register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, cls):
2909 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >::SimpleRefCount() [constructor]
2910 cls.add_constructor([])
2911 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >::SimpleRefCount(ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> > const & o) [copy constructor]
2912 cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter< ns3::AttributeValue > > const &', 'o')])
2913 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >::Cleanup() [member function]
2914 cls.add_method('Cleanup',
2915 'void',
2916 [],
2917 is_static=True)
2918 return
2919
2920def register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, cls):
2921 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >::SimpleRefCount() [constructor]
2922 cls.add_constructor([])
2923 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >::SimpleRefCount(ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> > const & o) [copy constructor]
2924 cls.add_constructor([param('ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter< ns3::CallbackImplBase > > const &', 'o')])
2925 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >::Cleanup() [member function]
2926 cls.add_method('Cleanup',
2927 'void',
2928 [],
2929 is_static=True)
2930 return
2931
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002932def register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, cls):
2933 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >::SimpleRefCount() [constructor]
2934 cls.add_constructor([])
2935 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >::SimpleRefCount(ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> > const & o) [copy constructor]
2936 cls.add_constructor([param('ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter< ns3::EventImpl > > const &', 'o')])
2937 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >::Cleanup() [member function]
2938 cls.add_method('Cleanup',
2939 'void',
2940 [],
2941 is_static=True)
2942 return
2943
2944def register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, cls):
2945 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >::SimpleRefCount() [constructor]
2946 cls.add_constructor([])
2947 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >::SimpleRefCount(ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> > const & o) [copy constructor]
2948 cls.add_constructor([param('ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter< ns3::NixVector > > const &', 'o')])
2949 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >::Cleanup() [member function]
2950 cls.add_method('Cleanup',
2951 'void',
2952 [],
2953 is_static=True)
2954 return
2955
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002956def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, cls):
2957 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >::SimpleRefCount() [constructor]
2958 cls.add_constructor([])
2959 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >::SimpleRefCount(ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> > const & o) [copy constructor]
2960 cls.add_constructor([param('ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter< ns3::Packet > > const &', 'o')])
2961 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >::Cleanup() [member function]
2962 cls.add_method('Cleanup',
2963 'void',
2964 [],
2965 is_static=True)
2966 return
2967
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002968def register_Ns3SimpleRefCount__Ns3TopologyReader_Ns3Empty_Ns3DefaultDeleter__lt__ns3TopologyReader__gt___methods(root_module, cls):
2969 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter<ns3::TopologyReader> >::SimpleRefCount() [constructor]
2970 cls.add_constructor([])
2971 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter<ns3::TopologyReader> >::SimpleRefCount(ns3::SimpleRefCount<ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter<ns3::TopologyReader> > const & o) [copy constructor]
2972 cls.add_constructor([param('ns3::SimpleRefCount< ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter< ns3::TopologyReader > > const &', 'o')])
2973 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter<ns3::TopologyReader> >::Cleanup() [member function]
2974 cls.add_method('Cleanup',
2975 'void',
2976 [],
2977 is_static=True)
2978 return
2979
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002980def register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, cls):
2981 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >::SimpleRefCount() [constructor]
2982 cls.add_constructor([])
2983 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >::SimpleRefCount(ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> > const & o) [copy constructor]
2984 cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > const &', 'o')])
2985 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >::Cleanup() [member function]
2986 cls.add_method('Cleanup',
2987 'void',
2988 [],
2989 is_static=True)
2990 return
2991
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07002992def register_Ns3SimpleRefCount__Ns3NdnContentObjectHeader_Ns3Header_Ns3DefaultDeleter__lt__ns3NdnContentObjectHeader__gt___methods(root_module, cls):
2993 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::ContentObjectHeader, ns3::Header, ns3::DefaultDeleter<ns3::ndn::ContentObjectHeader> >::SimpleRefCount() [constructor]
2994 cls.add_constructor([])
2995 ## 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]
2996 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::ContentObjectHeader, ns3::Header, ns3::DefaultDeleter< ns3::ndn::ContentObjectHeader > > const &', 'o')])
2997 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::ndn::ContentObjectHeader, ns3::Header, ns3::DefaultDeleter<ns3::ndn::ContentObjectHeader> >::Cleanup() [member function]
2998 cls.add_method('Cleanup',
2999 'void',
3000 [],
3001 is_static=True)
3002 return
3003
3004def register_Ns3SimpleRefCount__Ns3NdnFaceContainer_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnFaceContainer__gt___methods(root_module, cls):
3005 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::FaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::ndn::FaceContainer> >::SimpleRefCount() [constructor]
3006 cls.add_constructor([])
3007 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::FaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::ndn::FaceContainer> >::SimpleRefCount(ns3::SimpleRefCount<ns3::ndn::FaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::ndn::FaceContainer> > const & o) [copy constructor]
3008 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::FaceContainer, ns3::empty, ns3::DefaultDeleter< ns3::ndn::FaceContainer > > const &', 'o')])
3009 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::ndn::FaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::ndn::FaceContainer> >::Cleanup() [member function]
3010 cls.add_method('Cleanup',
3011 'void',
3012 [],
3013 is_static=True)
3014 return
3015
3016def register_Ns3SimpleRefCount__Ns3NdnInterestHeader_Ns3Header_Ns3DefaultDeleter__lt__ns3NdnInterestHeader__gt___methods(root_module, cls):
3017 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::InterestHeader, ns3::Header, ns3::DefaultDeleter<ns3::ndn::InterestHeader> >::SimpleRefCount() [constructor]
3018 cls.add_constructor([])
3019 ## 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]
3020 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::InterestHeader, ns3::Header, ns3::DefaultDeleter< ns3::ndn::InterestHeader > > const &', 'o')])
3021 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::ndn::InterestHeader, ns3::Header, ns3::DefaultDeleter<ns3::ndn::InterestHeader> >::Cleanup() [member function]
3022 cls.add_method('Cleanup',
3023 'void',
3024 [],
3025 is_static=True)
3026 return
3027
3028def register_Ns3SimpleRefCount__Ns3NdnNameComponents_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnNameComponents__gt___methods(root_module, cls):
3029 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::NameComponents, ns3::empty, ns3::DefaultDeleter<ns3::ndn::NameComponents> >::SimpleRefCount() [constructor]
3030 cls.add_constructor([])
3031 ## 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]
3032 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::NameComponents, ns3::empty, ns3::DefaultDeleter< ns3::ndn::NameComponents > > const &', 'o')])
3033 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::ndn::NameComponents, ns3::empty, ns3::DefaultDeleter<ns3::ndn::NameComponents> >::Cleanup() [member function]
3034 cls.add_method('Cleanup',
3035 'void',
3036 [],
3037 is_static=True)
3038 return
3039
3040def register_Ns3SimpleRefCount__Ns3NdnCsEntry_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnCsEntry__gt___methods(root_module, cls):
3041 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::cs::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::cs::Entry> >::SimpleRefCount() [constructor]
3042 cls.add_constructor([])
3043 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::cs::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::cs::Entry> >::SimpleRefCount(ns3::SimpleRefCount<ns3::ndn::cs::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::cs::Entry> > const & o) [copy constructor]
3044 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::cs::Entry, ns3::empty, ns3::DefaultDeleter< ns3::ndn::cs::Entry > > const &', 'o')])
3045 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::ndn::cs::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::cs::Entry> >::Cleanup() [member function]
3046 cls.add_method('Cleanup',
3047 'void',
3048 [],
3049 is_static=True)
3050 return
3051
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07003052def register_Ns3SimpleRefCount__Ns3NdnPitEntry_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnPitEntry__gt___methods(root_module, cls):
3053 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::pit::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::pit::Entry> >::SimpleRefCount() [constructor]
3054 cls.add_constructor([])
3055 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::pit::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::pit::Entry> >::SimpleRefCount(ns3::SimpleRefCount<ns3::ndn::pit::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::pit::Entry> > const & o) [copy constructor]
3056 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::pit::Entry, ns3::empty, ns3::DefaultDeleter< ns3::ndn::pit::Entry > > const &', 'o')])
3057 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::ndn::pit::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::pit::Entry> >::Cleanup() [member function]
3058 cls.add_method('Cleanup',
3059 'void',
3060 [],
3061 is_static=True)
3062 return
3063
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003064def register_Ns3Time_methods(root_module, cls):
3065 cls.add_binary_comparison_operator('!=')
3066 cls.add_inplace_numeric_operator('+=', param('ns3::Time const &', 'right'))
3067 cls.add_inplace_numeric_operator('-=', param('ns3::Time const &', 'right'))
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07003068 cls.add_output_stream_operator()
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08003069 cls.add_binary_comparison_operator('<=')
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003070 cls.add_binary_comparison_operator('==')
3071 cls.add_binary_comparison_operator('>=')
3072 cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right'))
3073 cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right'))
3074 cls.add_binary_comparison_operator('<')
3075 cls.add_binary_comparison_operator('>')
3076 ## nstime.h (module 'core'): ns3::Time::Time() [constructor]
3077 cls.add_constructor([])
3078 ## nstime.h (module 'core'): ns3::Time::Time(ns3::Time const & o) [copy constructor]
3079 cls.add_constructor([param('ns3::Time const &', 'o')])
3080 ## nstime.h (module 'core'): ns3::Time::Time(double v) [constructor]
3081 cls.add_constructor([param('double', 'v')])
3082 ## nstime.h (module 'core'): ns3::Time::Time(int v) [constructor]
3083 cls.add_constructor([param('int', 'v')])
3084 ## nstime.h (module 'core'): ns3::Time::Time(long int v) [constructor]
3085 cls.add_constructor([param('long int', 'v')])
3086 ## nstime.h (module 'core'): ns3::Time::Time(long long int v) [constructor]
3087 cls.add_constructor([param('long long int', 'v')])
3088 ## nstime.h (module 'core'): ns3::Time::Time(unsigned int v) [constructor]
3089 cls.add_constructor([param('unsigned int', 'v')])
3090 ## nstime.h (module 'core'): ns3::Time::Time(long unsigned int v) [constructor]
3091 cls.add_constructor([param('long unsigned int', 'v')])
3092 ## nstime.h (module 'core'): ns3::Time::Time(long long unsigned int v) [constructor]
3093 cls.add_constructor([param('long long unsigned int', 'v')])
3094 ## nstime.h (module 'core'): ns3::Time::Time(std::string const & s) [constructor]
3095 cls.add_constructor([param('std::string const &', 's')])
3096 ## nstime.h (module 'core'): ns3::Time::Time(ns3::int64x64_t const & value) [constructor]
3097 cls.add_constructor([param('ns3::int64x64_t const &', 'value')])
3098 ## nstime.h (module 'core'): int ns3::Time::Compare(ns3::Time const & o) const [member function]
3099 cls.add_method('Compare',
3100 'int',
3101 [param('ns3::Time const &', 'o')],
3102 is_const=True)
3103 ## nstime.h (module 'core'): static ns3::Time ns3::Time::From(ns3::int64x64_t const & from, ns3::Time::Unit timeUnit) [member function]
3104 cls.add_method('From',
3105 'ns3::Time',
3106 [param('ns3::int64x64_t const &', 'from'), param('ns3::Time::Unit', 'timeUnit')],
3107 is_static=True)
3108 ## nstime.h (module 'core'): static ns3::Time ns3::Time::From(ns3::int64x64_t const & value) [member function]
3109 cls.add_method('From',
3110 'ns3::Time',
3111 [param('ns3::int64x64_t const &', 'value')],
3112 is_static=True)
3113 ## nstime.h (module 'core'): static ns3::Time ns3::Time::FromDouble(double value, ns3::Time::Unit timeUnit) [member function]
3114 cls.add_method('FromDouble',
3115 'ns3::Time',
3116 [param('double', 'value'), param('ns3::Time::Unit', 'timeUnit')],
3117 is_static=True)
3118 ## nstime.h (module 'core'): static ns3::Time ns3::Time::FromInteger(uint64_t value, ns3::Time::Unit timeUnit) [member function]
3119 cls.add_method('FromInteger',
3120 'ns3::Time',
3121 [param('uint64_t', 'value'), param('ns3::Time::Unit', 'timeUnit')],
3122 is_static=True)
3123 ## nstime.h (module 'core'): double ns3::Time::GetDouble() const [member function]
3124 cls.add_method('GetDouble',
3125 'double',
3126 [],
3127 is_const=True)
3128 ## nstime.h (module 'core'): int64_t ns3::Time::GetFemtoSeconds() const [member function]
3129 cls.add_method('GetFemtoSeconds',
3130 'int64_t',
3131 [],
3132 is_const=True)
3133 ## nstime.h (module 'core'): int64_t ns3::Time::GetInteger() const [member function]
3134 cls.add_method('GetInteger',
3135 'int64_t',
3136 [],
3137 is_const=True)
3138 ## nstime.h (module 'core'): int64_t ns3::Time::GetMicroSeconds() const [member function]
3139 cls.add_method('GetMicroSeconds',
3140 'int64_t',
3141 [],
3142 is_const=True)
3143 ## nstime.h (module 'core'): int64_t ns3::Time::GetMilliSeconds() const [member function]
3144 cls.add_method('GetMilliSeconds',
3145 'int64_t',
3146 [],
3147 is_const=True)
3148 ## nstime.h (module 'core'): int64_t ns3::Time::GetNanoSeconds() const [member function]
3149 cls.add_method('GetNanoSeconds',
3150 'int64_t',
3151 [],
3152 is_const=True)
3153 ## nstime.h (module 'core'): int64_t ns3::Time::GetPicoSeconds() const [member function]
3154 cls.add_method('GetPicoSeconds',
3155 'int64_t',
3156 [],
3157 is_const=True)
3158 ## nstime.h (module 'core'): static ns3::Time::Unit ns3::Time::GetResolution() [member function]
3159 cls.add_method('GetResolution',
3160 'ns3::Time::Unit',
3161 [],
3162 is_static=True)
3163 ## nstime.h (module 'core'): double ns3::Time::GetSeconds() const [member function]
3164 cls.add_method('GetSeconds',
3165 'double',
3166 [],
3167 is_const=True)
3168 ## nstime.h (module 'core'): int64_t ns3::Time::GetTimeStep() const [member function]
3169 cls.add_method('GetTimeStep',
3170 'int64_t',
3171 [],
3172 is_const=True)
3173 ## nstime.h (module 'core'): bool ns3::Time::IsNegative() const [member function]
3174 cls.add_method('IsNegative',
3175 'bool',
3176 [],
3177 is_const=True)
3178 ## nstime.h (module 'core'): bool ns3::Time::IsPositive() const [member function]
3179 cls.add_method('IsPositive',
3180 'bool',
3181 [],
3182 is_const=True)
3183 ## nstime.h (module 'core'): bool ns3::Time::IsStrictlyNegative() const [member function]
3184 cls.add_method('IsStrictlyNegative',
3185 'bool',
3186 [],
3187 is_const=True)
3188 ## nstime.h (module 'core'): bool ns3::Time::IsStrictlyPositive() const [member function]
3189 cls.add_method('IsStrictlyPositive',
3190 'bool',
3191 [],
3192 is_const=True)
3193 ## nstime.h (module 'core'): bool ns3::Time::IsZero() const [member function]
3194 cls.add_method('IsZero',
3195 'bool',
3196 [],
3197 is_const=True)
3198 ## nstime.h (module 'core'): static void ns3::Time::SetResolution(ns3::Time::Unit resolution) [member function]
3199 cls.add_method('SetResolution',
3200 'void',
3201 [param('ns3::Time::Unit', 'resolution')],
3202 is_static=True)
3203 ## nstime.h (module 'core'): ns3::int64x64_t ns3::Time::To(ns3::Time::Unit timeUnit) const [member function]
3204 cls.add_method('To',
3205 'ns3::int64x64_t',
3206 [param('ns3::Time::Unit', 'timeUnit')],
3207 is_const=True)
3208 ## nstime.h (module 'core'): double ns3::Time::ToDouble(ns3::Time::Unit timeUnit) const [member function]
3209 cls.add_method('ToDouble',
3210 'double',
3211 [param('ns3::Time::Unit', 'timeUnit')],
3212 is_const=True)
3213 ## nstime.h (module 'core'): int64_t ns3::Time::ToInteger(ns3::Time::Unit timeUnit) const [member function]
3214 cls.add_method('ToInteger',
3215 'int64_t',
3216 [param('ns3::Time::Unit', 'timeUnit')],
3217 is_const=True)
3218 return
3219
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07003220def register_Ns3TopologyReader_methods(root_module, cls):
3221 ## topology-reader.h (module 'topology-read'): ns3::TopologyReader::TopologyReader() [constructor]
3222 cls.add_constructor([])
3223 ## topology-reader.h (module 'topology-read'): void ns3::TopologyReader::AddLink(ns3::TopologyReader::Link link) [member function]
3224 cls.add_method('AddLink',
3225 'void',
3226 [param('ns3::TopologyReader::Link', 'link')])
3227 ## topology-reader.h (module 'topology-read'): std::string ns3::TopologyReader::GetFileName() const [member function]
3228 cls.add_method('GetFileName',
3229 'std::string',
3230 [],
3231 is_const=True)
3232 ## topology-reader.h (module 'topology-read'): std::_List_const_iterator<ns3::TopologyReader::Link> ns3::TopologyReader::LinksBegin() const [member function]
3233 cls.add_method('LinksBegin',
3234 'std::_List_const_iterator< ns3::TopologyReader::Link >',
3235 [],
3236 is_const=True)
3237 ## topology-reader.h (module 'topology-read'): bool ns3::TopologyReader::LinksEmpty() const [member function]
3238 cls.add_method('LinksEmpty',
3239 'bool',
3240 [],
3241 is_const=True)
3242 ## topology-reader.h (module 'topology-read'): std::_List_const_iterator<ns3::TopologyReader::Link> ns3::TopologyReader::LinksEnd() const [member function]
3243 cls.add_method('LinksEnd',
3244 'std::_List_const_iterator< ns3::TopologyReader::Link >',
3245 [],
3246 is_const=True)
3247 ## topology-reader.h (module 'topology-read'): int ns3::TopologyReader::LinksSize() const [member function]
3248 cls.add_method('LinksSize',
3249 'int',
3250 [],
3251 is_const=True)
3252 ## topology-reader.h (module 'topology-read'): ns3::NodeContainer ns3::TopologyReader::Read() [member function]
3253 cls.add_method('Read',
3254 'ns3::NodeContainer',
3255 [],
3256 is_pure_virtual=True, is_virtual=True)
3257 ## topology-reader.h (module 'topology-read'): void ns3::TopologyReader::SetFileName(std::string const & fileName) [member function]
3258 cls.add_method('SetFileName',
3259 'void',
3260 [param('std::string const &', 'fileName')])
3261 return
3262
3263def register_Ns3TopologyReaderLink_methods(root_module, cls):
3264 ## topology-reader.h (module 'topology-read'): ns3::TopologyReader::Link::Link(ns3::TopologyReader::Link const & arg0) [copy constructor]
3265 cls.add_constructor([param('ns3::TopologyReader::Link const &', 'arg0')])
3266 ## topology-reader.h (module 'topology-read'): ns3::TopologyReader::Link::Link() [constructor]
3267 cls.add_constructor([])
3268 ## topology-reader.h (module 'topology-read'): ns3::TopologyReader::Link::Link(ns3::Ptr<ns3::Node> fromPtr, std::string const & fromName, ns3::Ptr<ns3::Node> toPtr, std::string const & toName) [constructor]
3269 cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'fromPtr'), param('std::string const &', 'fromName'), param('ns3::Ptr< ns3::Node >', 'toPtr'), param('std::string const &', 'toName')])
3270 ## topology-reader.h (module 'topology-read'): std::_Rb_tree_const_iterator<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > ns3::TopologyReader::Link::AttributesBegin() [member function]
3271 cls.add_method('AttributesBegin',
3272 'std::_Rb_tree_const_iterator< std::pair< std::basic_string< char, std::char_traits< char >, std::allocator< char > > const, std::basic_string< char, std::char_traits< char >, std::allocator< char > > > >',
3273 [])
3274 ## topology-reader.h (module 'topology-read'): std::_Rb_tree_const_iterator<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > ns3::TopologyReader::Link::AttributesEnd() [member function]
3275 cls.add_method('AttributesEnd',
3276 'std::_Rb_tree_const_iterator< std::pair< std::basic_string< char, std::char_traits< char >, std::allocator< char > > const, std::basic_string< char, std::char_traits< char >, std::allocator< char > > > >',
3277 [])
3278 ## topology-reader.h (module 'topology-read'): std::string ns3::TopologyReader::Link::GetAttribute(std::string const & name) const [member function]
3279 cls.add_method('GetAttribute',
3280 'std::string',
3281 [param('std::string const &', 'name')],
3282 is_const=True)
3283 ## topology-reader.h (module 'topology-read'): bool ns3::TopologyReader::Link::GetAttributeFailSafe(std::string const & name, std::string & value) const [member function]
3284 cls.add_method('GetAttributeFailSafe',
3285 'bool',
3286 [param('std::string const &', 'name'), param('std::string &', 'value')],
3287 is_const=True)
3288 ## topology-reader.h (module 'topology-read'): ns3::Ptr<ns3::NetDevice> ns3::TopologyReader::Link::GetFromNetDevice() const [member function]
3289 cls.add_method('GetFromNetDevice',
3290 'ns3::Ptr< ns3::NetDevice >',
3291 [],
3292 is_const=True)
3293 ## topology-reader.h (module 'topology-read'): ns3::Ptr<ns3::Node> ns3::TopologyReader::Link::GetFromNode() const [member function]
3294 cls.add_method('GetFromNode',
3295 'ns3::Ptr< ns3::Node >',
3296 [],
3297 is_const=True)
3298 ## topology-reader.h (module 'topology-read'): std::string ns3::TopologyReader::Link::GetFromNodeName() const [member function]
3299 cls.add_method('GetFromNodeName',
3300 'std::string',
3301 [],
3302 is_const=True)
3303 ## topology-reader.h (module 'topology-read'): ns3::Ptr<ns3::NetDevice> ns3::TopologyReader::Link::GetToNetDevice() const [member function]
3304 cls.add_method('GetToNetDevice',
3305 'ns3::Ptr< ns3::NetDevice >',
3306 [],
3307 is_const=True)
3308 ## topology-reader.h (module 'topology-read'): ns3::Ptr<ns3::Node> ns3::TopologyReader::Link::GetToNode() const [member function]
3309 cls.add_method('GetToNode',
3310 'ns3::Ptr< ns3::Node >',
3311 [],
3312 is_const=True)
3313 ## topology-reader.h (module 'topology-read'): std::string ns3::TopologyReader::Link::GetToNodeName() const [member function]
3314 cls.add_method('GetToNodeName',
3315 'std::string',
3316 [],
3317 is_const=True)
3318 ## topology-reader.h (module 'topology-read'): void ns3::TopologyReader::Link::SetAttribute(std::string const & name, std::string const & value) [member function]
3319 cls.add_method('SetAttribute',
3320 'void',
3321 [param('std::string const &', 'name'), param('std::string const &', 'value')])
3322 ## topology-reader.h (module 'topology-read'): void ns3::TopologyReader::Link::SetNetDevices(ns3::Ptr<ns3::NetDevice> from, ns3::Ptr<ns3::NetDevice> to) [member function]
3323 cls.add_method('SetNetDevices',
3324 'void',
3325 [param('ns3::Ptr< ns3::NetDevice >', 'from'), param('ns3::Ptr< ns3::NetDevice >', 'to')])
3326 return
3327
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003328def register_Ns3TraceSourceAccessor_methods(root_module, cls):
3329 ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor]
3330 cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')])
3331 ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor]
3332 cls.add_constructor([])
3333 ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function]
3334 cls.add_method('Connect',
3335 'bool',
3336 [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')],
3337 is_pure_virtual=True, is_const=True, is_virtual=True)
3338 ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function]
3339 cls.add_method('ConnectWithoutContext',
3340 'bool',
3341 [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')],
3342 is_pure_virtual=True, is_const=True, is_virtual=True)
3343 ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function]
3344 cls.add_method('Disconnect',
3345 'bool',
3346 [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')],
3347 is_pure_virtual=True, is_const=True, is_virtual=True)
3348 ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function]
3349 cls.add_method('DisconnectWithoutContext',
3350 'bool',
3351 [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')],
3352 is_pure_virtual=True, is_const=True, is_virtual=True)
3353 return
3354
3355def register_Ns3Trailer_methods(root_module, cls):
3356 cls.add_output_stream_operator()
3357 ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor]
3358 cls.add_constructor([])
3359 ## trailer.h (module 'network'): ns3::Trailer::Trailer(ns3::Trailer const & arg0) [copy constructor]
3360 cls.add_constructor([param('ns3::Trailer const &', 'arg0')])
3361 ## trailer.h (module 'network'): uint32_t ns3::Trailer::Deserialize(ns3::Buffer::Iterator end) [member function]
3362 cls.add_method('Deserialize',
3363 'uint32_t',
3364 [param('ns3::Buffer::Iterator', 'end')],
3365 is_pure_virtual=True, is_virtual=True)
3366 ## trailer.h (module 'network'): uint32_t ns3::Trailer::GetSerializedSize() const [member function]
3367 cls.add_method('GetSerializedSize',
3368 'uint32_t',
3369 [],
3370 is_pure_virtual=True, is_const=True, is_virtual=True)
3371 ## trailer.h (module 'network'): static ns3::TypeId ns3::Trailer::GetTypeId() [member function]
3372 cls.add_method('GetTypeId',
3373 'ns3::TypeId',
3374 [],
3375 is_static=True)
3376 ## trailer.h (module 'network'): void ns3::Trailer::Print(std::ostream & os) const [member function]
3377 cls.add_method('Print',
3378 'void',
3379 [param('std::ostream &', 'os')],
3380 is_pure_virtual=True, is_const=True, is_virtual=True)
3381 ## trailer.h (module 'network'): void ns3::Trailer::Serialize(ns3::Buffer::Iterator start) const [member function]
3382 cls.add_method('Serialize',
3383 'void',
3384 [param('ns3::Buffer::Iterator', 'start')],
3385 is_pure_virtual=True, is_const=True, is_virtual=True)
3386 return
3387
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07003388def register_Ns3AnnotatedTopologyReader_methods(root_module, cls):
3389 ## annotated-topology-reader.h (module 'ndnSIM'): ns3::AnnotatedTopologyReader::AnnotatedTopologyReader(std::string const & path="", double scale=1.0e+0) [constructor]
3390 cls.add_constructor([param('std::string const &', 'path', default_value='""'), param('double', 'scale', default_value='1.0e+0')])
3391 ## annotated-topology-reader.h (module 'ndnSIM'): ns3::NodeContainer ns3::AnnotatedTopologyReader::Read() [member function]
3392 cls.add_method('Read',
3393 'ns3::NodeContainer',
3394 [],
3395 is_virtual=True)
3396 ## annotated-topology-reader.h (module 'ndnSIM'): ns3::NodeContainer ns3::AnnotatedTopologyReader::GetNodes() const [member function]
3397 cls.add_method('GetNodes',
3398 'ns3::NodeContainer',
3399 [],
3400 is_const=True)
3401 ## annotated-topology-reader.h (module 'ndnSIM'): std::list<ns3::TopologyReader::Link, std::allocator<ns3::TopologyReader::Link> > const & ns3::AnnotatedTopologyReader::GetLinks() const [member function]
3402 cls.add_method('GetLinks',
3403 'std::list< ns3::TopologyReader::Link > const &',
3404 [],
3405 is_const=True)
3406 ## annotated-topology-reader.h (module 'ndnSIM'): void ns3::AnnotatedTopologyReader::AssignIpv4Addresses(ns3::Ipv4Address base) [member function]
3407 cls.add_method('AssignIpv4Addresses',
3408 'void',
3409 [param('ns3::Ipv4Address', 'base')])
3410 ## annotated-topology-reader.h (module 'ndnSIM'): void ns3::AnnotatedTopologyReader::SetBoundingBox(double ulx, double uly, double lrx, double lry) [member function]
3411 cls.add_method('SetBoundingBox',
3412 'void',
3413 [param('double', 'ulx'), param('double', 'uly'), param('double', 'lrx'), param('double', 'lry')])
3414 ## annotated-topology-reader.h (module 'ndnSIM'): void ns3::AnnotatedTopologyReader::SetMobilityModel(std::string const & model) [member function]
3415 cls.add_method('SetMobilityModel',
3416 'void',
3417 [param('std::string const &', 'model')])
3418 ## annotated-topology-reader.h (module 'ndnSIM'): void ns3::AnnotatedTopologyReader::ApplyOspfMetric() [member function]
3419 cls.add_method('ApplyOspfMetric',
3420 'void',
3421 [])
3422 ## annotated-topology-reader.h (module 'ndnSIM'): void ns3::AnnotatedTopologyReader::SavePositions(std::string const & file) const [member function]
3423 cls.add_method('SavePositions',
3424 'void',
3425 [param('std::string const &', 'file')],
3426 is_const=True)
3427 ## annotated-topology-reader.h (module 'ndnSIM'): ns3::Ptr<ns3::Node> ns3::AnnotatedTopologyReader::CreateNode(std::string const name, uint32_t systemId) [member function]
3428 cls.add_method('CreateNode',
3429 'ns3::Ptr< ns3::Node >',
3430 [param('std::string const', 'name'), param('uint32_t', 'systemId')],
3431 visibility='protected')
3432 ## 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]
3433 cls.add_method('CreateNode',
3434 'ns3::Ptr< ns3::Node >',
3435 [param('std::string const', 'name'), param('double', 'posX'), param('double', 'posY'), param('uint32_t', 'systemId')],
3436 visibility='protected')
3437 ## annotated-topology-reader.h (module 'ndnSIM'): void ns3::AnnotatedTopologyReader::ApplySettings() [member function]
3438 cls.add_method('ApplySettings',
3439 'void',
3440 [],
3441 visibility='protected')
3442 return
3443
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003444def register_Ns3Application_methods(root_module, cls):
3445 ## application.h (module 'network'): ns3::Application::Application(ns3::Application const & arg0) [copy constructor]
3446 cls.add_constructor([param('ns3::Application const &', 'arg0')])
3447 ## application.h (module 'network'): ns3::Application::Application() [constructor]
3448 cls.add_constructor([])
3449 ## application.h (module 'network'): ns3::Ptr<ns3::Node> ns3::Application::GetNode() const [member function]
3450 cls.add_method('GetNode',
3451 'ns3::Ptr< ns3::Node >',
3452 [],
3453 is_const=True)
3454 ## application.h (module 'network'): static ns3::TypeId ns3::Application::GetTypeId() [member function]
3455 cls.add_method('GetTypeId',
3456 'ns3::TypeId',
3457 [],
3458 is_static=True)
3459 ## application.h (module 'network'): void ns3::Application::SetNode(ns3::Ptr<ns3::Node> node) [member function]
3460 cls.add_method('SetNode',
3461 'void',
3462 [param('ns3::Ptr< ns3::Node >', 'node')])
3463 ## application.h (module 'network'): void ns3::Application::SetStartTime(ns3::Time start) [member function]
3464 cls.add_method('SetStartTime',
3465 'void',
3466 [param('ns3::Time', 'start')])
3467 ## application.h (module 'network'): void ns3::Application::SetStopTime(ns3::Time stop) [member function]
3468 cls.add_method('SetStopTime',
3469 'void',
3470 [param('ns3::Time', 'stop')])
3471 ## application.h (module 'network'): void ns3::Application::DoDispose() [member function]
3472 cls.add_method('DoDispose',
3473 'void',
3474 [],
3475 visibility='protected', is_virtual=True)
3476 ## application.h (module 'network'): void ns3::Application::DoStart() [member function]
3477 cls.add_method('DoStart',
3478 'void',
3479 [],
3480 visibility='protected', is_virtual=True)
3481 ## application.h (module 'network'): void ns3::Application::StartApplication() [member function]
3482 cls.add_method('StartApplication',
3483 'void',
3484 [],
Alexander Afanasyev4756b892012-04-18 14:48:43 -07003485 visibility='private', is_virtual=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003486 ## application.h (module 'network'): void ns3::Application::StopApplication() [member function]
3487 cls.add_method('StopApplication',
3488 'void',
3489 [],
Alexander Afanasyev4756b892012-04-18 14:48:43 -07003490 visibility='private', is_virtual=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003491 return
3492
3493def register_Ns3AttributeAccessor_methods(root_module, cls):
3494 ## attribute.h (module 'core'): ns3::AttributeAccessor::AttributeAccessor(ns3::AttributeAccessor const & arg0) [copy constructor]
3495 cls.add_constructor([param('ns3::AttributeAccessor const &', 'arg0')])
3496 ## attribute.h (module 'core'): ns3::AttributeAccessor::AttributeAccessor() [constructor]
3497 cls.add_constructor([])
3498 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::Get(ns3::ObjectBase const * object, ns3::AttributeValue & attribute) const [member function]
3499 cls.add_method('Get',
3500 'bool',
3501 [param('ns3::ObjectBase const *', 'object'), param('ns3::AttributeValue &', 'attribute')],
3502 is_pure_virtual=True, is_const=True, is_virtual=True)
3503 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::HasGetter() const [member function]
3504 cls.add_method('HasGetter',
3505 'bool',
3506 [],
3507 is_pure_virtual=True, is_const=True, is_virtual=True)
3508 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::HasSetter() const [member function]
3509 cls.add_method('HasSetter',
3510 'bool',
3511 [],
3512 is_pure_virtual=True, is_const=True, is_virtual=True)
3513 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::Set(ns3::ObjectBase * object, ns3::AttributeValue const & value) const [member function]
3514 cls.add_method('Set',
3515 'bool',
3516 [param('ns3::ObjectBase *', 'object', transfer_ownership=False), param('ns3::AttributeValue const &', 'value')],
3517 is_pure_virtual=True, is_const=True, is_virtual=True)
3518 return
3519
3520def register_Ns3AttributeChecker_methods(root_module, cls):
3521 ## attribute.h (module 'core'): ns3::AttributeChecker::AttributeChecker(ns3::AttributeChecker const & arg0) [copy constructor]
3522 cls.add_constructor([param('ns3::AttributeChecker const &', 'arg0')])
3523 ## attribute.h (module 'core'): ns3::AttributeChecker::AttributeChecker() [constructor]
3524 cls.add_constructor([])
3525 ## attribute.h (module 'core'): bool ns3::AttributeChecker::Check(ns3::AttributeValue const & value) const [member function]
3526 cls.add_method('Check',
3527 'bool',
3528 [param('ns3::AttributeValue const &', 'value')],
3529 is_pure_virtual=True, is_const=True, is_virtual=True)
3530 ## attribute.h (module 'core'): bool ns3::AttributeChecker::Copy(ns3::AttributeValue const & source, ns3::AttributeValue & destination) const [member function]
3531 cls.add_method('Copy',
3532 'bool',
3533 [param('ns3::AttributeValue const &', 'source'), param('ns3::AttributeValue &', 'destination')],
3534 is_pure_virtual=True, is_const=True, is_virtual=True)
3535 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeChecker::Create() const [member function]
3536 cls.add_method('Create',
3537 'ns3::Ptr< ns3::AttributeValue >',
3538 [],
3539 is_pure_virtual=True, is_const=True, is_virtual=True)
3540 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function]
3541 cls.add_method('CreateValidValue',
3542 'ns3::Ptr< ns3::AttributeValue >',
3543 [param('ns3::AttributeValue const &', 'value')],
3544 is_const=True)
3545 ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function]
3546 cls.add_method('GetUnderlyingTypeInformation',
3547 'std::string',
3548 [],
3549 is_pure_virtual=True, is_const=True, is_virtual=True)
3550 ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetValueTypeName() const [member function]
3551 cls.add_method('GetValueTypeName',
3552 'std::string',
3553 [],
3554 is_pure_virtual=True, is_const=True, is_virtual=True)
3555 ## attribute.h (module 'core'): bool ns3::AttributeChecker::HasUnderlyingTypeInformation() const [member function]
3556 cls.add_method('HasUnderlyingTypeInformation',
3557 'bool',
3558 [],
3559 is_pure_virtual=True, is_const=True, is_virtual=True)
3560 return
3561
3562def register_Ns3AttributeValue_methods(root_module, cls):
3563 ## attribute.h (module 'core'): ns3::AttributeValue::AttributeValue(ns3::AttributeValue const & arg0) [copy constructor]
3564 cls.add_constructor([param('ns3::AttributeValue const &', 'arg0')])
3565 ## attribute.h (module 'core'): ns3::AttributeValue::AttributeValue() [constructor]
3566 cls.add_constructor([])
3567 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeValue::Copy() const [member function]
3568 cls.add_method('Copy',
3569 'ns3::Ptr< ns3::AttributeValue >',
3570 [],
3571 is_pure_virtual=True, is_const=True, is_virtual=True)
3572 ## attribute.h (module 'core'): bool ns3::AttributeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3573 cls.add_method('DeserializeFromString',
3574 'bool',
3575 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3576 is_pure_virtual=True, is_virtual=True)
3577 ## attribute.h (module 'core'): std::string ns3::AttributeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3578 cls.add_method('SerializeToString',
3579 'std::string',
3580 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3581 is_pure_virtual=True, is_const=True, is_virtual=True)
3582 return
3583
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07003584def register_Ns3BooleanChecker_methods(root_module, cls):
3585 ## boolean.h (module 'core'): ns3::BooleanChecker::BooleanChecker() [constructor]
3586 cls.add_constructor([])
3587 ## boolean.h (module 'core'): ns3::BooleanChecker::BooleanChecker(ns3::BooleanChecker const & arg0) [copy constructor]
3588 cls.add_constructor([param('ns3::BooleanChecker const &', 'arg0')])
3589 return
3590
3591def register_Ns3BooleanValue_methods(root_module, cls):
3592 cls.add_output_stream_operator()
3593 ## boolean.h (module 'core'): ns3::BooleanValue::BooleanValue(ns3::BooleanValue const & arg0) [copy constructor]
3594 cls.add_constructor([param('ns3::BooleanValue const &', 'arg0')])
3595 ## boolean.h (module 'core'): ns3::BooleanValue::BooleanValue() [constructor]
3596 cls.add_constructor([])
3597 ## boolean.h (module 'core'): ns3::BooleanValue::BooleanValue(bool value) [constructor]
3598 cls.add_constructor([param('bool', 'value')])
3599 ## boolean.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::BooleanValue::Copy() const [member function]
3600 cls.add_method('Copy',
3601 'ns3::Ptr< ns3::AttributeValue >',
3602 [],
3603 is_const=True, is_virtual=True)
3604 ## boolean.h (module 'core'): bool ns3::BooleanValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3605 cls.add_method('DeserializeFromString',
3606 'bool',
3607 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3608 is_virtual=True)
3609 ## boolean.h (module 'core'): bool ns3::BooleanValue::Get() const [member function]
3610 cls.add_method('Get',
3611 'bool',
3612 [],
3613 is_const=True)
3614 ## boolean.h (module 'core'): std::string ns3::BooleanValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3615 cls.add_method('SerializeToString',
3616 'std::string',
3617 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3618 is_const=True, is_virtual=True)
3619 ## boolean.h (module 'core'): void ns3::BooleanValue::Set(bool value) [member function]
3620 cls.add_method('Set',
3621 'void',
3622 [param('bool', 'value')])
3623 return
3624
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003625def register_Ns3CallbackChecker_methods(root_module, cls):
3626 ## callback.h (module 'core'): ns3::CallbackChecker::CallbackChecker() [constructor]
3627 cls.add_constructor([])
3628 ## callback.h (module 'core'): ns3::CallbackChecker::CallbackChecker(ns3::CallbackChecker const & arg0) [copy constructor]
3629 cls.add_constructor([param('ns3::CallbackChecker const &', 'arg0')])
3630 return
3631
3632def register_Ns3CallbackImplBase_methods(root_module, cls):
3633 ## callback.h (module 'core'): ns3::CallbackImplBase::CallbackImplBase() [constructor]
3634 cls.add_constructor([])
3635 ## callback.h (module 'core'): ns3::CallbackImplBase::CallbackImplBase(ns3::CallbackImplBase const & arg0) [copy constructor]
3636 cls.add_constructor([param('ns3::CallbackImplBase const &', 'arg0')])
3637 ## callback.h (module 'core'): bool ns3::CallbackImplBase::IsEqual(ns3::Ptr<ns3::CallbackImplBase const> other) const [member function]
3638 cls.add_method('IsEqual',
3639 'bool',
3640 [param('ns3::Ptr< ns3::CallbackImplBase const >', 'other')],
3641 is_pure_virtual=True, is_const=True, is_virtual=True)
3642 return
3643
3644def register_Ns3CallbackValue_methods(root_module, cls):
3645 ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue(ns3::CallbackValue const & arg0) [copy constructor]
3646 cls.add_constructor([param('ns3::CallbackValue const &', 'arg0')])
3647 ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue() [constructor]
3648 cls.add_constructor([])
3649 ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue(ns3::CallbackBase const & base) [constructor]
3650 cls.add_constructor([param('ns3::CallbackBase const &', 'base')])
3651 ## callback.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::CallbackValue::Copy() const [member function]
3652 cls.add_method('Copy',
3653 'ns3::Ptr< ns3::AttributeValue >',
3654 [],
3655 is_const=True, is_virtual=True)
3656 ## callback.h (module 'core'): bool ns3::CallbackValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3657 cls.add_method('DeserializeFromString',
3658 'bool',
3659 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3660 is_virtual=True)
3661 ## callback.h (module 'core'): std::string ns3::CallbackValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3662 cls.add_method('SerializeToString',
3663 'std::string',
3664 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3665 is_const=True, is_virtual=True)
3666 ## callback.h (module 'core'): void ns3::CallbackValue::Set(ns3::CallbackBase base) [member function]
3667 cls.add_method('Set',
3668 'void',
3669 [param('ns3::CallbackBase', 'base')])
3670 return
3671
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07003672def register_Ns3DoubleValue_methods(root_module, cls):
3673 ## double.h (module 'core'): ns3::DoubleValue::DoubleValue() [constructor]
3674 cls.add_constructor([])
3675 ## double.h (module 'core'): ns3::DoubleValue::DoubleValue(ns3::DoubleValue const & arg0) [copy constructor]
3676 cls.add_constructor([param('ns3::DoubleValue const &', 'arg0')])
3677 ## double.h (module 'core'): ns3::DoubleValue::DoubleValue(double const & value) [constructor]
3678 cls.add_constructor([param('double const &', 'value')])
3679 ## double.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::DoubleValue::Copy() const [member function]
3680 cls.add_method('Copy',
3681 'ns3::Ptr< ns3::AttributeValue >',
3682 [],
3683 is_const=True, is_virtual=True)
3684 ## double.h (module 'core'): bool ns3::DoubleValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3685 cls.add_method('DeserializeFromString',
3686 'bool',
3687 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3688 is_virtual=True)
3689 ## double.h (module 'core'): double ns3::DoubleValue::Get() const [member function]
3690 cls.add_method('Get',
3691 'double',
3692 [],
3693 is_const=True)
3694 ## double.h (module 'core'): std::string ns3::DoubleValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3695 cls.add_method('SerializeToString',
3696 'std::string',
3697 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3698 is_const=True, is_virtual=True)
3699 ## double.h (module 'core'): void ns3::DoubleValue::Set(double const & value) [member function]
3700 cls.add_method('Set',
3701 'void',
3702 [param('double const &', 'value')])
3703 return
3704
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003705def register_Ns3EmptyAttributeValue_methods(root_module, cls):
3706 ## attribute.h (module 'core'): ns3::EmptyAttributeValue::EmptyAttributeValue(ns3::EmptyAttributeValue const & arg0) [copy constructor]
3707 cls.add_constructor([param('ns3::EmptyAttributeValue const &', 'arg0')])
3708 ## attribute.h (module 'core'): ns3::EmptyAttributeValue::EmptyAttributeValue() [constructor]
3709 cls.add_constructor([])
3710 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::EmptyAttributeValue::Copy() const [member function]
3711 cls.add_method('Copy',
3712 'ns3::Ptr< ns3::AttributeValue >',
3713 [],
3714 is_const=True, visibility='private', is_virtual=True)
3715 ## attribute.h (module 'core'): bool ns3::EmptyAttributeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3716 cls.add_method('DeserializeFromString',
3717 'bool',
3718 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3719 visibility='private', is_virtual=True)
3720 ## attribute.h (module 'core'): std::string ns3::EmptyAttributeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3721 cls.add_method('SerializeToString',
3722 'std::string',
3723 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3724 is_const=True, visibility='private', is_virtual=True)
3725 return
3726
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07003727def register_Ns3EnumChecker_methods(root_module, cls):
3728 ## enum.h (module 'core'): ns3::EnumChecker::EnumChecker(ns3::EnumChecker const & arg0) [copy constructor]
3729 cls.add_constructor([param('ns3::EnumChecker const &', 'arg0')])
3730 ## enum.h (module 'core'): ns3::EnumChecker::EnumChecker() [constructor]
3731 cls.add_constructor([])
3732 ## enum.h (module 'core'): void ns3::EnumChecker::Add(int v, std::string name) [member function]
3733 cls.add_method('Add',
3734 'void',
3735 [param('int', 'v'), param('std::string', 'name')])
3736 ## enum.h (module 'core'): void ns3::EnumChecker::AddDefault(int v, std::string name) [member function]
3737 cls.add_method('AddDefault',
3738 'void',
3739 [param('int', 'v'), param('std::string', 'name')])
3740 ## enum.h (module 'core'): bool ns3::EnumChecker::Check(ns3::AttributeValue const & value) const [member function]
3741 cls.add_method('Check',
3742 'bool',
3743 [param('ns3::AttributeValue const &', 'value')],
3744 is_const=True, is_virtual=True)
3745 ## enum.h (module 'core'): bool ns3::EnumChecker::Copy(ns3::AttributeValue const & src, ns3::AttributeValue & dst) const [member function]
3746 cls.add_method('Copy',
3747 'bool',
3748 [param('ns3::AttributeValue const &', 'src'), param('ns3::AttributeValue &', 'dst')],
3749 is_const=True, is_virtual=True)
3750 ## enum.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::EnumChecker::Create() const [member function]
3751 cls.add_method('Create',
3752 'ns3::Ptr< ns3::AttributeValue >',
3753 [],
3754 is_const=True, is_virtual=True)
3755 ## enum.h (module 'core'): std::string ns3::EnumChecker::GetUnderlyingTypeInformation() const [member function]
3756 cls.add_method('GetUnderlyingTypeInformation',
3757 'std::string',
3758 [],
3759 is_const=True, is_virtual=True)
3760 ## enum.h (module 'core'): std::string ns3::EnumChecker::GetValueTypeName() const [member function]
3761 cls.add_method('GetValueTypeName',
3762 'std::string',
3763 [],
3764 is_const=True, is_virtual=True)
3765 ## enum.h (module 'core'): bool ns3::EnumChecker::HasUnderlyingTypeInformation() const [member function]
3766 cls.add_method('HasUnderlyingTypeInformation',
3767 'bool',
3768 [],
3769 is_const=True, is_virtual=True)
3770 return
3771
3772def register_Ns3EnumValue_methods(root_module, cls):
3773 ## enum.h (module 'core'): ns3::EnumValue::EnumValue(ns3::EnumValue const & arg0) [copy constructor]
3774 cls.add_constructor([param('ns3::EnumValue const &', 'arg0')])
3775 ## enum.h (module 'core'): ns3::EnumValue::EnumValue() [constructor]
3776 cls.add_constructor([])
3777 ## enum.h (module 'core'): ns3::EnumValue::EnumValue(int v) [constructor]
3778 cls.add_constructor([param('int', 'v')])
3779 ## enum.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::EnumValue::Copy() const [member function]
3780 cls.add_method('Copy',
3781 'ns3::Ptr< ns3::AttributeValue >',
3782 [],
3783 is_const=True, is_virtual=True)
3784 ## enum.h (module 'core'): bool ns3::EnumValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3785 cls.add_method('DeserializeFromString',
3786 'bool',
3787 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3788 is_virtual=True)
3789 ## enum.h (module 'core'): int ns3::EnumValue::Get() const [member function]
3790 cls.add_method('Get',
3791 'int',
3792 [],
3793 is_const=True)
3794 ## enum.h (module 'core'): std::string ns3::EnumValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3795 cls.add_method('SerializeToString',
3796 'std::string',
3797 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3798 is_const=True, is_virtual=True)
3799 ## enum.h (module 'core'): void ns3::EnumValue::Set(int v) [member function]
3800 cls.add_method('Set',
3801 'void',
3802 [param('int', 'v')])
3803 return
3804
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003805def register_Ns3EventImpl_methods(root_module, cls):
3806 ## event-impl.h (module 'core'): ns3::EventImpl::EventImpl(ns3::EventImpl const & arg0) [copy constructor]
3807 cls.add_constructor([param('ns3::EventImpl const &', 'arg0')])
3808 ## event-impl.h (module 'core'): ns3::EventImpl::EventImpl() [constructor]
3809 cls.add_constructor([])
3810 ## event-impl.h (module 'core'): void ns3::EventImpl::Cancel() [member function]
3811 cls.add_method('Cancel',
3812 'void',
3813 [])
3814 ## event-impl.h (module 'core'): void ns3::EventImpl::Invoke() [member function]
3815 cls.add_method('Invoke',
3816 'void',
3817 [])
3818 ## event-impl.h (module 'core'): bool ns3::EventImpl::IsCancelled() [member function]
3819 cls.add_method('IsCancelled',
3820 'bool',
3821 [])
3822 ## event-impl.h (module 'core'): void ns3::EventImpl::Notify() [member function]
3823 cls.add_method('Notify',
3824 'void',
3825 [],
3826 is_pure_virtual=True, visibility='protected', is_virtual=True)
3827 return
3828
3829def register_Ns3IntegerValue_methods(root_module, cls):
3830 ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue() [constructor]
3831 cls.add_constructor([])
3832 ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue(ns3::IntegerValue const & arg0) [copy constructor]
3833 cls.add_constructor([param('ns3::IntegerValue const &', 'arg0')])
3834 ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue(int64_t const & value) [constructor]
3835 cls.add_constructor([param('int64_t const &', 'value')])
3836 ## integer.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::IntegerValue::Copy() const [member function]
3837 cls.add_method('Copy',
3838 'ns3::Ptr< ns3::AttributeValue >',
3839 [],
3840 is_const=True, is_virtual=True)
3841 ## integer.h (module 'core'): bool ns3::IntegerValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3842 cls.add_method('DeserializeFromString',
3843 'bool',
3844 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3845 is_virtual=True)
3846 ## integer.h (module 'core'): int64_t ns3::IntegerValue::Get() const [member function]
3847 cls.add_method('Get',
3848 'int64_t',
3849 [],
3850 is_const=True)
3851 ## integer.h (module 'core'): std::string ns3::IntegerValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3852 cls.add_method('SerializeToString',
3853 'std::string',
3854 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3855 is_const=True, is_virtual=True)
3856 ## integer.h (module 'core'): void ns3::IntegerValue::Set(int64_t const & value) [member function]
3857 cls.add_method('Set',
3858 'void',
3859 [param('int64_t const &', 'value')])
3860 return
3861
3862def register_Ns3Ipv4AddressChecker_methods(root_module, cls):
3863 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker::Ipv4AddressChecker() [constructor]
3864 cls.add_constructor([])
3865 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker::Ipv4AddressChecker(ns3::Ipv4AddressChecker const & arg0) [copy constructor]
3866 cls.add_constructor([param('ns3::Ipv4AddressChecker const &', 'arg0')])
3867 return
3868
3869def register_Ns3Ipv4AddressValue_methods(root_module, cls):
3870 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue::Ipv4AddressValue() [constructor]
3871 cls.add_constructor([])
3872 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue::Ipv4AddressValue(ns3::Ipv4AddressValue const & arg0) [copy constructor]
3873 cls.add_constructor([param('ns3::Ipv4AddressValue const &', 'arg0')])
3874 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue::Ipv4AddressValue(ns3::Ipv4Address const & value) [constructor]
3875 cls.add_constructor([param('ns3::Ipv4Address const &', 'value')])
3876 ## ipv4-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv4AddressValue::Copy() const [member function]
3877 cls.add_method('Copy',
3878 'ns3::Ptr< ns3::AttributeValue >',
3879 [],
3880 is_const=True, is_virtual=True)
3881 ## ipv4-address.h (module 'network'): bool ns3::Ipv4AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3882 cls.add_method('DeserializeFromString',
3883 'bool',
3884 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3885 is_virtual=True)
3886 ## ipv4-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv4AddressValue::Get() const [member function]
3887 cls.add_method('Get',
3888 'ns3::Ipv4Address',
3889 [],
3890 is_const=True)
3891 ## ipv4-address.h (module 'network'): std::string ns3::Ipv4AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3892 cls.add_method('SerializeToString',
3893 'std::string',
3894 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3895 is_const=True, is_virtual=True)
3896 ## ipv4-address.h (module 'network'): void ns3::Ipv4AddressValue::Set(ns3::Ipv4Address const & value) [member function]
3897 cls.add_method('Set',
3898 'void',
3899 [param('ns3::Ipv4Address const &', 'value')])
3900 return
3901
3902def register_Ns3Ipv4MaskChecker_methods(root_module, cls):
3903 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker::Ipv4MaskChecker() [constructor]
3904 cls.add_constructor([])
3905 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker::Ipv4MaskChecker(ns3::Ipv4MaskChecker const & arg0) [copy constructor]
3906 cls.add_constructor([param('ns3::Ipv4MaskChecker const &', 'arg0')])
3907 return
3908
3909def register_Ns3Ipv4MaskValue_methods(root_module, cls):
3910 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue::Ipv4MaskValue() [constructor]
3911 cls.add_constructor([])
3912 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue::Ipv4MaskValue(ns3::Ipv4MaskValue const & arg0) [copy constructor]
3913 cls.add_constructor([param('ns3::Ipv4MaskValue const &', 'arg0')])
3914 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue::Ipv4MaskValue(ns3::Ipv4Mask const & value) [constructor]
3915 cls.add_constructor([param('ns3::Ipv4Mask const &', 'value')])
3916 ## ipv4-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv4MaskValue::Copy() const [member function]
3917 cls.add_method('Copy',
3918 'ns3::Ptr< ns3::AttributeValue >',
3919 [],
3920 is_const=True, is_virtual=True)
3921 ## ipv4-address.h (module 'network'): bool ns3::Ipv4MaskValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3922 cls.add_method('DeserializeFromString',
3923 'bool',
3924 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3925 is_virtual=True)
3926 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask ns3::Ipv4MaskValue::Get() const [member function]
3927 cls.add_method('Get',
3928 'ns3::Ipv4Mask',
3929 [],
3930 is_const=True)
3931 ## ipv4-address.h (module 'network'): std::string ns3::Ipv4MaskValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3932 cls.add_method('SerializeToString',
3933 'std::string',
3934 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3935 is_const=True, is_virtual=True)
3936 ## ipv4-address.h (module 'network'): void ns3::Ipv4MaskValue::Set(ns3::Ipv4Mask const & value) [member function]
3937 cls.add_method('Set',
3938 'void',
3939 [param('ns3::Ipv4Mask const &', 'value')])
3940 return
3941
3942def register_Ns3Ipv6AddressChecker_methods(root_module, cls):
3943 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker::Ipv6AddressChecker() [constructor]
3944 cls.add_constructor([])
3945 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker::Ipv6AddressChecker(ns3::Ipv6AddressChecker const & arg0) [copy constructor]
3946 cls.add_constructor([param('ns3::Ipv6AddressChecker const &', 'arg0')])
3947 return
3948
3949def register_Ns3Ipv6AddressValue_methods(root_module, cls):
3950 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue::Ipv6AddressValue() [constructor]
3951 cls.add_constructor([])
3952 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue::Ipv6AddressValue(ns3::Ipv6AddressValue const & arg0) [copy constructor]
3953 cls.add_constructor([param('ns3::Ipv6AddressValue const &', 'arg0')])
3954 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue::Ipv6AddressValue(ns3::Ipv6Address const & value) [constructor]
3955 cls.add_constructor([param('ns3::Ipv6Address const &', 'value')])
3956 ## ipv6-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv6AddressValue::Copy() const [member function]
3957 cls.add_method('Copy',
3958 'ns3::Ptr< ns3::AttributeValue >',
3959 [],
3960 is_const=True, is_virtual=True)
3961 ## ipv6-address.h (module 'network'): bool ns3::Ipv6AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3962 cls.add_method('DeserializeFromString',
3963 'bool',
3964 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3965 is_virtual=True)
3966 ## ipv6-address.h (module 'network'): ns3::Ipv6Address ns3::Ipv6AddressValue::Get() const [member function]
3967 cls.add_method('Get',
3968 'ns3::Ipv6Address',
3969 [],
3970 is_const=True)
3971 ## ipv6-address.h (module 'network'): std::string ns3::Ipv6AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3972 cls.add_method('SerializeToString',
3973 'std::string',
3974 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3975 is_const=True, is_virtual=True)
3976 ## ipv6-address.h (module 'network'): void ns3::Ipv6AddressValue::Set(ns3::Ipv6Address const & value) [member function]
3977 cls.add_method('Set',
3978 'void',
3979 [param('ns3::Ipv6Address const &', 'value')])
3980 return
3981
3982def register_Ns3Ipv6PrefixChecker_methods(root_module, cls):
3983 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker::Ipv6PrefixChecker() [constructor]
3984 cls.add_constructor([])
3985 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker::Ipv6PrefixChecker(ns3::Ipv6PrefixChecker const & arg0) [copy constructor]
3986 cls.add_constructor([param('ns3::Ipv6PrefixChecker const &', 'arg0')])
3987 return
3988
3989def register_Ns3Ipv6PrefixValue_methods(root_module, cls):
3990 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue::Ipv6PrefixValue() [constructor]
3991 cls.add_constructor([])
3992 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue::Ipv6PrefixValue(ns3::Ipv6PrefixValue const & arg0) [copy constructor]
3993 cls.add_constructor([param('ns3::Ipv6PrefixValue const &', 'arg0')])
3994 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue::Ipv6PrefixValue(ns3::Ipv6Prefix const & value) [constructor]
3995 cls.add_constructor([param('ns3::Ipv6Prefix const &', 'value')])
3996 ## ipv6-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv6PrefixValue::Copy() const [member function]
3997 cls.add_method('Copy',
3998 'ns3::Ptr< ns3::AttributeValue >',
3999 [],
4000 is_const=True, is_virtual=True)
4001 ## ipv6-address.h (module 'network'): bool ns3::Ipv6PrefixValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4002 cls.add_method('DeserializeFromString',
4003 'bool',
4004 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4005 is_virtual=True)
4006 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix ns3::Ipv6PrefixValue::Get() const [member function]
4007 cls.add_method('Get',
4008 'ns3::Ipv6Prefix',
4009 [],
4010 is_const=True)
4011 ## ipv6-address.h (module 'network'): std::string ns3::Ipv6PrefixValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4012 cls.add_method('SerializeToString',
4013 'std::string',
4014 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4015 is_const=True, is_virtual=True)
4016 ## ipv6-address.h (module 'network'): void ns3::Ipv6PrefixValue::Set(ns3::Ipv6Prefix const & value) [member function]
4017 cls.add_method('Set',
4018 'void',
4019 [param('ns3::Ipv6Prefix const &', 'value')])
4020 return
4021
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07004022def register_Ns3MobilityModel_methods(root_module, cls):
4023 ## mobility-model.h (module 'mobility'): ns3::MobilityModel::MobilityModel(ns3::MobilityModel const & arg0) [copy constructor]
4024 cls.add_constructor([param('ns3::MobilityModel const &', 'arg0')])
4025 ## mobility-model.h (module 'mobility'): ns3::MobilityModel::MobilityModel() [constructor]
4026 cls.add_constructor([])
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08004027 ## mobility-model.h (module 'mobility'): int64_t ns3::MobilityModel::AssignStreams(int64_t stream) [member function]
4028 cls.add_method('AssignStreams',
4029 'int64_t',
4030 [param('int64_t', 'stream')])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07004031 ## mobility-model.h (module 'mobility'): double ns3::MobilityModel::GetDistanceFrom(ns3::Ptr<const ns3::MobilityModel> position) const [member function]
4032 cls.add_method('GetDistanceFrom',
4033 'double',
4034 [param('ns3::Ptr< ns3::MobilityModel const >', 'position')],
4035 is_const=True)
4036 ## mobility-model.h (module 'mobility'): static ns3::Ptr<ns3::MobilityModel> ns3::MobilityModel::GetMobilityModel(ns3::Ptr<ns3::Object> node) [member function]
4037 cls.add_method('GetMobilityModel',
4038 'ns3::Ptr< ns3::MobilityModel >',
4039 [param('ns3::Ptr< ns3::Object >', 'node')],
4040 is_static=True)
4041 ## mobility-model.h (module 'mobility'): ns3::Vector ns3::MobilityModel::GetPosition() const [member function]
4042 cls.add_method('GetPosition',
4043 'ns3::Vector',
4044 [],
4045 is_const=True)
4046 ## mobility-model.h (module 'mobility'): double ns3::MobilityModel::GetRelativeSpeed(ns3::Ptr<const ns3::MobilityModel> other) const [member function]
4047 cls.add_method('GetRelativeSpeed',
4048 'double',
4049 [param('ns3::Ptr< ns3::MobilityModel const >', 'other')],
4050 is_const=True)
4051 ## mobility-model.h (module 'mobility'): static ns3::TypeId ns3::MobilityModel::GetTypeId() [member function]
4052 cls.add_method('GetTypeId',
4053 'ns3::TypeId',
4054 [],
4055 is_static=True)
4056 ## mobility-model.h (module 'mobility'): ns3::Vector ns3::MobilityModel::GetVelocity() const [member function]
4057 cls.add_method('GetVelocity',
4058 'ns3::Vector',
4059 [],
4060 is_const=True)
4061 ## mobility-model.h (module 'mobility'): void ns3::MobilityModel::SetPosition(ns3::Vector const & position) [member function]
4062 cls.add_method('SetPosition',
4063 'void',
4064 [param('ns3::Vector const &', 'position')])
4065 ## mobility-model.h (module 'mobility'): void ns3::MobilityModel::NotifyCourseChange() const [member function]
4066 cls.add_method('NotifyCourseChange',
4067 'void',
4068 [],
4069 is_const=True, visibility='protected')
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08004070 ## mobility-model.h (module 'mobility'): int64_t ns3::MobilityModel::DoAssignStreams(int64_t start) [member function]
4071 cls.add_method('DoAssignStreams',
4072 'int64_t',
4073 [param('int64_t', 'start')],
4074 visibility='private', is_virtual=True)
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07004075 ## mobility-model.h (module 'mobility'): ns3::Vector ns3::MobilityModel::DoGetPosition() const [member function]
4076 cls.add_method('DoGetPosition',
4077 'ns3::Vector',
4078 [],
4079 is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
4080 ## mobility-model.h (module 'mobility'): ns3::Vector ns3::MobilityModel::DoGetVelocity() const [member function]
4081 cls.add_method('DoGetVelocity',
4082 'ns3::Vector',
4083 [],
4084 is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
4085 ## mobility-model.h (module 'mobility'): void ns3::MobilityModel::DoSetPosition(ns3::Vector const & position) [member function]
4086 cls.add_method('DoSetPosition',
4087 'void',
4088 [param('ns3::Vector const &', 'position')],
4089 is_pure_virtual=True, visibility='private', is_virtual=True)
4090 return
4091
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004092def register_Ns3NetDevice_methods(root_module, cls):
4093 ## net-device.h (module 'network'): ns3::NetDevice::NetDevice() [constructor]
4094 cls.add_constructor([])
4095 ## net-device.h (module 'network'): ns3::NetDevice::NetDevice(ns3::NetDevice const & arg0) [copy constructor]
4096 cls.add_constructor([param('ns3::NetDevice const &', 'arg0')])
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08004097 ## net-device.h (module 'network'): void ns3::NetDevice::AddLinkChangeCallback(ns3::Callback<void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> callback) [member function]
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004098 cls.add_method('AddLinkChangeCallback',
4099 'void',
4100 [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')],
4101 is_pure_virtual=True, is_virtual=True)
4102 ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetAddress() const [member function]
4103 cls.add_method('GetAddress',
4104 'ns3::Address',
4105 [],
4106 is_pure_virtual=True, is_const=True, is_virtual=True)
4107 ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetBroadcast() const [member function]
4108 cls.add_method('GetBroadcast',
4109 'ns3::Address',
4110 [],
4111 is_pure_virtual=True, is_const=True, is_virtual=True)
4112 ## net-device.h (module 'network'): ns3::Ptr<ns3::Channel> ns3::NetDevice::GetChannel() const [member function]
4113 cls.add_method('GetChannel',
4114 'ns3::Ptr< ns3::Channel >',
4115 [],
4116 is_pure_virtual=True, is_const=True, is_virtual=True)
4117 ## net-device.h (module 'network'): uint32_t ns3::NetDevice::GetIfIndex() const [member function]
4118 cls.add_method('GetIfIndex',
4119 'uint32_t',
4120 [],
4121 is_pure_virtual=True, is_const=True, is_virtual=True)
4122 ## net-device.h (module 'network'): uint16_t ns3::NetDevice::GetMtu() const [member function]
4123 cls.add_method('GetMtu',
4124 'uint16_t',
4125 [],
4126 is_pure_virtual=True, is_const=True, is_virtual=True)
4127 ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetMulticast(ns3::Ipv4Address multicastGroup) const [member function]
4128 cls.add_method('GetMulticast',
4129 'ns3::Address',
4130 [param('ns3::Ipv4Address', 'multicastGroup')],
4131 is_pure_virtual=True, is_const=True, is_virtual=True)
4132 ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetMulticast(ns3::Ipv6Address addr) const [member function]
4133 cls.add_method('GetMulticast',
4134 'ns3::Address',
4135 [param('ns3::Ipv6Address', 'addr')],
4136 is_pure_virtual=True, is_const=True, is_virtual=True)
4137 ## net-device.h (module 'network'): ns3::Ptr<ns3::Node> ns3::NetDevice::GetNode() const [member function]
4138 cls.add_method('GetNode',
4139 'ns3::Ptr< ns3::Node >',
4140 [],
4141 is_pure_virtual=True, is_const=True, is_virtual=True)
4142 ## net-device.h (module 'network'): static ns3::TypeId ns3::NetDevice::GetTypeId() [member function]
4143 cls.add_method('GetTypeId',
4144 'ns3::TypeId',
4145 [],
4146 is_static=True)
4147 ## net-device.h (module 'network'): bool ns3::NetDevice::IsBridge() const [member function]
4148 cls.add_method('IsBridge',
4149 'bool',
4150 [],
4151 is_pure_virtual=True, is_const=True, is_virtual=True)
4152 ## net-device.h (module 'network'): bool ns3::NetDevice::IsBroadcast() const [member function]
4153 cls.add_method('IsBroadcast',
4154 'bool',
4155 [],
4156 is_pure_virtual=True, is_const=True, is_virtual=True)
4157 ## net-device.h (module 'network'): bool ns3::NetDevice::IsLinkUp() const [member function]
4158 cls.add_method('IsLinkUp',
4159 'bool',
4160 [],
4161 is_pure_virtual=True, is_const=True, is_virtual=True)
4162 ## net-device.h (module 'network'): bool ns3::NetDevice::IsMulticast() const [member function]
4163 cls.add_method('IsMulticast',
4164 'bool',
4165 [],
4166 is_pure_virtual=True, is_const=True, is_virtual=True)
4167 ## net-device.h (module 'network'): bool ns3::NetDevice::IsPointToPoint() const [member function]
4168 cls.add_method('IsPointToPoint',
4169 'bool',
4170 [],
4171 is_pure_virtual=True, is_const=True, is_virtual=True)
4172 ## net-device.h (module 'network'): bool ns3::NetDevice::NeedsArp() const [member function]
4173 cls.add_method('NeedsArp',
4174 'bool',
4175 [],
4176 is_pure_virtual=True, is_const=True, is_virtual=True)
4177 ## net-device.h (module 'network'): bool ns3::NetDevice::Send(ns3::Ptr<ns3::Packet> packet, ns3::Address const & dest, uint16_t protocolNumber) [member function]
4178 cls.add_method('Send',
4179 'bool',
4180 [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')],
4181 is_pure_virtual=True, is_virtual=True)
4182 ## 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]
4183 cls.add_method('SendFrom',
4184 'bool',
4185 [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')],
4186 is_pure_virtual=True, is_virtual=True)
4187 ## net-device.h (module 'network'): void ns3::NetDevice::SetAddress(ns3::Address address) [member function]
4188 cls.add_method('SetAddress',
4189 'void',
4190 [param('ns3::Address', 'address')],
4191 is_pure_virtual=True, is_virtual=True)
4192 ## net-device.h (module 'network'): void ns3::NetDevice::SetIfIndex(uint32_t const index) [member function]
4193 cls.add_method('SetIfIndex',
4194 'void',
4195 [param('uint32_t const', 'index')],
4196 is_pure_virtual=True, is_virtual=True)
4197 ## net-device.h (module 'network'): bool ns3::NetDevice::SetMtu(uint16_t const mtu) [member function]
4198 cls.add_method('SetMtu',
4199 'bool',
4200 [param('uint16_t const', 'mtu')],
4201 is_pure_virtual=True, is_virtual=True)
4202 ## net-device.h (module 'network'): void ns3::NetDevice::SetNode(ns3::Ptr<ns3::Node> node) [member function]
4203 cls.add_method('SetNode',
4204 'void',
4205 [param('ns3::Ptr< ns3::Node >', 'node')],
4206 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyev07827182011-12-13 01:07:32 -08004207 ## 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 -07004208 cls.add_method('SetPromiscReceiveCallback',
4209 'void',
Alexander Afanasyev07827182011-12-13 01:07:32 -08004210 [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 -07004211 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyev07827182011-12-13 01:07:32 -08004212 ## 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 -07004213 cls.add_method('SetReceiveCallback',
4214 'void',
Alexander Afanasyev07827182011-12-13 01:07:32 -08004215 [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 -07004216 is_pure_virtual=True, is_virtual=True)
4217 ## net-device.h (module 'network'): bool ns3::NetDevice::SupportsSendFrom() const [member function]
4218 cls.add_method('SupportsSendFrom',
4219 'bool',
4220 [],
4221 is_pure_virtual=True, is_const=True, is_virtual=True)
4222 return
4223
4224def register_Ns3NixVector_methods(root_module, cls):
4225 cls.add_output_stream_operator()
4226 ## nix-vector.h (module 'network'): ns3::NixVector::NixVector() [constructor]
4227 cls.add_constructor([])
4228 ## nix-vector.h (module 'network'): ns3::NixVector::NixVector(ns3::NixVector const & o) [copy constructor]
4229 cls.add_constructor([param('ns3::NixVector const &', 'o')])
4230 ## nix-vector.h (module 'network'): void ns3::NixVector::AddNeighborIndex(uint32_t newBits, uint32_t numberOfBits) [member function]
4231 cls.add_method('AddNeighborIndex',
4232 'void',
4233 [param('uint32_t', 'newBits'), param('uint32_t', 'numberOfBits')])
4234 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::BitCount(uint32_t numberOfNeighbors) const [member function]
4235 cls.add_method('BitCount',
4236 'uint32_t',
4237 [param('uint32_t', 'numberOfNeighbors')],
4238 is_const=True)
4239 ## nix-vector.h (module 'network'): ns3::Ptr<ns3::NixVector> ns3::NixVector::Copy() const [member function]
4240 cls.add_method('Copy',
4241 'ns3::Ptr< ns3::NixVector >',
4242 [],
4243 is_const=True)
4244 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::Deserialize(uint32_t const * buffer, uint32_t size) [member function]
4245 cls.add_method('Deserialize',
4246 'uint32_t',
4247 [param('uint32_t const *', 'buffer'), param('uint32_t', 'size')])
4248 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::ExtractNeighborIndex(uint32_t numberOfBits) [member function]
4249 cls.add_method('ExtractNeighborIndex',
4250 'uint32_t',
4251 [param('uint32_t', 'numberOfBits')])
4252 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::GetRemainingBits() [member function]
4253 cls.add_method('GetRemainingBits',
4254 'uint32_t',
4255 [])
4256 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::GetSerializedSize() const [member function]
4257 cls.add_method('GetSerializedSize',
4258 'uint32_t',
4259 [],
4260 is_const=True)
4261 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::Serialize(uint32_t * buffer, uint32_t maxSize) const [member function]
4262 cls.add_method('Serialize',
4263 'uint32_t',
4264 [param('uint32_t *', 'buffer'), param('uint32_t', 'maxSize')],
4265 is_const=True)
4266 return
4267
4268def register_Ns3Node_methods(root_module, cls):
4269 ## node.h (module 'network'): ns3::Node::Node(ns3::Node const & arg0) [copy constructor]
4270 cls.add_constructor([param('ns3::Node const &', 'arg0')])
4271 ## node.h (module 'network'): ns3::Node::Node() [constructor]
4272 cls.add_constructor([])
4273 ## node.h (module 'network'): ns3::Node::Node(uint32_t systemId) [constructor]
4274 cls.add_constructor([param('uint32_t', 'systemId')])
4275 ## node.h (module 'network'): uint32_t ns3::Node::AddApplication(ns3::Ptr<ns3::Application> application) [member function]
4276 cls.add_method('AddApplication',
4277 'uint32_t',
4278 [param('ns3::Ptr< ns3::Application >', 'application')])
4279 ## node.h (module 'network'): uint32_t ns3::Node::AddDevice(ns3::Ptr<ns3::NetDevice> device) [member function]
4280 cls.add_method('AddDevice',
4281 'uint32_t',
4282 [param('ns3::Ptr< ns3::NetDevice >', 'device')])
4283 ## node.h (module 'network'): static bool ns3::Node::ChecksumEnabled() [member function]
4284 cls.add_method('ChecksumEnabled',
4285 'bool',
4286 [],
4287 is_static=True)
4288 ## node.h (module 'network'): ns3::Ptr<ns3::Application> ns3::Node::GetApplication(uint32_t index) const [member function]
4289 cls.add_method('GetApplication',
4290 'ns3::Ptr< ns3::Application >',
4291 [param('uint32_t', 'index')],
4292 is_const=True)
4293 ## node.h (module 'network'): ns3::Ptr<ns3::NetDevice> ns3::Node::GetDevice(uint32_t index) const [member function]
4294 cls.add_method('GetDevice',
4295 'ns3::Ptr< ns3::NetDevice >',
4296 [param('uint32_t', 'index')],
4297 is_const=True)
4298 ## node.h (module 'network'): uint32_t ns3::Node::GetId() const [member function]
4299 cls.add_method('GetId',
4300 'uint32_t',
4301 [],
4302 is_const=True)
4303 ## node.h (module 'network'): uint32_t ns3::Node::GetNApplications() const [member function]
4304 cls.add_method('GetNApplications',
4305 'uint32_t',
4306 [],
4307 is_const=True)
4308 ## node.h (module 'network'): uint32_t ns3::Node::GetNDevices() const [member function]
4309 cls.add_method('GetNDevices',
4310 'uint32_t',
4311 [],
4312 is_const=True)
4313 ## node.h (module 'network'): uint32_t ns3::Node::GetSystemId() const [member function]
4314 cls.add_method('GetSystemId',
4315 'uint32_t',
4316 [],
4317 is_const=True)
4318 ## node.h (module 'network'): static ns3::TypeId ns3::Node::GetTypeId() [member function]
4319 cls.add_method('GetTypeId',
4320 'ns3::TypeId',
4321 [],
4322 is_static=True)
4323 ## 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]
4324 cls.add_method('RegisterDeviceAdditionListener',
4325 'void',
4326 [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')])
4327 ## 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]
4328 cls.add_method('RegisterProtocolHandler',
4329 'void',
4330 [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')])
4331 ## 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]
4332 cls.add_method('UnregisterDeviceAdditionListener',
4333 'void',
4334 [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')])
4335 ## 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]
4336 cls.add_method('UnregisterProtocolHandler',
4337 'void',
4338 [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')])
4339 ## node.h (module 'network'): void ns3::Node::DoDispose() [member function]
4340 cls.add_method('DoDispose',
4341 'void',
4342 [],
4343 visibility='protected', is_virtual=True)
4344 ## node.h (module 'network'): void ns3::Node::DoStart() [member function]
4345 cls.add_method('DoStart',
4346 'void',
4347 [],
4348 visibility='protected', is_virtual=True)
4349 return
4350
4351def register_Ns3ObjectFactoryChecker_methods(root_module, cls):
4352 ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker::ObjectFactoryChecker() [constructor]
4353 cls.add_constructor([])
4354 ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker::ObjectFactoryChecker(ns3::ObjectFactoryChecker const & arg0) [copy constructor]
4355 cls.add_constructor([param('ns3::ObjectFactoryChecker const &', 'arg0')])
4356 return
4357
4358def register_Ns3ObjectFactoryValue_methods(root_module, cls):
4359 ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue() [constructor]
4360 cls.add_constructor([])
4361 ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue(ns3::ObjectFactoryValue const & arg0) [copy constructor]
4362 cls.add_constructor([param('ns3::ObjectFactoryValue const &', 'arg0')])
4363 ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue(ns3::ObjectFactory const & value) [constructor]
4364 cls.add_constructor([param('ns3::ObjectFactory const &', 'value')])
4365 ## object-factory.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::ObjectFactoryValue::Copy() const [member function]
4366 cls.add_method('Copy',
4367 'ns3::Ptr< ns3::AttributeValue >',
4368 [],
4369 is_const=True, is_virtual=True)
4370 ## object-factory.h (module 'core'): bool ns3::ObjectFactoryValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4371 cls.add_method('DeserializeFromString',
4372 'bool',
4373 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4374 is_virtual=True)
4375 ## object-factory.h (module 'core'): ns3::ObjectFactory ns3::ObjectFactoryValue::Get() const [member function]
4376 cls.add_method('Get',
4377 'ns3::ObjectFactory',
4378 [],
4379 is_const=True)
4380 ## object-factory.h (module 'core'): std::string ns3::ObjectFactoryValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4381 cls.add_method('SerializeToString',
4382 'std::string',
4383 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4384 is_const=True, is_virtual=True)
4385 ## object-factory.h (module 'core'): void ns3::ObjectFactoryValue::Set(ns3::ObjectFactory const & value) [member function]
4386 cls.add_method('Set',
4387 'void',
4388 [param('ns3::ObjectFactory const &', 'value')])
4389 return
4390
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004391def register_Ns3Packet_methods(root_module, cls):
4392 cls.add_output_stream_operator()
4393 ## packet.h (module 'network'): ns3::Packet::Packet() [constructor]
4394 cls.add_constructor([])
4395 ## packet.h (module 'network'): ns3::Packet::Packet(ns3::Packet const & o) [copy constructor]
4396 cls.add_constructor([param('ns3::Packet const &', 'o')])
4397 ## packet.h (module 'network'): ns3::Packet::Packet(uint32_t size) [constructor]
4398 cls.add_constructor([param('uint32_t', 'size')])
4399 ## packet.h (module 'network'): ns3::Packet::Packet(uint8_t const * buffer, uint32_t size, bool magic) [constructor]
4400 cls.add_constructor([param('uint8_t const *', 'buffer'), param('uint32_t', 'size'), param('bool', 'magic')])
4401 ## packet.h (module 'network'): ns3::Packet::Packet(uint8_t const * buffer, uint32_t size) [constructor]
4402 cls.add_constructor([param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
Alexander Afanasyev07827182011-12-13 01:07:32 -08004403 ## packet.h (module 'network'): void ns3::Packet::AddAtEnd(ns3::Ptr<const ns3::Packet> packet) [member function]
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004404 cls.add_method('AddAtEnd',
4405 'void',
4406 [param('ns3::Ptr< ns3::Packet const >', 'packet')])
4407 ## packet.h (module 'network'): void ns3::Packet::AddByteTag(ns3::Tag const & tag) const [member function]
4408 cls.add_method('AddByteTag',
4409 'void',
4410 [param('ns3::Tag const &', 'tag')],
4411 is_const=True)
4412 ## packet.h (module 'network'): void ns3::Packet::AddHeader(ns3::Header const & header) [member function]
4413 cls.add_method('AddHeader',
4414 'void',
4415 [param('ns3::Header const &', 'header')])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004416 ## packet.h (module 'network'): void ns3::Packet::AddPacketTag(ns3::Tag const & tag) const [member function]
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004417 cls.add_method('AddPacketTag',
4418 'void',
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004419 [param('ns3::Tag const &', 'tag')],
4420 is_const=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004421 ## packet.h (module 'network'): void ns3::Packet::AddPaddingAtEnd(uint32_t size) [member function]
4422 cls.add_method('AddPaddingAtEnd',
4423 'void',
4424 [param('uint32_t', 'size')])
4425 ## packet.h (module 'network'): void ns3::Packet::AddTrailer(ns3::Trailer const & trailer) [member function]
4426 cls.add_method('AddTrailer',
4427 'void',
4428 [param('ns3::Trailer const &', 'trailer')])
4429 ## packet.h (module 'network'): ns3::PacketMetadata::ItemIterator ns3::Packet::BeginItem() const [member function]
4430 cls.add_method('BeginItem',
4431 'ns3::PacketMetadata::ItemIterator',
4432 [],
4433 is_const=True)
4434 ## packet.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Packet::Copy() const [member function]
4435 cls.add_method('Copy',
4436 'ns3::Ptr< ns3::Packet >',
4437 [],
4438 is_const=True)
4439 ## packet.h (module 'network'): uint32_t ns3::Packet::CopyData(uint8_t * buffer, uint32_t size) const [member function]
4440 cls.add_method('CopyData',
4441 'uint32_t',
4442 [param('uint8_t *', 'buffer'), param('uint32_t', 'size')],
4443 is_const=True)
4444 ## packet.h (module 'network'): void ns3::Packet::CopyData(std::ostream * os, uint32_t size) const [member function]
4445 cls.add_method('CopyData',
4446 'void',
4447 [param('std::ostream *', 'os'), param('uint32_t', 'size')],
4448 is_const=True)
4449 ## packet.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Packet::CreateFragment(uint32_t start, uint32_t length) const [member function]
4450 cls.add_method('CreateFragment',
4451 'ns3::Ptr< ns3::Packet >',
4452 [param('uint32_t', 'start'), param('uint32_t', 'length')],
4453 is_const=True)
4454 ## packet.h (module 'network'): static void ns3::Packet::EnableChecking() [member function]
4455 cls.add_method('EnableChecking',
4456 'void',
4457 [],
4458 is_static=True)
4459 ## packet.h (module 'network'): static void ns3::Packet::EnablePrinting() [member function]
4460 cls.add_method('EnablePrinting',
4461 'void',
4462 [],
4463 is_static=True)
4464 ## packet.h (module 'network'): bool ns3::Packet::FindFirstMatchingByteTag(ns3::Tag & tag) const [member function]
4465 cls.add_method('FindFirstMatchingByteTag',
4466 'bool',
4467 [param('ns3::Tag &', 'tag')],
4468 is_const=True)
4469 ## packet.h (module 'network'): ns3::ByteTagIterator ns3::Packet::GetByteTagIterator() const [member function]
4470 cls.add_method('GetByteTagIterator',
4471 'ns3::ByteTagIterator',
4472 [],
4473 is_const=True)
4474 ## packet.h (module 'network'): ns3::Ptr<ns3::NixVector> ns3::Packet::GetNixVector() const [member function]
4475 cls.add_method('GetNixVector',
4476 'ns3::Ptr< ns3::NixVector >',
4477 [],
4478 is_const=True)
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004479 ## packet.h (module 'network'): ns3::PacketTagIterator ns3::Packet::GetPacketTagIterator() const [member function]
4480 cls.add_method('GetPacketTagIterator',
4481 'ns3::PacketTagIterator',
4482 [],
4483 is_const=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004484 ## packet.h (module 'network'): uint32_t ns3::Packet::GetSerializedSize() const [member function]
4485 cls.add_method('GetSerializedSize',
4486 'uint32_t',
4487 [],
4488 is_const=True)
4489 ## packet.h (module 'network'): uint32_t ns3::Packet::GetSize() const [member function]
4490 cls.add_method('GetSize',
4491 'uint32_t',
4492 [],
4493 is_const=True)
4494 ## packet.h (module 'network'): uint64_t ns3::Packet::GetUid() const [member function]
4495 cls.add_method('GetUid',
4496 'uint64_t',
4497 [],
4498 is_const=True)
4499 ## packet.h (module 'network'): uint8_t const * ns3::Packet::PeekData() const [member function]
4500 cls.add_method('PeekData',
4501 'uint8_t const *',
4502 [],
4503 deprecated=True, is_const=True)
4504 ## packet.h (module 'network'): uint32_t ns3::Packet::PeekHeader(ns3::Header & header) const [member function]
4505 cls.add_method('PeekHeader',
4506 'uint32_t',
4507 [param('ns3::Header &', 'header')],
4508 is_const=True)
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004509 ## packet.h (module 'network'): bool ns3::Packet::PeekPacketTag(ns3::Tag & tag) const [member function]
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004510 cls.add_method('PeekPacketTag',
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004511 'bool',
4512 [param('ns3::Tag &', 'tag')],
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004513 is_const=True)
4514 ## packet.h (module 'network'): uint32_t ns3::Packet::PeekTrailer(ns3::Trailer & trailer) [member function]
4515 cls.add_method('PeekTrailer',
4516 'uint32_t',
4517 [param('ns3::Trailer &', 'trailer')])
4518 ## packet.h (module 'network'): void ns3::Packet::Print(std::ostream & os) const [member function]
4519 cls.add_method('Print',
4520 'void',
4521 [param('std::ostream &', 'os')],
4522 is_const=True)
4523 ## packet.h (module 'network'): void ns3::Packet::PrintByteTags(std::ostream & os) const [member function]
4524 cls.add_method('PrintByteTags',
4525 'void',
4526 [param('std::ostream &', 'os')],
4527 is_const=True)
4528 ## packet.h (module 'network'): void ns3::Packet::PrintPacketTags(std::ostream & os) const [member function]
4529 cls.add_method('PrintPacketTags',
4530 'void',
4531 [param('std::ostream &', 'os')],
4532 is_const=True)
4533 ## packet.h (module 'network'): void ns3::Packet::RemoveAllByteTags() [member function]
4534 cls.add_method('RemoveAllByteTags',
4535 'void',
4536 [])
4537 ## packet.h (module 'network'): void ns3::Packet::RemoveAllPacketTags() [member function]
4538 cls.add_method('RemoveAllPacketTags',
4539 'void',
4540 [])
4541 ## packet.h (module 'network'): void ns3::Packet::RemoveAtEnd(uint32_t size) [member function]
4542 cls.add_method('RemoveAtEnd',
4543 'void',
4544 [param('uint32_t', 'size')])
4545 ## packet.h (module 'network'): void ns3::Packet::RemoveAtStart(uint32_t size) [member function]
4546 cls.add_method('RemoveAtStart',
4547 'void',
4548 [param('uint32_t', 'size')])
4549 ## packet.h (module 'network'): uint32_t ns3::Packet::RemoveHeader(ns3::Header & header) [member function]
4550 cls.add_method('RemoveHeader',
4551 'uint32_t',
4552 [param('ns3::Header &', 'header')])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004553 ## packet.h (module 'network'): bool ns3::Packet::RemovePacketTag(ns3::Tag & tag) [member function]
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004554 cls.add_method('RemovePacketTag',
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004555 'bool',
4556 [param('ns3::Tag &', 'tag')])
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004557 ## packet.h (module 'network'): uint32_t ns3::Packet::RemoveTrailer(ns3::Trailer & trailer) [member function]
4558 cls.add_method('RemoveTrailer',
4559 'uint32_t',
4560 [param('ns3::Trailer &', 'trailer')])
4561 ## packet.h (module 'network'): uint32_t ns3::Packet::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
4562 cls.add_method('Serialize',
4563 'uint32_t',
4564 [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')],
4565 is_const=True)
4566 ## packet.h (module 'network'): void ns3::Packet::SetNixVector(ns3::Ptr<ns3::NixVector> arg0) [member function]
4567 cls.add_method('SetNixVector',
4568 'void',
4569 [param('ns3::Ptr< ns3::NixVector >', 'arg0')])
4570 return
4571
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07004572def register_Ns3RandomVariableChecker_methods(root_module, cls):
4573 ## random-variable.h (module 'core'): ns3::RandomVariableChecker::RandomVariableChecker() [constructor]
4574 cls.add_constructor([])
4575 ## random-variable.h (module 'core'): ns3::RandomVariableChecker::RandomVariableChecker(ns3::RandomVariableChecker const & arg0) [copy constructor]
4576 cls.add_constructor([param('ns3::RandomVariableChecker const &', 'arg0')])
4577 return
4578
4579def register_Ns3RandomVariableValue_methods(root_module, cls):
4580 ## random-variable.h (module 'core'): ns3::RandomVariableValue::RandomVariableValue() [constructor]
4581 cls.add_constructor([])
4582 ## random-variable.h (module 'core'): ns3::RandomVariableValue::RandomVariableValue(ns3::RandomVariableValue const & arg0) [copy constructor]
4583 cls.add_constructor([param('ns3::RandomVariableValue const &', 'arg0')])
4584 ## random-variable.h (module 'core'): ns3::RandomVariableValue::RandomVariableValue(ns3::RandomVariable const & value) [constructor]
4585 cls.add_constructor([param('ns3::RandomVariable const &', 'value')])
4586 ## random-variable.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::RandomVariableValue::Copy() const [member function]
4587 cls.add_method('Copy',
4588 'ns3::Ptr< ns3::AttributeValue >',
4589 [],
4590 is_const=True, is_virtual=True)
4591 ## random-variable.h (module 'core'): bool ns3::RandomVariableValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4592 cls.add_method('DeserializeFromString',
4593 'bool',
4594 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4595 is_virtual=True)
4596 ## random-variable.h (module 'core'): ns3::RandomVariable ns3::RandomVariableValue::Get() const [member function]
4597 cls.add_method('Get',
4598 'ns3::RandomVariable',
4599 [],
4600 is_const=True)
4601 ## random-variable.h (module 'core'): std::string ns3::RandomVariableValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4602 cls.add_method('SerializeToString',
4603 'std::string',
4604 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4605 is_const=True, is_virtual=True)
4606 ## random-variable.h (module 'core'): void ns3::RandomVariableValue::Set(ns3::RandomVariable const & value) [member function]
4607 cls.add_method('Set',
4608 'void',
4609 [param('ns3::RandomVariable const &', 'value')])
4610 return
4611
4612def register_Ns3RocketfuelWeightsReader_methods(root_module, cls):
4613 ## rocketfuel-weights-reader.h (module 'ndnSIM'): ns3::RocketfuelWeightsReader::RocketfuelWeightsReader(std::string const & path="", double scale=1.0e+0) [constructor]
4614 cls.add_constructor([param('std::string const &', 'path', default_value='""'), param('double', 'scale', default_value='1.0e+0')])
4615 ## rocketfuel-weights-reader.h (module 'ndnSIM'): void ns3::RocketfuelWeightsReader::SetFileType(uint8_t inputType) [member function]
4616 cls.add_method('SetFileType',
4617 'void',
4618 [param('uint8_t', 'inputType')])
4619 ## rocketfuel-weights-reader.h (module 'ndnSIM'): ns3::NodeContainer ns3::RocketfuelWeightsReader::Read() [member function]
4620 cls.add_method('Read',
4621 'ns3::NodeContainer',
4622 [],
4623 is_virtual=True)
4624 ## rocketfuel-weights-reader.h (module 'ndnSIM'): void ns3::RocketfuelWeightsReader::Commit() [member function]
4625 cls.add_method('Commit',
4626 'void',
4627 [])
4628 return
4629
4630def register_Ns3SpringMobilityModel_methods(root_module, cls):
4631 ## spring-mobility-model.h (module 'ndnSIM'): ns3::SpringMobilityModel::SpringMobilityModel(ns3::SpringMobilityModel const & arg0) [copy constructor]
4632 cls.add_constructor([param('ns3::SpringMobilityModel const &', 'arg0')])
4633 ## spring-mobility-model.h (module 'ndnSIM'): ns3::SpringMobilityModel::SpringMobilityModel() [constructor]
4634 cls.add_constructor([])
4635 ## spring-mobility-model.h (module 'ndnSIM'): void ns3::SpringMobilityModel::AddSpring(ns3::Ptr<ns3::MobilityModel> node) [member function]
4636 cls.add_method('AddSpring',
4637 'void',
4638 [param('ns3::Ptr< ns3::MobilityModel >', 'node')])
4639 ## spring-mobility-model.h (module 'ndnSIM'): static ns3::TypeId ns3::SpringMobilityModel::GetTypeId() [member function]
4640 cls.add_method('GetTypeId',
4641 'ns3::TypeId',
4642 [],
4643 is_static=True)
4644 ## spring-mobility-model.h (module 'ndnSIM'): ns3::Vector ns3::SpringMobilityModel::DoGetPosition() const [member function]
4645 cls.add_method('DoGetPosition',
4646 'ns3::Vector',
4647 [],
4648 is_const=True, visibility='private', is_virtual=True)
4649 ## spring-mobility-model.h (module 'ndnSIM'): ns3::Vector ns3::SpringMobilityModel::DoGetVelocity() const [member function]
4650 cls.add_method('DoGetVelocity',
4651 'ns3::Vector',
4652 [],
4653 is_const=True, visibility='private', is_virtual=True)
4654 ## spring-mobility-model.h (module 'ndnSIM'): void ns3::SpringMobilityModel::DoSetPosition(ns3::Vector const & position) [member function]
4655 cls.add_method('DoSetPosition',
4656 'void',
4657 [param('ns3::Vector const &', 'position')],
4658 visibility='private', is_virtual=True)
4659 ## spring-mobility-model.h (module 'ndnSIM'): void ns3::SpringMobilityModel::DoStart() [member function]
4660 cls.add_method('DoStart',
4661 'void',
4662 [],
4663 visibility='private', is_virtual=True)
4664 return
4665
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004666def register_Ns3TimeChecker_methods(root_module, cls):
4667 ## nstime.h (module 'core'): ns3::TimeChecker::TimeChecker() [constructor]
4668 cls.add_constructor([])
4669 ## nstime.h (module 'core'): ns3::TimeChecker::TimeChecker(ns3::TimeChecker const & arg0) [copy constructor]
4670 cls.add_constructor([param('ns3::TimeChecker const &', 'arg0')])
4671 return
4672
4673def register_Ns3TimeValue_methods(root_module, cls):
4674 ## nstime.h (module 'core'): ns3::TimeValue::TimeValue() [constructor]
4675 cls.add_constructor([])
4676 ## nstime.h (module 'core'): ns3::TimeValue::TimeValue(ns3::TimeValue const & arg0) [copy constructor]
4677 cls.add_constructor([param('ns3::TimeValue const &', 'arg0')])
4678 ## nstime.h (module 'core'): ns3::TimeValue::TimeValue(ns3::Time const & value) [constructor]
4679 cls.add_constructor([param('ns3::Time const &', 'value')])
4680 ## nstime.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::TimeValue::Copy() const [member function]
4681 cls.add_method('Copy',
4682 'ns3::Ptr< ns3::AttributeValue >',
4683 [],
4684 is_const=True, is_virtual=True)
4685 ## nstime.h (module 'core'): bool ns3::TimeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4686 cls.add_method('DeserializeFromString',
4687 'bool',
4688 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4689 is_virtual=True)
4690 ## nstime.h (module 'core'): ns3::Time ns3::TimeValue::Get() const [member function]
4691 cls.add_method('Get',
4692 'ns3::Time',
4693 [],
4694 is_const=True)
4695 ## nstime.h (module 'core'): std::string ns3::TimeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4696 cls.add_method('SerializeToString',
4697 'std::string',
4698 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4699 is_const=True, is_virtual=True)
4700 ## nstime.h (module 'core'): void ns3::TimeValue::Set(ns3::Time const & value) [member function]
4701 cls.add_method('Set',
4702 'void',
4703 [param('ns3::Time const &', 'value')])
4704 return
4705
4706def register_Ns3TypeIdChecker_methods(root_module, cls):
4707 ## type-id.h (module 'core'): ns3::TypeIdChecker::TypeIdChecker() [constructor]
4708 cls.add_constructor([])
4709 ## type-id.h (module 'core'): ns3::TypeIdChecker::TypeIdChecker(ns3::TypeIdChecker const & arg0) [copy constructor]
4710 cls.add_constructor([param('ns3::TypeIdChecker const &', 'arg0')])
4711 return
4712
4713def register_Ns3TypeIdValue_methods(root_module, cls):
4714 ## type-id.h (module 'core'): ns3::TypeIdValue::TypeIdValue() [constructor]
4715 cls.add_constructor([])
4716 ## type-id.h (module 'core'): ns3::TypeIdValue::TypeIdValue(ns3::TypeIdValue const & arg0) [copy constructor]
4717 cls.add_constructor([param('ns3::TypeIdValue const &', 'arg0')])
4718 ## type-id.h (module 'core'): ns3::TypeIdValue::TypeIdValue(ns3::TypeId const & value) [constructor]
4719 cls.add_constructor([param('ns3::TypeId const &', 'value')])
4720 ## type-id.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::TypeIdValue::Copy() const [member function]
4721 cls.add_method('Copy',
4722 'ns3::Ptr< ns3::AttributeValue >',
4723 [],
4724 is_const=True, is_virtual=True)
4725 ## type-id.h (module 'core'): bool ns3::TypeIdValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4726 cls.add_method('DeserializeFromString',
4727 'bool',
4728 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4729 is_virtual=True)
4730 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeIdValue::Get() const [member function]
4731 cls.add_method('Get',
4732 'ns3::TypeId',
4733 [],
4734 is_const=True)
4735 ## type-id.h (module 'core'): std::string ns3::TypeIdValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4736 cls.add_method('SerializeToString',
4737 'std::string',
4738 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4739 is_const=True, is_virtual=True)
4740 ## type-id.h (module 'core'): void ns3::TypeIdValue::Set(ns3::TypeId const & value) [member function]
4741 cls.add_method('Set',
4742 'void',
4743 [param('ns3::TypeId const &', 'value')])
4744 return
4745
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07004746def register_Ns3UintegerValue_methods(root_module, cls):
4747 ## uinteger.h (module 'core'): ns3::UintegerValue::UintegerValue() [constructor]
4748 cls.add_constructor([])
4749 ## uinteger.h (module 'core'): ns3::UintegerValue::UintegerValue(ns3::UintegerValue const & arg0) [copy constructor]
4750 cls.add_constructor([param('ns3::UintegerValue const &', 'arg0')])
4751 ## uinteger.h (module 'core'): ns3::UintegerValue::UintegerValue(uint64_t const & value) [constructor]
4752 cls.add_constructor([param('uint64_t const &', 'value')])
4753 ## uinteger.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::UintegerValue::Copy() const [member function]
4754 cls.add_method('Copy',
4755 'ns3::Ptr< ns3::AttributeValue >',
4756 [],
4757 is_const=True, is_virtual=True)
4758 ## uinteger.h (module 'core'): bool ns3::UintegerValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4759 cls.add_method('DeserializeFromString',
4760 'bool',
4761 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4762 is_virtual=True)
4763 ## uinteger.h (module 'core'): uint64_t ns3::UintegerValue::Get() const [member function]
4764 cls.add_method('Get',
4765 'uint64_t',
4766 [],
4767 is_const=True)
4768 ## uinteger.h (module 'core'): std::string ns3::UintegerValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4769 cls.add_method('SerializeToString',
4770 'std::string',
4771 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4772 is_const=True, is_virtual=True)
4773 ## uinteger.h (module 'core'): void ns3::UintegerValue::Set(uint64_t const & value) [member function]
4774 cls.add_method('Set',
4775 'void',
4776 [param('uint64_t const &', 'value')])
4777 return
4778
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07004779def register_Ns3Vector2DChecker_methods(root_module, cls):
4780 ## vector.h (module 'core'): ns3::Vector2DChecker::Vector2DChecker() [constructor]
4781 cls.add_constructor([])
4782 ## vector.h (module 'core'): ns3::Vector2DChecker::Vector2DChecker(ns3::Vector2DChecker const & arg0) [copy constructor]
4783 cls.add_constructor([param('ns3::Vector2DChecker const &', 'arg0')])
4784 return
4785
4786def register_Ns3Vector2DValue_methods(root_module, cls):
4787 ## vector.h (module 'core'): ns3::Vector2DValue::Vector2DValue() [constructor]
4788 cls.add_constructor([])
4789 ## vector.h (module 'core'): ns3::Vector2DValue::Vector2DValue(ns3::Vector2DValue const & arg0) [copy constructor]
4790 cls.add_constructor([param('ns3::Vector2DValue const &', 'arg0')])
4791 ## vector.h (module 'core'): ns3::Vector2DValue::Vector2DValue(ns3::Vector2D const & value) [constructor]
4792 cls.add_constructor([param('ns3::Vector2D const &', 'value')])
4793 ## vector.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::Vector2DValue::Copy() const [member function]
4794 cls.add_method('Copy',
4795 'ns3::Ptr< ns3::AttributeValue >',
4796 [],
4797 is_const=True, is_virtual=True)
4798 ## vector.h (module 'core'): bool ns3::Vector2DValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4799 cls.add_method('DeserializeFromString',
4800 'bool',
4801 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4802 is_virtual=True)
4803 ## vector.h (module 'core'): ns3::Vector2D ns3::Vector2DValue::Get() const [member function]
4804 cls.add_method('Get',
4805 'ns3::Vector2D',
4806 [],
4807 is_const=True)
4808 ## vector.h (module 'core'): std::string ns3::Vector2DValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4809 cls.add_method('SerializeToString',
4810 'std::string',
4811 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4812 is_const=True, is_virtual=True)
4813 ## vector.h (module 'core'): void ns3::Vector2DValue::Set(ns3::Vector2D const & value) [member function]
4814 cls.add_method('Set',
4815 'void',
4816 [param('ns3::Vector2D const &', 'value')])
4817 return
4818
4819def register_Ns3Vector3DChecker_methods(root_module, cls):
4820 ## vector.h (module 'core'): ns3::Vector3DChecker::Vector3DChecker() [constructor]
4821 cls.add_constructor([])
4822 ## vector.h (module 'core'): ns3::Vector3DChecker::Vector3DChecker(ns3::Vector3DChecker const & arg0) [copy constructor]
4823 cls.add_constructor([param('ns3::Vector3DChecker const &', 'arg0')])
4824 return
4825
4826def register_Ns3Vector3DValue_methods(root_module, cls):
4827 ## vector.h (module 'core'): ns3::Vector3DValue::Vector3DValue() [constructor]
4828 cls.add_constructor([])
4829 ## vector.h (module 'core'): ns3::Vector3DValue::Vector3DValue(ns3::Vector3DValue const & arg0) [copy constructor]
4830 cls.add_constructor([param('ns3::Vector3DValue const &', 'arg0')])
4831 ## vector.h (module 'core'): ns3::Vector3DValue::Vector3DValue(ns3::Vector3D const & value) [constructor]
4832 cls.add_constructor([param('ns3::Vector3D const &', 'value')])
4833 ## vector.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::Vector3DValue::Copy() const [member function]
4834 cls.add_method('Copy',
4835 'ns3::Ptr< ns3::AttributeValue >',
4836 [],
4837 is_const=True, is_virtual=True)
4838 ## vector.h (module 'core'): bool ns3::Vector3DValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4839 cls.add_method('DeserializeFromString',
4840 'bool',
4841 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4842 is_virtual=True)
4843 ## vector.h (module 'core'): ns3::Vector3D ns3::Vector3DValue::Get() const [member function]
4844 cls.add_method('Get',
4845 'ns3::Vector3D',
4846 [],
4847 is_const=True)
4848 ## vector.h (module 'core'): std::string ns3::Vector3DValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4849 cls.add_method('SerializeToString',
4850 'std::string',
4851 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4852 is_const=True, is_virtual=True)
4853 ## vector.h (module 'core'): void ns3::Vector3DValue::Set(ns3::Vector3D const & value) [member function]
4854 cls.add_method('Set',
4855 'void',
4856 [param('ns3::Vector3D const &', 'value')])
4857 return
4858
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004859def register_Ns3AddressChecker_methods(root_module, cls):
4860 ## address.h (module 'network'): ns3::AddressChecker::AddressChecker() [constructor]
4861 cls.add_constructor([])
4862 ## address.h (module 'network'): ns3::AddressChecker::AddressChecker(ns3::AddressChecker const & arg0) [copy constructor]
4863 cls.add_constructor([param('ns3::AddressChecker const &', 'arg0')])
4864 return
4865
4866def register_Ns3AddressValue_methods(root_module, cls):
4867 ## address.h (module 'network'): ns3::AddressValue::AddressValue() [constructor]
4868 cls.add_constructor([])
4869 ## address.h (module 'network'): ns3::AddressValue::AddressValue(ns3::AddressValue const & arg0) [copy constructor]
4870 cls.add_constructor([param('ns3::AddressValue const &', 'arg0')])
4871 ## address.h (module 'network'): ns3::AddressValue::AddressValue(ns3::Address const & value) [constructor]
4872 cls.add_constructor([param('ns3::Address const &', 'value')])
4873 ## address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::AddressValue::Copy() const [member function]
4874 cls.add_method('Copy',
4875 'ns3::Ptr< ns3::AttributeValue >',
4876 [],
4877 is_const=True, is_virtual=True)
4878 ## address.h (module 'network'): bool ns3::AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4879 cls.add_method('DeserializeFromString',
4880 'bool',
4881 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4882 is_virtual=True)
4883 ## address.h (module 'network'): ns3::Address ns3::AddressValue::Get() const [member function]
4884 cls.add_method('Get',
4885 'ns3::Address',
4886 [],
4887 is_const=True)
4888 ## address.h (module 'network'): std::string ns3::AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4889 cls.add_method('SerializeToString',
4890 'std::string',
4891 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4892 is_const=True, is_virtual=True)
4893 ## address.h (module 'network'): void ns3::AddressValue::Set(ns3::Address const & value) [member function]
4894 cls.add_method('Set',
4895 'void',
4896 [param('ns3::Address const &', 'value')])
4897 return
4898
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004899def register_Ns3NdnApp_methods(root_module, cls):
4900 ## ndn-app.h (module 'ndnSIM'): ns3::ndn::App::App(ns3::ndn::App const & arg0) [copy constructor]
4901 cls.add_constructor([param('ns3::ndn::App const &', 'arg0')])
4902 ## ndn-app.h (module 'ndnSIM'): ns3::ndn::App::App() [constructor]
4903 cls.add_constructor([])
4904 ## ndn-app.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::App::GetTypeId() [member function]
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07004905 cls.add_method('GetTypeId',
4906 'ns3::TypeId',
4907 [],
4908 is_static=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004909 ## 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]
4910 cls.add_method('OnContentObject',
4911 'void',
4912 [param('ns3::Ptr< ns3::ndn::ContentObjectHeader const > const &', 'contentObject'), param('ns3::Ptr< ns3::Packet >', 'payload')],
4913 is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07004914 ## 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 -07004915 cls.add_method('OnInterest',
4916 'void',
4917 [param('ns3::Ptr< ns3::ndn::InterestHeader const > const &', 'interest'), param('ns3::Ptr< ns3::Packet >', 'packet')],
4918 is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07004919 ## 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 -07004920 cls.add_method('OnNack',
4921 'void',
4922 [param('ns3::Ptr< ns3::ndn::InterestHeader const > const &', 'interest'), param('ns3::Ptr< ns3::Packet >', 'packet')],
4923 is_virtual=True)
4924 ## 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 -07004925 cls.add_method('RegisterProtocolHandler',
4926 'void',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004927 [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')])
4928 ## ndn-app.h (module 'ndnSIM'): void ns3::ndn::App::DoDispose() [member function]
4929 cls.add_method('DoDispose',
4930 'void',
4931 [],
4932 visibility='protected', is_virtual=True)
4933 ## ndn-app.h (module 'ndnSIM'): void ns3::ndn::App::StartApplication() [member function]
4934 cls.add_method('StartApplication',
4935 'void',
4936 [],
4937 visibility='protected', is_virtual=True)
4938 ## ndn-app.h (module 'ndnSIM'): void ns3::ndn::App::StopApplication() [member function]
4939 cls.add_method('StopApplication',
4940 'void',
4941 [],
4942 visibility='protected', is_virtual=True)
4943 return
4944
4945def register_Ns3NdnAppHelper_methods(root_module, cls):
4946 ## ndn-app-helper.h (module 'ndnSIM'): ns3::ndn::AppHelper::AppHelper(ns3::ndn::AppHelper const & arg0) [copy constructor]
4947 cls.add_constructor([param('ns3::ndn::AppHelper const &', 'arg0')])
4948 ## ndn-app-helper.h (module 'ndnSIM'): ns3::ndn::AppHelper::AppHelper(std::string const & prefix) [constructor]
4949 cls.add_constructor([param('std::string const &', 'prefix')])
4950 ## ndn-app-helper.h (module 'ndnSIM'): ns3::ApplicationContainer ns3::ndn::AppHelper::Install(ns3::NodeContainer c) [member function]
4951 cls.add_method('Install',
4952 'ns3::ApplicationContainer',
4953 [param('ns3::NodeContainer', 'c')])
4954 ## ndn-app-helper.h (module 'ndnSIM'): ns3::ApplicationContainer ns3::ndn::AppHelper::Install(ns3::Ptr<ns3::Node> node) [member function]
4955 cls.add_method('Install',
4956 'ns3::ApplicationContainer',
4957 [param('ns3::Ptr< ns3::Node >', 'node')])
4958 ## ndn-app-helper.h (module 'ndnSIM'): ns3::ApplicationContainer ns3::ndn::AppHelper::Install(std::string nodeName) [member function]
4959 cls.add_method('Install',
4960 'ns3::ApplicationContainer',
4961 [param('std::string', 'nodeName')])
4962 ## ndn-app-helper.h (module 'ndnSIM'): void ns3::ndn::AppHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function]
4963 cls.add_method('SetAttribute',
4964 'void',
4965 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
4966 ## ndn-app-helper.h (module 'ndnSIM'): void ns3::ndn::AppHelper::SetPrefix(std::string const & prefix) [member function]
4967 cls.add_method('SetPrefix',
4968 'void',
4969 [param('std::string const &', 'prefix')])
4970 return
4971
4972def register_Ns3NdnContentObjectHeader_methods(root_module, cls):
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08004973 ## ndn-content-object.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeader::ContentObjectHeader(ns3::ndn::ContentObjectHeader const & arg0) [copy constructor]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004974 cls.add_constructor([param('ns3::ndn::ContentObjectHeader const &', 'arg0')])
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08004975 ## ndn-content-object.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeader::ContentObjectHeader() [constructor]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004976 cls.add_constructor([])
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08004977 ## ndn-content-object.h (module 'ndnSIM'): uint32_t ns3::ndn::ContentObjectHeader::Deserialize(ns3::Buffer::Iterator start) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004978 cls.add_method('Deserialize',
4979 'uint32_t',
4980 [param('ns3::Buffer::Iterator', 'start')],
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07004981 is_virtual=True)
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08004982 ## ndn-content-object.h (module 'ndnSIM'): ns3::Time ns3::ndn::ContentObjectHeader::GetFreshness() const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004983 cls.add_method('GetFreshness',
4984 'ns3::Time',
4985 [],
4986 is_const=True)
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08004987 ## ndn-content-object.h (module 'ndnSIM'): ns3::TypeId ns3::ndn::ContentObjectHeader::GetInstanceTypeId() const [member function]
4988 cls.add_method('GetInstanceTypeId',
4989 'ns3::TypeId',
4990 [],
4991 is_const=True, is_virtual=True)
4992 ## ndn-content-object.h (module 'ndnSIM'): ns3::ndn::NameComponents const & ns3::ndn::ContentObjectHeader::GetName() const [member function]
4993 cls.add_method('GetName',
4994 'ns3::ndn::NameComponents const &',
4995 [],
4996 is_const=True)
4997 ## ndn-content-object.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::NameComponents const> ns3::ndn::ContentObjectHeader::GetNamePtr() const [member function]
4998 cls.add_method('GetNamePtr',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004999 'ns3::Ptr< ns3::ndn::NameComponents const >',
5000 [],
5001 is_const=True)
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005002 ## ndn-content-object.h (module 'ndnSIM'): uint32_t ns3::ndn::ContentObjectHeader::GetSerializedSize() const [member function]
5003 cls.add_method('GetSerializedSize',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005004 'uint32_t',
5005 [],
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005006 is_const=True, is_virtual=True)
5007 ## ndn-content-object.h (module 'ndnSIM'): ns3::Time ns3::ndn::ContentObjectHeader::GetTimestamp() const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005008 cls.add_method('GetTimestamp',
5009 'ns3::Time',
5010 [],
5011 is_const=True)
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005012 ## ndn-content-object.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::ContentObjectHeader::GetTypeId() [member function]
5013 cls.add_method('GetTypeId',
5014 'ns3::TypeId',
5015 [],
5016 is_static=True)
5017 ## ndn-content-object.h (module 'ndnSIM'): void ns3::ndn::ContentObjectHeader::Print(std::ostream & os) const [member function]
5018 cls.add_method('Print',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005019 'void',
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005020 [param('std::ostream &', 'os')],
5021 is_const=True, is_virtual=True)
5022 ## ndn-content-object.h (module 'ndnSIM'): void ns3::ndn::ContentObjectHeader::Serialize(ns3::Buffer::Iterator start) const [member function]
5023 cls.add_method('Serialize',
5024 'void',
5025 [param('ns3::Buffer::Iterator', 'start')],
5026 is_const=True, is_virtual=True)
5027 ## ndn-content-object.h (module 'ndnSIM'): void ns3::ndn::ContentObjectHeader::SetFreshness(ns3::Time const & freshness) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005028 cls.add_method('SetFreshness',
5029 'void',
5030 [param('ns3::Time const &', 'freshness')])
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005031 ## ndn-content-object.h (module 'ndnSIM'): void ns3::ndn::ContentObjectHeader::SetName(ns3::Ptr<ns3::ndn::NameComponents> const & name) [member function]
5032 cls.add_method('SetName',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005033 'void',
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005034 [param('ns3::Ptr< ns3::ndn::NameComponents > const &', 'name')])
5035 ## ndn-content-object.h (module 'ndnSIM'): void ns3::ndn::ContentObjectHeader::SetTimestamp(ns3::Time const & timestamp) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005036 cls.add_method('SetTimestamp',
5037 'void',
5038 [param('ns3::Time const &', 'timestamp')])
5039 return
5040
5041def register_Ns3NdnContentObjectHeaderException_methods(root_module, cls):
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005042 ## ndn-content-object.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeaderException::ContentObjectHeaderException() [constructor]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005043 cls.add_constructor([])
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005044 ## ndn-content-object.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeaderException::ContentObjectHeaderException(ns3::ndn::ContentObjectHeaderException const & arg0) [copy constructor]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005045 cls.add_constructor([param('ns3::ndn::ContentObjectHeaderException const &', 'arg0')])
5046 return
5047
5048def register_Ns3NdnContentObjectTail_methods(root_module, cls):
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005049 ## ndn-content-object.h (module 'ndnSIM'): ns3::ndn::ContentObjectTail::ContentObjectTail(ns3::ndn::ContentObjectTail const & arg0) [copy constructor]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005050 cls.add_constructor([param('ns3::ndn::ContentObjectTail const &', 'arg0')])
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005051 ## ndn-content-object.h (module 'ndnSIM'): ns3::ndn::ContentObjectTail::ContentObjectTail() [constructor]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005052 cls.add_constructor([])
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005053 ## ndn-content-object.h (module 'ndnSIM'): uint32_t ns3::ndn::ContentObjectTail::Deserialize(ns3::Buffer::Iterator start) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005054 cls.add_method('Deserialize',
5055 'uint32_t',
5056 [param('ns3::Buffer::Iterator', 'start')],
5057 is_virtual=True)
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005058 ## ndn-content-object.h (module 'ndnSIM'): ns3::TypeId ns3::ndn::ContentObjectTail::GetInstanceTypeId() const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005059 cls.add_method('GetInstanceTypeId',
5060 'ns3::TypeId',
5061 [],
5062 is_const=True, is_virtual=True)
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005063 ## ndn-content-object.h (module 'ndnSIM'): uint32_t ns3::ndn::ContentObjectTail::GetSerializedSize() const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005064 cls.add_method('GetSerializedSize',
5065 'uint32_t',
5066 [],
5067 is_const=True, is_virtual=True)
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005068 ## ndn-content-object.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::ContentObjectTail::GetTypeId() [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005069 cls.add_method('GetTypeId',
5070 'ns3::TypeId',
5071 [],
5072 is_static=True)
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005073 ## ndn-content-object.h (module 'ndnSIM'): void ns3::ndn::ContentObjectTail::Print(std::ostream & os) const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005074 cls.add_method('Print',
5075 'void',
5076 [param('std::ostream &', 'os')],
5077 is_const=True, is_virtual=True)
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005078 ## ndn-content-object.h (module 'ndnSIM'): void ns3::ndn::ContentObjectTail::Serialize(ns3::Buffer::Iterator start) const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005079 cls.add_method('Serialize',
5080 'void',
5081 [param('ns3::Buffer::Iterator', 'start')],
5082 is_const=True, is_virtual=True)
5083 return
5084
5085def register_Ns3NdnContentStore_methods(root_module, cls):
5086 cls.add_output_stream_operator()
5087 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::ContentStore::ContentStore() [constructor]
5088 cls.add_constructor([])
5089 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::ContentStore::ContentStore(ns3::ndn::ContentStore const & arg0) [copy constructor]
5090 cls.add_constructor([param('ns3::ndn::ContentStore const &', 'arg0')])
5091 ## 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]
5092 cls.add_method('Add',
5093 'bool',
5094 [param('ns3::Ptr< ns3::ndn::ContentObjectHeader const >', 'header'), param('ns3::Ptr< ns3::Packet const >', 'packet')],
5095 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07005096 ## ndn-content-store.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::cs::Entry> ns3::ndn::ContentStore::Begin() [member function]
5097 cls.add_method('Begin',
5098 'ns3::Ptr< ns3::ndn::cs::Entry >',
5099 [],
5100 is_pure_virtual=True, is_virtual=True)
5101 ## ndn-content-store.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::cs::Entry> ns3::ndn::ContentStore::End() [member function]
5102 cls.add_method('End',
5103 'ns3::Ptr< ns3::ndn::cs::Entry >',
5104 [],
5105 is_pure_virtual=True, is_virtual=True)
5106 ## ndn-content-store.h (module 'ndnSIM'): static ns3::Ptr<ns3::ndn::ContentStore> ns3::ndn::ContentStore::GetContentStore(ns3::Ptr<ns3::Object> node) [member function]
5107 cls.add_method('GetContentStore',
5108 'ns3::Ptr< ns3::ndn::ContentStore >',
5109 [param('ns3::Ptr< ns3::Object >', 'node')],
5110 is_static=True)
5111 ## ndn-content-store.h (module 'ndnSIM'): uint32_t ns3::ndn::ContentStore::GetSize() const [member function]
5112 cls.add_method('GetSize',
5113 'uint32_t',
5114 [],
5115 is_pure_virtual=True, is_const=True, is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005116 ## ndn-content-store.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::ContentStore::GetTypeId() [member function]
5117 cls.add_method('GetTypeId',
5118 'ns3::TypeId',
5119 [],
5120 is_static=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005121 ## 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 -07005122 cls.add_method('Lookup',
5123 '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 >',
5124 [param('ns3::Ptr< ns3::ndn::InterestHeader const >', 'interest')],
5125 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07005126 ## 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]
5127 cls.add_method('Next',
5128 'ns3::Ptr< ns3::ndn::cs::Entry >',
5129 [param('ns3::Ptr< ns3::ndn::cs::Entry >', 'arg0')],
5130 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005131 ## ndn-content-store.h (module 'ndnSIM'): void ns3::ndn::ContentStore::Print(std::ostream & os) const [member function]
5132 cls.add_method('Print',
5133 'void',
5134 [param('std::ostream &', 'os')],
5135 is_pure_virtual=True, is_const=True, is_virtual=True)
5136 return
5137
5138def register_Ns3NdnFace_methods(root_module, cls):
5139 cls.add_output_stream_operator()
5140 cls.add_binary_comparison_operator('!=')
5141 cls.add_binary_comparison_operator('<')
5142 cls.add_binary_comparison_operator('==')
5143 ## ndn-face.h (module 'ndnSIM'): ns3::ndn::Face::Face(ns3::Ptr<ns3::Node> node) [constructor]
5144 cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node')])
5145 ## ndn-face.h (module 'ndnSIM'): uint32_t ns3::ndn::Face::GetId() const [member function]
5146 cls.add_method('GetId',
5147 'uint32_t',
5148 [],
5149 is_const=True)
5150 ## ndn-face.h (module 'ndnSIM'): uint16_t ns3::ndn::Face::GetMetric() const [member function]
5151 cls.add_method('GetMetric',
5152 'uint16_t',
5153 [],
5154 is_const=True, is_virtual=True)
5155 ## ndn-face.h (module 'ndnSIM'): ns3::Ptr<ns3::Node> ns3::ndn::Face::GetNode() const [member function]
5156 cls.add_method('GetNode',
5157 'ns3::Ptr< ns3::Node >',
5158 [],
5159 is_const=True)
5160 ## ndn-face.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::Face::GetTypeId() [member function]
5161 cls.add_method('GetTypeId',
5162 'ns3::TypeId',
5163 [],
5164 is_static=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005165 ## ndn-face.h (module 'ndnSIM'): bool ns3::ndn::Face::IsUp() const [member function]
5166 cls.add_method('IsUp',
5167 'bool',
5168 [],
5169 is_const=True, is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005170 ## ndn-face.h (module 'ndnSIM'): std::ostream & ns3::ndn::Face::Print(std::ostream & os) const [member function]
Alexander Afanasyev3073da82012-06-19 14:57:43 -07005171 cls.add_method('Print',
5172 'std::ostream &',
5173 [param('std::ostream &', 'os')],
5174 is_const=True, is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005175 ## ndn-face.h (module 'ndnSIM'): bool ns3::ndn::Face::Receive(ns3::Ptr<const ns3::Packet> const & p) [member function]
5176 cls.add_method('Receive',
5177 'bool',
5178 [param('ns3::Ptr< ns3::Packet const > const &', 'p')])
5179 ## 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]
5180 cls.add_method('RegisterProtocolHandler',
5181 'void',
5182 [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')],
5183 is_virtual=True)
5184 ## ndn-face.h (module 'ndnSIM'): bool ns3::ndn::Face::Send(ns3::Ptr<ns3::Packet> p) [member function]
5185 cls.add_method('Send',
5186 'bool',
5187 [param('ns3::Ptr< ns3::Packet >', 'p')])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005188 ## ndn-face.h (module 'ndnSIM'): void ns3::ndn::Face::SetId(uint32_t id) [member function]
5189 cls.add_method('SetId',
5190 'void',
5191 [param('uint32_t', 'id')])
5192 ## ndn-face.h (module 'ndnSIM'): void ns3::ndn::Face::SetMetric(uint16_t metric) [member function]
5193 cls.add_method('SetMetric',
5194 'void',
5195 [param('uint16_t', 'metric')],
5196 is_virtual=True)
5197 ## ndn-face.h (module 'ndnSIM'): void ns3::ndn::Face::SetUp(bool up=true) [member function]
5198 cls.add_method('SetUp',
5199 'void',
5200 [param('bool', 'up', default_value='true')],
5201 is_virtual=True)
5202 ## ndn-face.h (module 'ndnSIM'): bool ns3::ndn::Face::SendImpl(ns3::Ptr<ns3::Packet> p) [member function]
5203 cls.add_method('SendImpl',
5204 'bool',
5205 [param('ns3::Ptr< ns3::Packet >', 'p')],
5206 is_pure_virtual=True, visibility='protected', is_virtual=True)
5207 return
5208
5209def register_Ns3NdnFaceContainer_methods(root_module, cls):
5210 ## ndn-face-container.h (module 'ndnSIM'): ns3::ndn::FaceContainer::FaceContainer() [constructor]
5211 cls.add_constructor([])
5212 ## ndn-face-container.h (module 'ndnSIM'): ns3::ndn::FaceContainer::FaceContainer(ns3::ndn::FaceContainer const & other) [copy constructor]
5213 cls.add_constructor([param('ns3::ndn::FaceContainer const &', 'other')])
5214 ## ndn-face-container.h (module 'ndnSIM'): void ns3::ndn::FaceContainer::Add(ns3::Ptr<ns3::ndn::Face> const & face) [member function]
5215 cls.add_method('Add',
5216 'void',
5217 [param('ns3::Ptr< ns3::ndn::Face > const &', 'face')])
5218 ## ndn-face-container.h (module 'ndnSIM'): void ns3::ndn::FaceContainer::AddAll(ns3::Ptr<ns3::ndn::FaceContainer> other) [member function]
5219 cls.add_method('AddAll',
5220 'void',
5221 [param('ns3::Ptr< ns3::ndn::FaceContainer >', 'other')])
5222 ## ndn-face-container.h (module 'ndnSIM'): void ns3::ndn::FaceContainer::AddAll(ns3::ndn::FaceContainer const & other) [member function]
5223 cls.add_method('AddAll',
5224 'void',
5225 [param('ns3::ndn::FaceContainer const &', 'other')])
5226 ## 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]
5227 cls.add_method('Begin',
5228 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::ndn::Face > const, std::vector< ns3::Ptr< ns3::ndn::Face > > >',
5229 [],
5230 is_const=True)
5231 ## 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]
5232 cls.add_method('End',
5233 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::ndn::Face > const, std::vector< ns3::Ptr< ns3::ndn::Face > > >',
5234 [],
5235 is_const=True)
5236 ## 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]
5237 cls.add_method('Get',
5238 'ns3::Ptr< ns3::ndn::Face >',
5239 [param('__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::ndn::Face > const, std::vector< ns3::Ptr< ns3::ndn::Face > > >', 'i')],
5240 is_const=True)
5241 ## ndn-face-container.h (module 'ndnSIM'): uint32_t ns3::ndn::FaceContainer::GetN() const [member function]
5242 cls.add_method('GetN',
5243 'uint32_t',
5244 [],
5245 is_const=True)
5246 return
5247
5248def register_Ns3NdnFib_methods(root_module, cls):
5249 cls.add_output_stream_operator()
5250 ## ndn-fib.h (module 'ndnSIM'): ns3::ndn::Fib::Fib() [constructor]
5251 cls.add_constructor([])
5252 ## 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]
5253 cls.add_method('Add',
5254 'ns3::Ptr< ns3::ndn::fib::Entry >',
5255 [param('ns3::ndn::NameComponents const &', 'prefix'), param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('int32_t', 'metric')],
5256 is_pure_virtual=True, is_virtual=True)
5257 ## 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]
5258 cls.add_method('Add',
5259 'ns3::Ptr< ns3::ndn::fib::Entry >',
5260 [param('ns3::Ptr< ns3::ndn::NameComponents const > const &', 'prefix'), param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('int32_t', 'metric')],
5261 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005262 ## 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 -07005263 cls.add_method('Begin',
5264 'ns3::Ptr< ns3::ndn::fib::Entry const >',
5265 [],
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005266 is_pure_virtual=True, is_const=True, is_virtual=True)
5267 ## ndn-fib.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::fib::Entry> ns3::ndn::Fib::Begin() [member function]
5268 cls.add_method('Begin',
5269 'ns3::Ptr< ns3::ndn::fib::Entry >',
5270 [],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005271 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005272 ## 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 -07005273 cls.add_method('End',
5274 'ns3::Ptr< ns3::ndn::fib::Entry const >',
5275 [],
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005276 is_pure_virtual=True, is_const=True, is_virtual=True)
5277 ## ndn-fib.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::fib::Entry> ns3::ndn::Fib::End() [member function]
5278 cls.add_method('End',
5279 'ns3::Ptr< ns3::ndn::fib::Entry >',
5280 [],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005281 is_pure_virtual=True, is_virtual=True)
5282 ## ndn-fib.h (module 'ndnSIM'): static ns3::Ptr<ns3::ndn::Fib> ns3::ndn::Fib::GetFib(ns3::Ptr<ns3::Object> node) [member function]
5283 cls.add_method('GetFib',
5284 'ns3::Ptr< ns3::ndn::Fib >',
5285 [param('ns3::Ptr< ns3::Object >', 'node')],
5286 is_static=True)
5287 ## ndn-fib.h (module 'ndnSIM'): uint32_t ns3::ndn::Fib::GetSize() const [member function]
5288 cls.add_method('GetSize',
5289 'uint32_t',
5290 [],
5291 is_pure_virtual=True, is_const=True, is_virtual=True)
5292 ## ndn-fib.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::Fib::GetTypeId() [member function]
5293 cls.add_method('GetTypeId',
5294 'ns3::TypeId',
5295 [],
5296 is_static=True)
5297 ## ndn-fib.h (module 'ndnSIM'): void ns3::ndn::Fib::InvalidateAll() [member function]
5298 cls.add_method('InvalidateAll',
5299 'void',
5300 [],
5301 is_pure_virtual=True, is_virtual=True)
5302 ## ndn-fib.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::fib::Entry> ns3::ndn::Fib::LongestPrefixMatch(ns3::ndn::InterestHeader const & interest) [member function]
5303 cls.add_method('LongestPrefixMatch',
5304 'ns3::Ptr< ns3::ndn::fib::Entry >',
5305 [param('ns3::ndn::InterestHeader const &', 'interest')],
5306 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005307 ## 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 -07005308 cls.add_method('Next',
5309 'ns3::Ptr< ns3::ndn::fib::Entry const >',
5310 [param('ns3::Ptr< ns3::ndn::fib::Entry const >', 'arg0')],
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005311 is_pure_virtual=True, is_const=True, is_virtual=True)
5312 ## ndn-fib.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::fib::Entry> ns3::ndn::Fib::Next(ns3::Ptr<ns3::ndn::fib::Entry> arg0) [member function]
5313 cls.add_method('Next',
5314 'ns3::Ptr< ns3::ndn::fib::Entry >',
5315 [param('ns3::Ptr< ns3::ndn::fib::Entry >', 'arg0')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005316 is_pure_virtual=True, is_virtual=True)
5317 ## ndn-fib.h (module 'ndnSIM'): void ns3::ndn::Fib::Print(std::ostream & os) const [member function]
5318 cls.add_method('Print',
5319 'void',
5320 [param('std::ostream &', 'os')],
5321 is_pure_virtual=True, is_const=True, is_virtual=True)
5322 ## ndn-fib.h (module 'ndnSIM'): void ns3::ndn::Fib::Remove(ns3::Ptr<ns3::ndn::NameComponents const> const & prefix) [member function]
5323 cls.add_method('Remove',
5324 'void',
5325 [param('ns3::Ptr< ns3::ndn::NameComponents const > const &', 'prefix')],
5326 is_pure_virtual=True, is_virtual=True)
5327 ## ndn-fib.h (module 'ndnSIM'): void ns3::ndn::Fib::RemoveFromAll(ns3::Ptr<ns3::ndn::Face> face) [member function]
5328 cls.add_method('RemoveFromAll',
5329 'void',
5330 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
5331 is_pure_virtual=True, is_virtual=True)
5332 return
5333
5334def register_Ns3NdnForwardingStrategy_methods(root_module, cls):
5335 ## ndn-forwarding-strategy.h (module 'ndnSIM'): ns3::ndn::ForwardingStrategy::ForwardingStrategy(ns3::ndn::ForwardingStrategy const & arg0) [copy constructor]
5336 cls.add_constructor([param('ns3::ndn::ForwardingStrategy const &', 'arg0')])
5337 ## ndn-forwarding-strategy.h (module 'ndnSIM'): ns3::ndn::ForwardingStrategy::ForwardingStrategy() [constructor]
5338 cls.add_constructor([])
Alexander Afanasyevf5c07742012-10-31 13:13:05 -07005339 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::AddFace(ns3::Ptr<ns3::ndn::Face> face) [member function]
5340 cls.add_method('AddFace',
5341 'void',
5342 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
5343 is_virtual=True)
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005344 ## ndn-forwarding-strategy.h (module 'ndnSIM'): static std::string ns3::ndn::ForwardingStrategy::GetLogName() [member function]
5345 cls.add_method('GetLogName',
5346 'std::string',
5347 [],
5348 is_static=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005349 ## ndn-forwarding-strategy.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::ForwardingStrategy::GetTypeId() [member function]
5350 cls.add_method('GetTypeId',
5351 'ns3::TypeId',
5352 [],
5353 is_static=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005354 ## 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 -07005355 cls.add_method('OnData',
5356 'void',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005357 [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 -07005358 is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005359 ## 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 -07005360 cls.add_method('OnInterest',
5361 'void',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005362 [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 -07005363 is_virtual=True)
5364 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::RemoveFace(ns3::Ptr<ns3::ndn::Face> face) [member function]
5365 cls.add_method('RemoveFace',
5366 'void',
5367 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
5368 is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005369 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::WillEraseTimedOutPendingInterest(ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
5370 cls.add_method('WillEraseTimedOutPendingInterest',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005371 'void',
5372 [param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
5373 is_virtual=True)
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08005374 ## ndn-forwarding-strategy.h (module 'ndnSIM'): bool ns3::ndn::ForwardingStrategy::CanSendOutInterest(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::Face> outFace, ns3::Ptr<ns3::ndn::InterestHeader const> header, ns3::Ptr<const ns3::Packet> origPacket, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
5375 cls.add_method('CanSendOutInterest',
5376 'bool',
5377 [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')],
5378 visibility='protected', is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005379 ## 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 -07005380 cls.add_method('DetectRetransmittedInterest',
5381 'bool',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005382 [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 -07005383 visibility='protected', is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005384 ## 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 -07005385 cls.add_method('DidCreatePitEntry',
5386 'void',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005387 [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 -07005388 visibility='protected', is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005389 ## 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 -07005390 cls.add_method('DidExhaustForwardingOptions',
5391 'void',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005392 [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 -07005393 visibility='protected', is_virtual=True)
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07005394 ## 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]
5395 cls.add_method('DidForwardSimilarInterest',
5396 'void',
5397 [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')],
5398 visibility='protected', is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005399 ## 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 -07005400 cls.add_method('DidReceiveDuplicateInterest',
5401 'void',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005402 [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 -07005403 visibility='protected', is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005404 ## 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 -07005405 cls.add_method('DidReceiveUnsolicitedData',
5406 'void',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005407 [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 -07005408 visibility='protected', is_virtual=True)
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08005409 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DidSendOutData(ns3::Ptr<ns3::ndn::Face> outFace, 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 -07005410 cls.add_method('DidSendOutData',
5411 'void',
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08005412 [param('ns3::Ptr< ns3::ndn::Face >', 'outFace'), 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 -07005413 visibility='protected', is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005414 ## 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 -07005415 cls.add_method('DidSendOutInterest',
5416 'void',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005417 [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 -07005418 visibility='protected', is_virtual=True)
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07005419 ## 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]
5420 cls.add_method('DidSuppressSimilarInterest',
5421 'void',
5422 [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')],
5423 visibility='protected', is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005424 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DoDispose() [member function]
5425 cls.add_method('DoDispose',
5426 'void',
5427 [],
5428 visibility='protected', is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005429 ## 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 -07005430 cls.add_method('DoPropagateInterest',
5431 'bool',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005432 [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 -07005433 is_pure_virtual=True, visibility='protected', is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005434 ## 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 -07005435 cls.add_method('FailedToCreatePitEntry',
5436 'void',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005437 [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 -07005438 visibility='protected', is_virtual=True)
5439 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::NotifyNewAggregate() [member function]
5440 cls.add_method('NotifyNewAggregate',
5441 'void',
5442 [],
5443 visibility='protected', is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005444 ## 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 -07005445 cls.add_method('PropagateInterest',
5446 'void',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005447 [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 -07005448 visibility='protected', is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005449 ## 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 -07005450 cls.add_method('SatisfyPendingInterest',
5451 'void',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005452 [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 -07005453 visibility='protected', is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005454 ## 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 -07005455 cls.add_method('ShouldSuppressIncomingInterest',
5456 'bool',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005457 [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 -07005458 visibility='protected', is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005459 ## 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]
5460 cls.add_method('TrySendOutInterest',
5461 'bool',
5462 [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')],
5463 visibility='protected', is_virtual=True)
5464 ## 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 -07005465 cls.add_method('WillSatisfyPendingInterest',
5466 'void',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005467 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005468 visibility='protected', is_virtual=True)
5469 return
5470
5471def register_Ns3NdnGlobalRoutingHelper_methods(root_module, cls):
5472 ## ndn-global-routing-helper.h (module 'ndnSIM'): ns3::ndn::GlobalRoutingHelper::GlobalRoutingHelper() [constructor]
5473 cls.add_constructor([])
5474 ## ndn-global-routing-helper.h (module 'ndnSIM'): ns3::ndn::GlobalRoutingHelper::GlobalRoutingHelper(ns3::ndn::GlobalRoutingHelper const & arg0) [copy constructor]
5475 cls.add_constructor([param('ns3::ndn::GlobalRoutingHelper const &', 'arg0')])
5476 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::AddOrigin(std::string const & prefix, ns3::Ptr<ns3::Node> node) [member function]
5477 cls.add_method('AddOrigin',
5478 'void',
5479 [param('std::string const &', 'prefix'), param('ns3::Ptr< ns3::Node >', 'node')])
5480 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::AddOrigin(std::string const & prefix, std::string const & nodeName) [member function]
5481 cls.add_method('AddOrigin',
5482 'void',
5483 [param('std::string const &', 'prefix'), param('std::string const &', 'nodeName')])
5484 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::AddOrigins(std::string const & prefix, ns3::NodeContainer const & nodes) [member function]
5485 cls.add_method('AddOrigins',
5486 'void',
5487 [param('std::string const &', 'prefix'), param('ns3::NodeContainer const &', 'nodes')])
5488 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::CalculateRoutes() [member function]
5489 cls.add_method('CalculateRoutes',
5490 'void',
5491 [])
5492 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::Install(ns3::Ptr<ns3::Node> node) [member function]
5493 cls.add_method('Install',
5494 'void',
5495 [param('ns3::Ptr< ns3::Node >', 'node')])
5496 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::Install(ns3::NodeContainer const & nodes) [member function]
5497 cls.add_method('Install',
5498 'void',
5499 [param('ns3::NodeContainer const &', 'nodes')])
5500 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::InstallAll() [member function]
5501 cls.add_method('InstallAll',
5502 'void',
5503 [])
5504 return
5505
5506def register_Ns3NdnHeaderHelper_methods(root_module, cls):
5507 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::HeaderHelper::HeaderHelper() [constructor]
5508 cls.add_constructor([])
5509 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::HeaderHelper::HeaderHelper(ns3::ndn::HeaderHelper const & arg0) [copy constructor]
5510 cls.add_constructor([param('ns3::ndn::HeaderHelper const &', 'arg0')])
5511 ## ndn-header-helper.h (module 'ndnSIM'): static ns3::ndn::HeaderHelper::Type ns3::ndn::HeaderHelper::GetNdnHeaderType(ns3::Ptr<const ns3::Packet> packet) [member function]
5512 cls.add_method('GetNdnHeaderType',
5513 'ns3::ndn::HeaderHelper::Type',
5514 [param('ns3::Ptr< ns3::Packet const >', 'packet')],
5515 is_static=True)
5516 return
5517
5518def register_Ns3NdnInterestHeader_methods(root_module, cls):
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005519 ## ndn-interest.h (module 'ndnSIM'): ns3::ndn::InterestHeader::InterestHeader() [constructor]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005520 cls.add_constructor([])
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005521 ## ndn-interest.h (module 'ndnSIM'): ns3::ndn::InterestHeader::InterestHeader(ns3::ndn::InterestHeader const & interest) [copy constructor]
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005522 cls.add_constructor([param('ns3::ndn::InterestHeader const &', 'interest')])
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005523 ## ndn-interest.h (module 'ndnSIM'): uint32_t ns3::ndn::InterestHeader::Deserialize(ns3::Buffer::Iterator start) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005524 cls.add_method('Deserialize',
5525 'uint32_t',
5526 [param('ns3::Buffer::Iterator', 'start')],
5527 is_virtual=True)
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005528 ## ndn-interest.h (module 'ndnSIM'): ns3::TypeId ns3::ndn::InterestHeader::GetInstanceTypeId() const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005529 cls.add_method('GetInstanceTypeId',
5530 'ns3::TypeId',
5531 [],
5532 is_const=True, is_virtual=True)
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005533 ## ndn-interest.h (module 'ndnSIM'): static ns3::Ptr<ns3::ndn::InterestHeader> ns3::ndn::InterestHeader::GetInterest(ns3::Ptr<ns3::Packet> packet) [member function]
Alexander Afanasyev663d63f2012-09-09 11:55:36 -07005534 cls.add_method('GetInterest',
5535 'ns3::Ptr< ns3::ndn::InterestHeader >',
5536 [param('ns3::Ptr< ns3::Packet >', 'packet')],
5537 is_static=True)
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005538 ## ndn-interest.h (module 'ndnSIM'): ns3::Time ns3::ndn::InterestHeader::GetInterestLifetime() const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005539 cls.add_method('GetInterestLifetime',
5540 'ns3::Time',
5541 [],
5542 is_const=True)
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005543 ## ndn-interest.h (module 'ndnSIM'): uint8_t ns3::ndn::InterestHeader::GetNack() const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005544 cls.add_method('GetNack',
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005545 'uint8_t',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005546 [],
5547 is_const=True)
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005548 ## ndn-interest.h (module 'ndnSIM'): ns3::ndn::NameComponents const & ns3::ndn::InterestHeader::GetName() const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005549 cls.add_method('GetName',
5550 'ns3::ndn::NameComponents const &',
5551 [],
5552 is_const=True)
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005553 ## ndn-interest.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::NameComponents const> ns3::ndn::InterestHeader::GetNamePtr() const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005554 cls.add_method('GetNamePtr',
5555 'ns3::Ptr< ns3::ndn::NameComponents const >',
5556 [],
5557 is_const=True)
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005558 ## ndn-interest.h (module 'ndnSIM'): uint32_t ns3::ndn::InterestHeader::GetNonce() const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005559 cls.add_method('GetNonce',
5560 'uint32_t',
5561 [],
5562 is_const=True)
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005563 ## ndn-interest.h (module 'ndnSIM'): int8_t ns3::ndn::InterestHeader::GetScope() const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005564 cls.add_method('GetScope',
5565 'int8_t',
5566 [],
5567 is_const=True)
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005568 ## ndn-interest.h (module 'ndnSIM'): uint32_t ns3::ndn::InterestHeader::GetSerializedSize() const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005569 cls.add_method('GetSerializedSize',
5570 'uint32_t',
5571 [],
5572 is_const=True, is_virtual=True)
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005573 ## ndn-interest.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::InterestHeader::GetTypeId() [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005574 cls.add_method('GetTypeId',
5575 'ns3::TypeId',
5576 [],
5577 is_static=True)
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005578 ## ndn-interest.h (module 'ndnSIM'): void ns3::ndn::InterestHeader::Print(std::ostream & os) const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005579 cls.add_method('Print',
5580 'void',
5581 [param('std::ostream &', 'os')],
5582 is_const=True, is_virtual=True)
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005583 ## ndn-interest.h (module 'ndnSIM'): void ns3::ndn::InterestHeader::Serialize(ns3::Buffer::Iterator start) const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005584 cls.add_method('Serialize',
5585 'void',
5586 [param('ns3::Buffer::Iterator', 'start')],
5587 is_const=True, is_virtual=True)
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005588 ## ndn-interest.h (module 'ndnSIM'): void ns3::ndn::InterestHeader::SetInterestLifetime(ns3::Time time) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005589 cls.add_method('SetInterestLifetime',
5590 'void',
5591 [param('ns3::Time', 'time')])
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005592 ## ndn-interest.h (module 'ndnSIM'): void ns3::ndn::InterestHeader::SetNack(uint8_t nackType) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005593 cls.add_method('SetNack',
5594 'void',
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005595 [param('uint8_t', 'nackType')])
5596 ## ndn-interest.h (module 'ndnSIM'): void ns3::ndn::InterestHeader::SetName(ns3::Ptr<ns3::ndn::NameComponents> name) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005597 cls.add_method('SetName',
5598 'void',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005599 [param('ns3::Ptr< ns3::ndn::NameComponents >', 'name')])
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005600 ## ndn-interest.h (module 'ndnSIM'): void ns3::ndn::InterestHeader::SetNonce(uint32_t nonce) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005601 cls.add_method('SetNonce',
5602 'void',
5603 [param('uint32_t', 'nonce')])
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005604 ## ndn-interest.h (module 'ndnSIM'): void ns3::ndn::InterestHeader::SetScope(int8_t scope) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005605 cls.add_method('SetScope',
5606 'void',
5607 [param('int8_t', 'scope')])
5608 return
5609
5610def register_Ns3NdnInterestHeaderException_methods(root_module, cls):
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005611 ## ndn-interest.h (module 'ndnSIM'): ns3::ndn::InterestHeaderException::InterestHeaderException() [constructor]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005612 cls.add_constructor([])
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005613 ## ndn-interest.h (module 'ndnSIM'): ns3::ndn::InterestHeaderException::InterestHeaderException(ns3::ndn::InterestHeaderException const & arg0) [copy constructor]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005614 cls.add_constructor([param('ns3::ndn::InterestHeaderException const &', 'arg0')])
5615 return
5616
5617def register_Ns3NdnL3Protocol_methods(root_module, cls):
5618 ## ndn-l3-protocol.h (module 'ndnSIM'): ns3::ndn::L3Protocol::ETHERNET_FRAME_TYPE [variable]
5619 cls.add_static_attribute('ETHERNET_FRAME_TYPE', 'uint16_t const', is_const=True)
5620 ## ndn-l3-protocol.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::L3Protocol::GetTypeId() [member function]
5621 cls.add_method('GetTypeId',
5622 'ns3::TypeId',
5623 [],
5624 is_static=True)
5625 ## ndn-l3-protocol.h (module 'ndnSIM'): ns3::ndn::L3Protocol::L3Protocol() [constructor]
5626 cls.add_constructor([])
5627 ## ndn-l3-protocol.h (module 'ndnSIM'): uint32_t ns3::ndn::L3Protocol::AddFace(ns3::Ptr<ns3::ndn::Face> const & face) [member function]
5628 cls.add_method('AddFace',
5629 'uint32_t',
5630 [param('ns3::Ptr< ns3::ndn::Face > const &', 'face')],
5631 is_virtual=True)
5632 ## ndn-l3-protocol.h (module 'ndnSIM'): uint32_t ns3::ndn::L3Protocol::GetNFaces() const [member function]
5633 cls.add_method('GetNFaces',
5634 'uint32_t',
5635 [],
5636 is_const=True, is_virtual=True)
5637 ## ndn-l3-protocol.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::Face> ns3::ndn::L3Protocol::GetFace(uint32_t face) const [member function]
5638 cls.add_method('GetFace',
5639 'ns3::Ptr< ns3::ndn::Face >',
5640 [param('uint32_t', 'face')],
5641 is_const=True, is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005642 ## ndn-l3-protocol.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::Face> ns3::ndn::L3Protocol::GetFaceById(uint32_t face) const [member function]
5643 cls.add_method('GetFaceById',
5644 'ns3::Ptr< ns3::ndn::Face >',
5645 [param('uint32_t', 'face')],
5646 is_const=True, is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005647 ## ndn-l3-protocol.h (module 'ndnSIM'): void ns3::ndn::L3Protocol::RemoveFace(ns3::Ptr<ns3::ndn::Face> face) [member function]
5648 cls.add_method('RemoveFace',
5649 'void',
5650 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
5651 is_virtual=True)
5652 ## ndn-l3-protocol.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::Face> ns3::ndn::L3Protocol::GetFaceByNetDevice(ns3::Ptr<ns3::NetDevice> netDevice) const [member function]
5653 cls.add_method('GetFaceByNetDevice',
5654 'ns3::Ptr< ns3::ndn::Face >',
5655 [param('ns3::Ptr< ns3::NetDevice >', 'netDevice')],
5656 is_const=True, is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005657 ## ndn-l3-protocol.h (module 'ndnSIM'): static uint64_t ns3::ndn::L3Protocol::GetInterestCounter() [member function]
5658 cls.add_method('GetInterestCounter',
5659 'uint64_t',
5660 [],
5661 is_static=True)
5662 ## ndn-l3-protocol.h (module 'ndnSIM'): static uint64_t ns3::ndn::L3Protocol::GetDataCounter() [member function]
5663 cls.add_method('GetDataCounter',
5664 'uint64_t',
5665 [],
5666 is_static=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005667 ## ndn-l3-protocol.h (module 'ndnSIM'): void ns3::ndn::L3Protocol::DoDispose() [member function]
5668 cls.add_method('DoDispose',
5669 'void',
5670 [],
5671 visibility='protected', is_virtual=True)
5672 ## ndn-l3-protocol.h (module 'ndnSIM'): void ns3::ndn::L3Protocol::NotifyNewAggregate() [member function]
5673 cls.add_method('NotifyNewAggregate',
5674 'void',
5675 [],
5676 visibility='protected', is_virtual=True)
5677 return
5678
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005679def register_Ns3NdnLimits_methods(root_module, cls):
5680 ## ndn-limits.h (module 'ndnSIM'): ns3::ndn::Limits::Limits(ns3::ndn::Limits const & arg0) [copy constructor]
5681 cls.add_constructor([param('ns3::ndn::Limits const &', 'arg0')])
5682 ## ndn-limits.h (module 'ndnSIM'): ns3::ndn::Limits::Limits() [constructor]
5683 cls.add_constructor([])
Alexander Afanasyev7e4235a2012-10-31 16:58:44 -07005684 ## ndn-limits.h (module 'ndnSIM'): void ns3::ndn::Limits::BorrowLimit() [member function]
5685 cls.add_method('BorrowLimit',
5686 'void',
5687 [],
5688 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevf5c07742012-10-31 13:13:05 -07005689 ## ndn-limits.h (module 'ndnSIM'): double ns3::ndn::Limits::GetCurrentLimit() const [member function]
5690 cls.add_method('GetCurrentLimit',
5691 'double',
5692 [],
Alexander Afanasyev7e4235a2012-10-31 16:58:44 -07005693 is_pure_virtual=True, is_const=True, is_virtual=True)
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08005694 ## ndn-limits.h (module 'ndnSIM'): double ns3::ndn::Limits::GetCurrentLimitRate() const [member function]
5695 cls.add_method('GetCurrentLimitRate',
5696 'double',
5697 [],
5698 is_pure_virtual=True, is_const=True, is_virtual=True)
5699 ## ndn-limits.h (module 'ndnSIM'): double ns3::ndn::Limits::GetLinkDelay() const [member function]
5700 cls.add_method('GetLinkDelay',
5701 'double',
5702 [],
5703 is_const=True, is_virtual=True)
Alexander Afanasyev7e4235a2012-10-31 16:58:44 -07005704 ## ndn-limits.h (module 'ndnSIM'): double ns3::ndn::Limits::GetMaxDelay() const [member function]
5705 cls.add_method('GetMaxDelay',
5706 'double',
5707 [],
5708 is_const=True, is_virtual=True)
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08005709 ## ndn-limits.h (module 'ndnSIM'): double ns3::ndn::Limits::GetMaxLimit() const [member function]
5710 cls.add_method('GetMaxLimit',
5711 'double',
5712 [],
5713 is_pure_virtual=True, is_const=True, is_virtual=True)
Alexander Afanasyev7e4235a2012-10-31 16:58:44 -07005714 ## ndn-limits.h (module 'ndnSIM'): double ns3::ndn::Limits::GetMaxRate() const [member function]
5715 cls.add_method('GetMaxRate',
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07005716 'double',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005717 [],
Alexander Afanasyevf5c07742012-10-31 13:13:05 -07005718 is_const=True, is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005719 ## ndn-limits.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::Limits::GetTypeId() [member function]
5720 cls.add_method('GetTypeId',
5721 'ns3::TypeId',
5722 [],
5723 is_static=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005724 ## ndn-limits.h (module 'ndnSIM'): bool ns3::ndn::Limits::IsBelowLimit() [member function]
5725 cls.add_method('IsBelowLimit',
5726 'bool',
Alexander Afanasyevf5c07742012-10-31 13:13:05 -07005727 [],
5728 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005729 ## ndn-limits.h (module 'ndnSIM'): bool ns3::ndn::Limits::IsEnabled() const [member function]
5730 cls.add_method('IsEnabled',
5731 'bool',
5732 [],
Alexander Afanasyevf5c07742012-10-31 13:13:05 -07005733 is_const=True, is_virtual=True)
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08005734 ## ndn-limits.h (module 'ndnSIM'): void ns3::ndn::Limits::RegisterAvailableSlotCallback(ns3::Callback<void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> handler) [member function]
5735 cls.add_method('RegisterAvailableSlotCallback',
5736 'void',
5737 [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'handler')])
Alexander Afanasyev7e4235a2012-10-31 16:58:44 -07005738 ## ndn-limits.h (module 'ndnSIM'): void ns3::ndn::Limits::ReturnLimit() [member function]
5739 cls.add_method('ReturnLimit',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005740 'void',
Alexander Afanasyev7e4235a2012-10-31 16:58:44 -07005741 [],
5742 is_pure_virtual=True, is_virtual=True)
5743 ## ndn-limits.h (module 'ndnSIM'): void ns3::ndn::Limits::SetLimits(double rate, double delay) [member function]
5744 cls.add_method('SetLimits',
5745 'void',
5746 [param('double', 'rate'), param('double', 'delay')],
Alexander Afanasyevf5c07742012-10-31 13:13:05 -07005747 is_virtual=True)
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08005748 ## ndn-limits.h (module 'ndnSIM'): void ns3::ndn::Limits::SetLinkDelay(double delay) [member function]
5749 cls.add_method('SetLinkDelay',
5750 'void',
5751 [param('double', 'delay')],
5752 is_virtual=True)
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07005753 ## ndn-limits.h (module 'ndnSIM'): void ns3::ndn::Limits::UpdateCurrentLimit(double limit) [member function]
5754 cls.add_method('UpdateCurrentLimit',
5755 'void',
Alexander Afanasyev7e4235a2012-10-31 16:58:44 -07005756 [param('double', 'limit')],
5757 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08005758 ## ndn-limits.h (module 'ndnSIM'): void ns3::ndn::Limits::FireAvailableSlotCallback() [member function]
5759 cls.add_method('FireAvailableSlotCallback',
5760 'void',
5761 [],
5762 visibility='protected')
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005763 return
5764
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005765def register_Ns3NdnNameComponents_methods(root_module, cls):
5766 cls.add_output_stream_operator()
5767 cls.add_binary_comparison_operator('<')
5768 cls.add_binary_comparison_operator('==')
5769 ## ndn-name-components.h (module 'ndnSIM'): ns3::ndn::NameComponents::NameComponents(ns3::ndn::NameComponents const & arg0) [copy constructor]
5770 cls.add_constructor([param('ns3::ndn::NameComponents const &', 'arg0')])
5771 ## ndn-name-components.h (module 'ndnSIM'): ns3::ndn::NameComponents::NameComponents() [constructor]
5772 cls.add_constructor([])
5773 ## 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]
5774 cls.add_constructor([param('std::list< boost::reference_wrapper< std::string const > > const &', 'components')])
5775 ## ndn-name-components.h (module 'ndnSIM'): ns3::ndn::NameComponents::NameComponents(std::string const & prefix) [constructor]
5776 cls.add_constructor([param('std::string const &', 'prefix')])
5777 ## ndn-name-components.h (module 'ndnSIM'): ns3::ndn::NameComponents::NameComponents(char const * prefix) [constructor]
5778 cls.add_constructor([param('char const *', 'prefix')])
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005779 ## ndn-name-components.h (module 'ndnSIM'): uint32_t ns3::ndn::NameComponents::Deserialize(ns3::Buffer::Iterator start) [member function]
5780 cls.add_method('Deserialize',
5781 'uint32_t',
5782 [param('ns3::Buffer::Iterator', 'start')])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005783 ## ndn-name-components.h (module 'ndnSIM'): std::list<std::string, std::allocator<std::string> > const & ns3::ndn::NameComponents::GetComponents() const [member function]
5784 cls.add_method('GetComponents',
5785 'std::list< std::string > const &',
5786 [],
5787 is_const=True)
5788 ## ndn-name-components.h (module 'ndnSIM'): std::string ns3::ndn::NameComponents::GetLastComponent() const [member function]
5789 cls.add_method('GetLastComponent',
5790 'std::string',
5791 [],
5792 is_const=True)
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005793 ## ndn-name-components.h (module 'ndnSIM'): size_t ns3::ndn::NameComponents::GetSerializedSize() const [member function]
5794 cls.add_method('GetSerializedSize',
5795 'size_t',
5796 [],
5797 is_const=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005798 ## 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]
5799 cls.add_method('GetSubComponents',
5800 'std::list< boost::reference_wrapper< std::string const > >',
5801 [param('size_t', 'num')],
5802 is_const=True)
5803 ## ndn-name-components.h (module 'ndnSIM'): void ns3::ndn::NameComponents::Print(std::ostream & os) const [member function]
5804 cls.add_method('Print',
5805 'void',
5806 [param('std::ostream &', 'os')],
5807 is_const=True)
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005808 ## ndn-name-components.h (module 'ndnSIM'): uint32_t ns3::ndn::NameComponents::Serialize(ns3::Buffer::Iterator start) const [member function]
5809 cls.add_method('Serialize',
5810 'uint32_t',
5811 [param('ns3::Buffer::Iterator', 'start')],
5812 is_const=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005813 ## ndn-name-components.h (module 'ndnSIM'): std::_List_iterator<std::string> ns3::ndn::NameComponents::begin() [member function]
5814 cls.add_method('begin',
5815 'std::_List_iterator< std::string >',
5816 [])
5817 ## ndn-name-components.h (module 'ndnSIM'): std::_List_const_iterator<std::string> ns3::ndn::NameComponents::begin() const [member function]
5818 cls.add_method('begin',
5819 'std::_List_const_iterator< std::string >',
5820 [],
5821 is_const=True)
5822 ## ndn-name-components.h (module 'ndnSIM'): ns3::ndn::NameComponents ns3::ndn::NameComponents::cut(size_t minusComponents) const [member function]
5823 cls.add_method('cut',
5824 'ns3::ndn::NameComponents',
5825 [param('size_t', 'minusComponents')],
5826 is_const=True)
5827 ## ndn-name-components.h (module 'ndnSIM'): std::_List_iterator<std::string> ns3::ndn::NameComponents::end() [member function]
5828 cls.add_method('end',
5829 'std::_List_iterator< std::string >',
5830 [])
5831 ## ndn-name-components.h (module 'ndnSIM'): std::_List_const_iterator<std::string> ns3::ndn::NameComponents::end() const [member function]
5832 cls.add_method('end',
5833 'std::_List_const_iterator< std::string >',
5834 [],
5835 is_const=True)
5836 ## ndn-name-components.h (module 'ndnSIM'): size_t ns3::ndn::NameComponents::size() const [member function]
5837 cls.add_method('size',
5838 'size_t',
5839 [],
5840 is_const=True)
5841 return
5842
5843def register_Ns3NdnNameComponentsChecker_methods(root_module, cls):
5844 ## ndn-name-components.h (module 'ndnSIM'): ns3::ndn::NameComponentsChecker::NameComponentsChecker() [constructor]
5845 cls.add_constructor([])
5846 ## ndn-name-components.h (module 'ndnSIM'): ns3::ndn::NameComponentsChecker::NameComponentsChecker(ns3::ndn::NameComponentsChecker const & arg0) [copy constructor]
5847 cls.add_constructor([param('ns3::ndn::NameComponentsChecker const &', 'arg0')])
5848 return
5849
5850def register_Ns3NdnNameComponentsValue_methods(root_module, cls):
5851 ## ndn-name-components.h (module 'ndnSIM'): ns3::ndn::NameComponentsValue::NameComponentsValue() [constructor]
5852 cls.add_constructor([])
5853 ## ndn-name-components.h (module 'ndnSIM'): ns3::ndn::NameComponentsValue::NameComponentsValue(ns3::ndn::NameComponentsValue const & arg0) [copy constructor]
5854 cls.add_constructor([param('ns3::ndn::NameComponentsValue const &', 'arg0')])
5855 ## ndn-name-components.h (module 'ndnSIM'): ns3::ndn::NameComponentsValue::NameComponentsValue(ns3::ndn::NameComponents const & value) [constructor]
5856 cls.add_constructor([param('ns3::ndn::NameComponents const &', 'value')])
5857 ## ndn-name-components.h (module 'ndnSIM'): ns3::Ptr<ns3::AttributeValue> ns3::ndn::NameComponentsValue::Copy() const [member function]
5858 cls.add_method('Copy',
5859 'ns3::Ptr< ns3::AttributeValue >',
5860 [],
5861 is_const=True, is_virtual=True)
5862 ## ndn-name-components.h (module 'ndnSIM'): bool ns3::ndn::NameComponentsValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
5863 cls.add_method('DeserializeFromString',
5864 'bool',
5865 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
5866 is_virtual=True)
5867 ## ndn-name-components.h (module 'ndnSIM'): ns3::ndn::NameComponents ns3::ndn::NameComponentsValue::Get() const [member function]
5868 cls.add_method('Get',
5869 'ns3::ndn::NameComponents',
5870 [],
5871 is_const=True)
5872 ## ndn-name-components.h (module 'ndnSIM'): std::string ns3::ndn::NameComponentsValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
5873 cls.add_method('SerializeToString',
5874 'std::string',
5875 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
5876 is_const=True, is_virtual=True)
5877 ## ndn-name-components.h (module 'ndnSIM'): void ns3::ndn::NameComponentsValue::Set(ns3::ndn::NameComponents const & value) [member function]
5878 cls.add_method('Set',
5879 'void',
5880 [param('ns3::ndn::NameComponents const &', 'value')])
5881 return
5882
5883def register_Ns3NdnNetDeviceFace_methods(root_module, cls):
5884 ## ndn-net-device-face.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::NetDeviceFace::GetTypeId() [member function]
5885 cls.add_method('GetTypeId',
5886 'ns3::TypeId',
5887 [],
5888 is_static=True)
5889 ## ndn-net-device-face.h (module 'ndnSIM'): ns3::ndn::NetDeviceFace::NetDeviceFace(ns3::Ptr<ns3::Node> node, ns3::Ptr<ns3::NetDevice> const & netDevice) [constructor]
5890 cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::Ptr< ns3::NetDevice > const &', 'netDevice')])
5891 ## 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]
5892 cls.add_method('RegisterProtocolHandler',
5893 'void',
5894 [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')],
5895 is_virtual=True)
5896 ## ndn-net-device-face.h (module 'ndnSIM'): std::ostream & ns3::ndn::NetDeviceFace::Print(std::ostream & os) const [member function]
5897 cls.add_method('Print',
5898 'std::ostream &',
5899 [param('std::ostream &', 'os')],
5900 is_const=True, is_virtual=True)
5901 ## ndn-net-device-face.h (module 'ndnSIM'): ns3::Ptr<ns3::NetDevice> ns3::ndn::NetDeviceFace::GetNetDevice() const [member function]
5902 cls.add_method('GetNetDevice',
5903 'ns3::Ptr< ns3::NetDevice >',
5904 [],
5905 is_const=True)
5906 ## 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 -07005907 cls.add_method('SendImpl',
Alexander Afanasyev1c0248b2012-07-24 15:59:50 -07005908 'bool',
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07005909 [param('ns3::Ptr< ns3::Packet >', 'p')],
5910 visibility='protected', is_virtual=True)
5911 return
5912
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005913def register_Ns3NdnPit_methods(root_module, cls):
5914 cls.add_output_stream_operator()
5915 ## ndn-pit.h (module 'ndnSIM'): ns3::ndn::Pit::Pit(ns3::ndn::Pit const & arg0) [copy constructor]
5916 cls.add_constructor([param('ns3::ndn::Pit const &', 'arg0')])
5917 ## ndn-pit.h (module 'ndnSIM'): ns3::ndn::Pit::Pit() [constructor]
5918 cls.add_constructor([])
5919 ## ndn-pit.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::pit::Entry> ns3::ndn::Pit::Begin() [member function]
5920 cls.add_method('Begin',
5921 'ns3::Ptr< ns3::ndn::pit::Entry >',
5922 [],
5923 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005924 ## 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 -07005925 cls.add_method('Create',
5926 'ns3::Ptr< ns3::ndn::pit::Entry >',
5927 [param('ns3::Ptr< ns3::ndn::InterestHeader const >', 'header')],
5928 is_pure_virtual=True, is_virtual=True)
5929 ## ndn-pit.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::pit::Entry> ns3::ndn::Pit::End() [member function]
5930 cls.add_method('End',
5931 'ns3::Ptr< ns3::ndn::pit::Entry >',
5932 [],
5933 is_pure_virtual=True, is_virtual=True)
5934 ## ndn-pit.h (module 'ndnSIM'): static ns3::Ptr<ns3::ndn::Pit> ns3::ndn::Pit::GetPit(ns3::Ptr<ns3::Object> node) [member function]
5935 cls.add_method('GetPit',
5936 'ns3::Ptr< ns3::ndn::Pit >',
5937 [param('ns3::Ptr< ns3::Object >', 'node')],
5938 is_static=True)
5939 ## ndn-pit.h (module 'ndnSIM'): uint32_t ns3::ndn::Pit::GetSize() const [member function]
5940 cls.add_method('GetSize',
5941 'uint32_t',
5942 [],
5943 is_pure_virtual=True, is_const=True, is_virtual=True)
5944 ## ndn-pit.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::Pit::GetTypeId() [member function]
5945 cls.add_method('GetTypeId',
5946 'ns3::TypeId',
5947 [],
5948 is_static=True)
5949 ## ndn-pit.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::pit::Entry> ns3::ndn::Pit::Lookup(ns3::ndn::ContentObjectHeader const & header) [member function]
5950 cls.add_method('Lookup',
5951 'ns3::Ptr< ns3::ndn::pit::Entry >',
5952 [param('ns3::ndn::ContentObjectHeader const &', 'header')],
5953 is_pure_virtual=True, is_virtual=True)
5954 ## ndn-pit.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::pit::Entry> ns3::ndn::Pit::Lookup(ns3::ndn::InterestHeader const & header) [member function]
5955 cls.add_method('Lookup',
5956 'ns3::Ptr< ns3::ndn::pit::Entry >',
5957 [param('ns3::ndn::InterestHeader const &', 'header')],
5958 is_pure_virtual=True, is_virtual=True)
5959 ## ndn-pit.h (module 'ndnSIM'): void ns3::ndn::Pit::MarkErased(ns3::Ptr<ns3::ndn::pit::Entry> entry) [member function]
5960 cls.add_method('MarkErased',
5961 'void',
5962 [param('ns3::Ptr< ns3::ndn::pit::Entry >', 'entry')],
5963 is_pure_virtual=True, is_virtual=True)
5964 ## ndn-pit.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::pit::Entry> ns3::ndn::Pit::Next(ns3::Ptr<ns3::ndn::pit::Entry> arg0) [member function]
5965 cls.add_method('Next',
5966 'ns3::Ptr< ns3::ndn::pit::Entry >',
5967 [param('ns3::Ptr< ns3::ndn::pit::Entry >', 'arg0')],
5968 is_pure_virtual=True, is_virtual=True)
5969 ## ndn-pit.h (module 'ndnSIM'): void ns3::ndn::Pit::Print(std::ostream & os) const [member function]
5970 cls.add_method('Print',
5971 'void',
5972 [param('std::ostream &', 'os')],
5973 is_pure_virtual=True, is_const=True, is_virtual=True)
5974 return
5975
5976def register_Ns3NdnStackHelper_methods(root_module, cls):
5977 ## ndn-stack-helper.h (module 'ndnSIM'): ns3::ndn::StackHelper::StackHelper() [constructor]
5978 cls.add_constructor([])
5979 ## 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]
5980 cls.add_method('SetStackAttributes',
5981 'void',
5982 [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='""')])
5983 ## 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]
5984 cls.add_method('SetForwardingStrategy',
5985 'void',
5986 [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='""')])
5987 ## 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]
5988 cls.add_method('SetContentStore',
5989 'void',
5990 [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='""')])
5991 ## 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]
5992 cls.add_method('SetPit',
5993 'void',
5994 [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='""')])
5995 ## 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]
5996 cls.add_method('SetFib',
5997 'void',
5998 [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='""')])
5999 ## 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]
6000 cls.add_method('EnableLimits',
6001 'void',
6002 [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')])
6003 ## ndn-stack-helper.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::FaceContainer> ns3::ndn::StackHelper::Install(std::string nodeName) const [member function]
6004 cls.add_method('Install',
6005 'ns3::Ptr< ns3::ndn::FaceContainer >',
6006 [param('std::string', 'nodeName')],
6007 is_const=True)
6008 ## ndn-stack-helper.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::FaceContainer> ns3::ndn::StackHelper::Install(ns3::Ptr<ns3::Node> node) const [member function]
6009 cls.add_method('Install',
6010 'ns3::Ptr< ns3::ndn::FaceContainer >',
6011 [param('ns3::Ptr< ns3::Node >', 'node')],
6012 is_const=True)
6013 ## ndn-stack-helper.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::FaceContainer> ns3::ndn::StackHelper::Install(ns3::NodeContainer c) const [member function]
6014 cls.add_method('Install',
6015 'ns3::Ptr< ns3::ndn::FaceContainer >',
6016 [param('ns3::NodeContainer', 'c')],
6017 is_const=True)
6018 ## ndn-stack-helper.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::FaceContainer> ns3::ndn::StackHelper::InstallAll() const [member function]
6019 cls.add_method('InstallAll',
6020 'ns3::Ptr< ns3::ndn::FaceContainer >',
6021 [],
6022 is_const=True)
6023 ## 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]
6024 cls.add_method('AddRoute',
6025 'void',
6026 [param('std::string', 'nodeName'), param('std::string', 'prefix'), param('uint32_t', 'faceId'), param('int32_t', 'metric')],
6027 is_static=True)
6028 ## 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]
6029 cls.add_method('AddRoute',
6030 'void',
6031 [param('ns3::Ptr< ns3::Node >', 'node'), param('std::string', 'prefix'), param('uint32_t', 'faceId'), param('int32_t', 'metric')],
6032 is_static=True)
6033 ## 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]
6034 cls.add_method('AddRoute',
6035 'void',
6036 [param('ns3::Ptr< ns3::Node >', 'node'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('int32_t', 'metric')],
6037 is_static=True)
6038 ## ndn-stack-helper.h (module 'ndnSIM'): void ns3::ndn::StackHelper::SetDefaultRoutes(bool needSet) [member function]
6039 cls.add_method('SetDefaultRoutes',
6040 'void',
6041 [param('bool', 'needSet')])
6042 return
6043
6044def register_Ns3NdnUnknownHeaderException_methods(root_module, cls):
6045 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::UnknownHeaderException::UnknownHeaderException() [constructor]
6046 cls.add_constructor([])
6047 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::UnknownHeaderException::UnknownHeaderException(ns3::ndn::UnknownHeaderException const & arg0) [copy constructor]
6048 cls.add_constructor([param('ns3::ndn::UnknownHeaderException const &', 'arg0')])
6049 return
6050
6051def register_Ns3NdnAppFace_methods(root_module, cls):
6052 ## ndn-app-face.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::AppFace::GetTypeId() [member function]
6053 cls.add_method('GetTypeId',
6054 'ns3::TypeId',
6055 [],
6056 is_static=True)
6057 ## ndn-app-face.h (module 'ndnSIM'): ns3::ndn::AppFace::AppFace(ns3::Ptr<ns3::ndn::App> app) [constructor]
6058 cls.add_constructor([param('ns3::Ptr< ns3::ndn::App >', 'app')])
6059 ## 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]
6060 cls.add_method('RegisterProtocolHandler',
6061 'void',
6062 [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')],
6063 is_virtual=True)
6064 ## ndn-app-face.h (module 'ndnSIM'): std::ostream & ns3::ndn::AppFace::Print(std::ostream & os) const [member function]
6065 cls.add_method('Print',
6066 'std::ostream &',
6067 [param('std::ostream &', 'os')],
6068 is_const=True, is_virtual=True)
6069 ## ndn-app-face.h (module 'ndnSIM'): bool ns3::ndn::AppFace::SendImpl(ns3::Ptr<ns3::Packet> p) [member function]
6070 cls.add_method('SendImpl',
6071 'bool',
6072 [param('ns3::Ptr< ns3::Packet >', 'p')],
6073 visibility='protected', is_virtual=True)
6074 return
6075
6076def register_Ns3NdnCsEntry_methods(root_module, cls):
6077 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::cs::Entry::Entry(ns3::ndn::cs::Entry const & arg0) [copy constructor]
6078 cls.add_constructor([param('ns3::ndn::cs::Entry const &', 'arg0')])
6079 ## 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]
6080 cls.add_constructor([param('ns3::Ptr< ns3::ndn::ContentObjectHeader const >', 'header'), param('ns3::Ptr< ns3::Packet const >', 'packet')])
6081 ## ndn-content-store.h (module 'ndnSIM'): ns3::Ptr<ns3::Packet> ns3::ndn::cs::Entry::GetFullyFormedNdnPacket() const [member function]
6082 cls.add_method('GetFullyFormedNdnPacket',
6083 'ns3::Ptr< ns3::Packet >',
6084 [],
6085 is_const=True)
6086 ## ndn-content-store.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::ContentObjectHeader const> ns3::ndn::cs::Entry::GetHeader() const [member function]
6087 cls.add_method('GetHeader',
6088 'ns3::Ptr< ns3::ndn::ContentObjectHeader const >',
6089 [],
6090 is_const=True)
6091 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::NameComponents const & ns3::ndn::cs::Entry::GetName() const [member function]
6092 cls.add_method('GetName',
6093 'ns3::ndn::NameComponents const &',
6094 [],
6095 is_const=True)
6096 ## ndn-content-store.h (module 'ndnSIM'): ns3::Ptr<const ns3::Packet> ns3::ndn::cs::Entry::GetPacket() const [member function]
6097 cls.add_method('GetPacket',
6098 'ns3::Ptr< ns3::Packet const >',
6099 [],
6100 is_const=True)
6101 return
6102
6103def register_Ns3NdnFibEntry_methods(root_module, cls):
6104 cls.add_output_stream_operator()
6105 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::Entry(ns3::ndn::fib::Entry const & arg0) [copy constructor]
6106 cls.add_constructor([param('ns3::ndn::fib::Entry const &', 'arg0')])
6107 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::Entry(ns3::Ptr<ns3::ndn::NameComponents const> const & prefix) [constructor]
6108 cls.add_constructor([param('ns3::Ptr< ns3::ndn::NameComponents const > const &', 'prefix')])
6109 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::Entry::AddOrUpdateRoutingMetric(ns3::Ptr<ns3::ndn::Face> face, int32_t metric) [member function]
6110 cls.add_method('AddOrUpdateRoutingMetric',
6111 'void',
6112 [param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('int32_t', 'metric')])
6113 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric const & ns3::ndn::fib::Entry::FindBestCandidate(uint32_t skip=0) const [member function]
6114 cls.add_method('FindBestCandidate',
6115 'ns3::ndn::fib::FaceMetric const &',
6116 [param('uint32_t', 'skip', default_value='0')],
6117 is_const=True)
6118 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::NameComponents const & ns3::ndn::fib::Entry::GetPrefix() const [member function]
6119 cls.add_method('GetPrefix',
6120 'ns3::ndn::NameComponents const &',
6121 [],
6122 is_const=True)
6123 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::Entry::Invalidate() [member function]
6124 cls.add_method('Invalidate',
6125 'void',
6126 [])
6127 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::Entry::RemoveFace(ns3::Ptr<ns3::ndn::Face> const & face) [member function]
6128 cls.add_method('RemoveFace',
6129 'void',
6130 [param('ns3::Ptr< ns3::ndn::Face > const &', 'face')])
6131 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::Entry::UpdateFaceRtt(ns3::Ptr<ns3::ndn::Face> face, ns3::Time const & sample) [member function]
6132 cls.add_method('UpdateFaceRtt',
6133 'void',
6134 [param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('ns3::Time const &', 'sample')])
6135 ## 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]
6136 cls.add_method('UpdateStatus',
6137 'void',
6138 [param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('ns3::ndn::fib::FaceMetric::Status', 'status')])
6139 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::m_faces [variable]
6140 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)
6141 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::m_needsProbing [variable]
6142 cls.add_instance_attribute('m_needsProbing', 'bool', is_const=False)
6143 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::m_prefix [variable]
6144 cls.add_instance_attribute('m_prefix', 'ns3::Ptr< ns3::ndn::NameComponents const >', is_const=False)
6145 return
6146
6147def register_Ns3NdnFibEntryNoFaces_methods(root_module, cls):
6148 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::NoFaces::NoFaces() [constructor]
6149 cls.add_constructor([])
6150 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::NoFaces::NoFaces(ns3::ndn::fib::Entry::NoFaces const & arg0) [copy constructor]
6151 cls.add_constructor([param('ns3::ndn::fib::Entry::NoFaces const &', 'arg0')])
6152 return
6153
6154def register_Ns3NdnFibFaceMetric_methods(root_module, cls):
6155 cls.add_output_stream_operator()
6156 cls.add_binary_comparison_operator('<')
6157 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric::FaceMetric(ns3::ndn::fib::FaceMetric const & arg0) [copy constructor]
6158 cls.add_constructor([param('ns3::ndn::fib::FaceMetric const &', 'arg0')])
6159 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric::FaceMetric(ns3::Ptr<ns3::ndn::Face> face, int32_t cost) [constructor]
6160 cls.add_constructor([param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('int32_t', 'cost')])
6161 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::Face> ns3::ndn::fib::FaceMetric::GetFace() const [member function]
6162 cls.add_method('GetFace',
6163 'ns3::Ptr< ns3::ndn::Face >',
6164 [],
6165 is_const=True)
6166 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::FaceMetric::UpdateRtt(ns3::Time const & rttSample) [member function]
6167 cls.add_method('UpdateRtt',
6168 'void',
6169 [param('ns3::Time const &', 'rttSample')])
6170 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric::m_face [variable]
6171 cls.add_instance_attribute('m_face', 'ns3::Ptr< ns3::ndn::Face >', is_const=False)
6172 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric::m_routingCost [variable]
6173 cls.add_instance_attribute('m_routingCost', 'int32_t', is_const=False)
6174 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric::m_rttVar [variable]
6175 cls.add_instance_attribute('m_rttVar', 'ns3::Time', is_const=False)
6176 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric::m_sRtt [variable]
6177 cls.add_instance_attribute('m_sRtt', 'ns3::Time', is_const=False)
6178 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric::m_status [variable]
6179 cls.add_instance_attribute('m_status', 'ns3::ndn::fib::FaceMetric::Status', is_const=False)
6180 return
6181
6182def register_Ns3NdnFibFaceMetricContainer_methods(root_module, cls):
6183 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetricContainer::FaceMetricContainer() [constructor]
6184 cls.add_constructor([])
6185 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetricContainer::FaceMetricContainer(ns3::ndn::fib::FaceMetricContainer const & arg0) [copy constructor]
6186 cls.add_constructor([param('ns3::ndn::fib::FaceMetricContainer const &', 'arg0')])
6187 return
6188
6189def register_Ns3NdnFibI_face_methods(root_module, cls):
6190 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_face::i_face() [constructor]
6191 cls.add_constructor([])
6192 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_face::i_face(ns3::ndn::fib::i_face const & arg0) [copy constructor]
6193 cls.add_constructor([param('ns3::ndn::fib::i_face const &', 'arg0')])
6194 return
6195
6196def register_Ns3NdnFibI_metric_methods(root_module, cls):
6197 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_metric::i_metric() [constructor]
6198 cls.add_constructor([])
6199 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_metric::i_metric(ns3::ndn::fib::i_metric const & arg0) [copy constructor]
6200 cls.add_constructor([param('ns3::ndn::fib::i_metric const &', 'arg0')])
6201 return
6202
6203def register_Ns3NdnFibI_nth_methods(root_module, cls):
6204 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_nth::i_nth() [constructor]
6205 cls.add_constructor([])
6206 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_nth::i_nth(ns3::ndn::fib::i_nth const & arg0) [copy constructor]
6207 cls.add_constructor([param('ns3::ndn::fib::i_nth const &', 'arg0')])
6208 return
6209
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006210def register_Ns3NdnFwTag_methods(root_module, cls):
6211 ## ndn-fw-tag.h (module 'ndnSIM'): ns3::ndn::fw::Tag::Tag() [constructor]
6212 cls.add_constructor([])
6213 ## ndn-fw-tag.h (module 'ndnSIM'): ns3::ndn::fw::Tag::Tag(ns3::ndn::fw::Tag const & arg0) [copy constructor]
6214 cls.add_constructor([param('ns3::ndn::fw::Tag const &', 'arg0')])
6215 return
6216
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006217def register_Ns3NdnPitEntry_methods(root_module, cls):
6218 cls.add_output_stream_operator()
6219 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::Entry::Entry(ns3::ndn::pit::Entry const & arg0) [copy constructor]
6220 cls.add_constructor([param('ns3::ndn::pit::Entry const &', 'arg0')])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006221 ## 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 -07006222 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 -07006223 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::AddFwTag(boost::shared_ptr<ns3::ndn::fw::Tag> tag) [member function]
6224 cls.add_method('AddFwTag',
6225 'void',
6226 [param('boost::shared_ptr< ns3::ndn::fw::Tag >', 'tag')])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006227 ## 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]
6228 cls.add_method('AddIncoming',
6229 'std::_Rb_tree_const_iterator< ns3::ndn::pit::IncomingFace >',
6230 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
6231 is_virtual=True)
Alexander Afanasyevc202fd92012-09-03 21:46:00 -07006232 ## 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 -07006233 cls.add_method('AddOutgoing',
Alexander Afanasyevc202fd92012-09-03 21:46:00 -07006234 'std::_Rb_tree_const_iterator< ns3::ndn::pit::OutgoingFace >',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006235 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
6236 is_virtual=True)
6237 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::AddSeenNonce(uint32_t nonce) [member function]
6238 cls.add_method('AddSeenNonce',
6239 'void',
6240 [param('uint32_t', 'nonce')],
6241 is_virtual=True)
6242 ## ndn-pit-entry.h (module 'ndnSIM'): bool ns3::ndn::pit::Entry::AreAllOutgoingInVain() const [member function]
6243 cls.add_method('AreAllOutgoingInVain',
6244 'bool',
6245 [],
6246 is_const=True)
6247 ## ndn-pit-entry.h (module 'ndnSIM'): bool ns3::ndn::pit::Entry::AreTherePromisingOutgoingFacesExcept(ns3::Ptr<ns3::ndn::Face> face) const [member function]
6248 cls.add_method('AreTherePromisingOutgoingFacesExcept',
6249 'bool',
6250 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
6251 is_const=True)
6252 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::ClearIncoming() [member function]
6253 cls.add_method('ClearIncoming',
6254 'void',
6255 [],
6256 is_virtual=True)
6257 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::ClearOutgoing() [member function]
6258 cls.add_method('ClearOutgoing',
6259 'void',
6260 [],
6261 is_virtual=True)
6262 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::Time const & ns3::ndn::pit::Entry::GetExpireTime() const [member function]
6263 cls.add_method('GetExpireTime',
6264 'ns3::Time const &',
6265 [],
6266 is_const=True)
6267 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::fib::Entry> ns3::ndn::pit::Entry::GetFibEntry() [member function]
6268 cls.add_method('GetFibEntry',
6269 'ns3::Ptr< ns3::ndn::fib::Entry >',
6270 [])
6271 ## 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]
6272 cls.add_method('GetIncoming',
6273 'std::set< ns3::ndn::pit::IncomingFace > const &',
6274 [],
6275 is_const=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006276 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::InterestHeader const> ns3::ndn::pit::Entry::GetInterest() const [member function]
6277 cls.add_method('GetInterest',
6278 'ns3::Ptr< ns3::ndn::InterestHeader const >',
6279 [],
6280 is_const=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006281 ## ndn-pit-entry.h (module 'ndnSIM'): uint32_t ns3::ndn::pit::Entry::GetMaxRetxCount() const [member function]
6282 cls.add_method('GetMaxRetxCount',
6283 'uint32_t',
6284 [],
6285 is_const=True)
Alexander Afanasyevc202fd92012-09-03 21:46:00 -07006286 ## 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 -07006287 cls.add_method('GetOutgoing',
Alexander Afanasyevc202fd92012-09-03 21:46:00 -07006288 'std::set< ns3::ndn::pit::OutgoingFace > const &',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006289 [],
6290 is_const=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006291 ## ndn-pit-entry.h (module 'ndnSIM'): uint32_t ns3::ndn::pit::Entry::GetOutgoingCount() const [member function]
6292 cls.add_method('GetOutgoingCount',
6293 'uint32_t',
6294 [],
6295 is_const=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006296 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::NameComponents const & ns3::ndn::pit::Entry::GetPrefix() const [member function]
6297 cls.add_method('GetPrefix',
6298 'ns3::ndn::NameComponents const &',
6299 [],
6300 is_const=True)
6301 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::IncreaseAllowedRetxCount() [member function]
6302 cls.add_method('IncreaseAllowedRetxCount',
6303 'void',
6304 [],
6305 is_virtual=True)
6306 ## ndn-pit-entry.h (module 'ndnSIM'): bool ns3::ndn::pit::Entry::IsNonceSeen(uint32_t nonce) const [member function]
6307 cls.add_method('IsNonceSeen',
6308 'bool',
6309 [param('uint32_t', 'nonce')],
6310 is_const=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006311 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::OffsetLifetime(ns3::Time const & offsetTime) [member function]
6312 cls.add_method('OffsetLifetime',
6313 'void',
6314 [param('ns3::Time const &', 'offsetTime')],
6315 is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006316 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::RemoveAllReferencesToFace(ns3::Ptr<ns3::ndn::Face> face) [member function]
6317 cls.add_method('RemoveAllReferencesToFace',
6318 'void',
6319 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
6320 is_virtual=True)
6321 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::RemoveIncoming(ns3::Ptr<ns3::ndn::Face> face) [member function]
6322 cls.add_method('RemoveIncoming',
6323 'void',
6324 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
6325 is_virtual=True)
6326 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::SetWaitingInVain(ns3::Ptr<ns3::ndn::Face> face) [member function]
6327 cls.add_method('SetWaitingInVain',
6328 'void',
6329 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
6330 is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006331 ## 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 -07006332 cls.add_method('UpdateLifetime',
6333 'void',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006334 [param('ns3::Time const &', 'lifetime')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006335 is_virtual=True)
6336 return
6337
6338def register_Ns3NdnPitIncomingFace_methods(root_module, cls):
6339 cls.add_binary_comparison_operator('==')
6340 cls.add_binary_comparison_operator('<')
6341 ## ndn-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::ndn::pit::IncomingFace::IncomingFace(ns3::ndn::pit::IncomingFace const & arg0) [copy constructor]
6342 cls.add_constructor([param('ns3::ndn::pit::IncomingFace const &', 'arg0')])
6343 ## ndn-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::ndn::pit::IncomingFace::IncomingFace(ns3::Ptr<ns3::ndn::Face> face) [constructor]
6344 cls.add_constructor([param('ns3::Ptr< ns3::ndn::Face >', 'face')])
6345 ## ndn-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::ndn::pit::IncomingFace::IncomingFace() [constructor]
6346 cls.add_constructor([])
6347 ## ndn-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::ndn::pit::IncomingFace::m_arrivalTime [variable]
6348 cls.add_instance_attribute('m_arrivalTime', 'ns3::Time', is_const=False)
6349 ## ndn-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::ndn::pit::IncomingFace::m_face [variable]
6350 cls.add_instance_attribute('m_face', 'ns3::Ptr< ns3::ndn::Face >', is_const=False)
6351 return
6352
6353def register_Ns3NdnPitOutgoingFace_methods(root_module, cls):
6354 cls.add_binary_comparison_operator('==')
6355 cls.add_binary_comparison_operator('<')
6356 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::OutgoingFace(ns3::ndn::pit::OutgoingFace const & arg0) [copy constructor]
6357 cls.add_constructor([param('ns3::ndn::pit::OutgoingFace const &', 'arg0')])
6358 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::OutgoingFace(ns3::Ptr<ns3::ndn::Face> face) [constructor]
6359 cls.add_constructor([param('ns3::Ptr< ns3::ndn::Face >', 'face')])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07006360 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::OutgoingFace() [constructor]
6361 cls.add_constructor([])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006362 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): void ns3::ndn::pit::OutgoingFace::UpdateOnRetransmit() [member function]
6363 cls.add_method('UpdateOnRetransmit',
6364 'void',
6365 [])
6366 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::m_face [variable]
6367 cls.add_instance_attribute('m_face', 'ns3::Ptr< ns3::ndn::Face >', is_const=False)
6368 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::m_retxCount [variable]
6369 cls.add_instance_attribute('m_retxCount', 'uint32_t', is_const=False)
6370 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::m_sendTime [variable]
6371 cls.add_instance_attribute('m_sendTime', 'ns3::Time', is_const=False)
6372 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::m_waitingInVain [variable]
6373 cls.add_instance_attribute('m_waitingInVain', 'bool', is_const=False)
6374 return
6375
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006376def register_Ns3NdnPitI_face_methods(root_module, cls):
6377 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::i_face::i_face() [constructor]
6378 cls.add_constructor([])
6379 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::i_face::i_face(ns3::ndn::pit::i_face const & arg0) [copy constructor]
6380 cls.add_constructor([param('ns3::ndn::pit::i_face const &', 'arg0')])
6381 return
6382
6383def register_Ns3NdnPitI_retx_methods(root_module, cls):
6384 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::i_retx::i_retx() [constructor]
6385 cls.add_constructor([])
6386 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::i_retx::i_retx(ns3::ndn::pit::i_retx const & arg0) [copy constructor]
6387 cls.add_constructor([param('ns3::ndn::pit::i_retx const &', 'arg0')])
6388 return
6389
Alexander Afanasyev381dea02011-11-03 08:33:26 -07006390def register_functions(root_module):
6391 module = root_module
Alexander Afanasyev381dea02011-11-03 08:33:26 -07006392 register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module)
6393 register_functions_ns3_internal(module.get_submodule('internal'), root_module)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006394 register_functions_ns3_ndn(module.get_submodule('ndn'), root_module)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07006395 return
6396
Alexander Afanasyev381dea02011-11-03 08:33:26 -07006397def register_functions_ns3_FatalImpl(module, root_module):
6398 return
6399
6400def register_functions_ns3_internal(module, root_module):
6401 return
6402
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006403def register_functions_ns3_ndn(module, root_module):
6404 ## ndn-name-components.h (module 'ndnSIM'): extern ns3::Ptr<ns3::AttributeChecker const> ns3::ndn::MakeNameComponentsChecker() [free function]
6405 module.add_function('MakeNameComponentsChecker',
6406 'ns3::Ptr< ns3::AttributeChecker const >',
6407 [])
6408 register_functions_ns3_ndn_cs(module.get_submodule('cs'), root_module)
6409 register_functions_ns3_ndn_fib(module.get_submodule('fib'), root_module)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006410 register_functions_ns3_ndn_fw(module.get_submodule('fw'), root_module)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006411 register_functions_ns3_ndn_pit(module.get_submodule('pit'), root_module)
6412 return
6413
6414def register_functions_ns3_ndn_cs(module, root_module):
6415 return
6416
6417def register_functions_ns3_ndn_fib(module, root_module):
6418 return
6419
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006420def register_functions_ns3_ndn_fw(module, root_module):
6421 return
6422
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006423def register_functions_ns3_ndn_pit(module, root_module):
6424 return
6425
Alexander Afanasyev381dea02011-11-03 08:33:26 -07006426def main():
6427 out = FileCodeSink(sys.stdout)
6428 root_module = module_init()
6429 register_types(root_module)
6430 register_methods(root_module)
6431 register_functions(root_module)
6432 root_module.generate(out)
6433
6434if __name__ == '__main__':
6435 main()
6436